diff options
author | thegeorg <thegeorg@yandex-team.com> | 2024-12-12 13:15:03 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2024-12-12 13:33:22 +0300 |
commit | 2fa0ef191a3e4958ba689ecdc0aabc756385ca13 (patch) | |
tree | 8833e1fe6be84310349bc960c852f28902bb0d0b /library/cpp/testing/common/ut/env_ut.cpp | |
parent | a0ab79ee3d99df566509c5cb1e42129017424703 (diff) | |
download | ydb-2fa0ef191a3e4958ba689ecdc0aabc756385ca13.tar.gz |
Switch all tests to atd from snapshot
commit_hash:a9a7c2df09742a540851227c4fcb7d925edd9793
Diffstat (limited to 'library/cpp/testing/common/ut/env_ut.cpp')
-rw-r--r-- | library/cpp/testing/common/ut/env_ut.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/library/cpp/testing/common/ut/env_ut.cpp b/library/cpp/testing/common/ut/env_ut.cpp index fe4946a65f..4b67d05efb 100644 --- a/library/cpp/testing/common/ut/env_ut.cpp +++ b/library/cpp/testing/common/ut/env_ut.cpp @@ -45,24 +45,6 @@ TEST(Runtime, BinaryPath) { EXPECT_TRUE(TFsPath(BinaryPath("library/cpp/testing/common/ut")).Exists()); } -TEST(Runtime, GetArcadiaTestsData) { - NTesting::TScopedEnvironment contextGuard("YA_TEST_CONTEXT_FILE", ""); // remove context filename - { - auto tmpDir = ::GetSystemTempDir(); - NTesting::TScopedEnvironment guard("ARCADIA_TESTS_DATA_DIR", tmpDir); - Singleton<NPrivate::TTestEnv>()->ReInitialize(); - EXPECT_EQ(tmpDir, GetArcadiaTestsData()); - } - { - NTesting::TScopedEnvironment guard("ARCADIA_TESTS_DATA_DIR", ""); - Singleton<NPrivate::TTestEnv>()->ReInitialize(); - auto path = GetArcadiaTestsData(); - // it is not error if path is empty - const bool ok = (path.empty() || GetBaseName(path) == "arcadia_tests_data"); - EXPECT_TRUE(ok); - } -} - TEST(Runtime, GetWorkPath) { NTesting::TScopedEnvironment contextGuard("YA_TEST_CONTEXT_FILE", ""); // remove context filename { |