From 030d1e724f84f7a0a7bb7cf821b142b883e7e7f8 Mon Sep 17 00:00:00 2001 From: Arsentiy Milchakov Date: Mon, 31 Aug 2020 12:12:32 +0300 Subject: [PATCH] [editor] remote config loader tests are disabled --- editor/editor_tests/config_loader_test.cpp | 28 ++++++++++++---------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/editor/editor_tests/config_loader_test.cpp b/editor/editor_tests/config_loader_test.cpp index abb45dd95a..a9804eac68 100644 --- a/editor/editor_tests/config_loader_test.cpp +++ b/editor/editor_tests/config_loader_test.cpp @@ -32,19 +32,21 @@ UNIT_TEST(ConfigLoader_Base) TEST(!config.Get()->GetTypesThatCanBeAdded().empty(), ()); } -UNIT_TEST(ConfigLoader_GetRemoteHash) -{ - auto const hashStr = ConfigLoader::GetRemoteHash(); - TEST_NOT_EQUAL(hashStr, "", ()); - TEST_EQUAL(hashStr, ConfigLoader::GetRemoteHash(), ()); -} - -UNIT_TEST(ConfigLoader_GetRemoteConfig) -{ - pugi::xml_document doc; - ConfigLoader::GetRemoteConfig(doc); - CheckGeneralTags(doc); -} +// This functionality is not used and corresponding server is not working. +// Uncomment it when server will be up. +//UNIT_TEST(ConfigLoader_GetRemoteHash) +//{ +// auto const hashStr = ConfigLoader::GetRemoteHash(); +// TEST_NOT_EQUAL(hashStr, "", ()); +// TEST_EQUAL(hashStr, ConfigLoader::GetRemoteHash(), ()); +//} +// +//UNIT_TEST(ConfigLoader_GetRemoteConfig) +//{ +// pugi::xml_document doc; +// ConfigLoader::GetRemoteConfig(doc); +// CheckGeneralTags(doc); +//} UNIT_TEST(ConfigLoader_SaveLoadHash) {