MCPcopy Create free account
hub / github.com/WinMerge/winmerge / TEST_F

Function TEST_F

Testing/GoogleTest/ProjectFile/ProjectFile_test_SimpleLeft.cpp:62–75  ·  view source on GitHub ↗

* @brief Load the projectfile. */

Source from the content-addressed store, hash-verified

60 * @brief Load the projectfile.
61 */
62TEST_F(SimpleLeftTest, Load)
63{
64 // setUp already created the project file for us, but this
65 // test is for testing creation and loading..
66 if (m_pProjectFile)
67 delete m_pProjectFile;
68 m_pProjectFile = new ProjectFile;
69 ASSERT_TRUE(m_pProjectFile != NULL);
70
71 bool success = m_pProjectFile->Read(FileName);
72
73 // Must succeed
74 ASSERT_TRUE(success == true);
75}
76
77/**
78 * @brief Read left path different ways.

Callers

nothing calls this directly

Calls 15

HasLeftMethod · 0.80
HasRightMethod · 0.80
HasSubfoldersMethod · 0.80
GetSubfoldersMethod · 0.80
HasFilterMethod · 0.80
GetFilterMethod · 0.80
HasPredifferMethod · 0.80
HasUnpackerMethod · 0.80
ReadMethod · 0.45
GetLeftMethod · 0.45
compareMethod · 0.45
GetRightMethod · 0.45

Tested by

no test coverage detected