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 | 817aeb094a71f00f5569cd2d050874ca162475d6 (patch) | |
tree | 4f36b15ae8365cb7bf205456e1ddfdefca080f1d /codemaker | |
parent | 08bba5d77c92e3900372739fed428faf3f5f8e2f (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')
-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 03c67a9f6..f07d7a76a 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); |