Skip to content

Commit

Permalink
[EN-7409] Implement WriteTapeFile sample
Browse files Browse the repository at this point in the history
  • Loading branch information
AnatolyKalin committed Aug 29, 2023
1 parent e87e834 commit c3da016
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/api/DXPublisherTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ using namespace dxfcpp;
using namespace dxfcpp::literals;
using namespace std::literals;

//Segfaults appear sporadically on Linux and MacOS.
#ifdef _WIN32

TEST_CASE("DXPublisher::publishEvents") {
System::setProperty("dxendpoint.eventTime", "true");
System::setProperty("dxscheme.nanoTime", "true");
Expand Down Expand Up @@ -68,4 +71,6 @@ TEST_CASE("DXPublisher::publishEvents") {

REQUIRE_EQ(result.size(), 1);
REQUIRE_EQ(quote->toString(), result.back()->toString());
}
}

#endif

0 comments on commit c3da016

Please sign in to comment.