mirror of
https://github.com/august-alt/gpui.git
synced 2025-01-05 17:17:41 +03:00
wip, chore: update tests
This commit is contained in:
parent
18a5d6f837
commit
02c10cd8f7
@ -107,13 +107,6 @@ void PresentationBuilderTest::build()
|
||||
auto registry = std::make_shared<model::registry::Registry>();
|
||||
auto polRegistrySource = std::make_unique<model::registry::PolRegistrySource>(registry);
|
||||
auto group = std::make_unique<model::command::CommandGroup>();
|
||||
|
||||
auto layout = PresentationBuilder::build(presentation, *policy, *polRegistrySource, *group);
|
||||
auto widget = std::make_unique<QWidget>();
|
||||
widget->setLayout(layout);
|
||||
widget->show();
|
||||
|
||||
QTest::qWait(1000);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -72,13 +72,6 @@ void AdmlTest::read()
|
||||
auto registry = std::make_shared<model::registry::Registry>();
|
||||
auto polRegistrySource = std::make_unique<model::registry::PolRegistrySource>(registry);
|
||||
auto group = std::make_unique<model::command::CommandGroup>();
|
||||
|
||||
auto layout = gui::PresentationBuilder::build(presentation, *policy, *polRegistrySource, *group);
|
||||
auto widget = std::make_unique<QWidget>();
|
||||
widget->setLayout(layout);
|
||||
widget->show();
|
||||
|
||||
QTest::qWait(10000);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user