Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix some issues with the Properties class and add a Unit test for it …

…to help increase the code coverage of the tests and prevent errors from getting in again.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-cpp/trunk@777310 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit 0ca1f1319f631cb1e228394211f8bcf3ca9d950d 1 parent ed54658
authored
14  activemq-cpp/doxygen.cfg
@@ -603,7 +603,7 @@ EXCLUDE_PATTERNS       =
603 603
 # wildcard * is used, a substring. Examples: ANamespace, AClass,
604 604
 # AClass::ANamespace, ANamespace::*Test
605 605
 
606  
-EXCLUDE_SYMBOLS        =
  606
+EXCLUDE_SYMBOLS        = DECAF_UNUSED, AMQCPP_UNUSED
607 607
 
608 608
 # The EXAMPLE_PATH tag can be used to specify one or more files or
609 609
 # directories that contain example code fragments that are included (see
@@ -1339,12 +1339,12 @@ CLASS_GRAPH            = YES
1339 1339
 # indirect implementation dependencies (inheritance, containment, and
1340 1340
 # class references variables) of the class with other documented classes.
1341 1341
 
1342  
-COLLABORATION_GRAPH    = YES
  1342
+COLLABORATION_GRAPH    = NO
1343 1343
 
1344 1344
 # If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen
1345 1345
 # will generate a graph for groups, showing the direct groups dependencies
1346 1346
 
1347  
-GROUP_GRAPHS           = YES
  1347
+GROUP_GRAPHS           = NO
1348 1348
 
1349 1349
 # If the UML_LOOK tag is set to YES doxygen will generate inheritance and
1350 1350
 # collaboration diagrams in a style similar to the OMG's Unified Modeling
@@ -1362,14 +1362,14 @@ TEMPLATE_RELATIONS     = NO
1362 1362
 # file showing the direct and indirect include dependencies of the file with
1363 1363
 # other documented files.
1364 1364
 
1365  
-INCLUDE_GRAPH          = YES
  1365
+INCLUDE_GRAPH          = NO
1366 1366
 
1367 1367
 # If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and
1368 1368
 # HAVE_DOT tags are set to YES then doxygen will generate a graph for each
1369 1369
 # documented header file showing the documented files that directly or
1370 1370
 # indirectly include this file.
1371 1371
 
1372  
-INCLUDED_BY_GRAPH      = YES
  1372
+INCLUDED_BY_GRAPH      = NO
1373 1373
 
1374 1374
 # If the CALL_GRAPH and HAVE_DOT options are set to YES then
1375 1375
 # doxygen will generate a call dependency graph for every global function
@@ -1390,14 +1390,14 @@ CALLER_GRAPH           = NO
1390 1390
 # If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen
1391 1391
 # will graphical hierarchy of all classes instead of a textual one.
1392 1392
 
1393  
-GRAPHICAL_HIERARCHY    = YES
  1393
+GRAPHICAL_HIERARCHY    = NO
1394 1394
 
1395 1395
 # If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES
1396 1396
 # then doxygen will show the dependencies a directory has on other directories
1397 1397
 # in a graphical way. The dependency relations are determined by the #include
1398 1398
 # relations between the files in the directories.
1399 1399
 
1400  
-DIRECTORY_GRAPH        = YES
  1400
+DIRECTORY_GRAPH        = NO
1401 1401
 
1402 1402
 # The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
1403 1403
 # generated by dot. Possible values are png, jpg, or gif
111  activemq-cpp/src/main/decaf/util/Properties.cpp
@@ -21,7 +21,7 @@
21 21
 #include <sstream>
22 22
 #include <decaf/util/Date.h>
23 23
 #include <decaf/lang/exceptions/UnsupportedOperationException.h>
24  
-#include <decaf/util/concurrent/Mutex.h>
  24
+#include <decaf/util/StlMap.h>
25 25
 
26 26
 using namespace decaf;
27 27
 using namespace decaf::util;
@@ -36,8 +36,7 @@ namespace util{
36 36
     class PropertiesInternal{
37 37
     public:
38 38
 
39  
-        std::map< std::string, std::string > properties;
40  
-        decaf::util::concurrent::Mutex mutex;
  39
+        decaf::util::StlMap< std::string, std::string > properties;
41 40
 
42 41
     };
43 42
 
@@ -51,7 +50,7 @@ Properties::Properties() {
51 50
 ////////////////////////////////////////////////////////////////////////////////
52 51
 Properties::Properties( const Properties& src ) {
53 52
     this->internal.reset( new PropertiesInternal() );
54  
-    this->internal->properties = src.internal->properties;
  53
+    this->internal->properties.copy( src.internal->properties );
55 54
 
56 55
     if( src.defaults.get() != NULL ) {
57 56
         this->defaults.reset( src.defaults->clone() );
@@ -63,47 +62,43 @@ Properties::~Properties() {
63 62
 }
64 63
 
65 64
 ////////////////////////////////////////////////////////////////////////////////
66  
-Properties& Properties::operator= ( const Properties& src ) {
  65
+Properties& Properties::operator= ( const Properties& source ) {
67 66
 
68  
-    if( this == &src ) {
  67
+    if( this == &source ) {
69 68
         return *this;
70 69
     }
71 70
 
72  
-    synchronized( &( internal->mutex ) ) {
73  
-        this->internal.reset( new PropertiesInternal() );
74  
-
75  
-        synchronized( &( src.internal->mutex ) ) {
76  
-            this->internal->properties = src.internal->properties;
77  
-        }
78  
-
79  
-        if( src.defaults.get() != NULL ) {
80  
-            this->defaults.reset( src.defaults->clone() );
81  
-        }
82  
-    }
  71
+    this->copy( source );
83 72
 
84 73
     return *this;
85 74
 }
86 75
 
87 76
 ////////////////////////////////////////////////////////////////////////////////
88 77
 bool Properties::isEmpty() const {
89  
-    synchronized( &( internal->mutex ) ) {
90  
-        return internal->properties.empty();
  78
+    synchronized( &( internal->properties ) ) {
  79
+        return internal->properties.isEmpty();
91 80
     }
92 81
 
93 82
     return false;
94 83
 }
95 84
 
96 85
 ////////////////////////////////////////////////////////////////////////////////
  86
+std::size_t Properties::size() const {
  87
+
  88
+    synchronized( &( internal->properties ) ) {
  89
+        return internal->properties.size();
  90
+    }
  91
+
  92
+    return 0;
  93
+}
  94
+
  95
+////////////////////////////////////////////////////////////////////////////////
97 96
 const char* Properties::getProperty( const std::string& name ) const{
98 97
 
99  
-    synchronized( &( internal->mutex ) ) {
100  
-        std::map< std::string, std::string >::const_iterator iter =
101  
-            internal->properties.find( name );
102  
-        if( iter == internal->properties.end() ){
103  
-            return NULL;
  98
+    synchronized( &( internal->properties ) ) {
  99
+        if( this->internal->properties.containsKey( name ) ) {
  100
+            return this->internal->properties.get( name ).c_str();
104 101
         }
105  
-
106  
-        return iter->second.c_str();
107 102
     }
108 103
 
109 104
     return NULL;
@@ -113,11 +108,9 @@ const char* Properties::getProperty( const std::string& name ) const{
113 108
 std::string Properties::getProperty( const std::string& name,
114 109
                                      const std::string& defaultValue ) const {
115 110
 
116  
-    synchronized( &( internal->mutex ) ) {
117  
-        std::map< std::string, std::string >::const_iterator iter =
118  
-            internal->properties.find( name );
119  
-        if( iter != internal->properties.end() ){
120  
-            return iter->second;
  111
+    synchronized( &( internal->properties ) ) {
  112
+        if( this->internal->properties.containsKey( name ) ) {
  113
+            return this->internal->properties.get( name );
121 114
         }
122 115
     }
123 116
 
@@ -128,18 +121,16 @@ std::string Properties::getProperty( const std::string& name,
128 121
 void Properties::setProperty( const std::string& name,
129 122
                               const std::string& value ){
130 123
 
131  
-    synchronized( &( internal->mutex ) ) {
132  
-        internal->properties[name] = value;
  124
+    synchronized( &( internal->properties ) ) {
  125
+        internal->properties.put( name, value );
133 126
     }
134 127
 }
135 128
 
136 129
 ////////////////////////////////////////////////////////////////////////////////
137 130
 bool Properties::hasProperty( const std::string& name ) const {
138 131
 
139  
-    synchronized( &( internal->mutex ) ) {
140  
-        if( internal->properties.find(name) != internal->properties.end() ) {
141  
-            return true;
142  
-        }
  132
+    synchronized( &( internal->properties ) ) {
  133
+        return this->internal->properties.containsKey( name );
143 134
     }
144 135
 
145 136
     return false;
@@ -147,8 +138,10 @@ bool Properties::hasProperty( const std::string& name ) const {
147 138
 
148 139
 ////////////////////////////////////////////////////////////////////////////////
149 140
 void Properties::remove( const std::string& name ){
150  
-    synchronized( &( internal->mutex ) ) {
151  
-        internal->properties.erase( name );
  141
+    synchronized( &( internal->properties ) ) {
  142
+        if( this->internal->properties.containsKey( name ) ) {
  143
+            this->internal->properties.remove( name );
  144
+        }
152 145
     }
153 146
 }
154 147
 
@@ -157,8 +150,14 @@ std::vector< std::pair< std::string, std::string > > Properties::toArray() const
157 150
 
158 151
     std::vector< std::pair<std::string, std::string> > result;
159 152
 
160  
-    synchronized( &( internal->mutex ) ) {
161  
-        result.assign( internal->properties.begin(), internal->properties.end() );
  153
+    synchronized( &( internal->properties ) ) {
  154
+        std::vector<std::string> keys = this->internal->properties.keySet();
  155
+        std::vector<std::string>::const_iterator iter = keys.begin();
  156
+
  157
+        for( ; iter != keys.end(); ++iter ) {
  158
+            result.push_back(
  159
+                std::make_pair( *iter, this->internal->properties.get( *iter ) ) );
  160
+        }
162 161
     }
163 162
 
164 163
     return result;
@@ -171,8 +170,15 @@ void Properties::copy( const Properties& source ){
171 170
         return;
172 171
     }
173 172
 
174  
-    synchronized( &( internal->mutex ) ) {
175  
-        *this = source;
  173
+    synchronized( &( this->internal->properties ) ) {
  174
+
  175
+        synchronized( &( source.internal->properties ) ) {
  176
+            this->internal->properties.copy( source.internal->properties );
  177
+
  178
+            if( source.defaults.get() != NULL ) {
  179
+                this->defaults.reset( source.defaults->clone() );
  180
+            }
  181
+        }
176 182
     }
177 183
 }
178 184
 
@@ -180,17 +186,15 @@ void Properties::copy( const Properties& source ){
180 186
 Properties* Properties::clone() const{
181 187
 
182 188
     Properties* props = new Properties();
183  
-
184  
-    *props = *this;
185  
-
  189
+    props->internal->properties.copy( this->internal->properties );
186 190
     return props;
187 191
 }
188 192
 
189 193
 ////////////////////////////////////////////////////////////////////////////////
190 194
 void Properties::clear(){
191 195
 
192  
-    synchronized( &( internal->mutex ) ) {
193  
-        internal->properties.clear();
  196
+    synchronized( &( internal->properties ) ) {
  197
+        this->internal->properties.clear();
194 198
     }
195 199
 }
196 200
 
@@ -202,10 +206,13 @@ std::string Properties::toString() const {
202 206
 
203 207
     stream << "Begin Class decaf::util::Properties:" << std::endl;
204 208
 
205  
-    synchronized( &( internal->mutex ) ) {
206  
-        for( iter = internal->properties.begin(); iter != internal->properties.end(); ++iter ){
207  
-            stream << " property[" << iter->first << "] = "
208  
-                   << iter->second << std::endl;
  209
+    synchronized( &( internal->properties ) ) {
  210
+        std::vector<std::string> keys = this->internal->properties.keySet();
  211
+        std::vector<std::string>::const_iterator iter = keys.begin();
  212
+
  213
+        for( iter = keys.begin(); iter != keys.end(); ++iter ){
  214
+            stream << " property[" << *iter << "] = "
  215
+                   << this->internal->properties.get( *iter ) << std::endl;
209 216
         }
210 217
     }
211 218
 
5  activemq-cpp/src/main/decaf/util/Properties.h
@@ -85,6 +85,11 @@ namespace util{
85 85
         bool isEmpty() const;
86 86
 
87 87
         /**
  88
+         * @return The number of Properties in this Properties Object.
  89
+         */
  90
+        std::size_t size() const;
  91
+
  92
+        /**
88 93
          * Looks up the value for the given property.
89 94
          * @param name The name of the property to be looked up.
90 95
          * @return the value of the property with the given name, if it
2  activemq-cpp/src/test/Makefile.am
@@ -45,6 +45,7 @@ cc_sources = \
45 45
     decaf/util/ListTest.cpp \
46 46
     decaf/util/StlMapTest.cpp \
47 47
     decaf/util/SetTest.cpp \
  48
+    decaf/util/PropertiesTest.cpp \
48 49
     decaf/util/UUIDTest.cpp \
49 50
     decaf/internal/util/ByteArrayAdapterTest.cpp \
50 51
     decaf/internal/nio/ShortArrayBufferTest.cpp \
@@ -156,6 +157,7 @@ h_sources = \
156 157
     decaf/util/concurrent/atomic/AtomicIntegerTest.h \
157 158
     decaf/util/concurrent/TimeUnitTest.h \
158 159
     decaf/util/DateTest.h \
  160
+    decaf/util/PropertiesTest.h \
159 161
     decaf/util/Endian.h \
160 162
     decaf/util/SetTest.h \
161 163
     decaf/util/RandomTest.h \
162  activemq-cpp/src/test/decaf/util/PropertiesTest.cpp
... ...
@@ -0,0 +1,162 @@
  1
+/**
  2
+ * Licensed to the Apache Software Foundation (ASF) under one or more
  3
+ * contributor license agreements.  See the NOTICE file distributed with
  4
+ * this work for additional information regarding copyright ownership.
  5
+ * The ASF licenses this file to You under the Apache License, Version 2.0
  6
+ * (the "License"); you may not use this file except in compliance with
  7
+ * the License.  You may obtain a copy of the License at
  8
+ *
  9
+ * http://www.apache.org/licenses/LICENSE-2.0
  10
+ *
  11
+ * Unless required by applicable law or agreed to in writing, software
  12
+ * distributed under the License is distributed on an "AS IS" BASIS,
  13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14
+ * See the License for the specific language governing permissions and
  15
+ * limitations under the License.
  16
+ */
  17
+
  18
+#include "PropertiesTest.h"
  19
+
  20
+#include <memory>
  21
+#include <decaf/util/Properties.h>
  22
+
  23
+using namespace std;
  24
+using namespace decaf;
  25
+using namespace decaf::util;
  26
+
  27
+////////////////////////////////////////////////////////////////////////////////
  28
+void PropertiesTest::testPutAndGet() {
  29
+
  30
+    Properties properties;
  31
+
  32
+    CPPUNIT_ASSERT( properties.isEmpty() == true );
  33
+    CPPUNIT_ASSERT( properties.getProperty( "Bob" ) == NULL );
  34
+    CPPUNIT_ASSERT( properties.getProperty( "Bob", "Steve" ) == "Steve" );
  35
+
  36
+    CPPUNIT_ASSERT( properties.size() == 0 );
  37
+
  38
+    properties.setProperty( "Bob", "Foo" );
  39
+    CPPUNIT_ASSERT( properties.isEmpty() == false );
  40
+
  41
+    CPPUNIT_ASSERT( properties.hasProperty( "Steve" ) == false );
  42
+    properties.setProperty( "Steve", "Foo" );
  43
+    CPPUNIT_ASSERT( properties.hasProperty( "Steve" ) == true );
  44
+
  45
+    CPPUNIT_ASSERT( properties.size() == 2 );
  46
+
  47
+    CPPUNIT_ASSERT( properties.getProperty( "Bob" ) == std::string( "Foo" ) );
  48
+    CPPUNIT_ASSERT( properties.getProperty( "Bob", "Steve" ) == "Foo" );
  49
+}
  50
+
  51
+////////////////////////////////////////////////////////////////////////////////
  52
+void PropertiesTest::testAssign() {
  53
+
  54
+    Properties properties1;
  55
+    Properties properties2;
  56
+
  57
+    properties1.setProperty( "A", "A" );
  58
+    properties1.setProperty( "B", "B" );
  59
+    properties1.setProperty( "C", "C" );
  60
+    properties1.setProperty( "D", "D" );
  61
+
  62
+    CPPUNIT_ASSERT( properties2.hasProperty( "A" ) == false );
  63
+    CPPUNIT_ASSERT( properties2.hasProperty( "B" ) == false );
  64
+    CPPUNIT_ASSERT( properties2.hasProperty( "C" ) == false );
  65
+    CPPUNIT_ASSERT( properties2.hasProperty( "D" ) == false );
  66
+
  67
+    properties2 = properties1;
  68
+
  69
+    CPPUNIT_ASSERT( properties2.hasProperty( "A" ) == true );
  70
+    CPPUNIT_ASSERT( properties2.hasProperty( "B" ) == true );
  71
+    CPPUNIT_ASSERT( properties2.hasProperty( "C" ) == true );
  72
+    CPPUNIT_ASSERT( properties2.hasProperty( "D" ) == true );
  73
+
  74
+    CPPUNIT_ASSERT( properties1.size() == properties2.size() );
  75
+}
  76
+
  77
+////////////////////////////////////////////////////////////////////////////////
  78
+void PropertiesTest::testCopy() {
  79
+
  80
+    Properties properties2;
  81
+    Properties properties1;
  82
+
  83
+    properties1.setProperty( "A", "A" );
  84
+    properties1.setProperty( "B", "B" );
  85
+    properties1.setProperty( "C", "C" );
  86
+    properties1.setProperty( "D", "D" );
  87
+
  88
+    CPPUNIT_ASSERT( properties2.hasProperty( "A" ) == false );
  89
+    CPPUNIT_ASSERT( properties2.hasProperty( "B" ) == false );
  90
+    CPPUNIT_ASSERT( properties2.hasProperty( "C" ) == false );
  91
+    CPPUNIT_ASSERT( properties2.hasProperty( "D" ) == false );
  92
+
  93
+    properties2.copy( properties1 );
  94
+
  95
+    CPPUNIT_ASSERT( properties2.hasProperty( "A" ) == true );
  96
+    CPPUNIT_ASSERT( properties2.hasProperty( "B" ) == true );
  97
+    CPPUNIT_ASSERT( properties2.hasProperty( "C" ) == true );
  98
+    CPPUNIT_ASSERT( properties2.hasProperty( "D" ) == true );
  99
+
  100
+    CPPUNIT_ASSERT( properties1.size() == properties2.size() );
  101
+}
  102
+
  103
+////////////////////////////////////////////////////////////////////////////////
  104
+void PropertiesTest::testClone() {
  105
+
  106
+    Properties properties1;
  107
+    std::auto_ptr<Properties> properties2;
  108
+
  109
+    properties1.setProperty( "A", "A" );
  110
+    properties1.setProperty( "B", "B" );
  111
+    properties1.setProperty( "C", "C" );
  112
+    properties1.setProperty( "D", "D" );
  113
+
  114
+    properties2.reset( properties1.clone() );
  115
+
  116
+    CPPUNIT_ASSERT( properties2->hasProperty( "A" ) == true );
  117
+    CPPUNIT_ASSERT( properties2->hasProperty( "B" ) == true );
  118
+    CPPUNIT_ASSERT( properties2->hasProperty( "C" ) == true );
  119
+    CPPUNIT_ASSERT( properties2->hasProperty( "D" ) == true );
  120
+
  121
+    CPPUNIT_ASSERT( properties1.size() == properties2->size() );
  122
+}
  123
+
  124
+////////////////////////////////////////////////////////////////////////////////
  125
+void PropertiesTest::testRemove() {
  126
+
  127
+    Properties properties1;
  128
+
  129
+    properties1.setProperty( "A", "A" );
  130
+    properties1.setProperty( "B", "B" );
  131
+    properties1.setProperty( "C", "C" );
  132
+    properties1.setProperty( "D", "D" );
  133
+
  134
+    properties1.remove( "A" );
  135
+    properties1.remove( "C" );
  136
+
  137
+    CPPUNIT_ASSERT( properties1.hasProperty( "A" ) == false );
  138
+    CPPUNIT_ASSERT( properties1.hasProperty( "B" ) == true );
  139
+    CPPUNIT_ASSERT( properties1.hasProperty( "C" ) == false );
  140
+    CPPUNIT_ASSERT( properties1.hasProperty( "D" ) == true );
  141
+
  142
+    CPPUNIT_ASSERT( properties1.size() == 2 );
  143
+}
  144
+
  145
+////////////////////////////////////////////////////////////////////////////////
  146
+void PropertiesTest::testClear() {
  147
+
  148
+    Properties properties1;
  149
+
  150
+    properties1.setProperty( "A", "A" );
  151
+    properties1.setProperty( "B", "B" );
  152
+    properties1.setProperty( "C", "C" );
  153
+    properties1.setProperty( "D", "D" );
  154
+
  155
+    CPPUNIT_ASSERT( properties1.size() == 4 );
  156
+    CPPUNIT_ASSERT( properties1.isEmpty() == false );
  157
+
  158
+    properties1.clear();
  159
+
  160
+    CPPUNIT_ASSERT( properties1.size() == 0 );
  161
+    CPPUNIT_ASSERT( properties1.isEmpty() == true );
  162
+}
55  activemq-cpp/src/test/decaf/util/PropertiesTest.h
... ...
@@ -0,0 +1,55 @@
  1
+/**
  2
+ * Licensed to the Apache Software Foundation (ASF) under one or more
  3
+ * contributor license agreements.  See the NOTICE file distributed with
  4
+ * this work for additional information regarding copyright ownership.
  5
+ * The ASF licenses this file to You under the Apache License, Version 2.0
  6
+ * (the "License"); you may not use this file except in compliance with
  7
+ * the License.  You may obtain a copy of the License at
  8
+ *
  9
+ * http://www.apache.org/licenses/LICENSE-2.0
  10
+ *
  11
+ * Unless required by applicable law or agreed to in writing, software
  12
+ * distributed under the License is distributed on an "AS IS" BASIS,
  13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14
+ * See the License for the specific language governing permissions and
  15
+ * limitations under the License.
  16
+ */
  17
+
  18
+#ifndef _DECAF_UTIL_PROPERTIESTEST_H_
  19
+#define _DECAF_UTIL_PROPERTIESTEST_H_
  20
+
  21
+#include <cppunit/TestFixture.h>
  22
+#include <cppunit/extensions/HelperMacros.h>
  23
+
  24
+namespace decaf {
  25
+namespace util {
  26
+
  27
+    class PropertiesTest : public CppUnit::TestFixture {
  28
+
  29
+        CPPUNIT_TEST_SUITE( PropertiesTest );
  30
+        CPPUNIT_TEST( testPutAndGet );
  31
+        CPPUNIT_TEST( testAssign );
  32
+        CPPUNIT_TEST( testCopy );
  33
+        CPPUNIT_TEST( testClone );
  34
+        CPPUNIT_TEST( testRemove );
  35
+        CPPUNIT_TEST( testClear );
  36
+        CPPUNIT_TEST_SUITE_END();
  37
+
  38
+    public:
  39
+
  40
+        PropertiesTest() {}
  41
+
  42
+        virtual ~PropertiesTest() {}
  43
+
  44
+        void testPutAndGet();
  45
+        void testAssign();
  46
+        void testCopy();
  47
+        void testClone();
  48
+        void testRemove();
  49
+        void testClear();
  50
+
  51
+    };
  52
+
  53
+}}
  54
+
  55
+#endif /* _DECAF_UTIL_PROPERTIESTEST_H_ */
472  activemq-cpp/src/test/testRegistry.cpp
@@ -18,238 +18,240 @@
18 18
 // All CPP Unit tests are registered in here so we can disable them and
19 19
 // enable them easily in one place.
20 20
 
21  
-#include <activemq/commands/BrokerInfoTest.h>
22  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::commands::BrokerInfoTest );
23  
-#include <activemq/commands/BrokerIdTest.h>
24  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::commands::BrokerIdTest );
25  
-#include <activemq/commands/ActiveMQTopicTest.h>
26  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::commands::ActiveMQTopicTest );
27  
-#include <activemq/commands/ActiveMQTextMessageTest.h>
28  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::commands::ActiveMQTextMessageTest );
29  
-#include <activemq/commands/ActiveMQTempTopicTest.h>
30  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::commands::ActiveMQTempTopicTest );
31  
-#include <activemq/commands/ActiveMQTempQueueTest.h>
32  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::commands::ActiveMQTempQueueTest );
33  
-#include <activemq/commands/ActiveMQQueueTest.h>
34  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::commands::ActiveMQQueueTest );
35  
-#include <activemq/commands/ActiveMQMessageTest.h>
36  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::commands::ActiveMQMessageTest );
37  
-#include <activemq/commands/ActiveMQMapMessageTest.h>
38  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::commands::ActiveMQMapMessageTest );
39  
-#include <activemq/commands/ActiveMQDestinationTest2.h>
40  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::commands::ActiveMQDestinationTest );
41  
-#include <activemq/commands/ActiveMQBytesMessageTest.h>
42  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::commands::ActiveMQBytesMessageTest );
43  
-#include <activemq/commands/ActiveMQStreamMessageTest.h>
44  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::commands::ActiveMQStreamMessageTest );
45  
-
46  
-#include <activemq/wireformat/openwire/marshal/BaseDataStreamMarshallerTest.h>
47  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::wireformat::openwire::marshal::BaseDataStreamMarshallerTest );
48  
-#include <activemq/wireformat/openwire/marshal/PrimitiveTypesMarshallerTest.h>
49  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::wireformat::openwire::marshal::PrimitiveTypesMarshallerTest );
50  
-
51  
-#include <activemq/wireformat/openwire/utils/BooleanStreamTest.h>
52  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::wireformat::openwire::utils::BooleanStreamTest );
53  
-#include <activemq/wireformat/openwire/utils/HexTableTest.h>
54  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::wireformat::openwire::utils::HexTableTest );
55  
-#include <activemq/wireformat/openwire/utils/OpenwireStringSupportTest.h>
56  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::wireformat::openwire::utils::OpenwireStringSupportTest );
57  
-#include <activemq/wireformat/openwire/utils/MessagePropertyInterceptorTest.h>
58  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::wireformat::openwire::utils::MessagePropertyInterceptorTest );
59  
-
60  
-#include <activemq/wireformat/openwire/OpenWireFormatTest.h>
61  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::wireformat::openwire::OpenWireFormatTest );
62  
-
63  
-#include <activemq/cmsutil/CmsAccessorTest.h>
64  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::CmsAccessorTest );
65  
-#include <activemq/cmsutil/CmsDestinationAccessorTest.h>
66  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::CmsDestinationAccessorTest );
67  
-#include <activemq/cmsutil/CmsTemplateTest.h>
68  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::CmsTemplateTest );
69  
-#include <activemq/cmsutil/DynamicDestinationResolverTest.h>
70  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::DynamicDestinationResolverTest );
71  
-#include <activemq/cmsutil/SessionPoolTest.h>
72  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::SessionPoolTest );
73  
-
74  
-#include <activemq/core/ActiveMQConnectionFactoryTest.h>
75  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::core::ActiveMQConnectionFactoryTest );
76  
-#include <activemq/core/ActiveMQConnectionTest.h>
77  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::core::ActiveMQConnectionTest );
78  
-#include <activemq/core/ActiveMQSessionTest.h>
79  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::core::ActiveMQSessionTest );
80  
-#include <activemq/core/MessageDispatchChannelTest.h>
81  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::core::MessageDispatchChannelTest );
82  
-
83  
-#include <activemq/state/ConnectionStateTrackerTest.h>
84  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::state::ConnectionStateTrackerTest );
85  
-#include <activemq/state/ConnectionStateTest.h>
86  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::state::ConnectionStateTest );
87  
-#include <activemq/state/ConsumerStateTest.h>
88  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::state::ConsumerStateTest );
89  
-#include <activemq/state/ProducerStateTest.h>
90  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::state::ProducerStateTest );
91  
-#include <activemq/state/SessionStateTest.h>
92  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::state::SessionStateTest );
93  
-#include <activemq/state/TransactionStateTest.h>
94  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::state::TransactionStateTest );
95  
-
96  
-#include <activemq/transport/failover/FailoverTransportTest.h>
97  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::transport::failover::FailoverTransportTest );
98  
-
99  
-#include <activemq/transport/correlator/ResponseCorrelatorTest.h>
100  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::transport::correlator::ResponseCorrelatorTest );
101  
-
102  
-#include <activemq/transport/mock/MockTransportFactoryTest.h>
103  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::transport::mock::MockTransportFactoryTest );
104  
-
105  
-#include <activemq/transport/TransportRegistryTest.h>
106  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::transport::TransportRegistryTest );
107  
-#include <activemq/transport/IOTransportTest.h>
108  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::transport::IOTransportTest );
109  
-
110  
-#include <activemq/exceptions/ActiveMQExceptionTest.h>
111  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::exceptions::ActiveMQExceptionTest );
112  
-
113  
-#include <activemq/util/LongSequenceGeneratorTest.h>
114  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::LongSequenceGeneratorTest );
115  
-#include <activemq/util/PrimitiveValueNodeTest.h>
116  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::PrimitiveValueNodeTest );
117  
-#include <activemq/util/PrimitiveListTest.h>
118  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::PrimitiveListTest );
119  
-#include <activemq/util/PrimitiveMapTest.h>
120  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::PrimitiveMapTest );
121  
-#include <activemq/util/PrimitiveValueConverterTest.h>
122  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::PrimitiveValueConverterTest );
123  
-#include <activemq/util/URISupportTest.h>
124  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::URISupportTest );
125  
-#include <activemq/util/MemoryUsageTest.h>
126  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::MemoryUsageTest );
127  
-
128  
-#include <activemq/threads/DedicatedTaskRunnerTest.h>
129  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::threads::DedicatedTaskRunnerTest );
130  
-#include <activemq/threads/CompositeTaskRunnerTest.h>
131  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::threads::CompositeTaskRunnerTest );
132  
-
133  
-#include <activemq/wireformat/WireFormatRegistryTest.h>
134  
-CPPUNIT_TEST_SUITE_REGISTRATION( activemq::wireformat::WireFormatRegistryTest );
135  
-
136  
-#include <decaf/internal/util/ByteArrayAdapterTest.h>
137  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::util::ByteArrayAdapterTest );
138  
-#include <decaf/internal/nio/ByteArrayPerspectiveTest.h>
139  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::ByteArrayPerspectiveTest );
140  
-#include <decaf/internal/nio/ByteArrayBufferTest.h>
141  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::ByteArrayBufferTest );
142  
-#include <decaf/internal/nio/BufferFactoryTest.h>
143  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::BufferFactoryTest );
144  
-#include <decaf/internal/nio/CharArrayBufferTest.h>
145  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::CharArrayBufferTest );
146  
-#include <decaf/internal/nio/DoubleArrayBufferTest.h>
147  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::DoubleArrayBufferTest );
148  
-#include <decaf/internal/nio/FloatArrayBufferTest.h>
149  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::FloatArrayBufferTest );
150  
-#include <decaf/internal/nio/LongArrayBufferTest.h>
151  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::LongArrayBufferTest );
152  
-#include <decaf/internal/nio/IntArrayBufferTest.h>
153  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::IntArrayBufferTest );
154  
-#include <decaf/internal/nio/ShortArrayBufferTest.h>
155  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::ShortArrayBufferTest );
156  
-
157  
-#include <decaf/internal/net/URIEncoderDecoderTest.h>
158  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::net::URIEncoderDecoderTest );
159  
-#include <decaf/internal/net/URIHelperTest.h>
160  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::net::URIHelperTest );
161  
-
162  
-#include <decaf/nio/BufferTest.h>
163  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::nio::BufferTest );
164  
-
165  
-#include <decaf/io/FilterInputStreamTest.h>
166  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::FilterInputStreamTest );
167  
-#include <decaf/io/FilterOutputStreamTest.h>
168  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::FilterOutputStreamTest );
169  
-#include <decaf/io/BufferedInputStreamTest.h>
170  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::BufferedInputStreamTest );
171  
-#include <decaf/io/BufferedOutputStreamTest.h>
172  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::BufferedOutputStreamTest );
173  
-#include <decaf/io/ByteArrayInputStreamTest.h>
174  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::ByteArrayInputStreamTest );
175  
-#include <decaf/io/ByteArrayOutputStreamTest.h>
176  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::ByteArrayOutputStreamTest );
177  
-#include <decaf/io/DataInputStreamTest.h>
178  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::DataInputStreamTest );
179  
-#include <decaf/io/DataOutputStreamTest.h>
180  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::DataOutputStreamTest );
181  
-
182  
-#include <decaf/lang/MathTest.h>
183  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::MathTest );
184  
-#include <decaf/lang/ByteTest.h>
185  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ByteTest );
186  
-#include <decaf/lang/CharacterTest.h>
187  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::CharacterTest );
188  
-#include <decaf/lang/BooleanTest.h>
189  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::BooleanTest );
190  
-#include <decaf/lang/ShortTest.h>
191  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ShortTest );
192  
-#include <decaf/lang/IntegerTest.h>
193  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::IntegerTest );
194  
-#include <decaf/lang/LongTest.h>
195  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::LongTest );
196  
-#include <decaf/lang/FloatTest.h>
197  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::FloatTest );
198  
-#include <decaf/lang/DoubleTest.h>
199  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::DoubleTest );
200  
-#include <decaf/lang/ExceptionTest.h>
201  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ExceptionTest );
202  
-#include <decaf/lang/ThreadTest.h>
203  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ThreadTest );
204  
-#include <decaf/lang/SystemTest.h>
205  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::SystemTest );
206  
-#include <decaf/lang/PointerTest.h>
207  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::PointerTest );
208  
-
209  
-#include <decaf/net/SocketFactoryTest.h>
210  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::SocketFactoryTest );
211  
-#include <decaf/net/SocketTest.h>
212  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::SocketTest );
213  
-#include <decaf/net/URITest.h>
214  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::URITest );
215  
-#include <decaf/net/URISyntaxExceptionTest.h>
216  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::URISyntaxExceptionTest );
217  
-#include <decaf/net/URLEncoderTest.h>
218  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::URLEncoderTest );
219  
-#include <decaf/net/URLDecoderTest.h>
220  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::URLDecoderTest );
221  
-
222  
-#include <decaf/util/concurrent/ConcurrentStlMapTest.h>
223  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::ConcurrentStlMapTest );
224  
-#include <decaf/util/concurrent/CountDownLatchTest.h>
225  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::CountDownLatchTest );
226  
-#include <decaf/util/concurrent/MutexTest.h>
227  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::MutexTest );
228  
-#include <decaf/util/concurrent/ThreadPoolTest.h>
229  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::ThreadPoolTest );
230  
-#include <decaf/util/concurrent/TimeUnitTest.h>
231  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::TimeUnitTest );
232  
-
233  
-#include <decaf/util/concurrent/atomic/AtomicBooleanTest.h>
234  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::atomic::AtomicBooleanTest );
235  
-#include <decaf/util/concurrent/atomic/AtomicIntegerTest.h>
236  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::atomic::AtomicIntegerTest );
237  
-#include <decaf/util/concurrent/atomic/AtomicReferenceTest.h>
238  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::atomic::AtomicReferenceTest );
239  
-
240  
-#include <decaf/util/DateTest.h>
241  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::DateTest );
242  
-#include <decaf/util/UUIDTest.h>
243  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::UUIDTest );
244  
-#include <decaf/util/ListTest.h>
245  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::ListTest );
246  
-#include <decaf/util/StlMapTest.h>
247  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::StlMapTest );
248  
-#include <decaf/util/QueueTest.h>
249  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::QueueTest );
250  
-#include <decaf/util/RandomTest.h>
251  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::RandomTest );
252  
-#include <decaf/util/SetTest.h>
253  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::SetTest );
254  
-#include <decaf/util/StringTokenizerTest.h>
255  
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::StringTokenizerTest );
  21
