MCPcopy Create free account
hub / github.com/apache/mesos / TEST_F

Function TEST_F

src/tests/master_validation_tests.cpp:289–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287
288
289TEST_F(ResourceValidationTest, StaticReservation)
290{
291 Resource resource = Resources::parse("cpus", "8", "role").get();
292
293 Option<Error> error = resource::validate(CreateResources(resource));
294
295 EXPECT_NONE(error);
296}
297
298
299TEST_F(ResourceValidationTest, DynamicReservation)

Callers

nothing calls this directly

Calls 15

createDiskInfoFunction · 0.85
NoneClass · 0.85
allocatedResourcesFunction · 0.85
createDiskResourceFunction · 0.85
createPersistentVolumeFunction · 0.85
MegabytesFunction · 0.85
createDiskSourcePathFunction · 0.85
createDiskSourceMountFunction · 0.85
randomFunction · 0.85

Tested by

no test coverage detected