17 |
17 |
18 LOAD_SUITE te_sysutiltestsuite |
18 LOAD_SUITE te_sysutiltestsuite |
19 |
19 |
20 RUN_UTILS MkDir c:\versions |
20 RUN_UTILS MkDir c:\versions |
21 |
21 |
|
22 RUN_UTILS CopyFile z:\resource\versions\test\purpose.txt c:\versions\purpose.txt |
|
23 RUN_UTILS MakeReadWrite c:\versions\purpose.txt |
|
24 |
22 START_TESTCASE SYSLIB-BAFL-CT-4068 |
25 START_TESTCASE SYSLIB-BAFL-CT-4068 |
23 //!@SYMTestCaseID SYSLIB-BAFL-CT-4068 |
26 //!@SYMTestCaseID SYSLIB-BAFL-CT-4068 |
24 //!@SYMTestCaseDesc To ensure the pr information can be obtained correctly and |
27 //!@SYMTestCaseDesc To ensure the pr information can be obtained correctly and |
25 //!@SYMTestCaseDesc contains the correct information. |
28 //!@SYMTestCaseDesc contains the correct information. |
26 //!@SYMTestPriority High |
29 //!@SYMTestPriority High |
27 //!@SYMTestActions Get the pr information from Z:\resource\versions\purpose.txt |
30 //!@SYMTestActions Get the pr information from Z:\resource\versions\test\purpose.txt |
28 //!@SYMTestActions using the SysUtil::GetPRInformation method and compare it against |
31 //!@SYMTestActions using the SysUtil::GetPRInformation method and compare it against |
29 //!@SYMTestActions a string literal set in an ini file. The ini file is located |
32 //!@SYMTestActions a string literal set in an ini file. The ini file is located |
30 //!@SYMTestActions in z:\testdata\inifiles\. |
33 //!@SYMTestActions in z:\testdata\inifiles\. |
31 //!@SYMTestExpectedResults The pr information obtained is a correctly |
34 //!@SYMTestExpectedResults The pr information obtained is a correctly |
32 //!@SYMTestExpectedResults formatted version of the information in Z:\resource\versions\purpose.txt. |
35 //!@SYMTestExpectedResults formatted version of the information in Z:\resource\versions\purpose.txt. |
33 //!@SYMDEF DEF141094 |
36 //!@SYMDEF DEF141094 |
34 RUN_TEST_STEP 1000 te_sysutiltestsuite SysUtilsGetPRInformation z:\testdata\inifiles\te_sysutildata.ini ResourceFiles |
37 RUN_TEST_STEP 1000 te_sysutiltestsuite SysUtilsGetPRInformation z:\testdata\inifiles\te_sysutildata.ini ResourceFiles |
35 END_TESTCASE SYSLIB-BAFL-CT-4068 |
38 END_TESTCASE SYSLIB-BAFL-CT-4068 |
36 |
39 |
|
40 RUN_UTILS DeleteFile c:\versions\purpose.txt |
|
41 |
|
42 RUN_UTILS CopyFile z:\resource\versions\test\sw.txt c:\versions\sw.txt |
|
43 RUN_UTILS MakeReadWrite c:\versions\sw.txt |
|
44 |
37 START_TESTCASE SYSLIB-BAFL-CT-4001 |
45 START_TESTCASE SYSLIB-BAFL-CT-4001 |
38 //!@SYMTestCaseID SYSLIB-BAFL-CT-4001 |
46 //!@SYMTestCaseID SYSLIB-BAFL-CT-4001 |
39 //!@SYMTestCaseDesc To ensure the software version can be obtained correctly and |
47 //!@SYMTestCaseDesc To ensure the software version can be obtained correctly and |
40 //!@SYMTestCaseDesc contains the correct information. |
48 //!@SYMTestCaseDesc contains the correct information. |
41 //!@SYMTestPriority High |
49 //!@SYMTestPriority High |
42 //!@SYMTestActions Get the software version from Z:\resource\versions\sw.txt |
50 //!@SYMTestActions Get the software version from Z:\resource\versions\test\sw.txt |
43 //!@SYMTestActions using the SysUtil::GetSWVersion method and compare it against |
51 //!@SYMTestActions using the SysUtil::GetSWVersion method and compare it against |
44 //!@SYMTestActions a string literal set in an ini file. The ini file is located |
52 //!@SYMTestActions a string literal set in an ini file. The ini file is located |
45 //!@SYMTestActions in z:\testdata\inifiles\. |
53 //!@SYMTestActions in z:\testdata\inifiles\. |
46 //!@SYMTestExpectedResults The software version information obtained is a correctly |
54 //!@SYMTestExpectedResults The software version information obtained is a correctly |
47 //!@SYMTestExpectedResults formatted version of the information in Z:\resource\versions\sw.txt. |
55 //!@SYMTestExpectedResults formatted version of the information in Z:\resource\versions\sw.txt. |
48 //!@SYMREQ REQ8170 |
56 //!@SYMREQ REQ8170 |
49 RUN_TEST_STEP 1000 te_sysutiltestsuite SysUtilsGetSWVersion z:\testdata\inifiles\te_sysutildata.ini ResourceFiles |
57 RUN_TEST_STEP 1000 te_sysutiltestsuite SysUtilsGetSWVersion z:\testdata\inifiles\te_sysutildata.ini ResourceFiles |
50 END_TESTCASE SYSLIB-BAFL-CT-4001 |
58 END_TESTCASE SYSLIB-BAFL-CT-4001 |
51 |
59 |
|
60 RUN_UTILS DeleteFile c:\versions\sw.txt |
|
61 |
|
62 RUN_UTILS CopyFile z:\resource\versions\test\langsw.txt c:\versions\langsw.txt |
|
63 RUN_UTILS MakeReadWrite c:\versions\langsw.txt |
52 |
64 |
53 START_TESTCASE SYSLIB-BAFL-CT-4002 |
65 START_TESTCASE SYSLIB-BAFL-CT-4002 |
54 //!@SYMTestCaseID SYSLIB-BAFL-CT-4002 |
66 //!@SYMTestCaseID SYSLIB-BAFL-CT-4002 |
55 //!@SYMTestCaseDesc To ensure the language software version can be obtained |
67 //!@SYMTestCaseDesc To ensure the language software version can be obtained |
56 //!@SYMTestCaseDesc correctly and contains the correct information. |
68 //!@SYMTestCaseDesc correctly and contains the correct information. |
57 //!@SYMTestPriority High |
69 //!@SYMTestPriority High |
58 //!@SYMTestActions Get the software language version from Z:\resource\versions\langsw.txt |
70 //!@SYMTestActions Get the software language version from Z:\resource\versions\test\langsw.txt |
59 //!@SYMTestActions using the SysUtil::GetLangSWVersion method and compare it |
71 //!@SYMTestActions using the SysUtil::GetLangSWVersion method and compare it |
60 //!@SYMTestActions against a string literal set in an ini file. The ini file is |
72 //!@SYMTestActions against a string literal set in an ini file. The ini file is |
61 //!@SYMTestActions located in z:\testdata\inifiles\. |
73 //!@SYMTestActions located in z:\testdata\inifiles\. |
62 //!@SYMTestExpectedResults The language software version information obtained is a |
74 //!@SYMTestExpectedResults The language software version information obtained is a |
63 //!@SYMTestExpectedResults correctly formatted version of the information in |
75 //!@SYMTestExpectedResults correctly formatted version of the information in |
64 //!@SYMTestExpectedResults Z:\resource\versions\langsw.txt. |
76 //!@SYMTestExpectedResults Z:\resource\versions\langsw.txt. |
65 //!@SYMREQ REQ8170 |
77 //!@SYMREQ REQ8170 |
66 RUN_TEST_STEP 1000 te_sysutiltestsuite SysUtilsGetLangSWVersion z:\testdata\inifiles\te_sysutildata.ini ResourceFiles |
78 RUN_TEST_STEP 1000 te_sysutiltestsuite SysUtilsGetLangSWVersion z:\testdata\inifiles\te_sysutildata.ini ResourceFiles |
67 END_TESTCASE SYSLIB-BAFL-CT-4002 |
79 END_TESTCASE SYSLIB-BAFL-CT-4002 |
68 |
80 |
|
81 RUN_UTILS DeleteFile c:\versions\langsw.txt |
|
82 |
|
83 RUN_UTILS CopyFile z:\resource\versions\test\lang.txt c:\versions\lang.txt |
|
84 RUN_UTILS MakeReadWrite c:\versions\lang.txt |
69 |
85 |
70 START_TESTCASE SYSLIB-BAFL-CT-4003 |
86 START_TESTCASE SYSLIB-BAFL-CT-4003 |
71 //!@SYMTestCaseID SYSLIB-BAFL-CT-4003 |
87 //!@SYMTestCaseID SYSLIB-BAFL-CT-4003 |
72 //!@SYMTestCaseDesc To ensure the language version can be obtained correctly and |
88 //!@SYMTestCaseDesc To ensure the language version can be obtained correctly and |
73 //!@SYMTestCaseDesc contains the correct information. |
89 //!@SYMTestCaseDesc contains the correct information. |
74 //!@SYMTestPriority High |
90 //!@SYMTestPriority High |
75 //!@SYMTestActions Get the language version from Z:\resource\versions\lang.txt |
91 //!@SYMTestActions Get the language version from Z:\resource\versions\test\lang.txt |
76 //!@SYMTestActions using the SysUtil::GetLangVersion method an compare it against |
92 //!@SYMTestActions using the SysUtil::GetLangVersion method an compare it against |
77 //!@SYMTestActions a string literal set in an ini file. The ini file is located |
93 //!@SYMTestActions a string literal set in an ini file. The ini file is located |
78 //!@SYMTestActions in z:\testdata\inifiles\. |
94 //!@SYMTestActions in z:\testdata\inifiles\. |
79 //!@SYMTestExpectedResults The language version information obtained is a correctly |
95 //!@SYMTestExpectedResults The language version information obtained is a correctly |
80 //!@SYMTestExpectedResults formatted version of the information in Z:\resource\versions\lang.txt. |
96 //!@SYMTestExpectedResults formatted version of the information in Z:\resource\versions\lang.txt. |
81 //!@SYMREQ REQ8170 |
97 //!@SYMREQ REQ8170 |
82 RUN_TEST_STEP 1000 te_sysutiltestsuite SysUtilsGetLangVersion z:\testdata\inifiles\te_sysutildata.ini ResourceFiles |
98 RUN_TEST_STEP 1000 te_sysutiltestsuite SysUtilsGetLangVersion z:\testdata\inifiles\te_sysutildata.ini ResourceFiles |
83 END_TESTCASE SYSLIB-BAFL-CT-4003 |
99 END_TESTCASE SYSLIB-BAFL-CT-4003 |
|
100 |
|
101 RUN_UTILS DeleteFile c:\versions\lang.txt |
84 |
102 |
85 |
103 |
86 START_TESTCASE SYSLIB-BAFL-CT-4004 |
104 START_TESTCASE SYSLIB-BAFL-CT-4004 |
87 //!@SYMTestCaseID SYSLIB-BAFL-CT-4004 |
105 //!@SYMTestCaseID SYSLIB-BAFL-CT-4004 |
88 //!@SYMTestCaseDesc To ensure the space remaining in the flash file system can be |
106 //!@SYMTestCaseDesc To ensure the space remaining in the flash file system can be |