+//#include <activemq/commands/BrokerInfoTest.h>
  22
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::commands::BrokerInfoTest );
  23
+//#include <activemq/commands/BrokerIdTest.h>
  24
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::commands::BrokerIdTest );
  25
+//#include <activemq/commands/ActiveMQTopicTest.h>
  26
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::commands::ActiveMQTopicTest );
  27
+//#include <activemq/commands/ActiveMQTextMessageTest.h>
  28
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::commands::ActiveMQTextMessageTest );
  29
+//#include <activemq/commands/ActiveMQTempTopicTest.h>
  30
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::commands::ActiveMQTempTopicTest );
  31
+//#include <activemq/commands/ActiveMQTempQueueTest.h>
  32
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::commands::ActiveMQTempQueueTest );
  33
+//#include <activemq/commands/ActiveMQQueueTest.h>
  34
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::commands::ActiveMQQueueTest );
  35
+//#include <activemq/commands/ActiveMQMessageTest.h>
  36
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::commands::ActiveMQMessageTest );
  37
+//#include <activemq/commands/ActiveMQMapMessageTest.h>
  38
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::commands::ActiveMQMapMessageTest );
  39
+//#include <activemq/commands/ActiveMQDestinationTest2.h>
  40
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::commands::ActiveMQDestinationTest );
  41
