class_docstr: This class is responsible for loading tests according to various criteria
  and returning them wrapped in a TestSuite
docstr: Return a sorted sequence of method names found within testCaseClass
          
docstr_tok: ["Return","a","sorted","sequence","of","method","names","found","within","testCaseClass"]
code: def getTestCaseNames(self, testCaseClass):
      """Return a sorted sequence of method names found within testCaseClass"""
  
      def shouldIncludeMethod(attrname):
          if not attrname.startswith(self.testMethodPrefix):
              return False
          testFunc = getattr(testCaseClass, attrname)
          if not callable(testFunc):
              return False
          fullName = f"%s.%s.%s" % (
              testCaseClass.__module__,
              testCaseClass.__qualname__,
              attrname,
          )
          return self.testNamePatterns is None or any(
              fnmatchcase(fullName, pattern)
              for pattern in self.testNamePatterns
          )
  
      testFnNames = list(
          filter(shouldIncludeMethod, dir(testCaseClass))
      )
      if self.sortTestMethodsUsing:
          testFnNames.sort(
              key=functools.cmp_to_key(self.sortTestMethodsUsing)
          )
      return testFnNames
  
imports: import os
  import re
  import sys
  import traceback
  import types
  import functools
  import warnings
  from fnmatch import fnmatch, fnmatchcase
  from .None import case, suite, util
label_desc: Use image node_id 6 for calling the TestLoader obj's underlying member method code with example usage: obj.getTestCaseNames(testCaseClass) and returns: testFnNames, unknown, False, False