diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-09-29 11:02:23 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-09-29 18:00:49 +0200 |
commit | 043e74028e55319654685ad97ef5061eb2fda5d2 (patch) | |
tree | 6dda92bcc1089eb8579d2392ecb33a180dda061d /sources/shiboken2/tests/libother/otherobjecttype.cpp | |
parent | 13df4451cce8147cad91011eaa4b21dd8d27f8ae (diff) |
shiboken2: Consolidate tests for invisible namespaces
Move the tests for PYSIDE-1074 from samplenamespace.h to
removednamespaces.h. The latter has also a test case for an
invisible namespace under a visible namespace besides the
invisible top level namespace test.
Task-number: PYSIDE-1074
Task-number: PYSIDE-1075
Change-Id: I5d1c6428f6ceadf929063c2c69723a7871173f4e
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken2/tests/libother/otherobjecttype.cpp')
-rw-r--r-- | sources/shiboken2/tests/libother/otherobjecttype.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken2/tests/libother/otherobjecttype.cpp b/sources/shiboken2/tests/libother/otherobjecttype.cpp index 1f782ecd8..c7778e7c9 100644 --- a/sources/shiboken2/tests/libother/otherobjecttype.cpp +++ b/sources/shiboken2/tests/libother/otherobjecttype.cpp @@ -40,7 +40,7 @@ int OtherObjectType::enumAsInt(SampleNamespace::SomeClass::PublicScopedEnum valu return static_cast<int>(value); } -int OtherObjectType::enumAsIntForInvisibleNamespace(Invisible::EnumOnNamespace value) +int OtherObjectType::enumAsIntForInvisibleNamespace(RemovedNamespace1::RemovedNamespace1_Enum value) { return static_cast<int>(value); } |