Skip to content
Snippets Groups Projects
Commit 68f4d122 authored by Sergey Yakubov's avatar Sergey Yakubov
Browse files

update tests

parent 90f00e51
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,6 @@ TEST(ProducerImpl, Constructor) {
ASSERT_THAT(dynamic_cast<asapo::AbstractLogger*>(producer.log__), Ne(nullptr));
ASSERT_THAT(dynamic_cast<asapo::RequestPool*>(producer.request_pool__.get()), Ne(nullptr));
ASSERT_THAT(dynamic_cast<const asapo::HttpClient*>(producer.httpclient__.get()), Ne(nullptr));
}
class ProducerImplTests : public testing::Test {
......@@ -68,7 +67,7 @@ class ProducerImplTests : public testing::Test {
asapo::ProducerRequestHandlerFactory factory{&service};
testing::NiceMock<asapo::MockLogger> mock_logger;
testing::NiceMock<MockRequestPull> mock_pull{&factory, &mock_logger};
std::string expected_server_uri = "test:8400";
std::string expected_server_uri = "localhost:9400";
asapo::ProducerImpl producer{expected_server_uri, 1, 3600000, asapo::RequestHandlerType::kTcp};
uint64_t expected_size = 100;
uint64_t expected_id = 10;
......
......@@ -23,7 +23,7 @@ add_test_setup_cleanup(${TARGET_NAME})
IF(WIN32)
add_integration_test(${TARGET_NAME} list_folders "test test\\subtest1test\\subtest1\\subtest2test\\subtest3test\\subtest3\\subtest4")
ELSE()
add_integration_test(${TARGET_NAME} list_folders "test test/subtest3test/subtest3/subtest4test/subtest1test/subtest1/subtest2")
add_integration_test(${TARGET_NAME} list_folders "test test/subtest1test/subtest1/subtest2/subtest3test/subtest3/subtest4test")
ENDIF(WIN32)
......
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