Clean up some test files.
This commit is contained in:
parent
1adc9272f8
commit
b45385e8c7
51 changed files with 485 additions and 281 deletions
10
test/image/CMakeLists.txt
Normal file
10
test/image/CMakeLists.txt
Normal file
|
@ -0,0 +1,10 @@
|
|||
set(IMAGE_UNIT_TEST_FILES
|
||||
image/TestPngReader.cpp
|
||||
image/TestPngWriter.cpp
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(IMAGE_UNIT_TEST_DEPENDENCIES
|
||||
image
|
||||
PARENT_SCOPE
|
||||
)
|
|
@ -40,7 +40,7 @@ TEST_CASE(TestCompressedPng, "image")
|
|||
|
||||
while(auto byte = test_file.readNextByte())
|
||||
{
|
||||
std::cout << static_cast<unsigned>(*byte) << std::endl;
|
||||
//std::cout << static_cast<unsigned>(*byte) << std::endl;
|
||||
}
|
||||
test_file.Close();
|
||||
}
|
||||
|
@ -71,7 +71,7 @@ TEST_CASE(TestFixedPng, "image")
|
|||
|
||||
//return;
|
||||
File test_file("test_fixed.png");
|
||||
std::cout << test_file.dumpBinary();
|
||||
//std::cout << test_file.dumpBinary();
|
||||
|
||||
}
|
||||
|
||||
|
@ -100,5 +100,5 @@ TEST_CASE(TestDynamicCompressedPng, "image")
|
|||
|
||||
//return;
|
||||
File test_file("test_dynamic.png");
|
||||
std::cout << test_file.dumpBinary();
|
||||
//std::cout << test_file.dumpBinary();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue