mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-20 02:48:12 +08:00
odf test project initialized
This commit is contained in:
24
OdfFile/Test/test.cpp
Normal file
24
OdfFile/Test/test.cpp
Normal file
@ -0,0 +1,24 @@
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
class ODP2OOX_AnimationTest : public testing::Test
|
||||
{
|
||||
public:
|
||||
void SetUp() override
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void TearDown() override
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
|
||||
TEST_F(ODP2OOX_AnimationTest, hello_test)
|
||||
{
|
||||
|
||||
EXPECT_EQ(1, 1);
|
||||
}
|
||||
44
OdfFile/Test/test_odf.pro
Normal file
44
OdfFile/Test/test_odf.pro
Normal file
@ -0,0 +1,44 @@
|
||||
QT -= core
|
||||
QT -= gui
|
||||
|
||||
TARGET = test
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
|
||||
TEMPLATE = app
|
||||
|
||||
CONFIG += core_static_link_libstd
|
||||
|
||||
CORE_ROOT_DIR = $$PWD/../../../core
|
||||
CORE_3DPARTY_DIR = $$CORE_ROOT_DIR/Common/3dParty
|
||||
PWD_ROOT_DIR = $$PWD
|
||||
|
||||
include($$CORE_ROOT_DIR/Common/base.pri)
|
||||
include($$CORE_3DPARTY_DIR/googletest/googletest.pri)
|
||||
|
||||
DESTDIR = $$PWD/build
|
||||
|
||||
INCLUDEPATH += ../
|
||||
|
||||
ADD_DEPENDENCY(doctrenderer)
|
||||
ADD_DEPENDENCY(HtmlRenderer)
|
||||
ADD_DEPENDENCY(DocxRenderer)
|
||||
ADD_DEPENDENCY(PdfFile)
|
||||
ADD_DEPENDENCY(XpsFile)
|
||||
ADD_DEPENDENCY(EpubFile)
|
||||
ADD_DEPENDENCY(DjVuFile)
|
||||
ADD_DEPENDENCY(Fb2File)
|
||||
ADD_DEPENDENCY(HtmlFile2)
|
||||
ADD_DEPENDENCY(graphics)
|
||||
ADD_DEPENDENCY(kernel)
|
||||
ADD_DEPENDENCY(kernel_network)
|
||||
ADD_DEPENDENCY(UnicodeConverter)
|
||||
|
||||
core_linux {
|
||||
LIBS += -Wl,-unresolved-symbols=ignore-in-shared-libs
|
||||
LIBS += -ldl
|
||||
}
|
||||
|
||||
SOURCES += \
|
||||
test.cpp
|
||||
|
||||
Reference in New Issue
Block a user