summaryrefslogtreecommitdiff
path: root/src/resources/mstack_unittest.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-18 22:51:52 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-18 22:53:01 +0300
commit40de3bee0278d6584561a827123bc342934adccb (patch)
tree460ba68f29ec25377ef1971989c4c46e507ea3da /src/resources/mstack_unittest.cc
parentdffd0a4a8e99196ad27f8fde2430b09dd29cac57 (diff)
downloadmv-40de3bee0278d6584561a827123bc342934adccb.tar.gz
mv-40de3bee0278d6584561a827123bc342934adccb.tar.bz2
mv-40de3bee0278d6584561a827123bc342934adccb.tar.xz
mv-40de3bee0278d6584561a827123bc342934adccb.zip
Add support for additional unit test library doctest.
Diffstat (limited to 'src/resources/mstack_unittest.cc')
-rw-r--r--src/resources/mstack_unittest.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/resources/mstack_unittest.cc b/src/resources/mstack_unittest.cc
index 305aee15f..c45015680 100644
--- a/src/resources/mstack_unittest.cc
+++ b/src/resources/mstack_unittest.cc
@@ -26,7 +26,7 @@
#include "debug.h"
-TEST_CASE("mstack push 1")
+TEST_CASE("mstack push 1", "")
{
MStack<ClipRect> stack(10);
REQUIRE(-1 == (stack.mPointer - stack.mStack));
@@ -44,7 +44,7 @@ TEST_CASE("mstack push 1")
REQUIRE(2 == val1.yOffset);
}
-TEST_CASE("mstack push 2")
+TEST_CASE("mstack push 2", "")
{
MStack<ClipRect> stack(10);
ClipRect &val1 = stack.push();
@@ -58,7 +58,7 @@ TEST_CASE("mstack push 2")
REQUIRE(2 == stack.mStack[0].yOffset);
}
-TEST_CASE("mstack push 3")
+TEST_CASE("mstack push 3", "")
{
MStack<ClipRect> stack(10);
ClipRect &val1 = stack.push();
@@ -68,7 +68,7 @@ TEST_CASE("mstack push 3")
REQUIRE(10 == stack.mStack[0].xOffset);
}
-TEST_CASE("mstack push 4")
+TEST_CASE("mstack push 4", "")
{
MStack<ClipRect> stack(10);
ClipRect &val1 = stack.push();
@@ -93,7 +93,7 @@ TEST_CASE("mstack push 4")
REQUIRE(30 == stack.mStack[2].xOffset);
}
-TEST_CASE("mstack pop 1")
+TEST_CASE("mstack pop 1", "")
{
MStack<ClipRect> stack(10);
ClipRect &val1 = stack.push();
@@ -104,7 +104,7 @@ TEST_CASE("mstack pop 1")
REQUIRE(-1 == stack.mPointer - stack.mStack);
}
-TEST_CASE("mstack pop 2")
+TEST_CASE("mstack pop 2", "")
{
MStack<ClipRect> stack(10);
ClipRect &val1 = stack.push();
@@ -135,7 +135,7 @@ TEST_CASE("mstack pop 2")
REQUIRE(0 == stack.mStack[2].xOffset);
}
-TEST_CASE("mstack clear 1")
+TEST_CASE("mstack clear 1", "")
{
MStack<ClipRect> stack(10);
REQUIRE(-1 == stack.mPointer - stack.mStack);
@@ -150,7 +150,7 @@ TEST_CASE("mstack clear 1")
REQUIRE(0 == stack.mStack[1].xOffset);
}
-TEST_CASE("mstack getpop 1")
+TEST_CASE("mstack getpop 1", "")
{
MStack<ClipRect> stack(10);
ClipRect &val1 = stack.push();