+//#include <activemq/commands/ActiveMQBytesMessageTest.h>
  42
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::commands::ActiveMQBytesMessageTest );
  43
+//#include <activemq/commands/ActiveMQStreamMessageTest.h>
  44
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::commands::ActiveMQStreamMessageTest );
  45
+//
  46
+//#include <activemq/wireformat/openwire/marshal/BaseDataStreamMarshallerTest.h>
  47
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::wireformat::openwire::marshal::BaseDataStreamMarshallerTest );
  48
+//#include <activemq/wireformat/openwire/marshal/PrimitiveTypesMarshallerTest.h>
  49
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::wireformat::openwire::marshal::PrimitiveTypesMarshallerTest );
  50
+//
  51
+//#include <activemq/wireformat/openwire/utils/BooleanStreamTest.h>
  52
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::wireformat::openwire::utils::BooleanStreamTest );
  53
+//#include <activemq/wireformat/openwire/utils/HexTableTest.h>
  54
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::wireformat::openwire::utils::HexTableTest );
  55
+//#include <activemq/wireformat/openwire/utils/OpenwireStringSupportTest.h>
  56
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::wireformat::openwire::utils::OpenwireStringSupportTest );
  57
+//#include <activemq/wireformat/openwire/utils/MessagePropertyInterceptorTest.h>
  58
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::wireformat::openwire::utils::MessagePropertyInterceptorTest );
  59
