Searched refs:WebDriverLog (Results 1 – 8 of 8) sorted by relevance
/external/chromium_org/chrome/test/chromedriver/ |
D | logging.cc | 80 WebDriverLog* GetSessionLog() { in GetSessionLog() 88 WebDriverLog* session_log = GetSessionLog(); in InternalIsVLogOn() 115 WebDriverLog* session_log = GetSessionLog(); in HandleLogMessage() 124 const char WebDriverLog::kBrowserType[] = "browser"; 125 const char WebDriverLog::kDriverType[] = "driver"; 126 const char WebDriverLog::kPerformanceType[] = "performance"; 128 bool WebDriverLog::NameToLevel(const std::string& name, Log::Level* out_level) { in NameToLevel() 138 WebDriverLog::WebDriverLog(const std::string& type, Log::Level min_level) in WebDriverLog() function in WebDriverLog 142 WebDriverLog::~WebDriverLog() { in ~WebDriverLog() 147 scoped_ptr<base::ListValue> WebDriverLog::GetAndClearEntries() { in GetAndClearEntries() [all …]
|
D | logging_unittest.cc | 27 EXPECT_TRUE(WebDriverLog::NameToLevel(kAllWdLevels[i], &level)); in TEST() 35 EXPECT_FALSE(WebDriverLog::NameToLevel("A", &level)); in TEST() 36 EXPECT_FALSE(WebDriverLog::NameToLevel("B", &level)); in TEST() 37 EXPECT_FALSE(WebDriverLog::NameToLevel("H", &level)); in TEST() 38 EXPECT_FALSE(WebDriverLog::NameToLevel("R", &level)); in TEST() 39 EXPECT_FALSE(WebDriverLog::NameToLevel("T", &level)); in TEST() 40 EXPECT_FALSE(WebDriverLog::NameToLevel("Z", &level)); in TEST() 66 TEST(WebDriverLog, Levels) { in TEST() argument 67 WebDriverLog log("type", Log::kInfo); in TEST() 79 TEST(WebDriverLog, Off) { in TEST() argument [all …]
|
D | logging.h | 25 class WebDriverLog : public Log { 35 WebDriverLog(const std::string& type, Level min_level); 36 virtual ~WebDriverLog(); 63 DISALLOW_COPY_AND_ASSIGN(WebDriverLog); 73 ScopedVector<WebDriverLog>* out_logs,
|
D | session.cc | 90 std::vector<WebDriverLog*> Session::GetAllLogs() const { in GetAllLogs() 91 std::vector<WebDriverLog*> logs; in GetAllLogs() 92 for (ScopedVector<WebDriverLog>::const_iterator log = devtools_logs.begin(); in GetAllLogs() 103 for (ScopedVector<WebDriverLog>::const_iterator it = devtools_logs.begin(); in GetFirstBrowserError() 106 if ((*it)->type() == WebDriverLog::kBrowserType) { in GetFirstBrowserError()
|
D | session.h | 27 class WebDriverLog; variable 54 std::vector<WebDriverLog*> GetAllLogs() const; 76 ScopedVector<WebDriverLog> devtools_logs; 77 scoped_ptr<WebDriverLog> driver_log;
|
D | session_commands.cc | 111 new WebDriverLog(WebDriverLog::kDriverType, Log::kAll)); in InitSessionHelper() 122 if (capabilities.logging_prefs.count(WebDriverLog::kDriverType)) in InitSessionHelper() 123 driver_level = capabilities.logging_prefs[WebDriverLog::kDriverType]; in InitSessionHelper() 586 std::vector<WebDriverLog*> logs = session->GetAllLogs(); in ExecuteGetAvailableLogTypes() 587 for (std::vector<WebDriverLog*>::const_iterator log = logs.begin(); in ExecuteGetAvailableLogTypes() 604 std::vector<WebDriverLog*> logs = session->GetAllLogs(); in ExecuteGetLog() 605 for (std::vector<WebDriverLog*>::const_iterator log = logs.begin(); in ExecuteGetLog()
|
D | capabilities_unittest.cc | 344 logging_prefs.SetString(WebDriverLog::kPerformanceType, "INFO"); in TEST() 372 logging_prefs.SetString(WebDriverLog::kPerformanceType, "INFO"); in TEST() 393 logging_prefs.SetString(WebDriverLog::kPerformanceType, "INFO"); in TEST() 409 logging_prefs.SetString(WebDriverLog::kPerformanceType, "INFO"); in TEST() 433 logging_prefs.SetString(WebDriverLog::kPerformanceType, "OFF"); in TEST()
|
D | capabilities.cc | 309 !WebDriverLog::NameToLevel(level_name, &level)) { in ParseLoggingPrefs() 578 WebDriverLog::kPerformanceType); in Parse()
|