Searched refs:WebDriverLog (Results 1 – 7 of 7) sorted by relevance
/external/chromium_org/chrome/test/chromedriver/ |
D | logging.cc | 79 WebDriverLog* GetSessionLog() { in GetSessionLog() 87 WebDriverLog* session_log = GetSessionLog(); in InternalIsVLogOn() 114 WebDriverLog* session_log = GetSessionLog(); in HandleLogMessage() 123 const char WebDriverLog::kBrowserType[] = "browser"; 124 const char WebDriverLog::kDriverType[] = "driver"; 125 const char WebDriverLog::kPerformanceType[] = "performance"; 127 bool WebDriverLog::NameToLevel(const std::string& name, Log::Level* out_level) { in NameToLevel() 137 WebDriverLog::WebDriverLog(const std::string& type, Log::Level min_level) in WebDriverLog() function in WebDriverLog 141 WebDriverLog::~WebDriverLog() { in ~WebDriverLog() 146 scoped_ptr<base::ListValue> WebDriverLog::GetAndClearEntries() { in GetAndClearEntries() [all …]
|
D | logging_unittest.cc | 25 EXPECT_TRUE(WebDriverLog::NameToLevel(kAllWdLevels[i], &level)); in TEST() 33 EXPECT_FALSE(WebDriverLog::NameToLevel("A", &level)); in TEST() 34 EXPECT_FALSE(WebDriverLog::NameToLevel("B", &level)); in TEST() 35 EXPECT_FALSE(WebDriverLog::NameToLevel("H", &level)); in TEST() 36 EXPECT_FALSE(WebDriverLog::NameToLevel("R", &level)); in TEST() 37 EXPECT_FALSE(WebDriverLog::NameToLevel("T", &level)); in TEST() 38 EXPECT_FALSE(WebDriverLog::NameToLevel("Z", &level)); in TEST() 64 TEST(WebDriverLog, Levels) { in TEST() argument 65 WebDriverLog log("type", Log::kInfo); in TEST() 77 TEST(WebDriverLog, Off) { in TEST() argument [all …]
|
D | logging.h | 23 class WebDriverLog : public Log { 33 WebDriverLog(const std::string& type, Level min_level); 34 virtual ~WebDriverLog(); 61 DISALLOW_COPY_AND_ASSIGN(WebDriverLog); 69 ScopedVector<WebDriverLog>* out_logs,
|
D | session.cc | 91 std::vector<WebDriverLog*> Session::GetAllLogs() const { in GetAllLogs() 92 std::vector<WebDriverLog*> logs; in GetAllLogs() 93 for (ScopedVector<WebDriverLog>::const_iterator log = devtools_logs.begin(); in GetAllLogs() 104 for (ScopedVector<WebDriverLog>::const_iterator it = devtools_logs.begin(); in GetFirstBrowserError() 107 if ((*it)->type() == WebDriverLog::kBrowserType) { in GetFirstBrowserError()
|
D | session.h | 26 class WebDriverLog; variable 53 std::vector<WebDriverLog*> GetAllLogs() const; 75 ScopedVector<WebDriverLog> devtools_logs; 76 scoped_ptr<WebDriverLog> driver_log;
|
D | session_commands.cc | 110 new WebDriverLog(WebDriverLog::kDriverType, Log::kAll)); in InitSessionHelper() 121 if (capabilities.logging_prefs.count(WebDriverLog::kDriverType)) in InitSessionHelper() 122 driver_level = capabilities.logging_prefs[WebDriverLog::kDriverType]; in InitSessionHelper() 576 std::vector<WebDriverLog*> logs = session->GetAllLogs(); in ExecuteGetAvailableLogTypes() 577 for (std::vector<WebDriverLog*>::const_iterator log = logs.begin(); in ExecuteGetAvailableLogTypes() 594 std::vector<WebDriverLog*> logs = session->GetAllLogs(); in ExecuteGetLog() 595 for (std::vector<WebDriverLog*>::const_iterator log = logs.begin(); in ExecuteGetLog()
|
D | capabilities.cc | 297 !WebDriverLog::NameToLevel(level_name, &level)) { in ParseLoggingPrefs()
|