+//
  60
+//#include <activemq/wireformat/openwire/OpenWireFormatTest.h>
  61
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::wireformat::openwire::OpenWireFormatTest );
  62
+//
  63
+//#include <activemq/cmsutil/CmsAccessorTest.h>
  64
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::CmsAccessorTest );
  65
+//#include <activemq/cmsutil/CmsDestinationAccessorTest.h>
  66
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::CmsDestinationAccessorTest );
  67
+//#include <activemq/cmsutil/CmsTemplateTest.h>
  68
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::CmsTemplateTest );
  69
+//#include <activemq/cmsutil/DynamicDestinationResolverTest.h>
  70
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::DynamicDestinationResolverTest );
  71
+//#include <activemq/cmsutil/SessionPoolTest.h>
  72
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::SessionPoolTest );
  73
+//
  74
+//#include <activemq/core/ActiveMQConnectionFactoryTest.h>
  75
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::core::ActiveMQConnectionFactoryTest );
  76
+//#include <activemq/core/ActiveMQConnectionTest.h>
  77
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::core::ActiveMQConnectionTest );
  78
+//#include <activemq/core/ActiveMQSessionTest.h>
  79
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::core::ActiveMQSessionTest );
  80
+//#include <activemq/core/MessageDispatchChannelTest.h>
  81
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::core::MessageDispatchChannelTest );
  82
