QT += testlib
QT -= gui

CONFIG += console
CONFIG -= app_bundle

TARGET = UnitTest
TEMPLATE = app

INCLUDEPATH += \
    /opt/local/include \
    /opt/local/include/mongo \
    src test

LIBS += \
    -lssl -lcrypto \
    -L../sptcore-build-desktop -lsptcore \
    -L/opt/local/lib \
    -lmongoclient -lboost_thread-mt -lboost_filesystem \
    -lboost_program_options -lboost_system


SOURCES += \
    test/main.cpp \
    test/util/EncrypterTestSuite.cpp \
    test/util/DesEncrypterTest.cpp \
    test/util/MultipleDecryptTest.cpp \
    test/mongo/ManagerTest.cpp \
    test/mongo/RoleManagerTest.cpp \
    test/mongo/UserManagerTest.cpp \
    test/mongo/CategoryManagerTest.cpp \
    test/mongo/ContentManagerTest.cpp

HEADERS += \
    test/AutoTest.h \
    test/util/EncrypterTestSuite.h \
    test/util/DesEncrypterTest.h \
    test/util/MultipleDecryptTest.h \
    test/mongo/ManagerTest.h \
    test/mongo/RoleManagerTest.h \
    test/mongo/UserManagerTest.h \
    test/mongo/CategoryManagerTest.h \
    test/mongo/ContentManagerTest.h
