Esempio n. 1
0
 def test_find_with_skipped_directories_2(self):
     port = TestPort()
     tests = port.tests(['userscripts/resources'])
     self.assertEqual(tests, set([]))
Esempio n. 2
0
 def test_find_glob(self):
     port = TestPort()
     tests = port.tests(['failures/expected/im*'])
     self.assertEqual(len(tests), 2)
Esempio n. 3
0
 def test_find_with_skipped_directories(self):
     port = TestPort()
     tests = port.tests('userscripts')
     self.assertTrue('userscripts/resources/iframe.html' not in tests)
Esempio n. 4
0
 def test_find_no_paths_specified(self):
     port = TestPort()
     layout_tests_dir = port.layout_tests_dir()
     tests = port.tests([])
     self.assertNotEqual(len(tests), 0)
Esempio n. 5
0
 def test_find_one_test(self):
     port = TestPort()
     tests = port.tests(['failures/expected/image.html'])
     self.assertEqual(len(tests), 1)
Esempio n. 6
0
 def test_find_with_skipped_directories_2(self):
     port = TestPort(MockHost())
     tests = port.tests(['userscripts/resources'])
     self.assertEqual(tests, set([]))
Esempio n. 7
0
 def test_find_with_skipped_directories(self):
     port = TestPort(MockHost())
     tests = port.tests('userscripts')
     self.assertTrue('userscripts/resources/iframe.html' not in tests)
Esempio n. 8
0
 def test_find_glob(self):
     port = TestPort(MockHost())
     tests = port.tests(['failures/expected/im*'])
     self.assertEqual(len(tests), 2)
Esempio n. 9
0
 def test_find_one_test(self):
     port = TestPort(MockHost())
     tests = port.tests(['failures/expected/image.html'])
     self.assertEqual(len(tests), 1)
Esempio n. 10
0
 def test_find_no_paths_specified(self):
     port = TestPort(MockHost())
     layout_tests_dir = port.layout_tests_dir()
     tests = port.tests([])
     self.assertNotEqual(len(tests), 0)