Lines Matching refs:assertEqual
56 self.assertEqual(preprocessor1, '#if defined(DEP1)',
58 self.assertEqual(preprocessor2, '#if defined(DEP2)',
60 self.assertEqual(endif1, '#endif /* DEP2 */',
62 self.assertEqual(endif2, '#endif /* DEP1 */',
75 self.assertEqual(preprocessor1, '#if !defined(DEP1)',
77 self.assertEqual(preprocessor2, '#if !defined(DEP2)',
79 self.assertEqual(endif1, '#endif /* !DEP2 */',
81 self.assertEqual(endif2, '#endif /* !DEP1 */',
94 self.assertEqual(preprocessor1, '#if !defined(DEP1)',
96 self.assertEqual(preprocessor2, '#if defined(DEP2)',
98 self.assertEqual(endif1, '#endif /* DEP2 */',
100 self.assertEqual(endif2, '#endif /* !DEP1 */',
111 self.assertEqual(dep_start, '', 'Preprocessor generated incorrectly')
112 self.assertEqual(dep_end, '', 'Preprocessor generated incorrectly')
125 self.assertEqual(len(dep_start.splitlines()), count,
127 self.assertEqual(len(dep_end.splitlines()), count,
144 self.assertEqual(dep_str, '#if defined(DEP1) && defined(DEP2)',
155 self.assertEqual(dep_str, '#if !defined(DEP1) && !defined(DEP2)',
166 self.assertEqual(dep_str, '#if !defined(DEP1) && defined(DEP2)',
177 self.assertEqual(dep_str, '', 'Preprocessor generated incorrectly')
192 self.assertEqual(dep_str, expected,
215 self.assertEqual(code, expected)
232 self.assertEqual(code, expected)
249 self.assertEqual(code, expected)
270 self.assertEqual(code, expected)
281 self.assertEqual(code, expected)
348 self.assertEqual(headers, expected)
370 self.assertEqual(headers, expected)
406 self.assertEqual(dependencies, expected)
433 self.assertEqual(dependencies, expected)
451 self.assertEqual(dependencies, expected)
461 self.assertEqual(dependencies, [])
471 self.assertEqual(dependencies, ['MBEDTLS_FS_IO', 'A', '!B', 'C', 'F'])
486 self.assertEqual(args, ['char*', 'int', 'int'])
487 self.assertEqual(local, '')
488 self.assertEqual(arg_dispatch, ['(char *) params[0]',
499 self.assertEqual(args, ['char*', 'hex', 'int'])
500 self.assertEqual(local,
503 self.assertEqual(arg_dispatch, ['(char *) params[0]',
522 self.assertEqual(args, [])
523 self.assertEqual(local, '')
524 self.assertEqual(arg_dispatch, [])
612 self.assertEqual(name, 'test_func')
613 self.assertEqual(arg, [])
624 self.assertEqual(code, expected)
625 self.assertEqual(dispatch_code, "\n test_func_wrapper,\n")
668 self.assertEqual(code, expected)
728 self.assertEqual(code, expected)
755 self.assertEqual(stream.line_no, 1)
778 self.assertEqual(stream.line_no, 1)
799 self.assertEqual(stream.line_no, 1)
822 self.assertEqual(stream.line_no, 1)
852 self.assertEqual(stream.line_no, 5)
853 self.assertEqual(suite_dependencies, [])
858 self.assertEqual(dispatch_code, expected_dispatch_code)
859 self.assertEqual(func_code, in_func_code)
860 self.assertEqual(func_info, {'test_func': (0, [])})
893 self.assertEqual(stream.line_no, 23)
894 self.assertEqual(suite_dependencies, ['MBEDTLS_ECP_C'])
911 self.assertEqual(dispatch_code, expected_dispatch_code)
953 self.assertEqual(func_code, expected_func_code)
954 self.assertEqual(func_info, {'test_func1': (0, []),
1010 self.assertEqual(splits, [])
1020 self.assertEqual(splits, test_str.split(':'))
1029 self.assertEqual(splits, [r'yahoo\:google', 'facebook'])
1038 self.assertEqual(splits, [r'yahoo\\', 'google', 'facebook'])
1047 self.assertEqual(splits, [r'yahoo\\', r'google',
1079 self.assertEqual(test1[0], 'Diffie-Hellman full exchange #1')
1080 self.assertEqual(test1[1], 'dhm_do_dhm')
1081 self.assertEqual(test1[2], [])
1082 self.assertEqual(test1[3], ['10', '"23"', '10', '"5"'])
1084 self.assertEqual(test2[0], 'Diffie-Hellman full exchange #2')
1085 self.assertEqual(test2[1], 'dhm_do_dhm')
1086 self.assertEqual(test2[2], [])
1087 self.assertEqual(test2[3], ['10', '"93450983094850938450983409623"',
1090 self.assertEqual(test3[0], 'Diffie-Hellman full exchange #3')
1091 self.assertEqual(test3[1], 'dhm_do_dhm')
1092 self.assertEqual(test3[2], [])
1093 self.assertEqual(test3[3], ['10',
1098 self.assertEqual(test4[0], 'Diffie-Hellman selftest')
1099 self.assertEqual(test4[1], 'dhm_selftest')
1100 self.assertEqual(test4[2], [])
1101 self.assertEqual(test4[3], [])
1121 self.assertEqual(test1[0], 'Diffie-Hellman full exchange #1')
1122 self.assertEqual(test1[1], 'dhm_do_dhm')
1123 self.assertEqual(test1[2], ['YAHOO'])
1124 self.assertEqual(test1[3], ['10', '"23"', '10', '"5"'])
1126 self.assertEqual(test2[0], 'Diffie-Hellman full exchange #2')
1127 self.assertEqual(test2[1], 'dhm_do_dhm')
1128 self.assertEqual(test2[2], [])
1129 self.assertEqual(test2[3], ['10', '"93450983094850938450983409623"',
1153 self.assertEqual(type(err), GeneratorInputError)
1171 self.assertEqual(type(err), GeneratorInputError)
1196 self.assertEqual(out, expected)
1214 self.assertEqual(out, expected)
1249 self.assertEqual(out, expected)
1280 self.assertEqual(dep_check_code, '')
1281 self.assertEqual(len(unique_dependencies), 0)
1282 self.assertEqual(stream.getvalue(), '')
1321 self.assertEqual(dep_check_code, expect_dep_check_code)
1322 self.assertEqual(len(unique_dependencies), 3)
1323 self.assertEqual(stream.getvalue(), 'depends_on:0:1:2\n')
1367 self.assertEqual(dep_check_code, expect_dep_check_code)
1368 self.assertEqual(len(unique_dependencies), 3)
1369 self.assertEqual(stream.getvalue(),
1386 self.assertEqual(len(unique_expressions), 0)
1387 self.assertEqual(expression_code, '')
1388 self.assertEqual(stream.getvalue(), '\n')
1401 self.assertEqual(len(unique_expressions), 0)
1402 self.assertEqual(expression_code, '')
1403 self.assertEqual(stream.getvalue(),
1417 self.assertEqual(len(unique_expressions), 0)
1418 self.assertEqual(expression_code, '')
1419 self.assertEqual(stream.getvalue(),
1435 self.assertEqual(len(unique_expressions), 3)
1436 self.assertEqual(unique_expressions, ['MACRO1', 'MACRO2', 'MACRO3'])
1453 self.assertEqual(expression_code, expected_expression_code)
1454 self.assertEqual(stream.getvalue(),
1478 self.assertEqual(len(unique_expressions), 3)
1479 self.assertEqual(unique_expressions, ['MACRO1', 'MACRO2', 'MACRO3'])
1496 self.assertEqual(expression_code, expected_expression_code)
1501 self.assertEqual(stream.getvalue(), expected_data_file)
1516 self.assertEqual(dep_check_code, 'DEP_CHECK_CODE')
1517 self.assertEqual(expression_code, 'EXPRESSION_CODE')
1538 self.assertEqual(dep_check_code, expected_dep_check_code)
1539 self.assertEqual(expression_code, expected_expression_code)
1547 self.assertEqual(dep_check_code, '')
1548 self.assertEqual(expression_code, '')
1693 self.assertEqual(dep_check_code, expected_dep_check_code)
1694 self.assertEqual(out_data_f.getvalue(), expected_data)
1695 self.assertEqual(expression_code, expected_expression_code)