e_test_base: Add class for store test result 80/313180/1
authorJunseok Kim <juns.kim@samsung.com>
Mon, 17 Jun 2024 09:28:31 +0000 (18:28 +0900)
committerJunseok Kim <juns.kim@samsung.com>
Thu, 20 Jun 2024 02:17:31 +0000 (11:17 +0900)
Change-Id: I7a56af7a37aecaa2131e6cc2ee3f9281b2284180

src/e_test_base.h

index 48c94ad919b363de8b79969d119a6ea829243a2d..34161cc1c34a8f6c446b3018e91c3cd29ba0af5a 100644 (file)
@@ -43,4 +43,20 @@ class etTCBase : public ::testing::Test
    E_TC_Win_Color generateColor();
 };
 
+class etTCResult
+{
+ public:
+   etTCResult() = delete;
+   etTCResult(bool res, std::string desc) { this->res = res; this->desc = desc; };
+   ~etTCResult() { };
+
+ public:
+   bool result() { return res; };
+   std::string description() { return desc; };
+
+ private:
+   bool res;
+   std::string desc;
+};
+
 #endif // end of __ET_TESTCASE_BASE__