mirror of
https://github.com/august-alt/gpui.git
synced 2025-01-20 22:03:47 +03:00
fix, test: correct presentation builder tests
This commit is contained in:
parent
53dd943be8
commit
47a4064d7e
@ -83,15 +83,15 @@ void PresentationBuilderTest::build()
|
||||
textBox->label = "label";
|
||||
textBox->refId = "refId_textBox";
|
||||
|
||||
presentation.widgets.push_back(std::move(checkBox));
|
||||
presentation.widgets.push_back(std::move(comboBox));
|
||||
presentation.widgets.push_back(std::move(decimalTextBox));
|
||||
presentation.widgets.push_back(std::move(dropdownList));
|
||||
presentation.widgets.push_back(std::move(listBox));
|
||||
presentation.widgets.push_back(std::move(longDecimalTextBox));
|
||||
presentation.widgets.push_back(std::move(multiTextBox));
|
||||
presentation.widgets.push_back(std::move(text));
|
||||
presentation.widgets.push_back(std::move(textBox));
|
||||
presentation.widgets["checkBox"] = (std::move(checkBox));
|
||||
presentation.widgets["comboBox"] = (std::move(comboBox));
|
||||
presentation.widgets["decimalTextBox"] = (std::move(decimalTextBox));
|
||||
presentation.widgets["dropdownList"] = (std::move(dropdownList));
|
||||
presentation.widgets["listBox"] = (std::move(listBox));
|
||||
presentation.widgets["longDecimalTextBox"] = (std::move(longDecimalTextBox));
|
||||
presentation.widgets["multiTextBox"] = (std::move(multiTextBox));
|
||||
presentation.widgets["text"] = (std::move(text));
|
||||
presentation.widgets["textBox"] = (std::move(textBox));
|
||||
|
||||
auto widget = PresentationBuilder::build(presentation);
|
||||
widget->show();
|
||||
|
Loading…
x
Reference in New Issue
Block a user