MCPcopy Index your code
hub / github.com/nodejs/node / TestConfiguration

Class TestConfiguration

tools/test.py:847–864  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

845
846
847class TestConfiguration(object):
848 def __init__(self, context, root, section):
849 self.context = context
850 self.root = root
851 self.section = section
852
853 def Contains(self, path, file):
854 if len(path) > len(file):
855 return False
856 for i in range(len(path)):
857 if not path[i].match(NormalizePath(file[i])):
858 return False
859 return True
860
861 def GetTestStatus(self, sections, defs):
862 status_file = join(self.root, '%s.status' % self.section)
863 if exists(status_file):
864 ReadConfigurationInto(status_file, sections, defs)
865
866
867class TestSuite(object):

Callers 1

GetTestStatusMethod · 0.85

Calls

no outgoing calls

Tested by 1

GetTestStatusMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…