mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
Updates test includes for UI components
Updates test files to include necessary headers and removes the now unused `Test.hpp` file.
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
#include "ui.hpp"
|
||||
#include "gtest/gtest.h"
|
||||
#include <QSignalSpy>
|
||||
#include <iostream>
|
||||
+3
-1
@@ -1,4 +1,6 @@
|
||||
#include "Test.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
#include <QSignalSpy>
|
||||
#include "ui_button.hpp"
|
||||
|
||||
TEST(UI_button, to_from_json)
|
||||
{
|
||||
|
||||
+2
-1
@@ -1,5 +1,6 @@
|
||||
#include "Test.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
#include <QSignalSpy>
|
||||
#include "ui_can.hpp"
|
||||
|
||||
TEST(UI_can, add_clear_message)
|
||||
{
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
#include "Test.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
#include <QSignalSpy>
|
||||
#include "ui_checkbox.hpp"
|
||||
|
||||
TEST(UI_checkbox, to_from_json)
|
||||
{
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
#include "Test.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
#include <QSignalSpy>
|
||||
#include "ui_combobox.hpp"
|
||||
|
||||
TEST(UI_combobox, to_from_json)
|
||||
{
|
||||
|
||||
+3
-1
@@ -1,4 +1,6 @@
|
||||
#include "Test.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
#include <QSignalSpy>
|
||||
#include "ui_dial.hpp"
|
||||
|
||||
TEST(UI_dial, to_from_json)
|
||||
{
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
#include "Test.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
#include <QSignalSpy>
|
||||
#include "ui_double_spinbox.hpp"
|
||||
|
||||
TEST(UI_double_spinbox, to_from_json)
|
||||
{
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
#include "Test.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
#include <QSignalSpy>
|
||||
#include "ui_hex_spinbox.hpp"
|
||||
|
||||
TEST(UI_hex_spinbox, to_from_json)
|
||||
{
|
||||
|
||||
+3
-1
@@ -1,4 +1,6 @@
|
||||
#include "Test.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
#include <QSignalSpy>
|
||||
#include "ui_item.hpp"
|
||||
|
||||
TEST(UI_item, is_type)
|
||||
{
|
||||
|
||||
+3
-1
@@ -1,4 +1,6 @@
|
||||
#include "Test.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
#include <QSignalSpy>
|
||||
#include "ui_label.hpp"
|
||||
|
||||
TEST(UI_label, to_from_json)
|
||||
{
|
||||
|
||||
+3
-1
@@ -1,4 +1,6 @@
|
||||
#include "Test.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
#include <QSignalSpy>
|
||||
#include "ui_led.hpp"
|
||||
|
||||
TEST(UI_led, to_from_json)
|
||||
{
|
||||
|
||||
+3
-1
@@ -1,4 +1,6 @@
|
||||
#include "Test.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
#include <QSignalSpy>
|
||||
#include "ui_slider.hpp"
|
||||
|
||||
TEST(UI_slider, to_from_json)
|
||||
{
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
#include "Test.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
#include <QSignalSpy>
|
||||
#include "ui_spinbox.hpp"
|
||||
|
||||
TEST(UI_spinbox, to_from_json)
|
||||
{
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
#include "Test.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
#include <QSignalSpy>
|
||||
#include "ui_stacked_widget.hpp"
|
||||
|
||||
TEST(UI_stacked_widget, to_from_json)
|
||||
{
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
#include "Test.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
#include <QSignalSpy>
|
||||
#include "ui_status_bar.hpp"
|
||||
|
||||
TEST(UI_status_bar, to_from_json)
|
||||
{
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
#include "Test.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
#include <QSignalSpy>
|
||||
#include "ui_tab_widget.hpp"
|
||||
|
||||
TEST(UI_tab_widget, to_from_json)
|
||||
{
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
#include "Test.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
#include <QSignalSpy>
|
||||
#include "ui_textbox.hpp"
|
||||
|
||||
TEST(UI_textbox, to_from_json)
|
||||
{
|
||||
|
||||
+3
-1
@@ -1,4 +1,6 @@
|
||||
#include "Test.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
#include <QSignalSpy>
|
||||
#include "ui_thermo.hpp"
|
||||
|
||||
TEST(UI_thermo, to_from_json)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user