Lines Matching refs:tx
69 store::read_transaction tx = backend.start_read(); in ATF_TEST_CASE_BODY() local
70 ATF_REQUIRE_THROW_RE(store::error, "context: no data", tx.get_context()); in ATF_TEST_CASE_BODY()
95 store::read_transaction tx = backend.start_read(); in ATF_TEST_CASE_BODY() local
97 tx.get_context()); in ATF_TEST_CASE_BODY()
125 store::read_transaction tx = backend.start_read(); in ATF_TEST_CASE_BODY() local
127 tx.get_context()); in ATF_TEST_CASE_BODY()
146 store::read_transaction tx = backend.start_read(); in ATF_TEST_CASE_BODY() local
148 tx.get_context()); in ATF_TEST_CASE_BODY()
164 store::read_transaction tx = backend.start_read(); in ATF_TEST_CASE_BODY() local
165 store::results_iterator iter = tx.get_results(); in ATF_TEST_CASE_BODY()
181 store::write_transaction tx = backend.start_write(); in ATF_TEST_CASE_BODY() local
185 tx.put_context(context); in ATF_TEST_CASE_BODY()
204 const int64_t tp_id = tx.put_test_program(test_program_1); in ATF_TEST_CASE_BODY()
205 const int64_t tc_id = tx.put_test_case(test_program_1, "main", tp_id); in ATF_TEST_CASE_BODY()
207 tx.put_test_case_file("__STDOUT__", fs::path("prog1.out"), tc_id); in ATF_TEST_CASE_BODY()
208 tx.put_test_case_file("unused.txt", fs::path("unused.txt"), tc_id); in ATF_TEST_CASE_BODY()
209 tx.put_result(result_1, tc_id, start_time1, end_time1); in ATF_TEST_CASE_BODY()
219 const int64_t tp_id = tx.put_test_program(test_program_2); in ATF_TEST_CASE_BODY()
220 const int64_t tc_id = tx.put_test_case(test_program_2, "main", tp_id); in ATF_TEST_CASE_BODY()
222 tx.put_test_case_file("__STDERR__", fs::path("prog2.err"), tc_id); in ATF_TEST_CASE_BODY()
223 tx.put_test_case_file("unused.txt", fs::path("unused.txt"), tc_id); in ATF_TEST_CASE_BODY()
224 tx.put_result(result_2, tc_id, start_time2, end_time2); in ATF_TEST_CASE_BODY()
227 tx.commit(); in ATF_TEST_CASE_BODY()