summaryrefslogtreecommitdiff
path: root/src/libs/lvgl/tests/lv_test_widgets
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2021-02-23 20:40:02 (GMT)
committerJean-François Milants <jf@codingfield.com>2021-02-23 20:53:50 (GMT)
commit094f98743db630cf070d9fe97e14b24db6450112 (patch)
treee7106bbcf902981ee6ac18364e319400b8a6bb86 /src/libs/lvgl/tests/lv_test_widgets
parent67c545b1fbd368b99b111a1822fe8da815468e76 (diff)
Fix LVGL submodule (sorry!)
Diffstat (limited to 'src/libs/lvgl/tests/lv_test_widgets')
m---------src/libs/lvgl0
-rw-r--r--src/libs/lvgl/tests/lv_test_widgets/lv_test_label.c69
-rw-r--r--src/libs/lvgl/tests/lv_test_widgets/lv_test_label.h38
3 files changed, 0 insertions, 107 deletions
diff --git a/src/libs/lvgl b/src/libs/lvgl
new file mode 160000
+Subproject b89c30eafe1397a778ae5d65f108a0ef820de12
diff --git a/src/libs/lvgl/tests/lv_test_widgets/lv_test_label.c b/src/libs/lvgl/tests/lv_test_widgets/lv_test_label.c
deleted file mode 100644
index 586ebd2..0000000
--- a/src/libs/lvgl/tests/lv_test_widgets/lv_test_label.c
+++ /dev/null
@@ -1,69 +0,0 @@
-/**
- * @file lv_test_label.c
- *
- */
-
-/*********************
- * INCLUDES
- *********************/
-#include "../../lvgl.h"
-#include "../lv_test_assert.h"
-#include "lv_test_label.h"
-
-#if LV_BUILD_TEST
-
-/*********************
- * DEFINES
- *********************/
-
-/**********************
- * TYPEDEFS
- **********************/
-
-/**********************
- * STATIC PROTOTYPES
- **********************/
-static void create_copy(void);
-
-/**********************
- * STATIC VARIABLES
- **********************/
-
-/**********************
- * MACROS
- **********************/
-
-/**********************
- * GLOBAL FUNCTIONS
- **********************/
-
-void lv_test_label(void)
-{
- lv_test_print("");
- lv_test_print("===================");
- lv_test_print("Start lv_label tests");
- lv_test_print("===================");
-
-#if LV_USE_LABEL
- create_copy();
-#else
- lv_test_print("Skip label test: LV_USE_LABEL == 0");
-#endif
-}
-
-/**********************
- * STATIC FUNCTIONS
- **********************/
-
-static void create_copy(void)
-{
- lv_test_print("");
- lv_test_print("Create a label");
- lv_test_print("---------------------------");
-
- lv_label_create(lv_scr_act(), NULL);
-#if LV_COLOR_DEPTH == 32
- lv_test_assert_img_eq("lv_test_img32_label_1.png", "Create a label and leave the default settings");
-#endif
-}
-#endif
diff --git a/src/libs/lvgl/tests/lv_test_widgets/lv_test_label.h b/src/libs/lvgl/tests/lv_test_widgets/lv_test_label.h
deleted file mode 100644
index 36aac4e..0000000
--- a/src/libs/lvgl/tests/lv_test_widgets/lv_test_label.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/**
- * @file lv_test_label.h
- *
- */
-
-#ifndef LV_TEST_LABEL_H
-#define LV_TEST_LABEL_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*********************
- * INCLUDES
- *********************/
-
-/*********************
- * DEFINES
- *********************/
-
-/**********************
- * TYPEDEFS
- **********************/
-
-/**********************
- * GLOBAL PROTOTYPES
- **********************/
-void lv_test_label(void);
-
-/**********************
- * MACROS
- **********************/
-
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
-#endif /*LV_TEST_CONT_H*/