| 17 | using namespace Exiv2; |
| 18 | |
| 19 | TEST(TheImageFactory, createsInstancesForFewSupportedTypesInMemory) { |
| 20 | // Note that the constructor of these Image classes take an 'create' argument |
| 21 | EXPECT_NO_THROW(ImageFactory::create(ImageType::jp2)); |
| 22 | EXPECT_NO_THROW(ImageFactory::create(ImageType::jpeg)); |
| 23 | EXPECT_NO_THROW(ImageFactory::create(ImageType::exv)); |
| 24 | EXPECT_NO_THROW(ImageFactory::create(ImageType::pgf)); |
| 25 | #ifdef EXV_HAVE_LIBZ |
| 26 | EXPECT_NO_THROW(ImageFactory::create(ImageType::png)); |
| 27 | #endif |
| 28 | } |
| 29 | |
| 30 | TEST(TheImageFactory, cannotCreateInstancesForMostTypesInMemory) { |
| 31 | // Note that the constructor of these Image classes does not take an 'create' argument |
nothing calls this directly
no outgoing calls
no test coverage detected