WIP: gcov enabled, added more test cases.

This commit is contained in:
Matthias Koefferlein 2018-09-23 09:29:05 +02:00
parent 8420b29025
commit d7099edcae
5 changed files with 25 additions and 1 deletions

View File

@ -113,7 +113,7 @@ msvc {
CONFIG(gcov) {
QMAKE_CXXFLAGS += -fprofile-arcs -ftest-coverage
QMAKE_LFLAGS += -fprofile-arcs -ftest-coverage
QMAKE_LFLAGS += --coverage
}
QMAKE_CXXFLAGS_WARN_ON += \

BIN
src/plugins/tools/netx/testdata/hlp5.oas vendored Normal file

Binary file not shown.

BIN
src/plugins/tools/netx/testdata/hlp6.oas vendored Normal file

Binary file not shown.

BIN
src/plugins/tools/netx/testdata/hlp7.oas vendored Normal file

Binary file not shown.

View File

@ -160,3 +160,27 @@ TEST(BasicNot5)
// Variant building with intermediate hierarchy, NOT
run_test_bool (_this, "hlp5.oas", TMNot, 101);
}
TEST(BasicAnd6)
{
// Extreme variants (copy, vanishing), AND
run_test_bool (_this, "hlp6.oas", TMAnd, 100);
}
TEST(BasicNot6)
{
// Extreme variants (copy, vanishing), NOT
run_test_bool (_this, "hlp6.oas", TMNot, 101);
}
TEST(BasicAnd7)
{
// Context replication - direct and indirect, AND
run_test_bool (_this, "hlp7.oas", TMAnd, 100);
}
TEST(BasicNot7)
{
// Context replication - direct and indirect, NOT
run_test_bool (_this, "hlp7.oas", TMNot, 101);
}