- Revision
- 11100
- Author
- vajda
- Date
- 2006-07-08 09:40:57 -0700 (Sat, 08 Jul 2006)
Log Message
- changed TestCleanRepo so that it fails when check() fails
Modified Paths
Diff
Modified: trunk/chandler/tools/QATestScripts/Functional/TestCleanRepo.py (11099 => 11100)
--- trunk/chandler/tools/QATestScripts/Functional/TestCleanRepo.py 2006-07-08 16:26:57 UTC (rev 11099) +++ trunk/chandler/tools/QATestScripts/Functional/TestCleanRepo.py 2006-07-08 16:40:57 UTC (rev 11100) @@ -21,8 +21,10 @@ # / logging infrastructure. By doing this here, we'll see corruption while # everything's still set up. try: - QAUITestAppLib.App_ns.itsView.check() - logger.ReportPass('CleanRepo') + if QAUITestAppLib.App_ns.itsView.check(): + logger.ReportPass('CleanRepo') + else: + logger.ReportFailure('CleanRepo') logger.SetChecked(True) finally: logger.Report('TestCleanRepo')
Modified: trunk/chandler/tools/QAUITestAppLib.py (11099 => 11100)
--- trunk/chandler/tools/QAUITestAppLib.py 2006-07-08 16:26:57 UTC (rev 11099) +++ trunk/chandler/tools/QAUITestAppLib.py 2006-07-08 16:40:57 UTC (rev 11100) @@ -1083,7 +1083,7 @@ self.logger.ReportPass("(On collection existence Checking)") result = True else: - self.logger.ReportFail("(On collection existence Checking)") + self.logger.ReportFailure("(On collection existence Checking)") result = False self.logger.Report("Collection existence") else:
_______________________________________________ Commits mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/commits
