OSDN Git Service

Version 3.00
[vbslib/main.git] / _src / TestByFCBatAuto / TestScript / test / TestsClass / T_ALL_4_setup.bat
index ab199ce..4c7d18a 100644 (file)
@@ -1,17 +1,12 @@
 echo off \r
 set base=%cd%\r
 \r
-set out=T_UnitTest_NotFound_ans.txt\r
-if exist %out% del %out%\r
-echo %base%\T_UnitTest_NotFound.vbs(0, 1) Microsoft VBScript \8eÀ\8ds\8e\9e\83G\83\89\81[: \83t\83@\83C\83\8b\82ª\8c©\82Â\82©\82è\82Ü\82¹\82ñ T_Sample1\T_ALL_XXX.vbs>>%out%\r
-echo.>>%out%\r
-\r
 set out=T_UnitTest_ans.txt\r
 if exist %out% del %out%\r
 echo Current = ALL>>%out%\r
 echo Test Start : T_UnitTest.vbs>>%out%\r
 echo ==========================================================>>%out%\r
-echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_build ^>^>^>>>%out%\r
+echo ((( [T_Sample1\_target_Test.vbs] - test_build )))>>%out%\r
 echo T_Sample1 - test_build Sub1>>%out%\r
 echo T_Sample1 - test_build Sub2>>%out%\r
 echo Pass.>>%out%\r
@@ -19,34 +14,40 @@ echo ==========================================================>>%out%
 echo Test Finish (Pass=1, Manual=0, Skip=0, Fail=0)>>%out%\r
 echo.>>%out%\r
 echo Test Start : T_UnitTest.vbs>>%out%\r
+echo ^<Section num='1'/^>>>%out%\r
+echo ^<Section num='2'/^>>>%out%\r
 echo ==========================================================>>%out%\r
-echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_build ^>^>^>>>%out%\r
+echo ((( [T_Sample1\_target_Test.vbs] - test_build )))>>%out%\r
 echo T_Sample1 - test_build Sub1>>%out%\r
 echo T_Sample1 - test_build Sub2>>%out%\r
 echo Pass.>>%out%\r
+echo ^<Section num='3'/^>>>%out%\r
 echo ==========================================================>>%out%\r
-echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_setup ^>^>^>>>%out%\r
+echo ((( [T_Sample1\_target_Test.vbs] - test_setup )))>>%out%\r
 echo T_Sample1 - test_setup Sub1>>%out%\r
 echo T_Sample1 - test_setup Sub2>>%out%\r
 echo Pass.>>%out%\r
+echo ^<Section num='4'/^>>>%out%\r
 echo ==========================================================>>%out%\r
-echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_start ^>^>^>>>%out%\r
+echo ((( [T_Sample1\_target_Test.vbs] - test_start )))>>%out%\r
 echo T_Sample1 - test_start Sub1>>%out%\r
 echo T_Sample1 - test_start Sub2>>%out%\r
-echo [Fail] No result - Runtime ERROR in the function of "test_start" in "_target_Test.vbs".>>%out%\r
-echo  in "%base%\T_Sample1\_target_Test.vbs">>%out%\r
+echo [FAIL] Test is not Pass>>%out%\r
+echo  in "test_start" function in "%base%\T_Sample1\_target_Test.vbs">>%out%\r
+echo ^<Section num='5'/^>>>%out%\r
 echo ==========================================================>>%out%\r
-echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_check ^>^>^>>>%out%\r
+echo ((( [T_Sample1\_target_Test.vbs] - test_check )))>>%out%\r
 echo T_Sample1 - test_check Sub1>>%out%\r
 echo T_Sample1 - test_check Sub2>>%out%\r
-echo [Fail] Fail the Test - Runtime ERROR in the function of "test_check" in "T_Sample1\_target_Test.vbs".>>%out%\r
-echo  in "%base%\T_Sample1\_target_Test.vbs">>%out%\r
+echo [FAIL] Fail the Test>>%out%\r
+echo  in "test_check" function in "%base%\T_Sample1\_target_Test.vbs">>%out%\r
+echo ^<Section num='6'/^>>>%out%\r
 echo ==========================================================>>%out%\r
-echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_clean ^>^>^>>>%out%\r
+echo ((( [T_Sample1\_target_Test.vbs] - test_clean )))>>%out%\r
 echo T_Sample1 - test_clean Sub1>>%out%\r
 echo T_Sample1 - test_clean Sub2>>%out%\r
-echo [Skip] Skip the Test - Runtime ERROR in the function of "test_clean" in "T_Sample1\_target_Test.vbs".>>%out%\r
-echo  in "%base%\T_Sample1\_target_Test.vbs">>%out%\r
+echo [SKIP] Skip the Test>>%out%\r
+echo  in "test_clean" function in "%base%\T_Sample1\_target_Test.vbs">>%out%\r
 echo ==========================================================>>%out%\r
 echo Test Finish (Pass=2, Manual=0, Skip=1, Fail=2)>>%out%\r
 echo.>>%out%\r
@@ -54,36 +55,42 @@ echo.>>%out%
 echo Current = Sub1>>%out%\r
 echo Test Start : T_UnitTest.vbs>>%out%\r
 echo ==========================================================>>%out%\r
-echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_build ^>^>^>>>%out%\r
+echo ((( [T_Sample1\_target_Test.vbs] - test_build )))>>%out%\r
 echo T_Sample1 - test_build Sub1>>%out%\r
 echo Pass.>>%out%\r
 echo ==========================================================>>%out%\r
 echo Test Finish (Pass=1, Manual=0, Skip=0, Fail=0)>>%out%\r
 echo.>>%out%\r
 echo Test Start : T_UnitTest.vbs>>%out%\r
+echo ^<Section num='1'/^>>>%out%\r
+echo ^<Section num='2'/^>>>%out%\r
 echo ==========================================================>>%out%\r
-echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_build ^>^>^>>>%out%\r
+echo ((( [T_Sample1\_target_Test.vbs] - test_build )))>>%out%\r
 echo T_Sample1 - test_build Sub1>>%out%\r
 echo Pass.>>%out%\r
+echo ^<Section num='3'/^>>>%out%\r
 echo ==========================================================>>%out%\r
-echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_setup ^>^>^>>>%out%\r
+echo ((( [T_Sample1\_target_Test.vbs] - test_setup )))>>%out%\r
 echo T_Sample1 - test_setup Sub1>>%out%\r
 echo Pass.>>%out%\r
+echo ^<Section num='4'/^>>>%out%\r
 echo ==========================================================>>%out%\r
-echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_start ^>^>^>>>%out%\r
+echo ((( [T_Sample1\_target_Test.vbs] - test_start )))>>%out%\r
 echo T_Sample1 - test_start Sub1>>%out%\r
-echo [Fail] No result - Runtime ERROR in the function of "test_start" in "_target_Test.vbs".>>%out%\r
-echo  in "%base%\T_Sample1\_target_Test.vbs">>%out%\r
+echo [FAIL] Test is not Pass>>%out%\r
+echo  in "test_start" function in "%base%\T_Sample1\_target_Test.vbs">>%out%\r
+echo ^<Section num='5'/^>>>%out%\r
 echo ==========================================================>>%out%\r
-echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_check ^>^>^>>>%out%\r
+echo ((( [T_Sample1\_target_Test.vbs] - test_check )))>>%out%\r
 echo T_Sample1 - test_check Sub1>>%out%\r
-echo [Fail] Fail the Test - Runtime ERROR in the function of "test_check" in "T_Sample1\_target_Test.vbs".>>%out%\r
-echo  in "%base%\T_Sample1\_target_Test.vbs">>%out%\r
+echo [FAIL] Fail the Test>>%out%\r
+echo  in "test_check" function in "%base%\T_Sample1\_target_Test.vbs">>%out%\r
+echo ^<Section num='6'/^>>>%out%\r
 echo ==========================================================>>%out%\r
-echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_clean ^>^>^>>>%out%\r
+echo ((( [T_Sample1\_target_Test.vbs] - test_clean )))>>%out%\r
 echo T_Sample1 - test_clean Sub1>>%out%\r
-echo [Skip] Skip the Test - Runtime ERROR in the function of "test_clean" in "T_Sample1\_target_Test.vbs".>>%out%\r
-echo  in "%base%\T_Sample1\_target_Test.vbs">>%out%\r
+echo [SKIP] Skip the Test>>%out%\r
+echo  in "test_clean" function in "%base%\T_Sample1\_target_Test.vbs">>%out%\r
 echo ==========================================================>>%out%\r
 echo Test Finish (Pass=2, Manual=0, Skip=1, Fail=2)>>%out%\r
 echo.>>%out%\r
@@ -92,80 +99,98 @@ set out=T_AllAuto_ans.txt
 if exist %out% del %out%\r
 echo Current = ALL>>%out%\r
 echo Test Start : T_AllAuto.vbs>>%out%\r
+echo ^<Section num='1'/^>>>%out%\r
+echo ^<Section num='2'/^>>>%out%\r
+echo ^<Section num='3'/^>>>%out%\r
+echo ^<Section num='4'/^>>>%out%\r
 echo ==========================================================>>%out%\r
-echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_build ^>^>^>>>%out%\r
+echo ((( [T_Sample1\_target_Test.vbs] - test_build )))>>%out%\r
 echo T_Sample1 - test_build Sub1>>%out%\r
 echo T_Sample1 - test_build Sub2>>%out%\r
 echo Pass.>>%out%\r
+echo ^<Section num='5'/^>>>%out%\r
 echo ==========================================================>>%out%\r
-echo ^<^<^< [T_Sample2\_target_Test.vbs] - test_build ^>^>^>>>%out%\r
+echo ((( [T_Sample2\_target_Test.vbs] - test_build )))>>%out%\r
 echo T_Sample2 - test_build>>%out%\r
 echo Pass.>>%out%\r
+echo ^<Section num='6'/^>>>%out%\r
 echo ==========================================================>>%out%\r
-echo ^<^<^< [T_Sample2A\_target_Test.vbs] - test_build ^>^>^>>>%out%\r
+echo ((( [T_Sample2A\_target_Test.vbs] - test_build )))>>%out%\r
 echo T_Sample2A - test_build>>%out%\r
 echo Pass.>>%out%\r
+echo ^<Section num='7'/^>>>%out%\r
 echo ==========================================================>>%out%\r
-echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_setup ^>^>^>>>%out%\r
+echo ((( [T_Sample1\_target_Test.vbs] - test_setup )))>>%out%\r
 echo T_Sample1 - test_setup Sub1>>%out%\r
 echo T_Sample1 - test_setup Sub2>>%out%\r
 echo Pass.>>%out%\r
+echo ^<Section num='8'/^>>>%out%\r
 echo ==========================================================>>%out%\r
-echo ^<^<^< [T_Sample2\_target_Test.vbs] - test_setup ^>^>^>>>%out%\r
+echo ((( [T_Sample2\_target_Test.vbs] - test_setup )))>>%out%\r
 echo T_Sample2 - test_setup>>%out%\r
 echo Pass.>>%out%\r
+echo ^<Section num='9'/^>>>%out%\r
 echo ==========================================================>>%out%\r
-echo ^<^<^< [T_Sample2A\_target_Test.vbs] - test_setup ^>^>^>>>%out%\r
+echo ((( [T_Sample2A\_target_Test.vbs] - test_setup )))>>%out%\r
 echo T_Sample2A - test_setup>>%out%\r
 echo Pass.>>%out%\r
+echo ^<Section num='10'/^>>>%out%\r
 echo ==========================================================>>%out%\r
-echo ^<^<^< [T_Sample2A\_target_Test.vbs] - test_start ^>^>^>>>%out%\r
-echo T_Sample2A - test_start>>%out%\r
-echo [Fail] No result - Runtime ERROR in the function of "test_start" in "_target_Test.vbs".>>%out%\r
-echo  in "%base%\T_Sample2\T_Sample2A\_target_Test.vbs">>%out%\r
+echo ((( [T_Sample1\_target_Test.vbs] - test_start )))>>%out%\r
+echo T_Sample1 - test_start Sub1>>%out%\r
+echo T_Sample1 - test_start Sub2>>%out%\r
+echo [FAIL] Test is not Pass>>%out%\r
+echo  in "test_start" function in "%base%\T_Sample1\_target_Test.vbs">>%out%\r
+echo ^<Section num='11'/^>>>%out%\r
 echo ==========================================================>>%out%\r
-echo ^<^<^< [T_Sample2\_target_Test.vbs] - test_start ^>^>^>>>%out%\r
+echo ((( [T_Sample2\_target_Test.vbs] - test_start )))>>%out%\r
 echo T_Sample2 - test_start>>%out%\r
-echo [Fail] No result - Runtime ERROR in the function of "test_start" in "_target_Test.vbs".>>%out%\r
-echo  in "%base%\T_Sample2\_target_Test.vbs">>%out%\r
+echo [FAIL] Test is not Pass>>%out%\r
+echo  in "test_start" function in "%base%\T_Sample2\_target_Test.vbs">>%out%\r
+echo ^<Section num='12'/^>>>%out%\r
 echo ==========================================================>>%out%\r
-echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_start ^>^>^>>>%out%\r
-echo T_Sample1 - test_start Sub1>>%out%\r
-echo T_Sample1 - test_start Sub2>>%out%\r
-echo [Fail] No result - Runtime ERROR in the function of "test_start" in "_target_Test.vbs".>>%out%\r
-echo  in "%base%\T_Sample1\_target_Test.vbs">>%out%\r
+echo ((( [T_Sample2A\_target_Test.vbs] - test_start )))>>%out%\r
+echo T_Sample2A - test_start>>%out%\r
+echo [FAIL] Test is not Pass>>%out%\r
+echo  in "test_start" function in "%base%\T_Sample2\T_Sample2A\_target_Test.vbs">>%out%\r
+echo ^<Section num='13'/^>>>%out%\r
 echo ==========================================================>>%out%\r
-echo ^<^<^< [T_Sample2A\_target_Test.vbs] - test_check ^>^>^>>>%out%\r
+echo ((( [T_Sample2A\_target_Test.vbs] - test_check )))>>%out%\r
 echo T_Sample2A - test_check>>%out%\r
-echo [Fail] Fail the Test - Runtime ERROR in the function of "test_check" in "T_Sample2\T_Sample2A\_target_Test.vbs".>>%out%\r
-echo  in "%base%\T_Sample2\T_Sample2A\_target_Test.vbs">>%out%\r
+echo [FAIL] Fail the Test>>%out%\r
+echo  in "test_check" function in "%base%\T_Sample2\T_Sample2A\_target_Test.vbs">>%out%\r
+echo ^<Section num='14'/^>>>%out%\r
 echo ==========================================================>>%out%\r
-echo ^<^<^< [T_Sample2\_target_Test.vbs] - test_check ^>^>^>>>%out%\r
+echo ((( [T_Sample2\_target_Test.vbs] - test_check )))>>%out%\r
 echo T_Sample2 - test_check>>%out%\r
-echo [Fail] Fail the Test - Runtime ERROR in the function of "test_check" in "T_Sample2\_target_Test.vbs".>>%out%\r
-echo  in "%base%\T_Sample2\_target_Test.vbs">>%out%\r
+echo [FAIL] Fail the Test>>%out%\r
+echo  in "test_check" function in "%base%\T_Sample2\_target_Test.vbs">>%out%\r
+echo ^<Section num='15'/^>>>%out%\r
 echo ==========================================================>>%out%\r
-echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_check ^>^>^>>>%out%\r
+echo ((( [T_Sample1\_target_Test.vbs] - test_check )))>>%out%\r
 echo T_Sample1 - test_check Sub1>>%out%\r
 echo T_Sample1 - test_check Sub2>>%out%\r
-echo [Fail] Fail the Test - Runtime ERROR in the function of "test_check" in "T_Sample1\_target_Test.vbs".>>%out%\r
-echo  in "%base%\T_Sample1\_target_Test.vbs">>%out%\r
+echo [FAIL] Fail the Test>>%out%\r
+echo  in "test_check" function in "%base%\T_Sample1\_target_Test.vbs">>%out%\r
+echo ^<Section num='16'/^>>>%out%\r
 echo ==========================================================>>%out%\r
-echo ^<^<^< [T_Sample2A\_target_Test.vbs] - test_clean ^>^>^>>>%out%\r
+echo ((( [T_Sample2A\_target_Test.vbs] - test_clean )))>>%out%\r
 echo T_Sample2A - test_clean>>%out%\r
-echo [Skip] Skip the Test - Runtime ERROR in the function of "test_clean" in "T_Sample2\T_Sample2A\_target_Test.vbs".>>%out%\r
-echo  in "%base%\T_Sample2\T_Sample2A\_target_Test.vbs">>%out%\r
+echo [SKIP] Skip the Test>>%out%\r
+echo  in "test_clean" function in "%base%\T_Sample2\T_Sample2A\_target_Test.vbs">>%out%\r
+echo ^<Section num='17'/^>>>%out%\r
 echo ==========================================================>>%out%\r
-echo ^<^<^< [T_Sample2\_target_Test.vbs] - test_clean ^>^>^>>>%out%\r
+echo ((( [T_Sample2\_target_Test.vbs] - test_clean )))>>%out%\r
 echo T_Sample2 - test_clean>>%out%\r
-echo [Skip] Skip the Test - Runtime ERROR in the function of "test_clean" in "T_Sample2\_target_Test.vbs".>>%out%\r
-echo  in "%base%\T_Sample2\_target_Test.vbs">>%out%\r
+echo [SKIP] Skip the Test>>%out%\r
+echo  in "test_clean" function in "%base%\T_Sample2\_target_Test.vbs">>%out%\r
+echo ^<Section num='18'/^>>>%out%\r
 echo ==========================================================>>%out%\r
-echo ^<^<^< [T_Sample1\_target_Test.vbs] - test_clean ^>^>^>>>%out%\r
+echo ((( [T_Sample1\_target_Test.vbs] - test_clean )))>>%out%\r
 echo T_Sample1 - test_clean Sub1>>%out%\r
 echo T_Sample1 - test_clean Sub2>>%out%\r
-echo [Skip] Skip the Test - Runtime ERROR in the function of "test_clean" in "T_Sample1\_target_Test.vbs".>>%out%\r
-echo  in "%base%\T_Sample1\_target_Test.vbs">>%out%\r
+echo [SKIP] Skip the Test>>%out%\r
+echo  in "test_clean" function in "%base%\T_Sample1\_target_Test.vbs">>%out%\r
 echo ==========================================================>>%out%\r
 echo Test Finish (Pass=6, Manual=0, Skip=3, Fail=6)>>%out%\r
 echo.>>%out%\r