MCPcopy Create free account
hub / github.com/derceg/explorerplusplus / TestVersionInfoString

Function TestVersionInfoString

Explorer++/TestHelper/TestHelper.cpp:55–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void TestVersionInfoString(TCHAR *szDLL, const TCHAR *szVersionInfo, const TCHAR *szExpectedValue)
56{
57 /* Somewhat flaky, as it relies
58 on the users default language
59 been English. */
60 TCHAR szOutput[512];
61 BOOL bRet = GetVersionInfoString(szDLL, szVersionInfo, szOutput, SIZEOF_ARRAY(szOutput));
62 ASSERT_EQ(TRUE, bRet);
63 EXPECT_STREQ(szExpectedValue, szOutput);
64}
65
66TEST(GetVersionInfoString, Simple)
67{

Callers 1

TESTFunction · 0.85

Calls 1

GetVersionInfoStringFunction · 0.85

Tested by

no test coverage detected