'Given a class which contains test cases, return a list of L{TestCase}s.
@param klass: The class to load tests from.'

def loadClass(self, klass):

    if (not isinstance(klass, type)):
        raise TypeError(('%r    is    not    a    class' % (klass,)))
    if (not isTestCase(klass)):
        raise ValueError(('%r    is    not    a    test    case' % (klass,)))
    names = self.getTestCaseNames(klass)
    tests = self.sort([self._makeCase(klass, (self.methodPrefix + name)) for name in names])
    return self.suiteFactory(tests)
