Home
last modified time | relevance | path

Searched refs:category (Results 1 – 8 of 8) sorted by relevance

/test/vts/utils/python/instrumentation/
Dtest_framework_instrumentation_event.py38 def NormalizeNameCategory(name, category): argument
50 if set(ILLEGAL_CHARS) & set(category + name):
51 category = re.sub('|'.join(ILLEGAL_CHARS), '_', category)
54 return name, category
85 category = None variable in TestFrameworkInstrumentationEvent
98 def __init__(self, name, category): argument
99 self.name, self.category = NormalizeNameCategory(name, category)
101 if (name, category) != (self.name, self.category):
104 'Replacing them as "_"', name, category)
106 def Match(self, name, category): argument
[all …]
Dtest_framework_instrumentation.py36 def Begin(name, category=DEFAULT_CATEGORY, enable_logging=None, disable_subevent_logging=False): argument
53 event = tfie.TestFrameworkInstrumentationEvent(name, category)
58 def End(name, category=DEFAULT_CATEGORY): argument
78 event = FindEvent(name, category)
81 'exists or has already ended. Skipping...', name, category)
88 def FindEvent(name, category=DEFAULT_CATEGORY): argument
102 if event.Match(name, category):
108 def Count(name, category=DEFAULT_CATEGORY): argument
117 name, category = tfie.NormalizeNameCategory(name, category)
119 if (name, category) not in counts:
[all …]
Dtest_framework_instrumentation_test.py30 self.category = 'category_default'
45 category = '1'
47 event = tfie.TestFrameworkInstrumentationEvent(name, category)
48 self.assertTrue(event.Match(name, category))
49 self.assertFalse(event.Match('3', category))
53 event = tfi.Begin(self.name, self.category, enable_logging=False)
63 event = tfi.Begin(self.name, self.category)
65 tfi.End(self.name, self.category)
71 event = tfi.Begin(self.name, self.category)
73 tfits.TestFrameworkInstrumentationTestSubmodule().End(self.name, self.category)
[all …]
Dtest_framework_instrumentation_test_submodule.py22 def End(self, name, category): argument
24 tfi.End(name, category)
/test/vts/utils/python/gcs/
Dgcs_utils_test.py41 self.category = "category_default"
Dgcs_api_utils_test.py73 self.category = "category_default"
/test/vts/utils/python/reporting/
Dreport_file_utils_test.py49 self.category = "category_default"
/test/vts/utils/python/fuzzer/
Dcorpus_manager_test.py34 self.category = "category_default"