Bazzar: Google test example packages naming simplification.

git-svn-id: svn://ultimatepp.org/upp/trunk@14993 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
klugier 2020-09-06 11:32:01 +00:00
parent e39620c940
commit eee1bd4e46
13 changed files with 27 additions and 28 deletions

View file

@ -1,19 +0,0 @@
description "Automate UI testing with Google Test\377";
uses
CtrlLib;
uses(TESTING_GOOGLE_TEST_UI_EXAMPLE) plugin/gmock;
file
AppWindow.h,
AppWindow.cpp,
main.cpp,
Tests readonly separator,
TestAppWindow.cpp,
TestMain.cpp;
mainconfig
"" = "GUI",
"" = "GUI TESTING_GOOGLE_TEST_UI_EXAMPLE";

View file

@ -5,11 +5,11 @@ uses
Core;
file
Tests readonly separator,
StringTest.h,
StringTest.cpp,
Init readonly separator,
main.cpp;
main.cpp,
Tests readonly separator,
StringTest.cpp,
StringTest.h;
mainconfig
"" = "";

View file

@ -13,7 +13,7 @@ namespace Upp
public:
AppWindow();
protected:
private:
virtual void OnButtonClick();
};
}

View file

@ -0,0 +1,19 @@
description "Automate UI testing with Google Test and Google Mock\377";
uses
CtrlLib;
uses(TESTING_GTEST_UI_EXAMPLE) plugin/gmock;
file
AppWindow.h,
AppWindow.cpp,
main.cpp,
Tests readonly separator,
TestAppWindow.cpp,
TestMain.cpp;
mainconfig
"" = "GUI",
"" = "GUI TESTING_GTEST_UI_EXAMPLE";

View file

@ -1,9 +1,8 @@
#ifdef flagTESTING_GOOGLE_TEST_UI_EXAMPLE
#ifdef flagTESTING_GTEST_UI_EXAMPLE
#include "AppWindow.h"
#include <plugin/gmock/gmock.h>
#include <memory>
using namespace Upp;

View file

@ -1,4 +1,4 @@
#ifdef flagTESTING_GOOGLE_TEST_UI_EXAMPLE
#ifdef flagTESTING_GTEST_UI_EXAMPLE
#include <CtrlLib/CtrlLib.h>
#include <plugin/gtest/gtest.h>

View file

@ -4,7 +4,7 @@
using namespace Upp;
#ifndef flagTESTING_GOOGLE_TEST_UI_EXAMPLE
#ifndef flagTESTING_GTEST_UI_EXAMPLE
GUI_APP_MAIN
{
AppWindow().Run();