Skip to content
Snippets Groups Projects
Unverified Commit c9f45c3f authored by Tomáš Pecka's avatar Tomáš Pecka
Browse files

integration tests: fix unwanted copy

parent 9c7ba884
No related branches found
No related tags found
1 merge request!130alib2str: Add MISENFA parser and composer
Pipeline #69346 canceled
...@@ -137,7 +137,7 @@ TEST_CASE ( "Arbology tests | nonlinear pattern", "[integration]" ) { ...@@ -137,7 +137,7 @@ TEST_CASE ( "Arbology tests | nonlinear pattern", "[integration]" ) {
   
   
SECTION ( "Test files" ) { SECTION ( "Test files" ) {
for ( const std::pair < std::string, std::string > files : pair_pattern_subject ( TestFiles::Get ( "/tree/aarbology.test[0-9]+.nonlinear.pattern.xml$" ), ".nonlinear.pattern.xml", ".subject.xml" ) ) { for ( const std::pair < std::string, std::string > & files : pair_pattern_subject ( TestFiles::Get ( "/tree/aarbology.test[0-9]+.nonlinear.pattern.xml$" ), ".nonlinear.pattern.xml", ".subject.xml" ) ) {
CAPTURE ( std::get < 0 > ( definition ), std::get < 1 > ( definition ), files.first, files.second ); CAPTURE ( std::get < 0 > ( definition ), std::get < 1 > ( definition ), files.first, files.second );
runTest ( exact, std::get < 1 > ( definition ), files.first, files.second ); runTest ( exact, std::get < 1 > ( definition ), files.first, files.second );
} }
...@@ -163,7 +163,7 @@ TEST_CASE ( "Arbology tests | nonlinear pattern ends", "[integration]" ) { ...@@ -163,7 +163,7 @@ TEST_CASE ( "Arbology tests | nonlinear pattern ends", "[integration]" ) {
auto pattern = EGenerateType::NONLINEAR_PATTERN_SINGLE_VAR; auto pattern = EGenerateType::NONLINEAR_PATTERN_SINGLE_VAR;
   
SECTION ( "Test files" ) { SECTION ( "Test files" ) {
for ( const std::pair < std::string, std::string > files : pair_pattern_subject ( TestFiles::Get ( "/tree/aarbology.test[0-9]+.nonlinear.pattern.xml$" ), ".nonlinear.pattern.xml", ".subject.xml" ) ) { for ( const std::pair < std::string, std::string > & files : pair_pattern_subject ( TestFiles::Get ( "/tree/aarbology.test[0-9]+.nonlinear.pattern.xml$" ), ".nonlinear.pattern.xml", ".subject.xml" ) ) {
CAPTURE ( std::get < 0 > ( definition ), std::get < 1 > ( definition ), files.first, files.second ); CAPTURE ( std::get < 0 > ( definition ), std::get < 1 > ( definition ), files.first, files.second );
runTest ( exact, std::get < 1 > ( definition ), files.first, files.second ); runTest ( exact, std::get < 1 > ( definition ), files.first, files.second );
} }
...@@ -216,7 +216,7 @@ TEST_CASE ( "Arbology tests | pattern", "[integration]" ) { ...@@ -216,7 +216,7 @@ TEST_CASE ( "Arbology tests | pattern", "[integration]" ) {
auto pattern = EGenerateType::PATTERN; auto pattern = EGenerateType::PATTERN;
   
SECTION ( "Test files" ) { SECTION ( "Test files" ) {
for ( const std::pair < std::string, std::string > files : pair_pattern_subject ( TestFiles::Get ( "/tree/aarbology.test[0-9]+.pattern.xml$" ), ".pattern.xml", ".subject.xml" ) ) { for ( const std::pair < std::string, std::string > & files : pair_pattern_subject ( TestFiles::Get ( "/tree/aarbology.test[0-9]+.pattern.xml$" ), ".pattern.xml", ".subject.xml" ) ) {
CAPTURE ( std::get < 0 > ( definition ), std::get < 1 > ( definition ), files.first, files.second ); CAPTURE ( std::get < 0 > ( definition ), std::get < 1 > ( definition ), files.first, files.second );
runTest ( exact, std::get < 1 > ( definition ), files.first, files.second ); runTest ( exact, std::get < 1 > ( definition ), files.first, files.second );
} }
...@@ -241,7 +241,7 @@ TEST_CASE ( "Arbology tests | unordered pattern", "[integration]" ) { ...@@ -241,7 +241,7 @@ TEST_CASE ( "Arbology tests | unordered pattern", "[integration]" ) {
auto pattern = EGenerateType::UNORDERED_PATTERN; auto pattern = EGenerateType::UNORDERED_PATTERN;
   
/* SECTION ( "Test files" ) { /* SECTION ( "Test files" ) {
for ( const std::pair < std::string, std::string > files : pair_pattern_subject ( TestFiles::Get ( "/tree/aarbology.test[0-9]+.pattern.xml$" ), ".pattern.xml", ".subject.xml" ) ) { for ( const std::pair < std::string, std::string > & files : pair_pattern_subject ( TestFiles::Get ( "/tree/aarbology.test[0-9]+.pattern.xml$" ), ".pattern.xml", ".subject.xml" ) ) {
CAPTURE ( std::get < 0 > ( definition ), std::get < 1 > ( definition ), files.first, files.second ); CAPTURE ( std::get < 0 > ( definition ), std::get < 1 > ( definition ), files.first, files.second );
runTest ( exact, std::get < 1 > ( definition ), files.first, files.second ); runTest ( exact, std::get < 1 > ( definition ), files.first, files.second );
} }
...@@ -273,7 +273,7 @@ TEST_CASE ( "Arbology tests | pattern ends ", "[integration]" ) { ...@@ -273,7 +273,7 @@ TEST_CASE ( "Arbology tests | pattern ends ", "[integration]" ) {
auto pattern = EGenerateType::PATTERN; auto pattern = EGenerateType::PATTERN;
   
SECTION ( "Test files" ) { SECTION ( "Test files" ) {
for ( const std::pair < std::string, std::string > files : pair_pattern_subject ( TestFiles::Get ( "/tree/aarbology.test[0-9]+.pattern.xml$" ), ".pattern.xml", ".subject.xml" ) ) { for ( const std::pair < std::string, std::string > & files : pair_pattern_subject ( TestFiles::Get ( "/tree/aarbology.test[0-9]+.pattern.xml$" ), ".pattern.xml", ".subject.xml" ) ) {
CAPTURE ( std::get < 0 > ( definition ), std::get < 1 > ( definition ), files.first, files.second ); CAPTURE ( std::get < 0 > ( definition ), std::get < 1 > ( definition ), files.first, files.second );
runTest ( exact, std::get < 1 > ( definition ), files.first, files.second ); runTest ( exact, std::get < 1 > ( definition ), files.first, files.second );
} }
...@@ -303,7 +303,7 @@ TEST_CASE ( "Arbology tests | subtree", "[integration]" ) { ...@@ -303,7 +303,7 @@ TEST_CASE ( "Arbology tests | subtree", "[integration]" ) {
auto pattern = EGenerateType::SUBTREE; auto pattern = EGenerateType::SUBTREE;
   
SECTION ( "Test files" ) { SECTION ( "Test files" ) {
for ( const std::pair < std::string, std::string > files : pair_pattern_subject ( TestFiles::Get ( "/tree/aarbology.test[0-9]+.subtree.xml$" ), ".subtree.xml", ".subject.xml" ) ) { for ( const std::pair < std::string, std::string > & files : pair_pattern_subject ( TestFiles::Get ( "/tree/aarbology.test[0-9]+.subtree.xml$" ), ".subtree.xml", ".subject.xml" ) ) {
CAPTURE ( std::get < 0 > ( definition ), std::get < 1 > ( definition ), files.first, files.second ); CAPTURE ( std::get < 0 > ( definition ), std::get < 1 > ( definition ), files.first, files.second );
runTest ( exact, std::get < 1 > ( definition ), files.first, files.second ); runTest ( exact, std::get < 1 > ( definition ), files.first, files.second );
} }
......
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