Searched refs:connect_to_database (Results 1 – 5 of 5) sorted by relevance
/external/cmockery/cmockery_0_1_2/src/example/ |
D | product_database_test.c | 27 DatabaseConnection* connect_to_database(const char * const url, in connect_to_database() function 35 expect_string(connect_to_database, url, "products.abcd.org"); in test_connect_to_product_database() 36 expect_value(connect_to_database, port, 322); in test_connect_to_product_database() 37 will_return(connect_to_database, 0xDA7ABA53); in test_connect_to_product_database() 44 expect_string(connect_to_database, url, "products.abcd.com"); in test_connect_to_product_database_bad_url() 45 expect_value(connect_to_database, port, 322); in test_connect_to_product_database_bad_url() 46 will_return(connect_to_database, 0xDA7ABA53); 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() 55 will_return(connect_to_database, 0xDA7ABA53); in test_connect_to_product_database_missing_parameter()
|
D | customer_database_test.c | 35 DatabaseConnection* connect_to_database(const char * const database_url, in connect_to_database() function 41 will_return(connect_to_database, 0x0DA7ABA53); in test_connect_to_customer_database()
|
D | product_database.c | 20 return connect_to_database("products.abcd.org", 322); in connect_to_product_database()
|
D | database.h | 35 DatabaseConnection* connect_to_database(const char * const url,
|
D | customer_database.c | 25 return connect_to_database("customers.abcd.org", 321); in connect_to_customer_database()
|