mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 14:21:16 +00:00
Add getter/setter for the style
This commit is contained in:
parent
59d6866b13
commit
fd9d154b27
3 changed files with 44 additions and 0 deletions
|
@ -259,6 +259,13 @@ SCENARIO("Component Compiler")
|
|||
REQUIRE(out_paths[1] == "path2");
|
||||
}
|
||||
|
||||
SECTION("configure style")
|
||||
{
|
||||
REQUIRE(compiler.style() == "");
|
||||
compiler.set_style("ugly");
|
||||
REQUIRE(compiler.style() == "ugly");
|
||||
}
|
||||
|
||||
SECTION("Compile failure from source")
|
||||
{
|
||||
auto result = compiler.build_from_source("Syntax Error!!", "");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue