• Home
  • Raw
  • Download

Lines Matching refs:Test

31         class Test(unittest2.TestCase):  class
35 Test.setUpCalled += 1
42 result = self.runTests(Test)
44 self.assertEqual(Test.setUpCalled, 1)
49 class Test(unittest2.TestCase): class
53 Test.tearDownCalled += 1
60 result = self.runTests(Test)
62 self.assertEqual(Test.tearDownCalled, 1)
67 class Test(unittest2.TestCase): class
71 Test.tearDownCalled += 1
89 result = self.runTests(Test, Test2)
91 self.assertEqual(Test.tearDownCalled, 1)
115 class Test(unittest2.TestCase): class
119 Test.tornDown += 1
137 result = self.runTests(Test, Test2)
140 self.assertEqual(Test.tornDown, 1)
148 class Test(unittest2.TestCase): class
155 Test.tornDown = True
160 self.runTests(Test)
161 self.assertFalse(Test.tornDown)
164 class Test(unittest2.TestCase): class
169 Test.classSetUp = True
172 Test.tornDown = True
176 Test = unittest2.skip("hop")(Test)
177 self.runTests(Test)
178 self.assertFalse(Test.classSetUp)
179 self.assertFalse(Test.tornDown)
270 class Test(unittest2.TestCase): class
275 Test.__module__ = 'Module'
278 result = self.runTests(Test)
295 class Test(unittest2.TestCase): class
300 Test.classSetUp = True
303 Test.classTornDown = True
314 Test.__module__ = 'Module'
318 result = self.runTests(Test, Test2)
322 self.assertFalse(Test.classSetUp)
323 self.assertFalse(Test.classTornDown)
329 class Test(unittest2.TestCase): class
334 Test.__module__ = 'Module'
337 result = self.runTests(Test)
347 class Test(unittest2.TestCase): class
352 Test.__module__ = 'Module'
355 result = self.runTests(Test)
368 class Test(unittest2.TestCase): class
373 Test.classSetUp = True
376 Test.classTornDown = True
387 Test.__module__ = 'Module'
391 result = self.runTests(Test, Test2)
394 self.assertTrue(Test.classSetUp)
395 self.assertTrue(Test.classTornDown)
401 class Test(unittest2.TestCase): class
410 result = self.runTests(Test)
418 class Test(unittest2.TestCase): class
429 Test.__module__ = 'Module'
432 result = self.runTests(Test)
450 class Test(unittest2.TestCase): class
460 Test.__module__ = 'Module'
463 suite = unittest2.defaultTestLoader.loadTestsFromTestCase(Test)
479 class Test(unittest2.TestCase): class
492 Test.__module__ = 'Module'
495 _suite = unittest2.defaultTestLoader.loadTestsFromTestCase(Test)