Lines Matching refs:utils
47 namespace datetime = utils::datetime;
48 namespace fs = utils::fs;
49 namespace logging = utils::logging;
50 namespace sqlite = utils::sqlite;
56 atf::utils::create_file("test.db", "The DB\n"); in ATF_TEST_CASE_BODY()
60 ATF_REQUIRE(atf::utils::compare_file("test.db.v13.backup", "The DB\n")); in ATF_TEST_CASE_BODY()
67 atf::utils::create_file("test.db", "Original contents"); in ATF_TEST_CASE_BODY()
68 atf::utils::create_file("test.db.v1.backup", "Overwrite me"); in ATF_TEST_CASE_BODY()
72 ATF_REQUIRE(atf::utils::compare_file("test.db.v1.backup", in ATF_TEST_CASE_BODY()
93 atf::utils::create_file("dir/test.db", "Does not need to be valid"); in ATF_TEST_CASE_BODY()
133 utils::setenv("KYUA_STOREDIR", "/non-existent"); in ATF_TEST_CASE_BODY()
146 utils::setenv("KYUA_STOREDIR", "."); in ATF_TEST_CASE_BODY()
149 atf::utils::create_file("schema_v712.sql", "foo_bar_baz;\n"); in ATF_TEST_CASE_BODY()
160 utils::unsetenv("KYUA_STOREDIR"); in ATF_TEST_CASE_BODY()
169 utils::setenv("KYUA_STOREDIR", "/tmp/test"); in ATF_TEST_CASE_BODY()
178 utils::unsetenv("KYUA_STOREDIR"); in ATF_TEST_CASE_BODY()
187 utils::setenv("KYUA_STOREDIR", "/tmp/test"); in ATF_TEST_CASE_BODY()