Lines Matching refs:after

44     after = before
45 self.assertEqual(ParsePerfJson(before).ToPerfJson(), after)
50 after = before
51 self.assertEqual(ParsePerfJson(before).ToPerfJson(), after)
56 after = before
57 self.assertEqual(ParsePerfJson(before).ToPerfJson(), after)
61 after = before
62 self.assertEqual(ParsePerfJson(before).ToPerfJson(), after)
67 after = f'({before})'
68 self.assertEqual(ParsePerfJson(before).ToPerfJson(), after)
71 after = f'({before})'
72 self.assertEqual(ParsePerfJson(before).ToPerfJson(), after)
75 after = f'({before})'
76 self.assertEqual(ParsePerfJson(before).ToPerfJson(), after)
80 after = (r'Select(Event(r"Event1") + Constant(1), Event(r"Event2") < '
82 self.assertEqual(ParsePerfJson(before).ToPython(), after)
85 after = (r'Select(Event(r"Event1") > Constant(1), Event(r"Event2") < '
87 self.assertEqual(ParsePerfJson(before).ToPython(), after)
90 after = r'min((a + b if c > 1 else c + d), e + f)'
91 self.assertEqual(ParsePerfJson(before).ToPerfJson(), after)
94 after = r'(a if b else (c if d else e))'
95 self.assertEqual(ParsePerfJson(before).ToPerfJson(), after)
102 after = eval(py).ToPerfJson()
103 self.assertEqual(before, after)
107 after = '6'
108 self.assertEqual(ParsePerfJson(before).Simplify().ToPerfJson(), after)
111 after = 'a'
112 self.assertEqual(ParsePerfJson(before).Simplify().ToPerfJson(), after)
115 after = 'a'
116 self.assertEqual(ParsePerfJson(before).Simplify().ToPerfJson(), after)
119 after = 'a'
120 self.assertEqual(ParsePerfJson(before).Simplify().ToPerfJson(), after)
123 after = 'a'
124 self.assertEqual(ParsePerfJson(before).Simplify().ToPerfJson(), after)
127 after = '0'
128 self.assertEqual(ParsePerfJson(before).Simplify().ToPerfJson(), after)
131 after = '0'
132 self.assertEqual(ParsePerfJson(before).Simplify().ToPerfJson(), after)
135 after = 'a'
136 self.assertEqual(ParsePerfJson(before).Simplify().ToPerfJson(), after)
139 after = 'a'
140 self.assertEqual(ParsePerfJson(before).Simplify().ToPerfJson(), after)
143 after = 'b'
144 self.assertEqual(ParsePerfJson(before).Simplify().ToPerfJson(), after)
147 after = 'a'
148 self.assertEqual(ParsePerfJson(before).Simplify().ToPerfJson(), after)
151 after = 'a'
152 self.assertEqual(ParsePerfJson(before).Simplify().ToPerfJson(), after)
156 after = '0 * SLOTS'
157 self.assertEqual(ParsePerfJson(before).Simplify().ToPerfJson(), after)
163 after = {('cpu', 'm1'): ParsePerfJson('m2 + d')}
164 self.assertEqual(RewriteMetricsInTermsOfOthers(before), after)