Commit 85906e18 authored by Pavel Vainerman's avatar Pavel Vainerman

(tests): Откорректировал имена тестов, чтобы они понятнее выглядели в отчёте junit

parent e6c43f98
...@@ -9,7 +9,7 @@ using namespace std; ...@@ -9,7 +9,7 @@ using namespace std;
using namespace UniSetTypes; using namespace UniSetTypes;
using namespace UniSetExtensions; using namespace UniSetExtensions;
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
TEST_CASE("IOBase default constructor","[iobase][extensions]") TEST_CASE("[IOBase]: default constructor","[iobase][extensions]")
{ {
CHECK( uniset_conf()!=nullptr ); CHECK( uniset_conf()!=nullptr );
...@@ -61,7 +61,7 @@ TEST_CASE("IOBase default constructor","[iobase][extensions]") ...@@ -61,7 +61,7 @@ TEST_CASE("IOBase default constructor","[iobase][extensions]")
CHECK_FALSE( ib.front_state ); 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 ); CHECK( uniset_conf()!=nullptr );
...@@ -115,7 +115,7 @@ TEST_CASE("IOBase Init from xml","[iobase][init][extensions]") ...@@ -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 ); CHECK( uniset_conf()!=nullptr );
...@@ -159,7 +159,7 @@ TEST_CASE("IOBase: Debounce function","[iobase][debounce][extensions]") ...@@ -159,7 +159,7 @@ TEST_CASE("IOBase: Debounce function","[iobase][debounce][extensions]")
CHECK_FALSE( ib.check_debounce(false) ); 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 ); CHECK( uniset_conf()!=nullptr );
...@@ -216,7 +216,7 @@ TEST_CASE("IOBase: delay function","[iobase][delay][extensions]") ...@@ -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 ); CHECK( uniset_conf()!=nullptr );
...@@ -259,7 +259,7 @@ TEST_CASE("IOBase: front function","[iobase][front][extensions]") ...@@ -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 ); CHECK( uniset_conf()!=nullptr );
......
...@@ -31,7 +31,7 @@ static bool init_iobase( IOBase* ib, const std::string& sensor ) ...@@ -31,7 +31,7 @@ static bool init_iobase( IOBase* ib, const std::string& sensor )
return IOBase::initItem(ib,it,shm, "", false); 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 ); CHECK( uniset_conf()!=nullptr );
auto conf = uniset_conf(); auto conf = uniset_conf();
...@@ -78,7 +78,7 @@ TEST_CASE("IOBase: DI depend on the DI","[iobase][depend][di-di][extensions]") ...@@ -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 ); CHECK( uniset_conf()!=nullptr );
auto conf = uniset_conf(); auto conf = uniset_conf();
...@@ -125,7 +125,7 @@ TEST_CASE("IOBase: DI depend on the AI","[iobase][depend][di-ai][extensions]") ...@@ -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 ); CHECK( uniset_conf()!=nullptr );
auto conf = uniset_conf(); auto conf = uniset_conf();
...@@ -159,7 +159,7 @@ TEST_CASE("IOBase: AI depend on the AI","[iobase][depend][ai-ai][extensions]") ...@@ -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 ); CHECK( uniset_conf()!=nullptr );
auto conf = uniset_conf(); auto conf = uniset_conf();
......
...@@ -10,4 +10,4 @@ cd ../../Utilities/Admin/ ...@@ -10,4 +10,4 @@ cd ../../Utilities/Admin/
cd - cd -
./uniset2-start.sh -f ./tests_with_sm $* -- --confile tests_with_sm.xml --e-startup-pause 10 --ulog-levels warn,crit --dlog-levels warn,crit ./uniset2-start.sh -f ./tests_with_sm $* -- --confile tests_with_sm.xml --e-startup-pause 10 --ulog-levels warn,crit --dlog-levels warn,crit
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment