Home
last modified time | relevance | path

Searched refs:connect_to_database (Results 1 – 5 of 5) sorted by relevance

/external/cmockery/cmockery_0_1_2/src/example/
Dproduct_database_test.c27 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()
Dcustomer_database_test.c35 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()
Dproduct_database.c20 return connect_to_database("products.abcd.org", 322); in connect_to_product_database()
Ddatabase.h35 DatabaseConnection* connect_to_database(const char * const url,
Dcustomer_database.c25 return connect_to_database("customers.abcd.org", 321); in connect_to_customer_database()