mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
rename ui
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
#include "UI.hpp"
|
||||
#include "ui.hpp"
|
||||
#include "gtest/gtest.h"
|
||||
#include <iostream>
|
||||
|
||||
#define UNUSED(x) (void)(x)
|
||||
#define UNUSED(x) (void)(x)
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ TEST(UI_label, to_from_json)
|
||||
{
|
||||
UI_label label("label_text", Color(0, 0, 0), Color(255, 255, 255));
|
||||
json j = label.to_json(0);
|
||||
EXPECT_EQ(j["type"], "UI_label");
|
||||
EXPECT_EQ(j["type"], "ui_label");
|
||||
EXPECT_EQ(j["id"], 0);
|
||||
EXPECT_EQ(j["text"], "label_text");
|
||||
EXPECT_EQ(j["text_size"], 12);
|
||||
|
||||
Reference in New Issue
Block a user