Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
uniset2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UniSet project repositories
uniset2
Commits
85906e18
Commit
85906e18
authored
Jan 03, 2015
by
Pavel Vainerman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(tests): Откорректировал имена тестов, чтобы они понятнее выглядели в отчёте junit
parent
e6c43f98
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
test_iobase.cc
extensions/tests/test_iobase.cc
+6
-6
test_iobase_with_sm.cc
extensions/tests/test_iobase_with_sm.cc
+4
-4
tests_with_sm.sh
extensions/tests/tests_with_sm.sh
+0
-0
No files found.
extensions/tests/test_iobase.cc
View file @
85906e18
...
...
@@ -9,7 +9,7 @@ using namespace std;
using
namespace
UniSetTypes
;
using
namespace
UniSetExtensions
;
// -----------------------------------------------------------------------------
TEST_CASE
(
"
IOBase
default constructor"
,
"[iobase][extensions]"
)
TEST_CASE
(
"
[IOBase]:
default constructor"
,
"[iobase][extensions]"
)
{
CHECK
(
uniset_conf
()
!=
nullptr
);
...
...
@@ -61,7 +61,7 @@ TEST_CASE("IOBase default constructor","[iobase][extensions]")
CHECK_FALSE
(
ib
.
front_state
);
}
// -----------------------------------------------------------------------------
TEST_CASE
(
"
IOBase
Init from xml"
,
"[iobase][init][extensions]"
)
TEST_CASE
(
"
[IOBase]:
Init from xml"
,
"[iobase][init][extensions]"
)
{
CHECK
(
uniset_conf
()
!=
nullptr
);
...
...
@@ -115,7 +115,7 @@ TEST_CASE("IOBase Init from xml","[iobase][init][extensions]")
}
}
// -----------------------------------------------------------------------------
TEST_CASE
(
"
IOBase
: Debounce function"
,
"[iobase][debounce][extensions]"
)
TEST_CASE
(
"
[IOBase]
: Debounce function"
,
"[iobase][debounce][extensions]"
)
{
CHECK
(
uniset_conf
()
!=
nullptr
);
...
...
@@ -159,7 +159,7 @@ TEST_CASE("IOBase: Debounce function","[iobase][debounce][extensions]")
CHECK_FALSE
(
ib
.
check_debounce
(
false
)
);
}
// -----------------------------------------------------------------------------
TEST_CASE
(
"
IOBase
: delay function"
,
"[iobase][delay][extensions]"
)
TEST_CASE
(
"
[IOBase]
: delay function"
,
"[iobase][delay][extensions]"
)
{
CHECK
(
uniset_conf
()
!=
nullptr
);
...
...
@@ -216,7 +216,7 @@ TEST_CASE("IOBase: delay function","[iobase][delay][extensions]")
}
}
// -----------------------------------------------------------------------------
TEST_CASE
(
"
IOBase
: front function"
,
"[iobase][front][extensions]"
)
TEST_CASE
(
"
[IOBase]
: front function"
,
"[iobase][front][extensions]"
)
{
CHECK
(
uniset_conf
()
!=
nullptr
);
...
...
@@ -259,7 +259,7 @@ TEST_CASE("IOBase: front function","[iobase][front][extensions]")
}
}
// -----------------------------------------------------------------------------
TEST_CASE
(
"
IOBase
: channel break"
,
"[iobase][extensions]"
)
TEST_CASE
(
"
[IOBase]
: channel break"
,
"[iobase][extensions]"
)
{
CHECK
(
uniset_conf
()
!=
nullptr
);
...
...
extensions/tests/test_iobase_with_sm.cc
View file @
85906e18
...
...
@@ -31,7 +31,7 @@ static bool init_iobase( IOBase* ib, const std::string& sensor )
return
IOBase
::
initItem
(
ib
,
it
,
shm
,
""
,
false
);
}
// -----------------------------------------------------------------------------
TEST_CASE
(
"
IOBase
: DI depend on the DI"
,
"[iobase][depend][di-di][extensions]"
)
TEST_CASE
(
"
[IOBase::depend]
: DI depend on the DI"
,
"[iobase][depend][di-di][extensions]"
)
{
CHECK
(
uniset_conf
()
!=
nullptr
);
auto
conf
=
uniset_conf
();
...
...
@@ -78,7 +78,7 @@ TEST_CASE("IOBase: DI depend on the DI","[iobase][depend][di-di][extensions]")
}
}
// -----------------------------------------------------------------------------
TEST_CASE
(
"
IOBase
: DI depend on the AI"
,
"[iobase][depend][di-ai][extensions]"
)
TEST_CASE
(
"
[IOBase::depend]
: DI depend on the AI"
,
"[iobase][depend][di-ai][extensions]"
)
{
CHECK
(
uniset_conf
()
!=
nullptr
);
auto
conf
=
uniset_conf
();
...
...
@@ -125,7 +125,7 @@ TEST_CASE("IOBase: DI depend on the AI","[iobase][depend][di-ai][extensions]")
}
}
// -----------------------------------------------------------------------------
TEST_CASE
(
"
IOBase
: AI depend on the AI"
,
"[iobase][depend][ai-ai][extensions]"
)
TEST_CASE
(
"
[IOBase::depend]
: AI depend on the AI"
,
"[iobase][depend][ai-ai][extensions]"
)
{
CHECK
(
uniset_conf
()
!=
nullptr
);
auto
conf
=
uniset_conf
();
...
...
@@ -159,7 +159,7 @@ TEST_CASE("IOBase: AI depend on the AI","[iobase][depend][ai-ai][extensions]")
}
}
// -----------------------------------------------------------------------------
TEST_CASE
(
"
IOBase
: AO depend on the DI"
,
"[iobase][depend][ao-di][extensions]"
)
TEST_CASE
(
"
[IOBase::depend]
: AO depend on the DI"
,
"[iobase][depend][ao-di][extensions]"
)
{
CHECK
(
uniset_conf
()
!=
nullptr
);
auto
conf
=
uniset_conf
();
...
...
extensions/tests/tests_with_sm.sh
View file @
85906e18
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment