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

Function foreach

src/tests/containerizer/linux_filesystem_isolator_tests.cpp:624–628  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

622 // Verifies that there's no mount for slave's working directory.
623 bool mountFound = false;
624 foreach (const fs::MountInfoTable::Entry& entry, table->entries) {
625 if (entry.target == flags.work_dir) {
626 mountFound = true;
627 }
628 }
629
630 EXPECT_FALSE(mountFound);
631

Callers

nothing calls this directly

Calls 2

containsFunction · 0.50
sharedMethod · 0.45

Tested by

no test coverage detected