activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r559489 - in /activemq/activemq-cpp/trunk/src/decaf/src/test: ./ decaf/io/ decaf/lang/ decaf/net/ decaf/util/ decaf/util/concurrent/
Date Wed, 25 Jul 2007 15:18:24 GMT
Author: tabish
Date: Wed Jul 25 08:18:22 2007
New Revision: 559489

URL: http://svn.apache.org/viewvc?view=rev&rev=559489
Log:
http://issues.apache.org/activemq/browse/AMQCPP-103

Creating unit test registery so we can turn tests on and off easier.

Added:
    activemq/activemq-cpp/trunk/src/decaf/src/test/testRegistry.cpp
Modified:
    activemq/activemq-cpp/trunk/src/decaf/src/test/Makefile.am
    activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/BufferedInputStreamTest.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/BufferedOutputStreamTest.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/ByteArrayInputStreamTest.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/ByteArrayOutputStreamTest.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/DataInputStreamTest.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/DataOutputStreamTest.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/BooleanTest.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/ExceptionTest.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/IntegerTest.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/LongTest.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/ThreadTest.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/net/SocketFactoryTest.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/net/SocketTest.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/DateTest.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/GuidTest.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/MapTest.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/QueueTest.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/RandomTest.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/SetTest.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/StringTokenizerTest.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/concurrent/CountDownLatchTest.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/concurrent/MutexTest.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/concurrent/ThreadPoolTest.cpp

