activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject [1/2] Updates
Date Mon, 25 Nov 2013 20:11:18 GMT
Updated Branches:
  refs/heads/trunk 792d16f4d -> 76ec5822f


http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/76ec5822/activemq-cpp/src/main/decaf/lang/Long.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/decaf/lang/Long.h b/activemq-cpp/src/main/decaf/lang/Long.h
index 46e7a52..b7bdee5 100644
--- a/activemq-cpp/src/main/decaf/lang/Long.h
+++ b/activemq-cpp/src/main/decaf/lang/Long.h
@@ -19,12 +19,13 @@
 #define _DECAF_LANG_LONG_H_
 
 #include <decaf/lang/Number.h>
+#include <decaf/lang/String.h>
 #include <decaf/lang/Comparable.h>
 #include <decaf/lang/exceptions/NumberFormatException.h>
 #include <string>
 
-namespace decaf{
-namespace lang{
+namespace decaf {
+namespace lang {
 
     class DECAF_API Long : public Number,
                            public Comparable<Long>,
@@ -62,10 +63,9 @@ namespace lang{
          *
          * @throws NumberFormatException if the string is not a a valid 64bit long.
          */
-        Long(const std::string& value);
+        Long(const String& value);
 
-        virtual ~Long() {
-        }
+        virtual ~Long();
 
         /**
          * Compares this Long instance with another.
@@ -221,7 +221,7 @@ namespace lang{
          * @returns a Long object containing the decoded value
          * @throws NumberFomatException if the string is not formatted correctly.
          */
-        static Long decode(const std::string& value);
+        static Long decode(const String& value);
 
         /**
          * Returns an long long value with at most a single one-bit, in the position
@@ -291,7 +291,7 @@ namespace lang{
          * @return long long value
          * @throws NumberFormatException on invalid string value
          */
-        static long long parseLong(const std::string& value);
+        static long long parseLong(const String& value);
 
         /**
          * Returns a Long object holding the value extracted from the specified
@@ -305,7 +305,7 @@ namespace lang{
          * @return long long value
          * @throws NumberFormatException on invalid string value
          */
-        static long long parseLong(const std::string& value, int radix);
+        static long long parseLong(const String& value, int radix);
 
         /**
          * Returns the value obtained by reversing the order of the bytes in the
@@ -473,31 +473,38 @@ namespace lang{
          * Returns a Long object holding the value given by the specified
          * std::string.  The argument is interpreted as representing a signed
          * decimal long long, exactly as if the argument were given to the
-         * parseLong( std::string ) method. The result is a Integer object that
+         * parseLong( String ) method. The result is a Integer object that
          * represents the long long value specified by the string.
-         * @param value - std::string to parse as base 10
+         *
+         * @param value
+         *      String to parse as base 10
+         *
          * @return new Long Object wrapping the primitive
          * @throws NumberFormatException if the string is not a decimal long long.
          */
-        static Long valueOf(const std::string& value);
+        static Long valueOf(const String& value);
 
         /**
          * Returns a Long object holding the value extracted from the specified
          * std::string when parsed with the radix given by the second argument.
          * The first argument is interpreted as representing a signed long long in the
          * radix specified by the second argument, exactly as if the argument were
-         * given to the parseLong( std::string, int ) method. The result is a
+         * given to the parseLong(String, int) method. The result is a
          * Long object that represents the long long value specified by the string.
-         * @param value - std::string to parse as base ( radix )
-         * @param radix - base of the string to parse.
+         *
+         * @param value
+         *      String to parse as base ( radix )
+         * @param radix
+         *      base of the string to parse.
+         *
          * @return new Long Object wrapping the primitive
          * @throws NumberFormatException if the string is not a valid long long.
          */
-        static Long valueOf(const std::string& value, int radix);
+        static Long valueOf(const String& value, int radix);
 
     private:
 
-        static long long parse(const std::string& value, int offset, int radix, bool
negative);
+        static long long parse(const String& value, int offset, int radix, bool negative);
 
     };
 

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/76ec5822/activemq-cpp/src/main/decaf/lang/Number.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/decaf/lang/Number.h b/activemq-cpp/src/main/decaf/lang/Number.h
index 6daf0da..6d2f582 100644
--- a/activemq-cpp/src/main/decaf/lang/Number.h
+++ b/activemq-cpp/src/main/decaf/lang/Number.h
@@ -35,7 +35,7 @@ namespace lang{
     class DECAF_API Number {
     public:
 
-        virtual ~Number() {}
+        virtual ~Number();
 
         /**
          * Answers the byte value which the receiver represents

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/76ec5822/activemq-cpp/src/main/decaf/lang/Short.cpp
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/decaf/lang/Short.cpp b/activemq-cpp/src/main/decaf/lang/Short.cpp
index f3669d2..c2a129f 100644
--- a/activemq-cpp/src/main/decaf/lang/Short.cpp
+++ b/activemq-cpp/src/main/decaf/lang/Short.cpp
@@ -30,87 +30,88 @@ const short Short::MAX_VALUE = (short)0x7FFF;
 const short Short::MIN_VALUE = (short)0x8000;
 
 ////////////////////////////////////////////////////////////////////////////////
-Short::Short( short value ) : value(value) {
+Short::Short(short value) : value(value) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-Short::Short( const std::string& value ) : value(0) {
-    Short::parseShort( value );
+Short::Short(const String& value) : value(0) {
+    Short::parseShort(value);
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-int Short::compareTo( const Short& s ) const {
-    return value == s.value ? 0 : ( value > s.value ? 1 : -1 );
+Short::~Short() {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-int Short::compareTo( const short& s ) const {
-    return value == s ? 0 : ( value > s ? 1 : -1 );
+int Short::compareTo(const Short& s) const {
+    return value == s.value ? 0 : (value > s.value ? 1 : -1);
+}
+
+////////////////////////////////////////////////////////////////////////////////
+int Short::compareTo(const short& s) const {
+    return value == s ? 0 : (value > s ? 1 : -1);
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 std::string Short::toString() const {
-    return Integer::toString( this->value );
+    return Integer::toString(this->value);
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-std::string Short::toString( short value ) {
-    return Integer::toString( value );
+std::string Short::toString(short value) {
+    return Integer::toString(value);
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-short Short::parseShort( const std::string& s, int radix ) {
+short Short::parseShort(const String& s, int radix) {
 
-    int intValue = Integer::parseInt( s, radix );
-    short result = (short)intValue;
-    if( result != intValue ) {
+    int intValue = Integer::parseInt(s, radix);
+    short result = (short) intValue;
+    if (result != intValue) {
         throw NumberFormatException(
-            __FILE__, __LINE__,
-            "Short::parseShort - Not a valid short encoded string.");
+        __FILE__, __LINE__, "Short::parseShort - Not a valid short encoded string.");
     }
 
     return result;
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-short Short::parseShort( const std::string& s ) {
-    return parseShort( s, 10 );
+short Short::parseShort(const String& s) {
+    return parseShort(s, 10);
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-Short Short::decode( const std::string& value ) {
+Short Short::decode(const String& value) {
 
-    int intValue = Integer::decode( value ).intValue();
-    short result = (short)intValue;
-    if( result != intValue ) {
+    int intValue = Integer::decode(value).intValue();
+    short result = (short) intValue;
+    if (result != intValue) {
         throw NumberFormatException(
             __FILE__, __LINE__,
             "Short::decode - Not a valid short encoded string.");
     }
 
-    return Short( result );
+    return Short(result);
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-short Short::reverseBytes( short value ) {
+short Short::reverseBytes(short value) {
     unsigned short temp = value;
-    temp = (unsigned short)( ( ( temp & 0xFF00 ) >> 8 ) | ( ( temp & 0x00FF
) << 8 ) );
+    temp = (unsigned short) (((temp & 0xFF00) >> 8) | ((temp & 0x00FF) <<
8));
     return temp;
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-Short Short::valueOf( short value ) {
-    return Short( value );
+Short Short::valueOf(short value) {
+    return Short(value);
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-Short Short::valueOf( const std::string& value ) {
-
-    return Short( parseShort( value, 10 ) );
+Short Short::valueOf(const String& value) {
+    return Short(parseShort(value, 10));
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-Short Short::valueOf( const std::string& value, int radix ) {
-
-    return Short( parseShort( value, radix ) );
+Short Short::valueOf(const String& value, int radix) {
+    return Short(parseShort(value, radix));
 }

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/76ec5822/activemq-cpp/src/main/decaf/lang/Short.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/decaf/lang/Short.h b/activemq-cpp/src/main/decaf/lang/Short.h
index 9cec026..d1d050b 100644
--- a/activemq-cpp/src/main/decaf/lang/Short.h
+++ b/activemq-cpp/src/main/decaf/lang/Short.h
@@ -19,13 +19,14 @@
 #define _DECAF_LANG_SHORT_H_
 
 #include <decaf/util/Config.h>
+#include <decaf/lang/String.h>
 #include <decaf/lang/Number.h>
 #include <decaf/lang/Comparable.h>
 #include <decaf/lang/exceptions/NumberFormatException.h>
 #include <string>
 
-namespace decaf{
-namespace lang{
+namespace decaf {
+namespace lang {
 
     class DECAF_API Short : public Number,
                             public Comparable<Short>,
@@ -51,7 +52,7 @@ namespace lang{
         /**
          * @param value - short to wrap
          */
-        Short( short value );
+        Short(short value);
 
         /**
          * @param value
@@ -59,9 +60,9 @@ namespace lang{
          *
          * @throws NumberFormatException if the string is not well formed number value.
          */
-        Short( const std::string& value );
+        Short(const String& value);
 
-        virtual ~Short() {}
+        virtual ~Short();
 
         /**
          * Compares this Short instance with another.
@@ -71,12 +72,12 @@ namespace lang{
          * than the passed in value, and -1 if this object represents a value
          * less than the passed in value.
          */
-        virtual int compareTo( const Short& s ) const;
+        virtual int compareTo(const Short& s) const;
 
         /**
          * @returns true if the two Short Objects have the same value.
          */
-        bool equals( const Short& s ) const {
+        bool equals(const Short& s) const {
             return this->value == s.value;
         }
 
@@ -85,7 +86,7 @@ namespace lang{
          * @param s - the value to be compared to this one.
          * @return true if this object is equal to the one passed.
          */
-        virtual bool operator==( const Short& s ) const {
+        virtual bool operator==(const Short& s) const {
             return this->value == s.value;
         }
 
@@ -95,7 +96,7 @@ namespace lang{
          * @param s - the value to be compared to this one.
          * @return true if this object is equal to the one passed.
          */
-        virtual bool operator<( const Short& s ) const {
+        virtual bool operator<(const Short& s) const {
             return this->value < s.value;
         }
 
@@ -107,12 +108,12 @@ namespace lang{
          * than the passed in value, and -1 if this object represents a value
          * less than the passed in value.
          */
-        virtual int compareTo( const short& s ) const;
+        virtual int compareTo(const short& s) const;
 
         /**
          * @returns true if the two Short Objects have the same value.
          */
-        bool equals( const short& s ) const {
+        bool equals(const short& s) const {
             return this->value == s;
         }
 
@@ -121,7 +122,7 @@ namespace lang{
          * @param s - the value to be compared to this one.
          * @return true if this object is equal to the one passed.
          */
-        virtual bool operator==( const short& s ) const {
+        virtual bool operator==(const short& s) const {
             return this->value == s;
         }
 
@@ -131,7 +132,7 @@ namespace lang{
          * @param s - the value to be compared to this one.
          * @return true if this object is equal to the one passed.
          */
-        virtual bool operator<( const short& s ) const {
+        virtual bool operator<(const short& s) const {
             return this->value < s;
         }
 
@@ -145,7 +146,7 @@ namespace lang{
          * @return double the value of the receiver.
          */
         virtual double doubleValue() const {
-            return (double)this->value;
+            return (double) this->value;
         }
 
         /**
@@ -153,7 +154,7 @@ namespace lang{
          * @return float the value of the receiver.
          */
         virtual float floatValue() const {
-            return (float)this->value;
+            return (float) this->value;
         }
 
         /**
@@ -161,7 +162,7 @@ namespace lang{
          * @return int the value of the receiver.
          */
         virtual unsigned char byteValue() const {
-            return (unsigned char)this->value;
+            return (unsigned char) this->value;
         }
 
         /**
@@ -177,7 +178,7 @@ namespace lang{
          * @return int the value of the receiver.
          */
         virtual int intValue() const {
-            return (int)this->value;
+            return (int) this->value;
         }
 
         /**
@@ -185,15 +186,15 @@ namespace lang{
          * @return long the value of the receiver.
          */
         virtual long long longValue() const {
-            return (long long)this->value;
+            return (long long) this->value;
         }
 
-    public:   // statics
+    public:
 
         /**
          * @returns a string representing the primitive value as Base 10
          */
-        static std::string toString( short value );
+        static std::string toString(short value);
 
         /**
          * Decodes a String into a Short. Accepts decimal, hexadecimal, and octal
@@ -210,7 +211,7 @@ namespace lang{
          * @returns a Short object containing the decoded value
          * @throws NumberFomatException if the string is not formatted correctly.
          */
-        static Short decode( const std::string& value );
+        static Short decode(const String& value);
 
         /**
          * Returns the value obtained by reversing the order of the bytes in the
@@ -218,7 +219,7 @@ namespace lang{
          * @param value - the short whose bytes we are to reverse
          * @return the reversed short.
          */
-        static short reverseBytes( short value );
+        static short reverseBytes(short value);
 
         /**
          * Parses the string argument as a signed short in the radix specified by
@@ -238,12 +239,16 @@ namespace lang{
          *    provided that the string is longer than length 1.
          *  * The value represented by the string is not a value of type short.
          *
-         * @param s - the String containing the short representation to be parsed
-         * @param radix - the radix to be used while parsing s
+         * @param s
+         *      The String containing the short representation to be parsed
+         * @param radix
+         *      The radix to be used while parsing the string.
+         *
          * @return the short represented by the string argument in the specified radix.
+         *
          * @throws NumberFormatException - If String does not contain a parsable short.
          */
-        static short parseShort( const std::string& s, int radix );
+        static short parseShort(const String& s, int radix);
 
         /**
          * Parses the string argument as a signed decimal short. The characters
@@ -253,18 +258,21 @@ namespace lang{
          * radix 10 were given as arguments to the parseShort( const std::string, int )
          * method.
          *
-         * @param s - String to convert to a short
+         * @param s
+         *      String to convert to a short
+         *
          * @returns the converted short value
+         *
          * @throws NumberFormatException if the string is not a short.
          */
-        static short parseShort( const std::string& s );
+        static short parseShort(const String& s);
 
         /**
          * Returns a Short instance representing the specified short value.
          * @param value - the short to wrap
          * @return the new Short object wrapping value.
          */
-        static Short valueOf( short value );
+        static Short valueOf(short value);
 
         /**
          * Returns a Short object holding the value given by the specified std::string.
@@ -272,11 +280,15 @@ namespace lang{
          * exactly as if the argument were given to the parseShort( std::string )
          * method. The result is a Short object that represents the short value
          * specified by the string.
-         * @param value - std::string to parse as base 10
+         *
+         * @param value
+         *      String to parse as base 10
+         *
          * @return new Short Object wrapping the primitive
+         *
          * @throws NumberFormatException if the string is not a decimal short.
          */
-        static Short valueOf( const std::string& value );
+        static Short valueOf(const String& value);
 
         /**
          * Returns a Short object holding the value extracted from the specified
@@ -285,12 +297,17 @@ namespace lang{
          * radix specified by the second argument, exactly as if the argument were
          * given to the parseShort( std::string, int ) method. The result is a
          * Short object that represents the short value specified by the string.
-         * @param value - std::string to parse as base ( radix )
-         * @param radix - base of the string to parse.
+         *
+         * @param value
+         *      String to parse as base ( radix )
+         * @param radix
+         *      Base of the string to parse.
+         *
          * @return new Short Object wrapping the primitive
+         *
          * @throws NumberFormatException if the string is not a valid short.
          */
-        static Short valueOf( const std::string& value, int radix );
+        static Short valueOf(const String& value, int radix);
 
     };
 

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/76ec5822/activemq-cpp/src/main/decaf/lang/StringBuffer.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/decaf/lang/StringBuffer.h b/activemq-cpp/src/main/decaf/lang/StringBuffer.h
index 30789b3..639c484 100644
--- a/activemq-cpp/src/main/decaf/lang/StringBuffer.h
+++ b/activemq-cpp/src/main/decaf/lang/StringBuffer.h
@@ -54,7 +54,8 @@ namespace lang {
      *
      * @since 1.0
      */
-    class DECAF_API StringBuffer : public AbstractStringBuilder {
+    class DECAF_API StringBuffer : public AbstractStringBuilder,
+                                   public Appendable {
     public:
 
         /**

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/76ec5822/activemq-cpp/src/main/decaf/lang/StringBuilder.cpp
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/decaf/lang/StringBuilder.cpp b/activemq-cpp/src/main/decaf/lang/StringBuilder.cpp
index 49e6451..9ca6fdc 100644
--- a/activemq-cpp/src/main/decaf/lang/StringBuilder.cpp
+++ b/activemq-cpp/src/main/decaf/lang/StringBuilder.cpp
@@ -235,6 +235,11 @@ StringBuilder& StringBuilder::insert(int index, const CharSequence*
value, int o
 }
 
 ////////////////////////////////////////////////////////////////////////////////
+int StringBuilder::length() const {
+    return AbstractStringBuilder::length();
+}
+
+////////////////////////////////////////////////////////////////////////////////
 StringBuilder& StringBuilder::replace(int start, int end, const String& value) {
     doReplace(start, end, value);
     return *this;

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/76ec5822/activemq-cpp/src/main/decaf/lang/StringBuilder.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/decaf/lang/StringBuilder.h b/activemq-cpp/src/main/decaf/lang/StringBuilder.h
index d98b026..d5d9089 100644
--- a/activemq-cpp/src/main/decaf/lang/StringBuilder.h
+++ b/activemq-cpp/src/main/decaf/lang/StringBuilder.h
@@ -48,7 +48,8 @@ namespace lang {
      *
      * @since 1.0
      */
-    class DECAF_API StringBuilder : public AbstractStringBuilder {
+    class DECAF_API StringBuilder : public AbstractStringBuilder,
+                                    public Appendable {
     public:
 
         /**
@@ -92,6 +93,8 @@ namespace lang {
 
     public:
 
+        virtual int length() const;
+
         /**
          * Appends the string representation of the given object pointer.  If the pointer
          * is NULL then the value "null" is appended to this StringBuilder.

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/76ec5822/activemq-cpp/src/main/decaf/util/Arrays.h
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/decaf/util/Arrays.h b/activemq-cpp/src/main/decaf/util/Arrays.h
index 2be2b7e..5a7a941 100644
--- a/activemq-cpp/src/main/decaf/util/Arrays.h
+++ b/activemq-cpp/src/main/decaf/util/Arrays.h
@@ -53,20 +53,20 @@ namespace util {
          * @throws IllegalArgumentException if the size parameter is negative, or the start
          *         index is greater than the end index.
          */
-        template< typename E>
-        static void fill( E* array, int size, const E& value ) {
+        template<typename E>
+        static void fill(E* array, int size, const E& value) {
 
-            if( array == NULL ) {
+            if (array == NULL) {
                 throw decaf::lang::exceptions::NullPointerException(
-                    __FILE__, __LINE__, "Array pointer given was NULL." );
+                    __FILE__, __LINE__, "Array pointer given was NULL.");
             }
 
-            if( size < 0 ) {
+            if (size < 0) {
                 throw decaf::lang::exceptions::IllegalArgumentException(
-                    __FILE__, __LINE__, "Array size value given was negative." );
+                    __FILE__, __LINE__, "Array size value given was negative.");
             }
 
-            for( int i = 0; i < size; ++i ) {
+            for (int i = 0; i < size; ++i) {
                 array[i] = value;
             }
         }
@@ -92,29 +92,29 @@ namespace util {
          *         is greater than the size parameter.
          */
         template< typename E>
-        static void fill( E* array, int size, int start, int end, const E& value ) {
+        static void fill(E* array, int size, int start, int end, const E& value) {
 
-            if( array == NULL ) {
+            if (array == NULL) {
                 throw decaf::lang::exceptions::NullPointerException(
                     __FILE__, __LINE__, "Array pointer given was NULL." );
             }
 
-            if( size < 0 ) {
+            if (size < 0) {
                 throw decaf::lang::exceptions::IllegalArgumentException(
                     __FILE__, __LINE__, "Array size value given was negative." );
             }
 
-            if( start > end ) {
+            if (start > end) {
                 throw decaf::lang::exceptions::IllegalArgumentException(
                     __FILE__, __LINE__, "The start index was greater than the end index."
);
             }
 
-            if( start < 0 || end > size ) {
+            if (start < 0 || end > size) {
                 throw decaf::lang::exceptions::IndexOutOfBoundsException(
                     __FILE__, __LINE__, "The start index {%d} end index {%d} range is invalid.",
start, end );
             }
 
-            for( int i = start; i < end; ++i ) {
+            for (int i = start; i < end; ++i) {
                 array[i] = value;
             }
         }

http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/76ec5822/activemq-cpp/src/test/testRegistry.cpp
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/test/testRegistry.cpp b/activemq-cpp/src/test/testRegistry.cpp
index e786fe0..312dad8 100644
--- a/activemq-cpp/src/test/testRegistry.cpp
+++ b/activemq-cpp/src/test/testRegistry.cpp
@@ -234,37 +234,37 @@
 //CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::OutputStreamWriterTest );
 //#include <decaf/io/InputStreamReaderTest.h>
 //CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::InputStreamReaderTest );
-//
-//#include <decaf/lang/MathTest.h>
-//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::MathTest );
-//#include <decaf/lang/ByteTest.h>
-//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ByteTest );
-//#include <decaf/lang/CharacterTest.h>
-//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::CharacterTest );
-//#include <decaf/lang/BooleanTest.h>
-//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::BooleanTest );
-//#include <decaf/lang/ShortTest.h>
-//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ShortTest );
-//#include <decaf/lang/IntegerTest.h>
-//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::IntegerTest );
-//#include <decaf/lang/LongTest.h>
-//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::LongTest );
-//#include <decaf/lang/FloatTest.h>
-//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::FloatTest );
-//#include <decaf/lang/DoubleTest.h>
-//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::DoubleTest );
-//#include <decaf/lang/ExceptionTest.h>
-//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ExceptionTest );
+
+#include <decaf/lang/MathTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::MathTest );
+#include <decaf/lang/ByteTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ByteTest );
+#include <decaf/lang/CharacterTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::CharacterTest );
+#include <decaf/lang/BooleanTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::BooleanTest );
+#include <decaf/lang/ShortTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ShortTest );
+#include <decaf/lang/IntegerTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::IntegerTest );
+#include <decaf/lang/LongTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::LongTest );
+#include <decaf/lang/FloatTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::FloatTest );
+#include <decaf/lang/DoubleTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::DoubleTest );
+#include <decaf/lang/ExceptionTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ExceptionTest );
 //#include <decaf/lang/ThreadTest.h>
 //CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ThreadTest );
 //#include <decaf/lang/ThreadLocalTest.h>
 //CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ThreadLocalTest );
-//#include <decaf/lang/SystemTest.h>
-//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::SystemTest );
-//#include <decaf/lang/PointerTest.h>
-//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::PointerTest );
-//#include <decaf/lang/ArrayPointerTest.h>
-//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ArrayPointerTest );
+#include <decaf/lang/SystemTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::SystemTest );
+#include <decaf/lang/PointerTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::PointerTest );
+#include <decaf/lang/ArrayPointerTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ArrayPointerTest );
 #include <decaf/lang/StringTest.h>
 CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::StringTest );
 #include <decaf/lang/StringBuilderTest.h>


Mime
View raw message