Skip to content

Commit

Permalink
Re #9495 Test call to help methods
Browse files Browse the repository at this point in the history
  • Loading branch information
raquelalvarezbanos committed Mar 25, 2015
1 parent b825e7b commit ac14254
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
Expand Up @@ -340,6 +340,12 @@ class ALCBaselineModellingPresenterTest : public CxxTest::TestSuite

m_view->requestFit();
}

void test_helpPage ()
{
EXPECT_CALL(*m_view, help()).Times(1);
m_view->help();
}
};


Expand Down
Expand Up @@ -261,6 +261,12 @@ class ALCDataLoadingPresenterTest : public CxxTest::TestSuite
QwtDataY(2, 0.038717, 1E-6))));
m_view->requestLoading();
}

void test_helpPage ()
{
EXPECT_CALL(*m_view, help()).Times(1);
m_view->help();
}
};


Expand Down
Expand Up @@ -259,6 +259,12 @@ class ALCPeakFittingPresenterTest : public CxxTest::TestSuite

m_view->changeParameter(QString("f1"), QString("A0"));
}

void test_helpPage ()
{
EXPECT_CALL(*m_view, help()).Times(1);
m_view->help();
}
};


Expand Down

0 comments on commit ac14254

Please sign in to comment.