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

Function TEST_F

Testing/GoogleTest/ProjectFile/ProjectFile_test_SimpleRight.cpp:63–76  ·  view source on GitHub ↗

* @brief Load the projectfile. */

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 15

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

Tested by

no test coverage detected