From 95853437487269412a9a24eeb8fcbddfd6f483d6 Mon Sep 17 00:00:00 2001 From: Masaru Tsuchiyama Date: Sat, 2 Feb 2019 23:03:14 +0900 Subject: [PATCH] =?UTF-8?q?Wnd=5FGetText=20=E3=81=AE=E3=83=86=E3=82=B9?= =?UTF-8?q?=E3=83=88=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/unittests/test-StdControl.cpp | 34 +++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 tests/unittests/test-StdControl.cpp diff --git a/tests/unittests/test-StdControl.cpp b/tests/unittests/test-StdControl.cpp new file mode 100644 index 0000000000..acc82ef896 --- /dev/null +++ b/tests/unittests/test-StdControl.cpp @@ -0,0 +1,34 @@ +/*! @file */ +/* + Copyright (C) 2018-2019 Sakura Editor Organization + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; + you must not claim that you wrote the original software. + If you use this software in a product, an acknowledgment + in the product documentation would be appreciated but is + not required. + + 2. Altered source versions must be plainly marked as such, + and must not be misrepresented as being the original software. + + 3. This notice may not be removed or altered from any source + distribution. +*/ +#include +#include "apiwrap/StdControl.h" + +/*! +*/ +TEST(StdControl, Wnd_GetText) +{ + CNativeT tempText; + EXPECT_EQ(Wnd_GetText(NULL, tempText), false); +}