1 #include <gtest/gtest.h>
5 #include <UiSelector.h>
8 class UaTest : public ::testing::Test {
10 void SetUp() override {
13 void TearDown() override {
17 TEST_F(UaTest, EmptyTest)
19 ASSERT_EQ(true, true);
22 TEST_F(UaTest, DeviceInit)
24 const UiDevice *mDevice = UiDevice::getInstance(DeviceType::DEFAULT);
25 ASSERT_NE(mDevice, nullptr);
28 TEST_F(UaTest, TextSelector)
30 std::shared_ptr<UiSelector> sel = Sel::text("test");
31 ASSERT_NE(sel.get(), nullptr);