Lines Matching refs:args
66 def args(request):
79 def run_reflow_test(args, filetag):
80 testid = makeTestId(args.variations)
87 reflowFile(filename, args)
91 def match_warn_count(args, expected):
92 assert(args.warnCount == expected)
94 def match_vuid_dict(args, expectedExisting, expectedNew):
96 if args.nextvu is not None:
99 assert(sorted(args.vuidDict.keys()) == sorted(expected.keys()))
101 for vuid, locations in args.vuidDict.items():
109 def test_text(args):
111 run_reflow_test(args, 'text')
112 match_warn_count(args, 0)
113 match_vuid_dict(args, {}, {})
115 def test_table(args):
117 run_reflow_test(args, 'table')
118 match_warn_count(args, 0)
119 match_vuid_dict(args, {}, {})
121 def test_vu(args):
123 run_reflow_test(args, 'vu')
124 match_warn_count(args, 0)
125 match_vuid_dict(args, {'01993':
178 # def test_ifdef_in_vu(args):
180 # run_reflow_test(args, 'ifdef-in-vu')
181 # match_warn_count(args, 1)
182 # match_vuid_dict(args, {'00003':
196 def test_vuid_repeat(args):
198 run_reflow_test(args, 'vuid-repeat')
199 match_warn_count(args, 0)
200 match_vuid_dict(args, {'02498':
219 def test_new_vuid(args):
221 run_reflow_test(args, 'new-vuid')
222 match_warn_count(args, 0)
223 match_vuid_dict(args, {'01993':
272 def test_new_vuid_attribute(args):
274 run_reflow_test(args, 'new-vuid-attribute')
275 match_warn_count(args, 0)
276 match_vuid_dict(args, {}, {'10000':
325 def test_common_validity(args):
327 run_reflow_test(args, 'common-validity')
328 match_warn_count(args, 0)
329 match_vuid_dict(args, {'00171':
360 def test_nested_lists_in_vu(args):
362 run_reflow_test(args, 'nested-lists-in-vu')
363 match_warn_count(args, 0)
364 match_vuid_dict(args, {'07284':
375 def test_math_block_in_vu(args):
377 run_reflow_test(args, 'math-block-in-vu')
378 match_warn_count(args, 0)
379 match_vuid_dict(args, {'00004':