From: lacton <la...@us...> - 2008-03-16 19:15:32
|
Update of /cvsroot/shunit/ShUnit In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv2806 Modified Files: shUnitTest Log Message: [refactor] Test ordering. Index: shUnitTest =================================================================== RCS file: /cvsroot/shunit/ShUnit/shUnitTest,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** shUnitTest 16 Mar 2008 17:20:05 -0000 1.18 --- shUnitTest 16 Mar 2008 19:15:29 -0000 1.19 *************** *** 128,139 **** } - TestAutoSuite() { - std_output=`./autoSuiteTest` - echo "$std_output" | grep -q 'NotATest' - shuDeny "Auto-detected suite should not include NotATest" $? - echo "$std_output" | grep -q 'Test1' - shuAssert "Auto-detected suite should include Test1" $? - } - TestOneAssertFailureAndOneAssertSuccessMeanFailure() { shuAssert "This test failed intentionally" ${SHU_FALSE} --- 128,131 ---- *************** *** 162,165 **** --- 154,165 ---- } + TestAutoSuite() { + std_output=`./autoSuiteTest` + echo "$std_output" | grep -q 'NotATest' + shuDeny "Auto-detected suite should not include NotATest" $? + echo "$std_output" | grep -q 'Test1' + shuAssert "Auto-detected suite should include Test1" $? + } + InitFunction() { shuRegTest TestIntentionalFailure |