diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 01:25:38 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 01:25:38 +0000 |
commit | 0cc20500359030b720cb9cc07de67d47ad6c75a1 (patch) | |
tree | 3011c8bed22f72f2c4b56710951c53252dde8d1b /codemaker/test | |
parent | aa6734328fa9f47189b66bf143f678aebcea3560 (diff) |
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.
Diffstat (limited to 'codemaker/test')
-rw-r--r-- | codemaker/test/cppumaker/test_codemaker_cppumaker.cxx | 11 |
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); |