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

Function TEST

3rdparty/stout/tests/none_tests.cpp:55–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53
54
55TEST(NoneTest, Test)
56{
57 Option<string> o = none1();
58 EXPECT_TRUE(o.isNone());
59 EXPECT_NONE(o);
60
61 o = none2();
62 EXPECT_NONE(o);
63
64 o = none3(none1());
65 EXPECT_NONE(o);
66
67 Result<string> r = none1();
68 EXPECT_NONE(r);
69
70 r = none4();
71 EXPECT_NONE(r);
72
73 r = none5(none1());
74 EXPECT_NONE(r);
75}

Callers

nothing calls this directly

Calls 6

none1Function · 0.85
none2Function · 0.85
none3Function · 0.85
none4Function · 0.85
none5Function · 0.85
isNoneMethod · 0.45

Tested by

no test coverage detected