mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-29 22:04:02 -06:00
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:
parent
e39620c940
commit
eee1bd4e46
13 changed files with 27 additions and 28 deletions
|
|
@ -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";
|
||||
|
||||
|
|
@ -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
|
||||
"" = "";
|
||||
|
|
@ -13,7 +13,7 @@ namespace Upp
|
|||
public:
|
||||
AppWindow();
|
||||
|
||||
protected:
|
||||
private:
|
||||
virtual void OnButtonClick();
|
||||
};
|
||||
}
|
||||
19
bazaar/GtestUIExample/GtestUIExample.upp
Normal file
19
bazaar/GtestUIExample/GtestUIExample.upp
Normal 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";
|
||||
|
||||
|
|
@ -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;
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
#ifdef flagTESTING_GOOGLE_TEST_UI_EXAMPLE
|
||||
#ifdef flagTESTING_GTEST_UI_EXAMPLE
|
||||
|
||||
#include <CtrlLib/CtrlLib.h>
|
||||
#include <plugin/gtest/gtest.h>
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
using namespace Upp;
|
||||
|
||||
#ifndef flagTESTING_GOOGLE_TEST_UI_EXAMPLE
|
||||
#ifndef flagTESTING_GTEST_UI_EXAMPLE
|
||||
GUI_APP_MAIN
|
||||
{
|
||||
AppWindow().Run();
|
||||
Loading…
Add table
Add a link
Reference in a new issue