forked from slic3r/Slic3r
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Testing 3mf reading file with umlauts in it's path
- Loading branch information
1 parent
e6c7590
commit 8dc4e64
Showing
4 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#include <catch.hpp> | ||
#include <test_options.hpp> | ||
#include <string> | ||
#include "Model.hpp" | ||
#include "TMF.hpp" | ||
|
||
|
||
using namespace Slic3r; | ||
|
||
SCENARIO("Reading 3mf file") { | ||
GIVEN("umlauts in the path of the file") { | ||
auto model {new Slic3r::Model()}; | ||
WHEN("3mf model is read") { | ||
auto ret = Slic3r::IO::TMF::read(std::string(testfile_dir) +"test_3mf/Geräte/box.3mf",model); | ||
THEN("read should not return 0") { | ||
REQUIRE(ret == 1); | ||
} | ||
} | ||
} | ||
} |
Binary file not shown.