* added number format tests to build of locale kit

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30582 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe 2009-05-02 18:59:35 +00:00
parent 41a9e149b7
commit bd3cb5f1b0
3 changed files with 5 additions and 16 deletions

View File

@ -12,7 +12,7 @@ Depends LocaleKitTests
collatorSpeed
collatorTest
localeTest
# NumberFormatTests
libNumberFormatTests.so
;
rule LocaleTest
@ -35,14 +35,4 @@ Addon catalogTestAddOn
: be liblocale.so
;
# For the unit tests we need liblocale.so to live in the `lib' subdirectory
# of the UnitTester application. We simply create a symlink that can be
# referred to by `<unittests>liblocale.so'.
#{
# local symlink = <unittests>liblocale.so ;
# MakeLocate $(symlink) : [ FDirName $(LOCALE_UNITTESTS_DIR) lib ] ;
# RelSymLink $(symlink) : liblocale.so ;
#}
# TODO: activate this again, once it's working!
# SubInclude HAIKU_TOP src tests kits locale number_format ;
SubInclude HAIKU_TOP src tests kits locale number_format ;

View File

@ -4,12 +4,12 @@ UsePublicHeaders locale ;
SEARCH_SOURCE += [ FDirName $(SUBDIR) generic_number_format ] ;
UnitTest NumberFormatTests
UnitTestLib libNumberFormatTests.so
: NumberFormatTestAddOn.cpp
# BGenericNumberFormat
GenericNumberFormatTests.cpp
GenericNumberFormatConstructorTest.cpp
: be liblocale.so
: be $(TARGET_LIBSTDC++) liblocale.so
;

View File

@ -4,13 +4,12 @@
#include "generic_number_format/GenericNumberFormatTests.h"
// getTestSuite
_EXPORT
BTestSuite*
getTestSuite()
{
BTestSuite *suite = new BTestSuite("NumberFormat");
suite->addTest("BGenericNumberFormat", GenericNumberFormatTestSuite());
return suite;
}