Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Algorithms Library Toolkit Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Algorithms Library Toolkit
Algorithms Library Toolkit Core
Commits
c9f45c3f
Unverified
Commit
c9f45c3f
authored
5 years ago
by
Tomáš Pecka
Browse files
Options
Downloads
Patches
Plain Diff
integration tests: fix unwanted copy
parent
9c7ba884
No related branches found
No related tags found
1 merge request
!130
alib2str: Add MISENFA parser and composer
Pipeline
#69346
canceled
5 years ago
Stage: build
Stage: test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
alib2integrationtest/test-src/tests/arbologyTest.cpp
+6
-6
6 additions, 6 deletions
alib2integrationtest/test-src/tests/arbologyTest.cpp
with
6 additions
and
6 deletions
alib2integrationtest/test-src/tests/arbologyTest.cpp
+
6
−
6
View file @
c9f45c3f
...
@@ -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
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment