Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
kdlibcpp
kdlibcpp
Commits
a0812f16
Commit
a0812f16
authored
Mar 21, 2020
by
ussrhero
Browse files
added failed test TypeInfoTest.Enum
parent
eeefca7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
kdlib/tests/kdlibtest/typeinfotest.cpp
kdlib/tests/kdlibtest/typeinfotest.cpp
+4
-0
No files found.
kdlib/tests/kdlibtest/typeinfotest.cpp
View file @
a0812f16
...
...
@@ -197,6 +197,10 @@ TEST_F( TypeInfoTest, Enum )
EXPECT_TRUE
(
loadType
(
L"enumType"
)
->
isEnum
()
);
EXPECT_EQ
(
TWO
,
*
loadType
(
L"enumType"
)
->
getElement
(
L"TWO"
)
);
EXPECT_TRUE
(
(
NumVariant
)
*
loadType
(
L"enumType"
)
->
getElement
(
L"TWO"
)
==
TWO
);
EXPECT_EQ
(
ONE
,
*
loadType
(
L"enumType"
)
->
getElement
(
0
));
EXPECT_EQ
(
TWO
,
*
loadType
(
L"enumType"
)
->
getElement
(
1
));
EXPECT_EQ
(
THREE
,
*
loadType
(
L"enumType"
)
->
getElement
(
2
));
}
TEST_F
(
TypeInfoTest
,
BitField
)
...
...
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