Changeset 9549 for code/branches/testing/test/util/output
- Timestamp:
- Mar 12, 2013, 10:37:37 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/testing/test/util/output/LogWriterTest.cc
r9545 r9549 121 121 std::string line = getLineWhichContains(path, "myothertestoutput"); 122 122 EXPECT_FALSE(line.empty()); 123 EXPECT_TRUE( std::isdigit(line[0]));124 EXPECT_TRUE( std::isdigit(line[1]));123 EXPECT_TRUE(isdigit(line[0])); 124 EXPECT_TRUE(isdigit(line[1])); 125 125 EXPECT_EQ(':', line[2]); 126 EXPECT_TRUE( std::isdigit(line[3]));127 EXPECT_TRUE( std::isdigit(line[4]));126 EXPECT_TRUE(isdigit(line[3])); 127 EXPECT_TRUE(isdigit(line[4])); 128 128 EXPECT_EQ(':', line[5]); 129 EXPECT_TRUE( std::isdigit(line[6]));130 EXPECT_TRUE( std::isdigit(line[7]));129 EXPECT_TRUE(isdigit(line[6])); 130 EXPECT_TRUE(isdigit(line[7])); 131 131 EXPECT_EQ(' ', line[8]); 132 132 }
Note: See TracChangeset
for help on using the changeset viewer.