MCPcopy Create free account
hub / github.com/Exiv2/exiv2 / TEST

Function TEST

unitTests/test_jp2image.cpp:9–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7using namespace Exiv2;
8
9TEST(Jp2Image, canBeCreatedFromScratch) {
10 auto memIo = std::make_unique<MemIo>();
11 const bool create{true};
12 ASSERT_NO_THROW(Jp2Image image(std::move(memIo), create));
13}
14
15TEST(Jp2Image, canBeOpenedEvenWithAnEmptyMemIo) {
16 auto memIo = std::make_unique<MemIo>();

Callers

nothing calls this directly

Calls 7

whatMethod · 0.80
mimeTypeMethod · 0.45
printStructureMethod · 0.45
emptyMethod · 0.45
readMetadataMethod · 0.45
codeMethod · 0.45
writeMetadataMethod · 0.45

Tested by

no test coverage detected