Skip to content
Snippets Groups Projects
Commit 7f55f841 authored by George Sedov's avatar George Sedov
Browse files

remove unneeded method

parent a7b3541a
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,6 @@ class ReceiveFileProcessorTests : public Test {
asapo::kPathSeparator + expected_year +
asapo::kPathSeparator + "data" +
asapo::kPathSeparator + expected_beamtime_id;
void ExpectFileWrite(const asapo::ErrorTemplateInterface* error_template);
void MockRequestData();
void SetUp() override {
GenericRequestHeader request_header;
......@@ -86,13 +85,6 @@ void ReceiveFileProcessorTests::MockRequestData() {
.WillRepeatedly(Return(expected_file_name));
}
void ReceiveFileProcessorTests::ExpectFileWrite(const asapo::ErrorTemplateInterface* error_template) {
EXPECT_CALL(mock_io, WriteDataToFile_t(expected_full_path, expected_file_name, _, expected_file_size, true,
expected_overwrite))
.WillOnce(
Return(error_template == nullptr ? nullptr : error_template->Generate().release()));
}
TEST_F(ReceiveFileProcessorTests, CallsReceiveFile) {
asapo::ReceiverConfig test_config;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment