tdf#168520 Rename test_tdf149714 to descriptive name
Rename test_tdf149714.cxx to test_tdf149714_bits_per_pixel.cxx to provide a human-readable hint about the purpose of the test. Also update CppunitTest_basic_macros.mk accordingly. Change-Id: Iba5db7ebed9bc1aeafe1b365243e1e0ca8216070 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199692 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
This commit is contained in:
committed by
Ilmari Lauhakangas
parent
9822795072
commit
1edf6b9819
@@ -19,7 +19,7 @@ $(eval $(call gb_CppunitTest_add_exception_objects,basic_macros, \
|
||||
basic/qa/cppunit/test_vba \
|
||||
basic/qa/cppunit/test_global_as_new \
|
||||
basic/qa/cppunit/test_global_array \
|
||||
basic/qa/cppunit/test_tdf149714 \
|
||||
basic/qa/cppunit/test_tdf149714_bits_per_pixel \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_libraries,basic_macros, \
|
||||
|
||||
+4
-4
@@ -17,11 +17,11 @@
|
||||
|
||||
namespace
|
||||
{
|
||||
class TestTdf149714 : public CppUnit::TestFixture
|
||||
class TestTdf149714BitsPerPixelFromPng : public CppUnit::TestFixture
|
||||
{
|
||||
void testBitsPerPixel();
|
||||
|
||||
CPPUNIT_TEST_SUITE(TestTdf149714);
|
||||
CPPUNIT_TEST_SUITE(TestTdf149714BitsPerPixelFromPng);
|
||||
CPPUNIT_TEST(testBitsPerPixel);
|
||||
CPPUNIT_TEST_SUITE_END();
|
||||
|
||||
@@ -63,7 +63,7 @@ End Function
|
||||
}
|
||||
};
|
||||
|
||||
void TestTdf149714::testBitsPerPixel()
|
||||
void TestTdf149714BitsPerPixelFromPng::testBitsPerPixel()
|
||||
{
|
||||
auto m = Module();
|
||||
auto GetBitsPerPixelAsString
|
||||
@@ -81,7 +81,7 @@ void TestTdf149714::testBitsPerPixel()
|
||||
}
|
||||
|
||||
// Put the test suite in the registry
|
||||
CPPUNIT_TEST_SUITE_REGISTRATION(TestTdf149714);
|
||||
CPPUNIT_TEST_SUITE_REGISTRATION(TestTdf149714BitsPerPixelFromPng);
|
||||
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user