Searched refs:expect_string (Results 1 – 7 of 7) sorted by relevance
/external/cmockery/cmockery_0_1_2/src/example/ |
D | calculator_test.c | 257 expect_string(example_test_fprintf, temporary_buffer, in test_perform_operation_first_arg_not_integer() 280 expect_string(example_test_fprintf, temporary_buffer, in test_perform_operation_unknown_operator() 303 expect_string(example_test_fprintf, temporary_buffer, in test_perform_operation_missing_argument() 326 expect_string(example_test_fprintf, temporary_buffer, in test_perform_operation_no_integer_after_operator() 390 expect_string(example_test_printf, temporary_buffer, "1\n"); in test_example_main() 391 expect_string(example_test_printf, temporary_buffer, " + 3 = 4\n"); in test_example_main() 392 expect_string(example_test_printf, temporary_buffer, " * 10 = 40\n"); in test_example_main() 393 expect_string(example_test_printf, temporary_buffer, "= 40\n"); in test_example_main()
|
D | product_database_test.c | 35 expect_string(connect_to_database, url, "products.abcd.org"); in test_connect_to_product_database() 44 expect_string(connect_to_database, url, "products.abcd.com"); in test_connect_to_product_database_bad_url() 54 expect_string(connect_to_database, url, "products.abcd.org"); in test_connect_to_product_database_missing_parameter()
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_inherit_test/ |
D | cpuset_inherit_testset.sh | 48 local expect_string="$3" 62 case "$expect_string" in 71 test "$expect_string" = "$write_result" -a $return_result = 0 79 tst_resm TFAIL "$cfile_name: Test result - $write_result Expected string - \"$expect_string\""
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_base_ops_test/ |
D | cpuset_base_ops_testset.sh | 48 local expect_string="$3" 62 case "$expect_string" in 71 test "$expect_string" = "$write_result" -a $ret = 0 79 tst_resm TFAIL "$cfile_name: Test result - $write_result Expected string - \"$expect_string\""
|
/external/python/cpython2/Lib/test/ |
D | test_cfgparser.py | 258 expect_string = ( 269 expect_string += ( 274 self.assertEqual(output.getvalue(), expect_string)
|
/external/cmockery/cmockery_0_1_2/src/google/ |
D | cmockery.h | 111 #define expect_string(function, parameter, string) \ macro
|
/external/python/cpython3/Lib/test/ |
D | test_configparser.py | 671 expect_string = ( 689 expect_string += ( 694 self.assertEqual(output.getvalue(), expect_string)
|