+//
  83
+//#include <activemq/state/ConnectionStateTrackerTest.h>
  84
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::state::ConnectionStateTrackerTest );
  85
+//#include <activemq/state/ConnectionStateTest.h>
  86
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::state::ConnectionStateTest );
  87
+//#include <activemq/state/ConsumerStateTest.h>
  88
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::state::ConsumerStateTest );
  89
+//#include <activemq/state/ProducerStateTest.h>
  90
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::state::ProducerStateTest );
  91
+//#include <activemq/state/SessionStateTest.h>
  92
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::state::SessionStateTest );
  93
+//#include <activemq/state/TransactionStateTest.h>
  94
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::state::TransactionStateTest );
  95
+//
  96
+//#include <activemq/transport/failover/FailoverTransportTest.h>
  97
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::transport::failover::FailoverTransportTest );
  98
+//
  99
+//#include <activemq/transport/correlator/ResponseCorrelatorTest.h>
  100
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::transport::correlator::ResponseCorrelatorTest );
  101
+//
  102
+//#include <activemq/transport/mock/MockTransportFactoryTest.h>
  103
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::transport::mock::MockTransportFactoryTest );
  104
+//
  105
+//#include <activemq/transport/TransportRegistryTest.h>
  106
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::transport::TransportRegistryTest );
  107
