Commit 6d808bf6 authored by Denis Steckelmacher's avatar Denis Steckelmacher

Update the unit tests now that enumerations are correctly handled, and don't...

Update the unit tests now that enumerations are correctly handled, and don't use not-yet-upstreamed features

The previous commit should have been named "Declare enumeration values in
the enumeration itself, not in a sub-context, and set the propagateDeclarations
flag of enumerations".
parent 0f73ff01
......@@ -31,7 +31,7 @@ Module {
name: "LayoutChangeHint"
values: {
/**
* "toString" : "double NoLayoutChangeHint"
* "toString" : " NoLayoutChangeHint"
*/
"NoLayoutChangeHint": 0,
"VerticalSortHint": 1,
......
......@@ -74,7 +74,7 @@ void TestFiles::testFiles()
ReferencedTopDUContext top =
DUChain::self()->waitForUpdate(indexedFileName, KDevelop::TopDUContext::AllDeclarationsContextsAndUses);
while (!ICore::self()->languageController()->backgroundParser()->isIdle()) {
while (ICore::self()->languageController()->backgroundParser()->queuedCount() != 0) {
QTest::qWait(500);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment