MCPcopy Create free account
hub / github.com/OneMoreGres/ScreenTranslator / TEST

Function TEST

tests/updates_test.cpp:49–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47} // namespace
48
49TEST(UpdateInstaller, SuccessInstall)
50{
51 ASSERT_TRUE(removeFile(t1));
52
53 Installer testee;
54 testee.install(toFile(t1), data);
55 ASSERT_EQ(data, readFile(t1));
56 ASSERT_TRUE(testee.error().isEmpty());
57}
58
59TEST(UpdateInstaller, SuccessRemove)
60{

Callers

nothing calls this directly

Calls 12

removeFileFunction · 0.85
toFileFunction · 0.85
readFileFunction · 0.85
writeFileFunction · 0.85
installMethod · 0.80
removeMethod · 0.80
parseMethod · 0.80
rowCountMethod · 0.80
toStringMethod · 0.80
dataMethod · 0.80
QStringClass · 0.50
indexMethod · 0.45

Tested by

no test coverage detected