+//#include <activemq/transport/IOTransportTest.h>
  108
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::transport::IOTransportTest );
  109
+//
  110
+//#include <activemq/exceptions/ActiveMQExceptionTest.h>
  111
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::exceptions::ActiveMQExceptionTest );
  112
+//
  113
+//#include <activemq/util/LongSequenceGeneratorTest.h>
  114
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::LongSequenceGeneratorTest );
  115
+//#include <activemq/util/PrimitiveValueNodeTest.h>
  116
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::PrimitiveValueNodeTest );
  117
+//#include <activemq/util/PrimitiveListTest.h>
  118
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::PrimitiveListTest );
  119
+//#include <activemq/util/PrimitiveMapTest.h>
  120
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::PrimitiveMapTest );
  121
+//#include <activemq/util/PrimitiveValueConverterTest.h>
  122
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::PrimitiveValueConverterTest );
  123
+//#include <activemq/util/URISupportTest.h>
  124
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::URISupportTest );
  125
+//#include <activemq/util/MemoryUsageTest.h>
  126
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::MemoryUsageTest );
  127
+//
  128
+//#include <activemq/threads/DedicatedTaskRunnerTest.h>
  129
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::threads::DedicatedTaskRunnerTest );
  130
+//#include <activemq/threads/CompositeTaskRunnerTest.h>
  131
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::threads::CompositeTaskRunnerTest );
  132
+//
  133
+//#include <activemq/wireformat/WireFormatRegistryTest.h>
  134
+//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::wireformat::WireFormatRegistryTest );
  135
+//
  136
+//#include <decaf/internal/util/ByteArrayAdapterTest.h>
  137
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::util::ByteArrayAdapterTest );
  138
