From 0cc20500359030b720cb9cc07de67d47ad6c75a1 Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Tue, 20 Jun 2006 01:25:38 +0000
Subject: INTEGRATION: CWS warnings01 (1.6.16); FILE MERGED 2005/09/22 22:30:40
sb 1.6.16.2: RESYNC: (1.6-1.7); FILE MERGED 2005/09/14 12:02:35 sb 1.6.16.1:
#i53898# Improved tests.
---
codemaker/test/cppumaker/test_codemaker_cppumaker.cxx | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
(limited to 'codemaker/test')
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.
@@ -344,6 +344,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(
--
cgit