def testSkipTests(self):
     count = count_ifdefs.CountIfdefs('OS_[A-Z]+', self.root, True)
     self.failUnless(count == 4)
Exemplo n.º 2
0
 def CountIfdefs(self, skip_tests):
     return count_ifdefs.CountIfdefs(PREPROCESSOR_PATTERN,
                                     self.chrome_browser, skip_tests)
 def testNormal(self):
     count = count_ifdefs.CountIfdefs('OS_[A-Z]+', self.root)
     self.failUnless(count == 6)