def test_chromium_resource_load(self): """Tests verbose line.""" self.assertTrue( logger.is_line_valid( 'V/chromium( 8530): [VERBOSE1:network_delegate.cc(31)] ' 'NetworkDelegate::NotifyBeforeURLRequest: ' 'https://en.m.wikipedia.org'))
def test_info(self): """Tests info line.""" self.assertTrue( logger.is_line_valid( 'I/chromium( 8530): [INFO:CONSOLE(166)] Hello world!'))
def test_debug(self): """Tests debug line.""" self.assertFalse( logger.is_line_valid('D/ConnectivityService( 812): notifyType'))
def test_verbose(self): """Tests verbose line.""" self.assertFalse( logger.is_line_valid( 'V/chromium( 8572): [VERBOSE1:] Not implemented.'))
def test_beginning_of(self): """Tests beginning of line.""" self.assertFalse(logger.is_line_valid('--------- beginning of system'))