Lines Matching refs:ParsePerfJson

7 from metric import ParsePerfJson
45 self.assertEqual(ParsePerfJson(before).ToPerfJson(), after)
51 self.assertEqual(ParsePerfJson(before).ToPerfJson(), after)
57 self.assertEqual(ParsePerfJson(before).ToPerfJson(), after)
62 self.assertEqual(ParsePerfJson(before).ToPerfJson(), after)
68 self.assertEqual(ParsePerfJson(before).ToPerfJson(), after)
72 self.assertEqual(ParsePerfJson(before).ToPerfJson(), after)
76 self.assertEqual(ParsePerfJson(before).ToPerfJson(), after)
82 self.assertEqual(ParsePerfJson(before).ToPython(), after)
87 self.assertEqual(ParsePerfJson(before).ToPython(), after)
91 self.assertEqual(ParsePerfJson(before).ToPerfJson(), after)
95 self.assertEqual(ParsePerfJson(before).ToPerfJson(), after)
101 py = ParsePerfJson(before).ToPython()
108 self.assertEqual(ParsePerfJson(before).Simplify().ToPerfJson(), after)
112 self.assertEqual(ParsePerfJson(before).Simplify().ToPerfJson(), after)
116 self.assertEqual(ParsePerfJson(before).Simplify().ToPerfJson(), after)
120 self.assertEqual(ParsePerfJson(before).Simplify().ToPerfJson(), after)
124 self.assertEqual(ParsePerfJson(before).Simplify().ToPerfJson(), after)
128 self.assertEqual(ParsePerfJson(before).Simplify().ToPerfJson(), after)
132 self.assertEqual(ParsePerfJson(before).Simplify().ToPerfJson(), after)
136 self.assertEqual(ParsePerfJson(before).Simplify().ToPerfJson(), after)
140 self.assertEqual(ParsePerfJson(before).Simplify().ToPerfJson(), after)
144 self.assertEqual(ParsePerfJson(before).Simplify().ToPerfJson(), after)
148 self.assertEqual(ParsePerfJson(before).Simplify().ToPerfJson(), after)
152 self.assertEqual(ParsePerfJson(before).Simplify().ToPerfJson(), after)
157 self.assertEqual(ParsePerfJson(before).Simplify().ToPerfJson(), after)
161 before = [('cpu', 'm1', ParsePerfJson('a + b + c + d')),
162 ('cpu', 'm2', ParsePerfJson('a + b + c'))]
163 after = {('cpu', 'm1'): ParsePerfJson('m2 + d')}