Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
oskirby committed Dec 27, 2023
1 parent 03de702 commit a451ecc
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/addons/addonguide.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#ifndef ADDONGUIDE_H
#define ADDONGUIDE_H

#include "../composer/composer.h"
#include "composer.h"
#include "addon.h"
#include "addonproperty.h"

Expand Down
2 changes: 1 addition & 1 deletion src/addons/addonmessage.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#ifndef ADDONMESSAGE_H
#define ADDONMESSAGE_H

#include "../composer/composer.h"
#include "composer.h"
#include "addon.h"
#include "addonproperty.h"
#include "settingsholder.h"
Expand Down
2 changes: 2 additions & 0 deletions tests/auth_tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Emscripten"
endif()

target_link_libraries(app_auth_tests PRIVATE
mozillavpn-ui
mozillavpn-uiplugin
qtglean
shared-sources
translations
Expand Down
2 changes: 2 additions & 0 deletions tests/unit_tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ generate_translations_target(translations-unit-tests ${CMAKE_SOURCE_DIR}/tests/u
target_link_libraries(app_unit_tests PRIVATE
qtglean
shared-sources
mozillavpn-ui
mozillavpn-uiplugin
translations-unit-tests
)

Expand Down
12 changes: 6 additions & 6 deletions tests/unit_tests/testcomposer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@

#include "addons/addon.h"
#include "addons/addonmessage.h"
#include "composer/composer.h"
#include "composer/composerblockbutton.h"
#include "composer/composerblockorderedlist.h"
#include "composer/composerblocktext.h"
#include "composer/composerblocktitle.h"
#include "composer/composerblockunorderedlist.h"
#include "composer.h"
#include "composerblockbutton.h"
#include "composerblockorderedlist.h"
#include "composerblocktext.h"
#include "composerblocktitle.h"
#include "composerblockunorderedlist.h"
#include "helper.h"
#include "localizer.h"
#include "qmlengineholder.h"
Expand Down

0 comments on commit a451ecc

Please sign in to comment.