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

Function TEST

unitTests/test_slice.cpp:277–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277TEST(pointerSlice, failedConstructionFromNullpointer) {
278 ASSERT_THROW(Slice<long*>(nullptr, 1, 2), std::invalid_argument);
279}
280
281/*!
282 * Test the construction of an invalid slices from a container (so that a proper

Callers

nothing calls this directly

Calls 7

makeSliceUntilFunction · 0.85
makeSliceFromFunction · 0.85
c_strMethod · 0.80
makeSliceFunction · 0.50
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected