Lines Matching refs:tx

78     store::write_transaction tx = backend.start_write();  in do_put_result_ok_test()  local
83 tx.put_result(result, 312, start_time, end_time); in do_put_result_ok_test()
84 tx.commit(); in do_put_result_ok_test()
114 store::write_transaction tx = backend.start_write(); in ATF_TEST_CASE_BODY() local
117 tx.commit(); in ATF_TEST_CASE_BODY()
135 store::write_transaction tx = backend.start_write(); in ATF_TEST_CASE_BODY() local
136 tx.put_context(context); in ATF_TEST_CASE_BODY()
141 ATF_REQUIRE_THROW(store::error, tx.commit()); in ATF_TEST_CASE_BODY()
146 store::write_transaction tx = backend.start_write(); in ATF_TEST_CASE_BODY() local
147 tx.put_context(context); in ATF_TEST_CASE_BODY()
148 tx.commit(); in ATF_TEST_CASE_BODY()
162 store::write_transaction tx = backend.start_write(); in ATF_TEST_CASE_BODY() local
165 tx.rollback(); in ATF_TEST_CASE_BODY()
190 store::write_transaction tx = backend.start_write(); in ATF_TEST_CASE_BODY() local
191 const int64_t test_program_id = tx.put_test_program(test_program); in ATF_TEST_CASE_BODY()
192 tx.commit(); in ATF_TEST_CASE_BODY()
226 store::write_transaction tx = backend.start_write(); in ATF_TEST_CASE_BODY() local
227 ATF_REQUIRE_THROW(store::error, tx.put_test_case(test_program, "main", -1)); in ATF_TEST_CASE_BODY()
228 tx.commit(); in ATF_TEST_CASE_BODY()
245 store::write_transaction tx = backend.start_write(); in ATF_TEST_CASE_BODY() local
246 const optional< int64_t > file_id = tx.put_test_case_file( in ATF_TEST_CASE_BODY()
248 tx.commit(); in ATF_TEST_CASE_BODY()
272 store::write_transaction tx = backend.start_write(); in ATF_TEST_CASE_BODY() local
273 const optional< int64_t > file_id = tx.put_test_case_file( in ATF_TEST_CASE_BODY()
275 tx.commit(); in ATF_TEST_CASE_BODY()
302 store::write_transaction tx = backend.start_write(); in ATF_TEST_CASE_BODY() local
304 tx.put_test_case_file("foo", fs::path("missing"), 1L)); in ATF_TEST_CASE_BODY()
305 tx.commit(); in ATF_TEST_CASE_BODY()
391 store::write_transaction tx = backend.start_write(); in ATF_TEST_CASE_BODY() local
393 ATF_REQUIRE_THROW(store::error, tx.put_result(result, -1, zero, zero)); in ATF_TEST_CASE_BODY()
394 tx.commit(); in ATF_TEST_CASE_BODY()