MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / TEST

Function TEST

test/DefTokenisers.cpp:23–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23TEST(DefTokeniser, ParseEmptyString)
24{
25 std::string testString = "";
26 parser::BasicDefTokeniser<std::string> tokeniser(testString);
27
28 // Tokeniser should be exhausted right after construction
29 EXPECT_FALSE(tokeniser.hasMoreTokens());
30}
31
32TEST(DefTokeniser, ParseJustWhitespace)
33{

Callers

nothing calls this directly

Calls 4

parseStringPairsFunction · 0.85
hasMoreTokensMethod · 0.45
sizeMethod · 0.45
nextTokenMethod · 0.45

Tested by

no test coverage detected