MCPcopy Create free account
hub / github.com/CppMicroServices/CppMicroServices / TEST

Function TEST

framework/test/gtest/BundleObjFileTest.cpp:48–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46} // namespace
47
48TEST(BundleObjFile, InvalidLocation)
49{
50 ASSERT_THROW(cppmicroservices::BundleObjFactory().CreateBundleFileObj("/does/not/exist/bogus.bundle"),
51 cppmicroservices::InvalidObjFileException);
52}
53
54TEST(BundleObjFile, InvalidBinaryFileFormat)
55{

Callers

nothing calls this directly

Calls 8

BundleObjFactoryClass · 0.85
MakeUniqueTempFileFunction · 0.85
GetTempDirectoryFunction · 0.85
ExistsFunction · 0.85
CreateBundleFileObjMethod · 0.80
GetSizeMethod · 0.45
GetDataMethod · 0.45

Tested by

no test coverage detected