summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--codemaker/test/cppumaker/test_codemaker_cppumaker.cxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/codemaker/test/cppumaker/test_codemaker_cppumaker.cxx b/codemaker/test/cppumaker/test_codemaker_cppumaker.cxx
index 03c67a9f6007..f07d7a76a71c 100644
--- a/codemaker/test/cppumaker/test_codemaker_cppumaker.cxx
+++ b/codemaker/test/cppumaker/test_codemaker_cppumaker.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: test_codemaker_cppumaker.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 02:19:48 $
+ * last change: $Author: hr $ $Date: 2006-06-20 02:25:38 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -345,6 +345,13 @@ void Test::testExceptions() {
void Test::testConstants() {
CPPUNIT_ASSERT_EQUAL(
+ SAL_MIN_INT8, test::codemaker::cppumaker::Constants::byteMin);
+ CPPUNIT_ASSERT_EQUAL(
+ SAL_MAX_INT8, test::codemaker::cppumaker::Constants::byteMax);
+ CPPUNIT_ASSERT_EQUAL(
+ static_cast< sal_Int8 >(-1),
+ test::codemaker::cppumaker::Constants::byteNeg);
+ CPPUNIT_ASSERT_EQUAL(
SAL_MIN_INT16, test::codemaker::cppumaker::Constants::shortMin);
CPPUNIT_ASSERT_EQUAL(
SAL_MAX_INT16, test::codemaker::cppumaker::Constants::shortMax);