Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mcleinman committed Nov 19, 2024
1 parent 24e6dcc commit de38a21
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 12 deletions.
1 change: 1 addition & 0 deletions tests/unit_tests/themes/colorend.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
color;
1 change: 1 addition & 0 deletions tests/unit_tests/themes/colorstart.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
const color = {};
1 change: 1 addition & 0 deletions tests/unit_tests/themes/invalidcolormiddle.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
notcolor.primary = notcolor.red;
27 changes: 15 additions & 12 deletions tests/unit_tests/themes/themes.qrc
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
<RCC>
<qresource prefix="/nebula/themes">
<file alias="main/theme.js">ok.js</file>
<file alias="main/colors.js">ok.js</file>
<file alias="main/sizing.js">ok.js</file>
<file alias="main/theme.js">validcolormiddle.js</file>

<file alias="foobar/theme.js">ok.js</file>
<file alias="foobar/colors.js">ok.js</file>
<file alias="colors.js">colorstart.js</file>
<file alias="theme-derived.js">colorend.js</file>

<file alias="invalid_theme/theme.js">invalid.js</file>
<file alias="invalid_theme/colors.js">ok.js</file>
<file alias="foobar/sizing.js">ok.js</file>
<file alias="foobar/theme.js">validcolormiddle.js</file>

<file alias="invalid_colors/theme.js">ok.js</file>
<file alias="invalid_colors/colors.js">invalid.js</file>
<file alias="invalid_theme/sizing.js">invalid.js</file>
<file alias="invalid_theme/theme.js">ok.js</file>

<file alias="error_theme/theme.js">error.js</file>
<file alias="error_theme/colors.js">ok.js</file>
<file alias="invalid_colors/sizing.js">ok.js</file>
<file alias="invalid_colors/theme.js">invalidcolormiddle.js</file>

<file alias="error_colors/theme.js">ok.js</file>
<file alias="error_colors/colors.js">error.js</file>
<file alias="error_theme/sizing.js">error.js</file>
<file alias="error_theme/theme.js">ok.js</file>

<file alias="error_colors/sizing.js">ok.js</file>
<file alias="error_colors/theme.js">error.js</file>
</qresource>
</RCC>
1 change: 1 addition & 0 deletions tests/unit_tests/themes/validcolormiddle.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
color.primary = color.red;

0 comments on commit de38a21

Please sign in to comment.