+//#include <decaf/internal/nio/ByteArrayPerspectiveTest.h>
  139
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::ByteArrayPerspectiveTest );
  140
+//#include <decaf/internal/nio/ByteArrayBufferTest.h>
  141
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::ByteArrayBufferTest );
  142
+//#include <decaf/internal/nio/BufferFactoryTest.h>
  143
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::BufferFactoryTest );
  144
+//#include <decaf/internal/nio/CharArrayBufferTest.h>
  145
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::CharArrayBufferTest );
  146
+//#include <decaf/internal/nio/DoubleArrayBufferTest.h>
  147
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::DoubleArrayBufferTest );
  148
+//#include <decaf/internal/nio/FloatArrayBufferTest.h>
  149
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::FloatArrayBufferTest );
  150
+//#include <decaf/internal/nio/LongArrayBufferTest.h>
  151
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::LongArrayBufferTest );
  152
+//#include <decaf/internal/nio/IntArrayBufferTest.h>
  153
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::IntArrayBufferTest );
  154
+//#include <decaf/internal/nio/ShortArrayBufferTest.h>
  155
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::ShortArrayBufferTest );
  156
+//
  157
+//#include <decaf/internal/net/URIEncoderDecoderTest.h>
  158
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::net::URIEncoderDecoderTest );
  159
+//#include <decaf/internal/net/URIHelperTest.h>
  160
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::net::URIHelperTest );
  161
+//
  162
+//#include <decaf/nio/BufferTest.h>
  163
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::nio::BufferTest );
  164
+//
  165
+//#include <decaf/io/FilterInputStreamTest.h>
  166
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::FilterInputStreamTest );
  167
+//#include <decaf/io/FilterOutputStreamTest.h>
  168
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::FilterOutputStreamTest );
  169
+//#include <decaf/io/BufferedInputStreamTest.h>
  170
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::BufferedInputStreamTest );
  171
+//#include <decaf/io/BufferedOutputStreamTest.h>
  172
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::BufferedOutputStreamTest );
  173
+//#include <decaf/io/ByteArrayInputStreamTest.h>
  174
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::ByteArrayInputStreamTest );
  175
+//#include <decaf/io/ByteArrayOutputStreamTest.h>
  176
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::ByteArrayOutputStreamTest );
  177
+//#include <decaf/io/DataInputStreamTest.h>
  178
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::DataInputStreamTest );
  179
+//#include <decaf/io/DataOutputStreamTest.h>
  180
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::DataOutputStreamTest );
  181
+//
  182
+//#include <decaf/lang/MathTest.h>
  183
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::MathTest );
  184
+//#include <decaf/lang/ByteTest.h>
  185
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ByteTest );
  186
+//#include <decaf/lang/CharacterTest.h>
  187
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::CharacterTest );
  188
+//#include <decaf/lang/BooleanTest.h>
  189
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::BooleanTest );
  190
+//#include <decaf/lang/ShortTest.h>
  191
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ShortTest );
  192
+//#include <decaf/lang/IntegerTest.h>
  193
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::IntegerTest );
  194
+//#include <decaf/lang/LongTest.h>
  195
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::LongTest );
  196
+//#include <decaf/lang/FloatTest.h>
  197
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::FloatTest );
  198
+//#include <decaf/lang/DoubleTest.h>
  199
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::DoubleTest );
  200
+//#include <decaf/lang/ExceptionTest.h>
  201
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ExceptionTest );
  202
+//#include <decaf/lang/ThreadTest.h>
  203
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ThreadTest );
  204
+//#include <decaf/lang/SystemTest.h>
  205
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::SystemTest );
  206
+//#include <decaf/lang/PointerTest.h>
  207
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::PointerTest );
  208
+//
  209
+//#include <decaf/net/SocketFactoryTest.h>
  210
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::SocketFactoryTest );
  211
+//#include <decaf/net/SocketTest.h>
  212
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::SocketTest );
  213
+//#include <decaf/net/URITest.h>
  214
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::URITest );
  215
+//#include <decaf/net/URISyntaxExceptionTest.h>
  216
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::URISyntaxExceptionTest );
  217
+//#include <decaf/net/URLEncoderTest.h>
  218
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::URLEncoderTest );
  219
+//#include <decaf/net/URLDecoderTest.h>
  220
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::URLDecoderTest );
  221
+//
  222
+//#include <decaf/util/concurrent/ConcurrentStlMapTest.h>
  223
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::ConcurrentStlMapTest );
  224
+//#include <decaf/util/concurrent/CountDownLatchTest.h>
  225
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::CountDownLatchTest );
  226
+//#include <decaf/util/concurrent/MutexTest.h>
  227
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::MutexTest );
  228
+//#include <decaf/util/concurrent/ThreadPoolTest.h>
  229
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::ThreadPoolTest );
  230
+//#include <decaf/util/concurrent/TimeUnitTest.h>
  231
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::TimeUnitTest );
  232
+//
  233
+//#include <decaf/util/concurrent/atomic/AtomicBooleanTest.h>
  234
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::atomic::AtomicBooleanTest );
  235
+//#include <decaf/util/concurrent/atomic/AtomicIntegerTest.h>
  236
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::atomic::AtomicIntegerTest );
  237
+//#include <decaf/util/concurrent/atomic/AtomicReferenceTest.h>
  238
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::atomic::AtomicReferenceTest );
  239
+//
  240
+//#include <decaf/util/DateTest.h>
  241
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::DateTest );
  242
+//#include <decaf/util/UUIDTest.h>
  243
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::UUIDTest );
  244
+//#include <decaf/util/ListTest.h>
  245
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::ListTest );
  246
+//#include <decaf/util/StlMapTest.h>
  247
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::StlMapTest );
  248
+#include <decaf/util/PropertiesTest.h>
  249
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::PropertiesTest );
  250
+//#include <decaf/util/QueueTest.h>
  251
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::QueueTest );
  252
+//#include <decaf/util/RandomTest.h>
  253
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::RandomTest );
  254
+//#include <decaf/util/SetTest.h>
  255
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::SetTest );
  256
+//#include <decaf/util/StringTokenizerTest.h>
  257
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::StringTokenizerTest );

0 notes on commit 0ca1f13

Please sign in to comment.
Something went wrong with that request. Please try again.