forked from qt-creator/qt-creator
Tests: Fix expectations for QFlags
Depending on the size the value now has a different
amount of hex digits displayed.
Amends 738851b5d5
.
Change-Id: I99dc2e9d21e8bf3ce067bc452753c1abe68de8c6
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Andrii Semkiv <andrii.semkiv@qt.io>
This commit is contained in:
@@ -2305,8 +2305,8 @@ void tst_Dumpers::dumper_data()
|
||||
+ CoreProfile()
|
||||
|
||||
+ Check("f1", "a (1)", TypeDef("@QFlags<enum Foo>", "FooFlags")) % CdbEngine
|
||||
+ Check("f1", "a (0x0001)", "FooFlags") % NoCdbEngine
|
||||
+ Check("f2", "(a | b) (0x0003)", "FooFlags") % GdbEngine;
|
||||
+ Check("f1", ValuePattern("a [(]0x0+1[)]"), "FooFlags") % NoCdbEngine
|
||||
+ Check("f2", ValuePattern("[(]a [|] b[)] [(]0x0+3[)]"), "FooFlags") % GdbEngine;
|
||||
|
||||
|
||||
QTest::newRow("QDateTime")
|
||||
|
Reference in New Issue
Block a user