mirror of
https://github.com/tnodir/fort
synced 2024-11-15 08:25:20 +00:00
Tests: Rename UIPATH to UI_PWD.
This commit is contained in:
parent
28d596a8f9
commit
a7ead13271
@ -6,8 +6,8 @@ CONFIG -= app_bundle
|
||||
TARGET = test
|
||||
TEMPLATE = app
|
||||
|
||||
UIPATH = $$PWD/../../ui
|
||||
INCLUDEPATH += $$UIPATH
|
||||
UI_PWD = $$PWD/../../ui
|
||||
INCLUDEPATH += $$UI_PWD
|
||||
|
||||
INCLUDEPATH += $$PWD
|
||||
|
||||
@ -20,7 +20,7 @@ HEADERS += \
|
||||
test.h
|
||||
|
||||
# Driver integration
|
||||
include($$UIPATH/../driver/Driver.pri)
|
||||
include($$UI_PWD/../driver/Driver.pri)
|
||||
|
||||
# Windows
|
||||
LIBS += -lfwpuclnt -lkernel32 -luser32 -luuid -lws2_32
|
||||
|
@ -1,35 +1,35 @@
|
||||
include(../common/Test.pri)
|
||||
|
||||
SOURCES += \
|
||||
$$UIPATH/conf/addressgroup.cpp \
|
||||
$$UIPATH/conf/appgroup.cpp \
|
||||
$$UIPATH/conf/firewallconf.cpp \
|
||||
$$UIPATH/fortcommon.cpp \
|
||||
$$UIPATH/util/conf/addressrange.cpp \
|
||||
$$UIPATH/util/conf/confutil.cpp \
|
||||
$$UIPATH/util/dateutil.cpp \
|
||||
$$UIPATH/util/envmanager.cpp \
|
||||
$$UIPATH/util/fileutil.cpp \
|
||||
$$UIPATH/util/net/ip4range.cpp \
|
||||
$$UIPATH/util/net/netutil.cpp \
|
||||
$$UIPATH/util/osutil.cpp \
|
||||
$$UIPATH/util/processinfo.cpp \
|
||||
$$UIPATH/util/stringutil.cpp
|
||||
$$UI_PWD/conf/addressgroup.cpp \
|
||||
$$UI_PWD/conf/appgroup.cpp \
|
||||
$$UI_PWD/conf/firewallconf.cpp \
|
||||
$$UI_PWD/fortcommon.cpp \
|
||||
$$UI_PWD/util/conf/addressrange.cpp \
|
||||
$$UI_PWD/util/conf/confutil.cpp \
|
||||
$$UI_PWD/util/dateutil.cpp \
|
||||
$$UI_PWD/util/envmanager.cpp \
|
||||
$$UI_PWD/util/fileutil.cpp \
|
||||
$$UI_PWD/util/net/ip4range.cpp \
|
||||
$$UI_PWD/util/net/netutil.cpp \
|
||||
$$UI_PWD/util/osutil.cpp \
|
||||
$$UI_PWD/util/processinfo.cpp \
|
||||
$$UI_PWD/util/stringutil.cpp
|
||||
|
||||
HEADERS += \
|
||||
$$UIPATH/conf/addressgroup.h \
|
||||
$$UIPATH/conf/appgroup.h \
|
||||
$$UIPATH/conf/firewallconf.h \
|
||||
$$UIPATH/fortcommon.h \
|
||||
$$UIPATH/fortcompat.h \
|
||||
$$UIPATH/util/conf/addressrange.h \
|
||||
$$UIPATH/util/conf/confappswalker.h \
|
||||
$$UIPATH/util/conf/confutil.h \
|
||||
$$UIPATH/util/dateutil.h \
|
||||
$$UIPATH/util/envmanager.h \
|
||||
$$UIPATH/util/fileutil.h \
|
||||
$$UIPATH/util/net/ip4range.h \
|
||||
$$UIPATH/util/net/netutil.h \
|
||||
$$UIPATH/util/osutil.h \
|
||||
$$UIPATH/util/processinfo.h \
|
||||
$$UIPATH/util/stringutil.h
|
||||
$$UI_PWD/conf/addressgroup.h \
|
||||
$$UI_PWD/conf/appgroup.h \
|
||||
$$UI_PWD/conf/firewallconf.h \
|
||||
$$UI_PWD/fortcommon.h \
|
||||
$$UI_PWD/fortcompat.h \
|
||||
$$UI_PWD/util/conf/addressrange.h \
|
||||
$$UI_PWD/util/conf/confappswalker.h \
|
||||
$$UI_PWD/util/conf/confutil.h \
|
||||
$$UI_PWD/util/dateutil.h \
|
||||
$$UI_PWD/util/envmanager.h \
|
||||
$$UI_PWD/util/fileutil.h \
|
||||
$$UI_PWD/util/net/ip4range.h \
|
||||
$$UI_PWD/util/net/netutil.h \
|
||||
$$UI_PWD/util/osutil.h \
|
||||
$$UI_PWD/util/processinfo.h \
|
||||
$$UI_PWD/util/stringutil.h
|
||||
|
@ -1,11 +1,11 @@
|
||||
include(../common/Test.pri)
|
||||
|
||||
SOURCES += \
|
||||
$$UIPATH/util/fileutil.cpp \
|
||||
$$UIPATH/util/osutil.cpp \
|
||||
$$UIPATH/util/processinfo.cpp
|
||||
$$UI_PWD/util/fileutil.cpp \
|
||||
$$UI_PWD/util/osutil.cpp \
|
||||
$$UI_PWD/util/processinfo.cpp
|
||||
|
||||
HEADERS += \
|
||||
$$UIPATH/util/fileutil.h \
|
||||
$$UIPATH/util/osutil.h \
|
||||
$$UIPATH/util/processinfo.h
|
||||
$$UI_PWD/util/fileutil.h \
|
||||
$$UI_PWD/util/osutil.h \
|
||||
$$UI_PWD/util/processinfo.h
|
||||
|
@ -1,30 +1,30 @@
|
||||
include(../common/Test.pri)
|
||||
|
||||
SOURCES += \
|
||||
$$UIPATH/fortcommon.cpp \
|
||||
$$UIPATH/log/logbuffer.cpp \
|
||||
$$UIPATH/log/logentry.cpp \
|
||||
$$UIPATH/log/logentryblocked.cpp \
|
||||
$$UIPATH/log/logentryprocnew.cpp \
|
||||
$$UIPATH/log/logentrystattraf.cpp \
|
||||
$$UIPATH/util/dateutil.cpp \
|
||||
$$UIPATH/util/fileutil.cpp \
|
||||
$$UIPATH/util/net/netutil.cpp \
|
||||
$$UIPATH/util/osutil.cpp \
|
||||
$$UIPATH/util/processinfo.cpp \
|
||||
$$UIPATH/util/stringutil.cpp
|
||||
$$UI_PWD/fortcommon.cpp \
|
||||
$$UI_PWD/log/logbuffer.cpp \
|
||||
$$UI_PWD/log/logentry.cpp \
|
||||
$$UI_PWD/log/logentryblocked.cpp \
|
||||
$$UI_PWD/log/logentryprocnew.cpp \
|
||||
$$UI_PWD/log/logentrystattraf.cpp \
|
||||
$$UI_PWD/util/dateutil.cpp \
|
||||
$$UI_PWD/util/fileutil.cpp \
|
||||
$$UI_PWD/util/net/netutil.cpp \
|
||||
$$UI_PWD/util/osutil.cpp \
|
||||
$$UI_PWD/util/processinfo.cpp \
|
||||
$$UI_PWD/util/stringutil.cpp
|
||||
|
||||
HEADERS += \
|
||||
$$UIPATH/fortcommon.h \
|
||||
$$UIPATH/fortcompat.h \
|
||||
$$UIPATH/log/logbuffer.h \
|
||||
$$UIPATH/log/logentry.h \
|
||||
$$UIPATH/log/logentryblocked.h \
|
||||
$$UIPATH/log/logentryprocnew.h \
|
||||
$$UIPATH/log/logentrystattraf.h \
|
||||
$$UIPATH/util/dateutil.h \
|
||||
$$UIPATH/util/fileutil.h \
|
||||
$$UIPATH/util/net/netutil.h \
|
||||
$$UIPATH/util/osutil.h \
|
||||
$$UIPATH/util/processinfo.h \
|
||||
$$UIPATH/util/stringutil.h
|
||||
$$UI_PWD/fortcommon.h \
|
||||
$$UI_PWD/fortcompat.h \
|
||||
$$UI_PWD/log/logbuffer.h \
|
||||
$$UI_PWD/log/logentry.h \
|
||||
$$UI_PWD/log/logentryblocked.h \
|
||||
$$UI_PWD/log/logentryprocnew.h \
|
||||
$$UI_PWD/log/logentrystattraf.h \
|
||||
$$UI_PWD/util/dateutil.h \
|
||||
$$UI_PWD/util/fileutil.h \
|
||||
$$UI_PWD/util/net/netutil.h \
|
||||
$$UI_PWD/util/osutil.h \
|
||||
$$UI_PWD/util/processinfo.h \
|
||||
$$UI_PWD/util/stringutil.h
|
||||
|
@ -1,47 +1,47 @@
|
||||
include(../common/Test.pri)
|
||||
|
||||
SOURCES += \
|
||||
$$UIPATH/conf/addressgroup.cpp \
|
||||
$$UIPATH/conf/appgroup.cpp \
|
||||
$$UIPATH/conf/firewallconf.cpp \
|
||||
$$UIPATH/fortcommon.cpp \
|
||||
$$UIPATH/log/logbuffer.cpp \
|
||||
$$UIPATH/log/logentry.cpp \
|
||||
$$UIPATH/log/logentryblocked.cpp \
|
||||
$$UIPATH/log/logentryprocnew.cpp \
|
||||
$$UIPATH/log/logentrystattraf.cpp \
|
||||
$$UIPATH/util/conf/addressrange.cpp \
|
||||
$$UIPATH/util/conf/confutil.cpp \
|
||||
$$UIPATH/util/dateutil.cpp \
|
||||
$$UIPATH/util/device.cpp \
|
||||
$$UIPATH/util/envmanager.cpp \
|
||||
$$UIPATH/util/fileutil.cpp \
|
||||
$$UIPATH/util/net/ip4range.cpp \
|
||||
$$UIPATH/util/net/netutil.cpp \
|
||||
$$UIPATH/util/osutil.cpp \
|
||||
$$UIPATH/util/processinfo.cpp \
|
||||
$$UIPATH/util/stringutil.cpp
|
||||
$$UI_PWD/conf/addressgroup.cpp \
|
||||
$$UI_PWD/conf/appgroup.cpp \
|
||||
$$UI_PWD/conf/firewallconf.cpp \
|
||||
$$UI_PWD/fortcommon.cpp \
|
||||
$$UI_PWD/log/logbuffer.cpp \
|
||||
$$UI_PWD/log/logentry.cpp \
|
||||
$$UI_PWD/log/logentryblocked.cpp \
|
||||
$$UI_PWD/log/logentryprocnew.cpp \
|
||||
$$UI_PWD/log/logentrystattraf.cpp \
|
||||
$$UI_PWD/util/conf/addressrange.cpp \
|
||||
$$UI_PWD/util/conf/confutil.cpp \
|
||||
$$UI_PWD/util/dateutil.cpp \
|
||||
$$UI_PWD/util/device.cpp \
|
||||
$$UI_PWD/util/envmanager.cpp \
|
||||
$$UI_PWD/util/fileutil.cpp \
|
||||
$$UI_PWD/util/net/ip4range.cpp \
|
||||
$$UI_PWD/util/net/netutil.cpp \
|
||||
$$UI_PWD/util/osutil.cpp \
|
||||
$$UI_PWD/util/processinfo.cpp \
|
||||
$$UI_PWD/util/stringutil.cpp
|
||||
|
||||
HEADERS += \
|
||||
$$UIPATH/conf/addressgroup.h \
|
||||
$$UIPATH/conf/appgroup.h \
|
||||
$$UIPATH/conf/firewallconf.h \
|
||||
$$UIPATH/fortcommon.h \
|
||||
$$UIPATH/fortcompat.h \
|
||||
$$UIPATH/log/logbuffer.h \
|
||||
$$UIPATH/log/logentry.h \
|
||||
$$UIPATH/log/logentryblocked.h \
|
||||
$$UIPATH/log/logentryprocnew.h \
|
||||
$$UIPATH/log/logentrystattraf.h \
|
||||
$$UIPATH/util/conf/addressrange.h \
|
||||
$$UIPATH/util/conf/confappswalker.h \
|
||||
$$UIPATH/util/conf/confutil.h \
|
||||
$$UIPATH/util/dateutil.h \
|
||||
$$UIPATH/util/device.h \
|
||||
$$UIPATH/util/envmanager.h \
|
||||
$$UIPATH/util/fileutil.h \
|
||||
$$UIPATH/util/net/ip4range.h \
|
||||
$$UIPATH/util/net/netutil.h \
|
||||
$$UIPATH/util/osutil.h \
|
||||
$$UIPATH/util/processinfo.h \
|
||||
$$UIPATH/util/stringutil.h
|
||||
$$UI_PWD/conf/addressgroup.h \
|
||||
$$UI_PWD/conf/appgroup.h \
|
||||
$$UI_PWD/conf/firewallconf.h \
|
||||
$$UI_PWD/fortcommon.h \
|
||||
$$UI_PWD/fortcompat.h \
|
||||
$$UI_PWD/log/logbuffer.h \
|
||||
$$UI_PWD/log/logentry.h \
|
||||
$$UI_PWD/log/logentryblocked.h \
|
||||
$$UI_PWD/log/logentryprocnew.h \
|
||||
$$UI_PWD/log/logentrystattraf.h \
|
||||
$$UI_PWD/util/conf/addressrange.h \
|
||||
$$UI_PWD/util/conf/confappswalker.h \
|
||||
$$UI_PWD/util/conf/confutil.h \
|
||||
$$UI_PWD/util/dateutil.h \
|
||||
$$UI_PWD/util/device.h \
|
||||
$$UI_PWD/util/envmanager.h \
|
||||
$$UI_PWD/util/fileutil.h \
|
||||
$$UI_PWD/util/net/ip4range.h \
|
||||
$$UI_PWD/util/net/netutil.h \
|
||||
$$UI_PWD/util/osutil.h \
|
||||
$$UI_PWD/util/processinfo.h \
|
||||
$$UI_PWD/util/stringutil.h
|
||||
|
@ -1,45 +1,45 @@
|
||||
include(../common/Test.pri)
|
||||
|
||||
SOURCES += \
|
||||
$$UIPATH/conf/addressgroup.cpp \
|
||||
$$UIPATH/conf/appgroup.cpp \
|
||||
$$UIPATH/conf/firewallconf.cpp \
|
||||
$$UIPATH/fortcommon.cpp \
|
||||
$$UIPATH/task/taskdownloader.cpp \
|
||||
$$UIPATH/task/taskzonedownloader.cpp \
|
||||
$$UIPATH/task/taskworker.cpp \
|
||||
$$UIPATH/util/conf/addressrange.cpp \
|
||||
$$UIPATH/util/conf/confutil.cpp \
|
||||
$$UIPATH/util/dateutil.cpp \
|
||||
$$UIPATH/util/envmanager.cpp \
|
||||
$$UIPATH/util/fileutil.cpp \
|
||||
$$UIPATH/util/net/ip4range.cpp \
|
||||
$$UIPATH/util/net/netdownloader.cpp \
|
||||
$$UIPATH/util/net/netutil.cpp \
|
||||
$$UIPATH/util/osutil.cpp \
|
||||
$$UIPATH/util/processinfo.cpp \
|
||||
$$UIPATH/util/stringutil.cpp
|
||||
$$UI_PWD/conf/addressgroup.cpp \
|
||||
$$UI_PWD/conf/appgroup.cpp \
|
||||
$$UI_PWD/conf/firewallconf.cpp \
|
||||
$$UI_PWD/fortcommon.cpp \
|
||||
$$UI_PWD/task/taskdownloader.cpp \
|
||||
$$UI_PWD/task/taskzonedownloader.cpp \
|
||||
$$UI_PWD/task/taskworker.cpp \
|
||||
$$UI_PWD/util/conf/addressrange.cpp \
|
||||
$$UI_PWD/util/conf/confutil.cpp \
|
||||
$$UI_PWD/util/dateutil.cpp \
|
||||
$$UI_PWD/util/envmanager.cpp \
|
||||
$$UI_PWD/util/fileutil.cpp \
|
||||
$$UI_PWD/util/net/ip4range.cpp \
|
||||
$$UI_PWD/util/net/netdownloader.cpp \
|
||||
$$UI_PWD/util/net/netutil.cpp \
|
||||
$$UI_PWD/util/osutil.cpp \
|
||||
$$UI_PWD/util/processinfo.cpp \
|
||||
$$UI_PWD/util/stringutil.cpp
|
||||
|
||||
HEADERS += \
|
||||
$$UIPATH/conf/addressgroup.h \
|
||||
$$UIPATH/conf/appgroup.h \
|
||||
$$UIPATH/conf/firewallconf.h \
|
||||
$$UIPATH/fortcommon.h \
|
||||
$$UIPATH/fortcompat.h \
|
||||
$$UIPATH/task/taskdownloader.h \
|
||||
$$UIPATH/task/taskzonedownloader.h \
|
||||
$$UIPATH/task/taskworker.h \
|
||||
$$UIPATH/util/conf/addressrange.h \
|
||||
$$UIPATH/util/conf/confutil.h \
|
||||
$$UIPATH/util/dateutil.h \
|
||||
$$UIPATH/util/envmanager.h \
|
||||
$$UIPATH/util/fileutil.h \
|
||||
$$UIPATH/util/net/ip4range.h \
|
||||
$$UIPATH/util/net/netdownloader.h \
|
||||
$$UIPATH/util/net/netutil.h \
|
||||
$$UIPATH/util/osutil.h \
|
||||
$$UIPATH/util/processinfo.h \
|
||||
$$UIPATH/util/stringutil.h
|
||||
$$UI_PWD/conf/addressgroup.h \
|
||||
$$UI_PWD/conf/appgroup.h \
|
||||
$$UI_PWD/conf/firewallconf.h \
|
||||
$$UI_PWD/fortcommon.h \
|
||||
$$UI_PWD/fortcompat.h \
|
||||
$$UI_PWD/task/taskdownloader.h \
|
||||
$$UI_PWD/task/taskzonedownloader.h \
|
||||
$$UI_PWD/task/taskworker.h \
|
||||
$$UI_PWD/util/conf/addressrange.h \
|
||||
$$UI_PWD/util/conf/confutil.h \
|
||||
$$UI_PWD/util/dateutil.h \
|
||||
$$UI_PWD/util/envmanager.h \
|
||||
$$UI_PWD/util/fileutil.h \
|
||||
$$UI_PWD/util/net/ip4range.h \
|
||||
$$UI_PWD/util/net/netdownloader.h \
|
||||
$$UI_PWD/util/net/netutil.h \
|
||||
$$UI_PWD/util/osutil.h \
|
||||
$$UI_PWD/util/processinfo.h \
|
||||
$$UI_PWD/util/stringutil.h
|
||||
|
||||
DEFINES += \
|
||||
PWD='"$$PWD"'
|
||||
|
@ -3,44 +3,44 @@ include(../common/Test.pri)
|
||||
QT += gui
|
||||
|
||||
SOURCES += \
|
||||
$$UIPATH/conf/addressgroup.cpp \
|
||||
$$UIPATH/conf/appgroup.cpp \
|
||||
$$UIPATH/conf/firewallconf.cpp \
|
||||
$$UIPATH/fortcommon.cpp \
|
||||
$$UIPATH/fortsettings.cpp \
|
||||
$$UIPATH/stat/quotamanager.cpp \
|
||||
$$UIPATH/stat/statmanager.cpp \
|
||||
$$UIPATH/stat/statsql.cpp \
|
||||
$$UIPATH/util/dateutil.cpp \
|
||||
$$UIPATH/util/fileutil.cpp \
|
||||
$$UIPATH/util/net/netutil.cpp \
|
||||
$$UIPATH/util/osutil.cpp \
|
||||
$$UIPATH/util/processinfo.cpp \
|
||||
$$UIPATH/util/stringutil.cpp
|
||||
$$UI_PWD/conf/addressgroup.cpp \
|
||||
$$UI_PWD/conf/appgroup.cpp \
|
||||
$$UI_PWD/conf/firewallconf.cpp \
|
||||
$$UI_PWD/fortcommon.cpp \
|
||||
$$UI_PWD/fortsettings.cpp \
|
||||
$$UI_PWD/stat/quotamanager.cpp \
|
||||
$$UI_PWD/stat/statmanager.cpp \
|
||||
$$UI_PWD/stat/statsql.cpp \
|
||||
$$UI_PWD/util/dateutil.cpp \
|
||||
$$UI_PWD/util/fileutil.cpp \
|
||||
$$UI_PWD/util/net/netutil.cpp \
|
||||
$$UI_PWD/util/osutil.cpp \
|
||||
$$UI_PWD/util/processinfo.cpp \
|
||||
$$UI_PWD/util/stringutil.cpp
|
||||
|
||||
HEADERS += \
|
||||
$$UIPATH/conf/addressgroup.h \
|
||||
$$UIPATH/conf/appgroup.h \
|
||||
$$UIPATH/conf/firewallconf.h \
|
||||
$$UIPATH/fortcommon.h \
|
||||
$$UIPATH/fortcompat.h \
|
||||
$$UIPATH/fortsettings.h \
|
||||
$$UIPATH/stat/quotamanager.h \
|
||||
$$UIPATH/stat/statmanager.h \
|
||||
$$UIPATH/stat/statsql.h \
|
||||
$$UIPATH/util/dateutil.h \
|
||||
$$UIPATH/util/fileutil.h \
|
||||
$$UIPATH/util/net/netutil.h \
|
||||
$$UIPATH/util/osutil.h \
|
||||
$$UIPATH/util/processinfo.h \
|
||||
$$UIPATH/util/stringutil.h
|
||||
$$UI_PWD/conf/addressgroup.h \
|
||||
$$UI_PWD/conf/appgroup.h \
|
||||
$$UI_PWD/conf/firewallconf.h \
|
||||
$$UI_PWD/fortcommon.h \
|
||||
$$UI_PWD/fortcompat.h \
|
||||
$$UI_PWD/fortsettings.h \
|
||||
$$UI_PWD/stat/quotamanager.h \
|
||||
$$UI_PWD/stat/statmanager.h \
|
||||
$$UI_PWD/stat/statsql.h \
|
||||
$$UI_PWD/util/dateutil.h \
|
||||
$$UI_PWD/util/fileutil.h \
|
||||
$$UI_PWD/util/net/netutil.h \
|
||||
$$UI_PWD/util/osutil.h \
|
||||
$$UI_PWD/util/processinfo.h \
|
||||
$$UI_PWD/util/stringutil.h
|
||||
|
||||
# Test Data
|
||||
RESOURCES += data.qrc
|
||||
|
||||
# Stat Migrations
|
||||
RESOURCES += $$UIPATH/stat/stat-migrations.qrc
|
||||
RESOURCES += $$UI_PWD/stat/stat-migrations.qrc
|
||||
|
||||
# 3rd party integrations
|
||||
CONFIG += sqlite
|
||||
include($$UIPATH/3rdparty/3rdparty.pri)
|
||||
include($$UI_PWD/3rdparty/3rdparty.pri)
|
||||
|
Loading…
Reference in New Issue
Block a user