Searched refs:countNewLines (Results 1 – 3 of 3) sorted by relevance
/system/media/audio_utils/tests/ |
D | errorlog_tests.cpp | 27 static size_t countNewLines(const std::string &s) { in countNewLines() function 35 EXPECT_EQ((size_t)1, countNewLines(elog->dumpToString())); in TEST() 41 EXPECT_EQ((size_t)4, countNewLines(elog->dumpToString())); in TEST() 45 EXPECT_EQ((size_t)4, countNewLines(elog->dumpToString())); in TEST() 49 EXPECT_EQ((size_t)5, countNewLines(elog->dumpToString())); in TEST() 53 EXPECT_EQ((size_t)3, countNewLines(elog->dumpToString("" /* prefix */, 3 /* lines */))); in TEST() 56 EXPECT_EQ((size_t)4, countNewLines( in TEST() 60 EXPECT_EQ((size_t)4, countNewLines( in TEST() 64 EXPECT_EQ((size_t)3, countNewLines( in TEST() 68 EXPECT_EQ((size_t)3, countNewLines( in TEST() [all …]
|
D | simplelog_tests.cpp | 27 static size_t countNewLines(const std::string &s) { in countNewLines() function 35 EXPECT_EQ((size_t)0, countNewLines(slog->dumpToString())); in TEST() 42 EXPECT_EQ((size_t)2, countNewLines(slog->dumpToString())); in TEST() 48 EXPECT_EQ((size_t)4, countNewLines(slog->dumpToString())); in TEST() 51 EXPECT_EQ((size_t)1, countNewLines(slog->dumpToString("" /* prefix */, 1 /* lines */))); in TEST() 54 EXPECT_EQ((size_t)4, countNewLines( in TEST() 58 EXPECT_EQ((size_t)3, countNewLines( in TEST() 62 EXPECT_EQ((size_t)2, countNewLines( in TEST()
|
D | powerlog_tests.cpp | 27 static size_t countNewLines(const std::string &s) { in countNewLines() function 40 EXPECT_EQ((size_t)1, countNewLines(plog->dumpToString())); in TEST() 50 EXPECT_EQ((size_t)2, countNewLines(plog->dumpToString())); in TEST() 54 EXPECT_EQ((size_t)2, countNewLines(plog->dumpToString())); in TEST() 58 EXPECT_EQ((size_t)3, countNewLines(plog->dumpToString())); in TEST() 61 EXPECT_EQ((size_t)2, countNewLines(plog->dumpToString( in TEST() 65 EXPECT_EQ((size_t)3, countNewLines(plog->dumpToString( in TEST() 67 EXPECT_EQ((size_t)2, countNewLines(plog->dumpToString( in TEST()
|