Did I find the right examples for you? yes no

All Samples(35)  |  Call(35)  |  Derive(0)  |  Import(0)

        def getTestCaseNames(testCaseClass, prefix, sortUsing=cmp):
    return _makeLoader(prefix, sortUsing).getTestCaseNames(testCaseClass)
        


src/p/l/plexnet-HEAD/third_party/python/SCons/Scanner/ScannerTests.py   plexnet(Download)
               ]
    for tclass in tclasses:
        names = unittest.getTestCaseNames(tclass, 'test_')
        suite.addTests(map(tclass, names))
    return suite

src/p/l/plexnet-HEAD/third_party/python/SCons/Node/PythonTests.py   plexnet(Download)
    ]
    for tclass in tclasses:
        names = unittest.getTestCaseNames(tclass, 'test_')
        suite.addTests(map(tclass, names))
    if not unittest.TextTestRunner().run(suite).wasSuccessful():

src/p/l/plexnet-HEAD/third_party/python/SCons/Node/AliasTests.py   plexnet(Download)
    ]
    for tclass in tclasses:
        names = unittest.getTestCaseNames(tclass, 'test_')
        suite.addTests(map(tclass, names))
    if not unittest.TextTestRunner().run(suite).wasSuccessful():

src/p/l/plexnet-HEAD/third_party/python/SCons/UtilTests.py   plexnet(Download)
               ]
    for tclass in tclasses:
        names = unittest.getTestCaseNames(tclass, 'test_')
        suite.addTests(map(tclass, names))
    if not unittest.TextTestRunner().run(suite).wasSuccessful():

src/o/p/openvault-core-HEAD/hydra-jetty/webapps/media/WEB-INF/lib/Lib/test/zxjdbc/runner.py   openvault-core(Download)
def make_suite(vendor, testcase, factory, mask=None):
    clz = __imp__(testcase.frm, testcase.impt)
    caseNames = filter(lambda x, i=testcase.ignore: x not in i, unittest.getTestCaseNames(clz, "test"))
    if mask is not None:
        caseNames = filter(lambda x, mask=mask: x == mask, caseNames)

src/b/a/babble-HEAD/include/jython/Lib/test/zxjdbc/runner.py   babble(Download)
def make_suite(vendor, testcase, factory, mask=None):
        clz = __imp__(testcase.frm, testcase.impt)
        caseNames = filter(lambda x, i=testcase.ignore: x not in i, unittest.getTestCaseNames(clz, "test"))
        if mask is not None:
                caseNames = filter(lambda x, mask=mask: x == mask, caseNames)

src/f/i/Field-HEAD/Contents/lib/python/test/zxjdbc/runner.py   Field(Download)
def make_suite(vendor, testcase, factory, mask=None):
    clz = __imp__(testcase.frm, testcase.impt)
    caseNames = filter(lambda x, i=testcase.ignore: x not in i, unittest.getTestCaseNames(clz, "test"))
    if mask is not None:
        caseNames = filter(lambda x, mask=mask: x == mask, caseNames)

src/p/l/plexnet-HEAD/third_party/python/SCons/ActionTests.py   plexnet(Download)
                 ActionCompareTestCase ]
    for tclass in tclasses:
        names = unittest.getTestCaseNames(tclass, 'test_')
        suite.addTests(map(tclass, names))
    if not unittest.TextTestRunner().run(suite).wasSuccessful():

src/p/l/plexnet-HEAD/third_party/python/SCons/Node/NodeTests.py   plexnet(Download)
                 NodeListTestCase ]
    for tclass in tclasses:
        names = unittest.getTestCaseNames(tclass, 'test_')
        suite.addTests(map(tclass, names))
    if not unittest.TextTestRunner().run(suite).wasSuccessful():

src/p/l/plexnet-HEAD/third_party/python/SCons/SubstTests.py   plexnet(Download)
    ]
    for tclass in tclasses:
        names = unittest.getTestCaseNames(tclass, 'test_')
        suite.addTests(map(tclass, names))
    if not unittest.TextTestRunner().run(suite).wasSuccessful():

  1 | 2 | 3 | 4  Next