summaryrefslogtreecommitdiff
path: root/svl/qa
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-02-23 16:31:46 -0500
committerKohei Yoshida <kyoshida@novell.com>2011-02-23 16:31:46 -0500
commit0f3b0b411ba97d07e5dcb0d0bcdcbf1a094d14bb (patch)
tree2ab05e553e293de4dd8752b93319d126b98609d4 /svl/qa
parentd2a16264ec6cb1ca5e8178096b72053a357cb3fb (diff)
Run unit test as part of the build.
For now, there is no test yet, but it's coming soon.
Diffstat (limited to 'svl/qa')
-rw-r--r--svl/qa/unit/makefile.mk2
-rw-r--r--svl/qa/unit/svl.cxx6
2 files changed, 7 insertions, 1 deletions
diff --git a/svl/qa/unit/makefile.mk b/svl/qa/unit/makefile.mk
index a08691972366..e039c410c8bd 100644
--- a/svl/qa/unit/makefile.mk
+++ b/svl/qa/unit/makefile.mk
@@ -34,7 +34,7 @@ ENABLE_EXCEPTIONS=TRUE
.INCLUDE : settings.mk
-CFLAGSCXX += $(CPPUNIT_CFLAGS)
+CFLAGSCXX += $(CPPUNIT_CFLAGS) -I../../inc
SHL1TARGET = $(TARGET)
SHL1OBJS = $(SLO)$/svl.obj
diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx
index 363ba012bba9..390d3a5d2e8b 100644
--- a/svl/qa/unit/svl.cxx
+++ b/svl/qa/unit/svl.cxx
@@ -64,6 +64,11 @@
#include <com/sun/star/sheet/GeneralFunction.hpp>
#include <com/sun/star/lang/XComponent.hpp>
+#include <i18npool/lang.h>
+
+#include "svl/zforlist.hxx"
+#include "svl/zformat.hxx"
+
#include <iostream>
using namespace ::com::sun::star;
@@ -126,6 +131,7 @@ Test::~Test()
void Test::testNumberFormat()
{
+ SvNumberFormatter aFormatter(LANGUAGE_ENGLISH_US);
}
CPPUNIT_TEST_SUITE_REGISTRATION(Test);