MCPcopy Create free account
hub / github.com/avast/retdec / TEST_F

Function TEST_F

tests/utils/version_tests.cpp:22–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20class VersionTests : public Test {};
21
22TEST_F(VersionTests, getCommitHashIsValidHash)
23{
24 EXPECT_TRUE(std::regex_match(
25 getCommitHash(),
26 std::regex("^[a-fA-F0-9]{40}$")
27 ));
28}
29
30TEST_F(VersionTests, getShortCommitHashIsValidHash)
31{

Callers

nothing calls this directly

Calls 7

getCommitHashFunction · 0.85
getShortCommitHashFunction · 0.85
getBuildDateFunction · 0.85
getVersionTagFunction · 0.85
getVersionStringLongFunction · 0.85
getVersionStringShortFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected