Skip to content

Commit fd425c6

Browse files
committed
Fix failing unit test
1 parent b38861c commit fd425c6

File tree

3 files changed

+6
-52
lines changed

3 files changed

+6
-52
lines changed

docs/source/fitting/fitfunctions/TeixeiraWaterIqtFT.rst

Lines changed: 0 additions & 46 deletions
This file was deleted.

qt/scientific_interfaces/Indirect/test/Reduction/ISISEnergyTransferModelTest.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ class ISISEnergyTransferModelTest : public CxxTest::TestSuite {
307307
std::string inputFiles("1234, 1235");
308308
std::string outputName = m_model->getOutputGroupName(instData, inputFiles);
309309

310-
TS_ASSERT_EQUALS(outputName, "instrument1234, 1235_analyser_reflection_Reduced");
310+
TS_ASSERT_EQUALS(outputName, "instrument1234, 1235_analyserreflection_Reduced");
311311
}
312312

313313
void test_energyTransferAlgorithm() {

qt/widgets/spectroscopy/test/OutputWidget/OutputNamePresenterTest.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,16 @@ class OutputNamePresenterTest : public CxxTest::TestSuite {
5050
m_presenter->generateWarningLabel();
5151
}
5252

53-
void test_enable_editing() {
54-
EXPECT_CALL(*m_view, enableLabelEditor()).Times(1);
55-
m_presenter->enableEditing();
56-
}
57-
5853
void test_get_current_label() {
5954
EXPECT_CALL(*m_view, getCurrentLabel()).Times(1);
6055
m_presenter->getCurrentLabel();
6156
}
6257

58+
void test_hide_output_name_box() {
59+
EXPECT_CALL(*m_view, hideOutputNameBox()).Times(1);
60+
m_presenter->hideOutputNameBox();
61+
}
62+
6363
void test_label_warning_message_if_workspace_does_not_exists_on_ads() {
6464
auto textColor = "color: darkGreen";
6565
auto text = "Unused name, new workspace will be created";

0 commit comments

Comments
 (0)