mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-06-24 01:49:36 +02:00
fixing unit tests for removed modules and rearranged INCLUDEPATH
This commit is contained in:
@@ -31,7 +31,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
@@ -41,14 +40,13 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
|
||||
int sig = FWB_SIG;
|
||||
|
||||
|
||||
extern void build_app(int argc, char** argv,
|
||||
FWBApplication** app,
|
||||
FWBSettings** st,
|
||||
UserWorkflow** wfl);
|
||||
FWBSettings** st);
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
@@ -56,7 +54,7 @@ int main(int argc, char** argv)
|
||||
app->setOrganizationName(QLatin1String("NetCitadel"));
|
||||
app->setApplicationName(QLatin1String("Firewall Builder"));
|
||||
|
||||
build_app(argc, argv, &app, &st, &wfl);
|
||||
build_app(argc, argv, &app, &st);
|
||||
|
||||
QTest::qExec(new AddressRangeDialogTest());
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ LIBS += $$CPPUNIT_LIBS
|
||||
|
||||
SOURCES += main.cpp AddressTableTest.cpp
|
||||
HEADERS += AddressTableTest.h
|
||||
INCLUDEPATH += ../../libfwbuilder/src
|
||||
INCLUDEPATH += ../../.. ../../libfwbuilder/src
|
||||
DEPENDPATH += ../../libfwbuilder/src
|
||||
LIBS += ../../libfwbuilder/src/fwbuilder/libfwbuilder.a
|
||||
run_tests.commands = echo "Running tests..." && ./${TARGET}
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
@@ -42,14 +41,12 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
int sig = FWB_SIG;
|
||||
|
||||
|
||||
extern void build_app(int argc, char** argv,
|
||||
FWBApplication** app,
|
||||
FWBSettings** st,
|
||||
UserWorkflow** wfl);
|
||||
FWBSettings** st);
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
@@ -57,7 +54,7 @@ int main(int argc, char** argv)
|
||||
app->setOrganizationName(QLatin1String("NetCitadel"));
|
||||
app->setApplicationName(QLatin1String("Firewall Builder"));
|
||||
|
||||
build_app(argc, argv, &app, &st, &wfl);
|
||||
build_app(argc, argv, &app, &st);
|
||||
|
||||
|
||||
QTest::qExec(new CustomServiceDialogTest());
|
||||
|
||||
@@ -12,7 +12,7 @@ LIBS += $$CPPUNIT_LIBS
|
||||
|
||||
SOURCES += main.cpp DNSTest.cpp
|
||||
HEADERS += DNSTest.h
|
||||
INCLUDEPATH += ../../libfwbuilder/src
|
||||
INCLUDEPATH += ../../.. ../../libfwbuilder/src
|
||||
DEPENDPATH += ../../libfwbuilder/src
|
||||
LIBS += ../../libfwbuilder/src/fwbuilder/libfwbuilder.a
|
||||
run_tests.commands = echo "Running tests..." && ./${TARGET}
|
||||
|
||||
@@ -11,7 +11,7 @@ LIBS += $$CPPUNIT_LIBS
|
||||
|
||||
SOURCES += main.cpp FWObjectTest.cpp
|
||||
HEADERS += FWObjectTest.h
|
||||
INCLUDEPATH += ../../libfwbuilder/src
|
||||
INCLUDEPATH += ../../.. ../../libfwbuilder/src
|
||||
DEPENDPATH += ../../libfwbuilder/src
|
||||
LIBS += ../../libfwbuilder/src/fwbuilder/libfwbuilder.a
|
||||
run_tests.commands = echo "Running tests..." && ./${TARGET}
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
@@ -42,14 +41,12 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
int sig = FWB_SIG;
|
||||
|
||||
|
||||
extern void build_app(int argc, char** argv,
|
||||
FWBApplication** app,
|
||||
FWBSettings** st,
|
||||
UserWorkflow** wfl);
|
||||
FWBSettings** st);
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
@@ -57,7 +54,7 @@ int main(int argc, char** argv)
|
||||
app->setOrganizationName(QLatin1String("NetCitadel"));
|
||||
app->setApplicationName(QLatin1String("Firewall Builder"));
|
||||
|
||||
build_app(argc, argv, &app, &st, &wfl);
|
||||
build_app(argc, argv, &app, &st);
|
||||
|
||||
|
||||
QTest::qExec(new FWWindowTest());
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
@@ -42,14 +41,12 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
int sig = FWB_SIG;
|
||||
|
||||
|
||||
extern void build_app(int argc, char** argv,
|
||||
FWBApplication** app,
|
||||
FWBSettings** st,
|
||||
UserWorkflow** wfl);
|
||||
FWBSettings** st);
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
@@ -57,7 +54,7 @@ int main(int argc, char** argv)
|
||||
app->setOrganizationName(QLatin1String("NetCitadel"));
|
||||
app->setApplicationName(QLatin1String("Firewall Builder"));
|
||||
|
||||
build_app(argc, argv, &app, &st, &wfl);
|
||||
build_app(argc, argv, &app, &st);
|
||||
|
||||
|
||||
QTest::qExec(new FirewallDialogTest());
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
@@ -42,14 +41,12 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
int sig = FWB_SIG;
|
||||
|
||||
|
||||
extern void build_app(int argc, char** argv,
|
||||
FWBApplication** app,
|
||||
FWBSettings** st,
|
||||
UserWorkflow** wfl);
|
||||
FWBSettings** st);
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
@@ -57,7 +54,7 @@ int main(int argc, char** argv)
|
||||
app->setOrganizationName(QLatin1String("NetCitadel"));
|
||||
app->setApplicationName(QLatin1String("Firewall Builder"));
|
||||
|
||||
build_app(argc, argv, &app, &st, &wfl);
|
||||
build_app(argc, argv, &app, &st);
|
||||
|
||||
|
||||
QTest::qExec(new GroupObjectDialogTest());
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
@@ -42,14 +41,12 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
int sig = FWB_SIG;
|
||||
|
||||
|
||||
extern void build_app(int argc, char** argv,
|
||||
FWBApplication** app,
|
||||
FWBSettings** st,
|
||||
UserWorkflow** wfl);
|
||||
FWBSettings** st);
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
@@ -57,7 +54,7 @@ int main(int argc, char** argv)
|
||||
app->setOrganizationName(QLatin1String("NetCitadel"));
|
||||
app->setApplicationName(QLatin1String("Firewall Builder"));
|
||||
|
||||
build_app(argc, argv, &app, &st, &wfl);
|
||||
build_app(argc, argv, &app, &st);
|
||||
|
||||
|
||||
QTest::qExec(new ICMP6ServiceDialogTest());
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
@@ -42,14 +41,12 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
int sig = FWB_SIG;
|
||||
|
||||
|
||||
extern void build_app(int argc, char** argv,
|
||||
FWBApplication** app,
|
||||
FWBSettings** st,
|
||||
UserWorkflow** wfl);
|
||||
FWBSettings** st);
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
@@ -57,7 +54,7 @@ int main(int argc, char** argv)
|
||||
app->setOrganizationName(QLatin1String("NetCitadel"));
|
||||
app->setApplicationName(QLatin1String("Firewall Builder"));
|
||||
|
||||
build_app(argc, argv, &app, &st, &wfl);
|
||||
build_app(argc, argv, &app, &st);
|
||||
|
||||
|
||||
QTest::qExec(new ICMPServiceDialogTest());
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
@@ -41,14 +40,12 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
int sig = FWB_SIG;
|
||||
|
||||
|
||||
extern void build_app(int argc, char** argv,
|
||||
FWBApplication** app,
|
||||
FWBSettings** st,
|
||||
UserWorkflow** wfl);
|
||||
FWBSettings** st);
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
@@ -56,7 +53,7 @@ int main(int argc, char** argv)
|
||||
app->setOrganizationName(QLatin1String("NetCitadel"));
|
||||
app->setApplicationName(QLatin1String("Firewall Builder"));
|
||||
|
||||
build_app(argc, argv, &app, &st, &wfl);
|
||||
build_app(argc, argv, &app, &st);
|
||||
|
||||
|
||||
QTest::qExec(new IPDialogTest());
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
@@ -41,14 +40,12 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
int sig = FWB_SIG;
|
||||
|
||||
|
||||
extern void build_app(int argc, char** argv,
|
||||
FWBApplication** app,
|
||||
FWBSettings** st,
|
||||
UserWorkflow** wfl);
|
||||
FWBSettings** st);
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
@@ -56,7 +53,7 @@ int main(int argc, char** argv)
|
||||
app->setOrganizationName(QLatin1String("NetCitadel"));
|
||||
app->setApplicationName(QLatin1String("Firewall Builder"));
|
||||
|
||||
build_app(argc, argv, &app, &st, &wfl);
|
||||
build_app(argc, argv, &app, &st);
|
||||
|
||||
|
||||
QTest::qExec(new IPServiceDialogTest());
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QString>
|
||||
@@ -44,7 +43,6 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
int sig = FWB_SIG;
|
||||
std::string platform;
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ LIBS += $$CPPUNIT_LIBS
|
||||
|
||||
SOURCES += main.cpp Inet6AddrMaskTest.cpp
|
||||
HEADERS += Inet6AddrMaskTest.h
|
||||
INCLUDEPATH += ../../libfwbuilder/src
|
||||
INCLUDEPATH += ../../.. ../../libfwbuilder/src
|
||||
DEPENDPATH += ../../libfwbuilder/src
|
||||
LIBS += ../../libfwbuilder/src/fwbuilder/libfwbuilder.a
|
||||
run_tests.commands = echo "Running tests..." && ./${TARGET}
|
||||
|
||||
@@ -11,7 +11,7 @@ LIBS += $$CPPUNIT_LIBS
|
||||
|
||||
SOURCES += main.cpp InetAddrMaskTest.cpp
|
||||
HEADERS += InetAddrMaskTest.h
|
||||
INCLUDEPATH += ../../libfwbuilder/src
|
||||
INCLUDEPATH += ../../.. ../../libfwbuilder/src
|
||||
DEPENDPATH += ../../libfwbuilder/src
|
||||
LIBS += ../../libfwbuilder/src/fwbuilder/libfwbuilder.a
|
||||
run_tests.commands = echo "Running tests..." && ./${TARGET}
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
@@ -41,14 +40,12 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
int sig = FWB_SIG;
|
||||
|
||||
|
||||
extern void build_app(int argc, char** argv,
|
||||
FWBApplication** app,
|
||||
FWBSettings** st,
|
||||
UserWorkflow** wfl);
|
||||
FWBSettings** st);
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
@@ -56,7 +53,7 @@ int main(int argc, char** argv)
|
||||
app->setOrganizationName(QLatin1String("NetCitadel"));
|
||||
app->setApplicationName(QLatin1String("Firewall Builder"));
|
||||
|
||||
build_app(argc, argv, &app, &st, &wfl);
|
||||
build_app(argc, argv, &app, &st);
|
||||
|
||||
|
||||
QTest::qExec(new InterfaceDialogTest());
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
@@ -41,14 +40,12 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
int sig = FWB_SIG;
|
||||
|
||||
|
||||
extern void build_app(int argc, char** argv,
|
||||
FWBApplication** app,
|
||||
FWBSettings** st,
|
||||
UserWorkflow** wfl);
|
||||
FWBSettings** st);
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
@@ -56,7 +53,7 @@ int main(int argc, char** argv)
|
||||
app->setOrganizationName(QLatin1String("NetCitadel"));
|
||||
app->setApplicationName(QLatin1String("Firewall Builder"));
|
||||
|
||||
build_app(argc, argv, &app, &st, &wfl);
|
||||
build_app(argc, argv, &app, &st);
|
||||
|
||||
|
||||
QTest::qExec(new NetworkDialogTest());
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
@@ -42,14 +41,12 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
int sig = FWB_SIG;
|
||||
|
||||
|
||||
extern void build_app(int argc, char** argv,
|
||||
FWBApplication** app,
|
||||
FWBSettings** st,
|
||||
UserWorkflow** wfl);
|
||||
FWBSettings** st);
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
@@ -57,7 +54,7 @@ int main(int argc, char** argv)
|
||||
app->setOrganizationName(QLatin1String("NetCitadel"));
|
||||
app->setApplicationName(QLatin1String("Firewall Builder"));
|
||||
|
||||
build_app(argc, argv, &app, &st, &wfl);
|
||||
build_app(argc, argv, &app, &st);
|
||||
|
||||
|
||||
QTest::qExec(new ObjectManipulatorTest());
|
||||
|
||||
@@ -11,7 +11,7 @@ LIBS += $$CPPUNIT_LIBS
|
||||
|
||||
SOURCES += main.cpp ObjectMatcherTest.cpp
|
||||
HEADERS += ObjectMatcherTest.h
|
||||
INCLUDEPATH += ../../libfwbuilder/src
|
||||
INCLUDEPATH += ../../.. ../../libfwbuilder/src
|
||||
DEPENDPATH += ../../libfwbuilder/src
|
||||
LIBS += ../../libfwbuilder/src/fwbuilder/libfwbuilder.a
|
||||
run_tests.commands = echo "Running tests..." && ./${TARGET}
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QString>
|
||||
@@ -42,7 +41,6 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
int sig = FWB_SIG;
|
||||
std::string platform;
|
||||
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QString>
|
||||
@@ -42,7 +41,6 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
int sig = FWB_SIG;
|
||||
std::string platform;
|
||||
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
@@ -42,14 +41,12 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
int sig = FWB_SIG;
|
||||
|
||||
|
||||
extern void build_app(int argc, char** argv,
|
||||
FWBApplication** app,
|
||||
FWBSettings** st,
|
||||
UserWorkflow** wfl);
|
||||
FWBSettings** st);
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
@@ -57,7 +54,7 @@ int main(int argc, char** argv)
|
||||
app->setOrganizationName(QLatin1String("NetCitadel"));
|
||||
app->setApplicationName(QLatin1String("Firewall Builder"));
|
||||
|
||||
build_app(argc, argv, &app, &st, &wfl);
|
||||
build_app(argc, argv, &app, &st);
|
||||
|
||||
|
||||
QTest::qExec(new RuleSetViewContextMenuTest());
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
@@ -42,14 +41,12 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
int sig = FWB_SIG;
|
||||
|
||||
|
||||
extern void build_app(int argc, char** argv,
|
||||
FWBApplication** app,
|
||||
FWBSettings** st,
|
||||
UserWorkflow** wfl);
|
||||
FWBSettings** st);
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
@@ -57,7 +54,7 @@ int main(int argc, char** argv)
|
||||
app->setOrganizationName(QLatin1String("NetCitadel"));
|
||||
app->setApplicationName(QLatin1String("Firewall Builder"));
|
||||
|
||||
build_app(argc, argv, &app, &st, &wfl);
|
||||
build_app(argc, argv, &app, &st);
|
||||
|
||||
|
||||
QTest::qExec(new RuleSetViewTest());
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
@@ -41,14 +40,12 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
int sig = FWB_SIG;
|
||||
|
||||
|
||||
extern void build_app(int argc, char** argv,
|
||||
FWBApplication** app,
|
||||
FWBSettings** st,
|
||||
UserWorkflow** wfl);
|
||||
FWBSettings** st);
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
@@ -56,7 +53,7 @@ int main(int argc, char** argv)
|
||||
app->setOrganizationName(QLatin1String("NetCitadel"));
|
||||
app->setApplicationName(QLatin1String("Firewall Builder"));
|
||||
|
||||
build_app(argc, argv, &app, &st, &wfl);
|
||||
build_app(argc, argv, &app, &st);
|
||||
|
||||
|
||||
QTest::qExec(new TCPServiceDialogTest());
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
@@ -42,14 +41,12 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
int sig = FWB_SIG;
|
||||
|
||||
|
||||
extern void build_app(int argc, char** argv,
|
||||
FWBApplication** app,
|
||||
FWBSettings** st,
|
||||
UserWorkflow** wfl);
|
||||
FWBSettings** st);
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
@@ -57,7 +54,7 @@ int main(int argc, char** argv)
|
||||
app->setOrganizationName(QLatin1String("NetCitadel"));
|
||||
app->setApplicationName(QLatin1String("Firewall Builder"));
|
||||
|
||||
build_app(argc, argv, &app, &st, &wfl);
|
||||
build_app(argc, argv, &app, &st);
|
||||
|
||||
QTest::qExec(new TagServiceDialogTest());
|
||||
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
@@ -41,14 +40,12 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
int sig = FWB_SIG;
|
||||
|
||||
|
||||
extern void build_app(int argc, char** argv,
|
||||
FWBApplication** app,
|
||||
FWBSettings** st,
|
||||
UserWorkflow** wfl);
|
||||
FWBSettings** st);
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
@@ -56,7 +53,7 @@ int main(int argc, char** argv)
|
||||
app->setOrganizationName(QLatin1String("NetCitadel"));
|
||||
app->setApplicationName(QLatin1String("Firewall Builder"));
|
||||
|
||||
build_app(argc, argv, &app, &st, &wfl);
|
||||
build_app(argc, argv, &app, &st);
|
||||
|
||||
|
||||
QTest::qExec(new UDPServiceDialogTest());
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
@@ -41,14 +40,12 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
int sig = FWB_SIG;
|
||||
|
||||
|
||||
extern void build_app(int argc, char** argv,
|
||||
FWBApplication** app,
|
||||
FWBSettings** st,
|
||||
UserWorkflow** wfl);
|
||||
FWBSettings** st);
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
@@ -56,7 +53,7 @@ int main(int argc, char** argv)
|
||||
app->setOrganizationName(QLatin1String("NetCitadel"));
|
||||
app->setApplicationName(QLatin1String("Firewall Builder"));
|
||||
|
||||
build_app(argc, argv, &app, &st, &wfl);
|
||||
build_app(argc, argv, &app, &st);
|
||||
|
||||
|
||||
QTest::qExec(new UserServiceDialogTest());
|
||||
|
||||
@@ -73,7 +73,6 @@
|
||||
#include "RoutingRuleOptionsDialog.h"
|
||||
#include "platforms.h"
|
||||
#include "NATRuleOptionsDialog.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace libfwbuilder;
|
||||
@@ -82,7 +81,6 @@ void genericDialogTest::initTestCase()
|
||||
{
|
||||
new FWObjectClipboard();
|
||||
mw = new FWWindow();
|
||||
wfl = new UserWorkflow();
|
||||
mw->show();
|
||||
mw->startupLoad();
|
||||
mw->resize(1200, 600);
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
@@ -42,14 +41,12 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
int sig = FWB_SIG;
|
||||
|
||||
|
||||
extern void build_app(int argc, char** argv,
|
||||
FWBApplication** app,
|
||||
FWBSettings** st,
|
||||
UserWorkflow** wfl);
|
||||
FWBSettings** st);
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
@@ -57,7 +54,7 @@ int main(int argc, char** argv)
|
||||
app->setOrganizationName(QLatin1String("NetCitadel"));
|
||||
app->setApplicationName(QLatin1String("Firewall Builder"));
|
||||
|
||||
build_app(argc, argv, &app, &st, &wfl);
|
||||
build_app(argc, argv, &app, &st);
|
||||
|
||||
|
||||
QTest::qExec(new genericDialogTest());
|
||||
|
||||
@@ -69,7 +69,6 @@
|
||||
#include <QCoreApplication>
|
||||
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
#include "FWObjectClipboard.h"
|
||||
#include "StartTipDialog.h"
|
||||
|
||||
@@ -82,7 +81,6 @@ void instDialogClusterTest::initTestCase()
|
||||
{
|
||||
new FWObjectClipboard();
|
||||
mw = new FWWindow();
|
||||
wfl = new UserWorkflow();
|
||||
mw->show();
|
||||
mw->startupLoad();
|
||||
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
@@ -42,14 +41,12 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
int sig = FWB_SIG;
|
||||
|
||||
|
||||
extern void build_app(int argc, char** argv,
|
||||
FWBApplication** app,
|
||||
FWBSettings** st,
|
||||
UserWorkflow** wfl);
|
||||
FWBSettings** st);
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
@@ -57,7 +54,7 @@ int main(int argc, char** argv)
|
||||
app->setOrganizationName(QLatin1String("NetCitadel"));
|
||||
app->setApplicationName(QLatin1String("Firewall Builder"));
|
||||
|
||||
build_app(argc, argv, &app, &st, &wfl);
|
||||
build_app(argc, argv, &app, &st);
|
||||
|
||||
|
||||
QTest::qExec(new instDialogClusterTest());
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
@@ -42,14 +41,12 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
int sig = FWB_SIG;
|
||||
|
||||
|
||||
extern void build_app(int argc, char** argv,
|
||||
FWBApplication** app,
|
||||
FWBSettings** st,
|
||||
UserWorkflow** wfl);
|
||||
FWBSettings** st);
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
@@ -57,7 +54,7 @@ int main(int argc, char** argv)
|
||||
app->setOrganizationName(QLatin1String("NetCitadel"));
|
||||
app->setApplicationName(QLatin1String("Firewall Builder"));
|
||||
|
||||
build_app(argc, argv, &app, &st, &wfl);
|
||||
build_app(argc, argv, &app, &st);
|
||||
|
||||
|
||||
QTest::qExec(new instDialogCompileTest());
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
@@ -42,14 +41,12 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
int sig = FWB_SIG;
|
||||
|
||||
|
||||
extern void build_app(int argc, char** argv,
|
||||
FWBApplication** app,
|
||||
FWBSettings** st,
|
||||
UserWorkflow** wfl);
|
||||
FWBSettings** st);
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
@@ -57,7 +54,7 @@ int main(int argc, char** argv)
|
||||
app->setOrganizationName(QLatin1String("NetCitadel"));
|
||||
app->setApplicationName(QLatin1String("Firewall Builder"));
|
||||
|
||||
build_app(argc, argv, &app, &st, &wfl);
|
||||
build_app(argc, argv, &app, &st);
|
||||
|
||||
|
||||
QTest::qExec(new instDialogInspectTest());
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
@@ -42,14 +41,12 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
int sig = FWB_SIG;
|
||||
|
||||
|
||||
extern void build_app(int argc, char** argv,
|
||||
FWBApplication** app,
|
||||
FWBSettings** st,
|
||||
UserWorkflow** wfl);
|
||||
FWBSettings** st);
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
@@ -57,7 +54,7 @@ int main(int argc, char** argv)
|
||||
app->setOrganizationName(QLatin1String("NetCitadel"));
|
||||
app->setApplicationName(QLatin1String("Firewall Builder"));
|
||||
|
||||
build_app(argc, argv, &app, &st, &wfl);
|
||||
build_app(argc, argv, &app, &st);
|
||||
|
||||
|
||||
QTest::qExec(new instDialogInstallTest());
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
@@ -42,14 +41,12 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
int sig = FWB_SIG;
|
||||
|
||||
|
||||
extern void build_app(int argc, char** argv,
|
||||
FWBApplication** app,
|
||||
FWBSettings** st,
|
||||
UserWorkflow** wfl);
|
||||
FWBSettings** st);
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
@@ -57,7 +54,7 @@ int main(int argc, char** argv)
|
||||
app->setOrganizationName(QLatin1String("NetCitadel"));
|
||||
app->setApplicationName(QLatin1String("Firewall Builder"));
|
||||
|
||||
build_app(argc, argv, &app, &st, &wfl);
|
||||
build_app(argc, argv, &app, &st);
|
||||
|
||||
|
||||
QTest::qExec(new instDialogObjectListTest());
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
#include "FWObjectClipboard.h"
|
||||
|
||||
#include "common/commoninit.h"
|
||||
@@ -49,8 +48,7 @@ extern void init_platforms(); // defined in platforms.cpp
|
||||
|
||||
void build_app(int argc, char** argv,
|
||||
FWBApplication** app,
|
||||
FWBSettings** st,
|
||||
UserWorkflow** wfl)
|
||||
FWBSettings** st)
|
||||
|
||||
{
|
||||
Q_INIT_RESOURCE(MainRes);
|
||||
@@ -65,8 +63,6 @@ void build_app(int argc, char** argv,
|
||||
(*st)->setIntroDialogEnabled(false);
|
||||
(*st)->suppressReminderAboutStandardLib(true);
|
||||
|
||||
*wfl = new UserWorkflow();
|
||||
|
||||
string full_res_path = Constants::getResourcesFilePath();
|
||||
|
||||
new Resources(full_res_path);
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
@@ -42,14 +41,12 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
int sig = FWB_SIG;
|
||||
|
||||
|
||||
extern void build_app(int argc, char** argv,
|
||||
FWBApplication** app,
|
||||
FWBSettings** st,
|
||||
UserWorkflow** wfl);
|
||||
FWBSettings** st);
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
@@ -57,7 +54,7 @@ int main(int argc, char** argv)
|
||||
app->setOrganizationName(QLatin1String("NetCitadel"));
|
||||
app->setApplicationName(QLatin1String("Firewall Builder"));
|
||||
|
||||
build_app(argc, argv, &app, &st, &wfl);
|
||||
build_app(argc, argv, &app, &st);
|
||||
|
||||
|
||||
QTest::qExec(new newClusterDialogTest());
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include "FWWindow.h"
|
||||
#include "FWBSettings.h"
|
||||
#include "FWBApplication.h"
|
||||
#include "UserWorkflow.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
@@ -42,14 +41,12 @@ int fwbdebug = 0;
|
||||
FWWindow *mw = NULL;
|
||||
FWBSettings *st = NULL;
|
||||
FWBApplication *app = NULL;
|
||||
UserWorkflow *wfl;
|
||||
int sig = FWB_SIG;
|
||||
|
||||
|
||||
extern void build_app(int argc, char** argv,
|
||||
FWBApplication** app,
|
||||
FWBSettings** st,
|
||||
UserWorkflow** wfl);
|
||||
FWBSettings** st);
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
@@ -57,7 +54,7 @@ int main(int argc, char** argv)
|
||||
app->setOrganizationName(QLatin1String("NetCitadel"));
|
||||
app->setApplicationName(QLatin1String("Firewall Builder"));
|
||||
|
||||
build_app(argc, argv, &app, &st, &wfl);
|
||||
build_app(argc, argv, &app, &st);
|
||||
|
||||
|
||||
QTest::qExec(new startTipDialogTest());
|
||||
|
||||
@@ -9,9 +9,7 @@ build() {
|
||||
local _d="$1"
|
||||
shift
|
||||
(
|
||||
cd "$_d" &&
|
||||
([ -f Makefile ] || $QMAKE $QMAKEPARAMS) &&
|
||||
"$@"
|
||||
cd "$_d" && $QMAKE $QMAKEPARAMS && "$@"
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user