Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(69)

Delta Between Two Patch Sets: bootstrap_test.go

Issue 5874049: use readable time stamps on log messages.
Left Patch Set: Created 12 years ago
Right Patch Set: use readable time stamps on log messages. Created 10 years, 1 month ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « benchmark_test.go ('k') | foundation_test.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 // These initial tests are for bootstrapping. They verify that we can 1 // These initial tests are for bootstrapping. They verify that we can
2 // basically use the testing infrastructure itself to check if the test 2 // basically use the testing infrastructure itself to check if the test
3 // system is working. 3 // system is working.
4 // 4 //
5 // These tests use will break down the test runner badly in case of 5 // These tests use will break down the test runner badly in case of
6 // errors because if they simply fail, we can't be sure the developer 6 // errors because if they simply fail, we can't be sure the developer
7 // will ever see anything (because failing means the failing system 7 // will ever see anything (because failing means the failing system
8 // somehow isn't working! :-) 8 // somehow isn't working! :-)
9 // 9 //
10 // Do not assume *any* internal functionality works as expected besides 10 // Do not assume *any* internal functionality works as expected besides
11 // what's actually tested here. 11 // what's actually tested here.
12 12
13 package gocheck_test 13 package gocheck_test
14 14
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 func (s *BootstrapS) TestRunDoesntShowSuccesses(c *gocheck.C) { 74 func (s *BootstrapS) TestRunDoesntShowSuccesses(c *gocheck.C) {
75 output := String{} 75 output := String{}
76 gocheck.Run(&SuccessHelper{}, &gocheck.RunConf{Output: &output}) 76 gocheck.Run(&SuccessHelper{}, &gocheck.RunConf{Output: &output})
77 if strings.Index(output.value, "Expected success!") != -1 { 77 if strings.Index(output.value, "Expected success!") != -1 {
78 critical(fmt.Sprintf("RunWithWriter() output contained a success ful "+ 78 critical(fmt.Sprintf("RunWithWriter() output contained a success ful "+
79 "test! Got: %#v", 79 "test! Got: %#v",
80 output.value)) 80 output.value))
81 } 81 }
82 } 82 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b