| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #include "gate/tests.hpp" | ||
| 2 | #include "gate/system/netconfigs.hpp" | ||
| 3 | |||
| 4 | using namespace gate; | ||
| 5 | using namespace gate::sys; | ||
| 6 | |||
| 7 | |||
| 8 |
2/7✓ Branch 2 taken 1 times.
✓ Branch 3 taken 1 times.
✗ Branch 4 not taken.
✗ Branch 11 not taken.
✗ Branch 12 not taken.
✗ Branch 14 not taken.
✗ Branch 15 not taken.
|
6 | GATEXX_TEST_UNIT(Netconfig) |
| 9 | { | ||
| 10 |
1/2✓ Branch 1 taken 1 times.
✗ Branch 2 not taken.
|
4 | Array<NetInterface> ifs = NetConfig::findAllNetInterfaces(); |
| 11 |
4/12✓ Branch 1 taken 1 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 1 times.
✗ Branch 5 not taken.
✓ Branch 7 taken 1 times.
✗ Branch 8 not taken.
✓ Branch 10 taken 1 times.
✗ Branch 11 not taken.
✗ Branch 13 not taken.
✗ Branch 14 not taken.
✗ Branch 16 not taken.
✗ Branch 17 not taken.
|
2 | GATEXX_TEST_CHECK(!ifs.empty()); |
| 12 | 2 | } | |
| 13 |