diff --git a/Code/Mantid/Vates/VatesSimpleGui/ViewWidgets/CMakeLists.txt b/Code/Mantid/Vates/VatesSimpleGui/ViewWidgets/CMakeLists.txt index c4cd1eb0bb619ff5f9bfcfc2e2ce34e9f9a12408..02f125c4d5d7844a8cc280a71e1c2ed20a561b56 100644 --- a/Code/Mantid/Vates/VatesSimpleGui/ViewWidgets/CMakeLists.txt +++ b/Code/Mantid/Vates/VatesSimpleGui/ViewWidgets/CMakeLists.txt @@ -34,7 +34,6 @@ set( SOURCE_FILES ) set( TEST_FILES - test/unitTests/BackgroundRgbProviderTest.h test/unitTests/ColorMapManagerTest.h ) diff --git a/Code/Mantid/Vates/VatesSimpleGui/ViewWidgets/test/unitTests/BackgroundRgbProviderTest.h b/Code/Mantid/Vates/VatesSimpleGui/ViewWidgets/test/unitTests/BackgroundRgbProviderTest.h deleted file mode 100644 index 1bd3cc1bca89acb4a2277f6c047b0ab45d686cd6..0000000000000000000000000000000000000000 --- a/Code/Mantid/Vates/VatesSimpleGui/ViewWidgets/test/unitTests/BackgroundRgbProviderTest.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef BACKGROUND_RGB_PROVIDER_TEST_H_ -#define BACKGROUND_RGB_PROVIDER_TEST_H_ - -#include "MantidVatesSimpleGuiViewWidgets/BackgroundRgbProvider.h" -#include <cxxtest/TestSuite.h> - - -using namespace Mantid::Vates::SimpleGui; - -class BackgroundRgbProviderTest : public CxxTest::TestSuite -{ - public: - // As config service is not setup, the backgroundRgbProvider should return the default value - void testGetTheDefaultValue() - { - // Arrange - BackgroundRgbProvider backgroundRgbProvider; - - // Act - std::vector<double> colors = backgroundRgbProvider.getRgb(); - - // Assert - TSM_ASSERT("Should have three default entries for r, g and b", colors.size()==3); - TSM_ASSERT("Should have the default value of r", colors[0] == 84.0/255.0); - TSM_ASSERT("Should have the default value of g", colors[1] == 89.0/255.0); - TSM_ASSERT("Should have the default value of b", colors[2] == 109.0/255.0); - } -}; -#endif \ No newline at end of file