Modified: activemq/activemq-cpp/trunk/src/decaf/src/test/Makefile.am
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/Makefile.am?view=diff&rev=559489&r1=559488&r2=559489
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/Makefile.am (original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/Makefile.am Wed Jul 25 08:18:22 2007
@@ -40,6 +40,7 @@
   decaf/util/concurrent/CountDownLatchTest.cpp \
   decaf/util/concurrent/MutexTest.cpp \
   decaf/util/concurrent/ThreadPoolTest.cpp \
+  testRegistry.cpp \
   main.cpp
 
 h_sources = \

Modified: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/BufferedInputStreamTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/BufferedInputStreamTest.cpp?view=diff&rev=559489&r1=559488&r2=559489
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/BufferedInputStreamTest.cpp (original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/BufferedInputStreamTest.cpp Wed
Jul 25 08:18:22 2007
@@ -17,8 +17,6 @@
 
 #include "BufferedInputStreamTest.h"
 
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::BufferedInputStreamTest );
-
 using namespace std;
 using namespace decaf;
 using namespace decaf::lang;

Modified: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/BufferedOutputStreamTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/BufferedOutputStreamTest.cpp?view=diff&rev=559489&r1=559488&r2=559489
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/BufferedOutputStreamTest.cpp (original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/BufferedOutputStreamTest.cpp Wed
Jul 25 08:18:22 2007
@@ -17,8 +17,6 @@
 
 #include "BufferedOutputStreamTest.h"
 
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::BufferedOutputStreamTest );
-
 using namespace std;
 using namespace decaf;
 using namespace decaf::lang;

Modified: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/ByteArrayInputStreamTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/ByteArrayInputStreamTest.cpp?view=diff&rev=559489&r1=559488&r2=559489
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/ByteArrayInputStreamTest.cpp (original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/ByteArrayInputStreamTest.cpp Wed
Jul 25 08:18:22 2007
@@ -17,8 +17,6 @@
 
 #include "ByteArrayInputStreamTest.h"
 
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::ByteArrayInputStreamTest );
-
 using namespace std;
 using namespace decaf;
 using namespace decaf::lang;

Modified: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/ByteArrayOutputStreamTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/ByteArrayOutputStreamTest.cpp?view=diff&rev=559489&r1=559488&r2=559489
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/ByteArrayOutputStreamTest.cpp
(original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/ByteArrayOutputStreamTest.cpp
Wed Jul 25 08:18:22 2007
@@ -17,8 +17,6 @@
 
 #include "ByteArrayOutputStreamTest.h"
 
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::ByteArrayOutputStreamTest );
-
 using namespace std;
 using namespace decaf;
 using namespace decaf::lang;

Modified: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/DataInputStreamTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/DataInputStreamTest.cpp?view=diff&rev=559489&r1=559488&r2=559489
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/DataInputStreamTest.cpp (original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/DataInputStreamTest.cpp Wed Jul
25 08:18:22 2007
@@ -17,8 +17,6 @@
 
 #include "DataInputStreamTest.h"
 
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::DataInputStreamTest );
-
 using namespace std;
 using namespace decaf;
 using namespace decaf::lang;

Modified: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/DataOutputStreamTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/DataOutputStreamTest.cpp?view=diff&rev=559489&r1=559488&r2=559489
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/DataOutputStreamTest.cpp (original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/io/DataOutputStreamTest.cpp Wed Jul
25 08:18:22 2007
@@ -17,8 +17,6 @@
 
 #include "DataOutputStreamTest.h"
 
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::DataOutputStreamTest );
-
 using namespace std;
 using namespace decaf;
 using namespace decaf::lang;

Modified: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/BooleanTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/BooleanTest.cpp?view=diff&rev=559489&r1=559488&r2=559489
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/BooleanTest.cpp (original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/BooleanTest.cpp Wed Jul 25 08:18:22
2007
@@ -17,8 +17,6 @@
 
 #include "BooleanTest.h"
 
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::BooleanTest );
-
 using namespace std;
 using namespace decaf;
 using namespace decaf::lang;

Modified: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/ExceptionTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/ExceptionTest.cpp?view=diff&rev=559489&r1=559488&r2=559489
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/ExceptionTest.cpp (original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/ExceptionTest.cpp Wed Jul 25
08:18:22 2007
@@ -17,8 +17,6 @@
 
 #include "ExceptionTest.h"
 
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ExceptionTest );
-
 using namespace std;
 using namespace decaf;
 using namespace decaf::lang;

Modified: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/IntegerTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/IntegerTest.cpp?view=diff&rev=559489&r1=559488&r2=559489
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/IntegerTest.cpp (original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/IntegerTest.cpp Wed Jul 25 08:18:22
2007
@@ -17,8 +17,6 @@
 
 #include "IntegerTest.h"
 
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::IntegerTest );
-
 using namespace std;
 using namespace decaf;
 using namespace decaf::lang;

Modified: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/LongTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/LongTest.cpp?view=diff&rev=559489&r1=559488&r2=559489
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/LongTest.cpp (original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/LongTest.cpp Wed Jul 25 08:18:22
2007
@@ -17,8 +17,6 @@
 
 #include "LongTest.h"
 
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::LongTest );
-
 using namespace std;
 using namespace decaf;
 using namespace decaf::lang;

Modified: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/ThreadTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/ThreadTest.cpp?view=diff&rev=559489&r1=559488&r2=559489
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/ThreadTest.cpp (original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/ThreadTest.cpp Wed Jul 25 08:18:22
2007
@@ -17,8 +17,6 @@
 
 #include "ThreadTest.h"
 
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ThreadTest );
-
 using namespace std;
 using namespace decaf;
 using namespace decaf::lang;

Modified: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/net/SocketFactoryTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/net/SocketFactoryTest.cpp?view=diff&rev=559489&r1=559488&r2=559489
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/net/SocketFactoryTest.cpp (original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/net/SocketFactoryTest.cpp Wed Jul
25 08:18:22 2007
@@ -17,8 +17,6 @@
 
 #include "SocketFactoryTest.h"
 
-//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::SocketFactoryTest );
-
 #include <decaf/util/Properties.h>
 #include <decaf/net/SocketFactory.h>
 #include <decaf/net/TcpSocket.h>

Modified: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/net/SocketTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/net/SocketTest.cpp?view=diff&rev=559489&r1=559488&r2=559489
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/net/SocketTest.cpp (original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/net/SocketTest.cpp Wed Jul 25 08:18:22
2007
@@ -17,8 +17,6 @@
 
 #include "SocketTest.h"
 
-//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::SocketTest );
-
 #include <decaf/net/TcpSocket.h>
 
 using namespace std;

Modified: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/DateTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/DateTest.cpp?view=diff&rev=559489&r1=559488&r2=559489
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/DateTest.cpp (original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/DateTest.cpp Wed Jul 25 08:18:22
2007
@@ -20,8 +20,6 @@
 #include <decaf/util/Date.h>
 #include <decaf/lang/Thread.h>
 
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::DateTest );
-
 using namespace std;
 using namespace decaf;
 using namespace decaf::util;

Modified: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/GuidTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/GuidTest.cpp?view=diff&rev=559489&r1=559488&r2=559489
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/GuidTest.cpp (original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/GuidTest.cpp Wed Jul 25 08:18:22
2007
@@ -19,8 +19,6 @@
 
 #include <decaf/util/Guid.h>
 
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::GuidTest );
-
 using namespace std;
 using namespace decaf;
 using namespace decaf::util;

Modified: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/MapTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/MapTest.cpp?view=diff&rev=559489&r1=559488&r2=559489
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/MapTest.cpp (original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/MapTest.cpp Wed Jul 25 08:18:22
2007
@@ -18,8 +18,6 @@
 #include "MapTest.h"
 #include <string>
 
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::MapTest );
-
 using namespace std;
 using namespace decaf;
 using namespace decaf::util;

Modified: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/QueueTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/QueueTest.cpp?view=diff&rev=559489&r1=559488&r2=559489
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/QueueTest.cpp (original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/QueueTest.cpp Wed Jul 25 08:18:22
2007
@@ -17,8 +17,6 @@
 
 #include "QueueTest.h"
 
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::QueueTest );
-
 using namespace std;
 using namespace decaf;
 using namespace decaf::util;

Modified: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/RandomTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/RandomTest.cpp?view=diff&rev=559489&r1=559488&r2=559489
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/RandomTest.cpp (original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/RandomTest.cpp Wed Jul 25 08:18:22
2007
@@ -17,8 +17,6 @@
 
 #include "RandomTest.h"
 
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::RandomTest );
-
 using namespace std;
 using namespace decaf;
 using namespace decaf::util;

Modified: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/SetTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/SetTest.cpp?view=diff&rev=559489&r1=559488&r2=559489
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/SetTest.cpp (original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/SetTest.cpp Wed Jul 25 08:18:22
2007
@@ -17,8 +17,6 @@
 
 #include "SetTest.h"
 
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::SetTest );
-
 using namespace std;
 using namespace decaf;
 using namespace decaf::util;

Modified: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/StringTokenizerTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/StringTokenizerTest.cpp?view=diff&rev=559489&r1=559488&r2=559489
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/StringTokenizerTest.cpp (original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/StringTokenizerTest.cpp Wed
Jul 25 08:18:22 2007
@@ -16,9 +16,6 @@
  */
 
 #include "StringTokenizerTest.h"
-
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::StringTokenizerTest );
-
 #include <decaf/util/StringTokenizer.h>
 
 using namespace std;

Modified: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/concurrent/CountDownLatchTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/concurrent/CountDownLatchTest.cpp?view=diff&rev=559489&r1=559488&r2=559489
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/concurrent/CountDownLatchTest.cpp
(original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/concurrent/CountDownLatchTest.cpp
Wed Jul 25 08:18:22 2007
@@ -17,8 +17,6 @@
 
 #include "CountDownLatchTest.h"
 
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::CountDownLatchTest );
-
 using namespace decaf;
 using namespace decaf::util;
 using namespace decaf::util::concurrent;

Modified: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/concurrent/MutexTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/concurrent/MutexTest.cpp?view=diff&rev=559489&r1=559488&r2=559489
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/concurrent/MutexTest.cpp (original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/concurrent/MutexTest.cpp Wed
Jul 25 08:18:22 2007
@@ -17,8 +17,6 @@
 
 #include "MutexTest.h"
 
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::MutexTest );
-
 using namespace std;
 using namespace decaf;
 using namespace decaf::lang;

Modified: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/concurrent/ThreadPoolTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/concurrent/ThreadPoolTest.cpp?view=diff&rev=559489&r1=559488&r2=559489
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/concurrent/ThreadPoolTest.cpp
(original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/util/concurrent/ThreadPoolTest.cpp
Wed Jul 25 08:18:22 2007
@@ -17,8 +17,6 @@
 
 #include "ThreadPoolTest.h"
 
-CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::ThreadPoolTest );
-
 using namespace std;
 using namespace decaf;
 using namespace decaf::lang;

Added: activemq/activemq-cpp/trunk/src/decaf/src/test/testRegistry.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/testRegistry.cpp?view=auto&rev=559489
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/testRegistry.cpp (added)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/testRegistry.cpp Wed Jul 25 08:18:22 2007
@@ -0,0 +1,70 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+// All CPP Unit tests are registered in here so we can disable them and
+// enable them easily in one place.
+
+#include <decaf/io/BufferedInputStreamTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::BufferedInputStreamTest );
+#include <decaf/io/BufferedOutputStreamTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::BufferedOutputStreamTest );
+#include <decaf/io/ByteArrayInputStreamTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::ByteArrayInputStreamTest );
+#include <decaf/io/ByteArrayOutputStreamTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::ByteArrayOutputStreamTest );
+#include <decaf/io/DataInputStreamTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::DataInputStreamTest );
+#include <decaf/io/DataOutputStreamTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::DataOutputStreamTest );
+
+#include <decaf/lang/BooleanTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::BooleanTest );
+#include <decaf/lang/ExceptionTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ExceptionTest );
+#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/ThreadTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ThreadTest );
+
+//#include <decaf/net/SocketFactoryTest.h>
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::SocketFactoryTest );
+//#include <decaf/net/SocketTest.h>
+//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::SocketTest );
+
+#include <decaf/util/concurrent/CountDownLatchTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::CountDownLatchTest );
+#include <decaf/util/concurrent/MutexTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::MutexTest );
+#include <decaf/util/concurrent/ThreadPoolTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::ThreadPoolTest );
+
+#include <decaf/util/DateTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::DateTest );
+#include <decaf/util/GuidTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::GuidTest );
+#include <decaf/util/MapTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::MapTest );
+#include <decaf/util/QueueTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::QueueTest );
+#include <decaf/util/RandomTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::RandomTest );
+#include <decaf/util/SetTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::SetTest );
+#include <decaf/util/StringTokenizerTest.h>
+CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::StringTokenizerTest );



Mime
View raw message