You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2007/08/06 14:52:58 UTC
svn commit: r563124 - in /activemq/activemq-cpp/trunk/src/decaf/src/test:
Makefile.am decaf/lang/DoubleTest.cpp decaf/lang/DoubleTest.h
decaf/lang/FloatTest.cpp decaf/lang/FloatTest.h testRegistry.cpp
Author: tabish
Date: Mon Aug 6 05:52:57 2007
New Revision: 563124
URL: http://svn.apache.org/viewvc?view=rev&rev=563124
Log:
http://issues.apache.org/activemq/browse/AMQCPP-103
Implementing the Primitive Wrappers fully
Added:
activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/DoubleTest.cpp
activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/DoubleTest.h
activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/FloatTest.cpp
activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/FloatTest.h
Modified:
activemq/activemq-cpp/trunk/src/decaf/src/test/Makefile.am
activemq/activemq-cpp/trunk/src/decaf/src/test/testRegistry.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=563124&r1=563123&r2=563124
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/Makefile.am (original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/Makefile.am Mon Aug 6 05:52:57 2007
@@ -22,6 +22,8 @@
decaf/lang/ShortTest.cpp \
decaf/lang/IntegerTest.cpp \
decaf/lang/LongTest.cpp \
+ decaf/lang/FloatTest.cpp \
+ decaf/lang/DoubleTest.cpp \
decaf/lang/ThreadTest.cpp \
decaf/lang/ExceptionTest.cpp \
decaf/io/BufferedInputStreamTest.cpp \
@@ -54,6 +56,8 @@
decaf/lang/ShortTest.h \
decaf/lang/IntegerTest.h \
decaf/lang/LongTest.h \
+ decaf/lang/FloatTest.h \
+ decaf/lang/DoubleTest.h \
decaf/lang/ThreadTest.h \
decaf/lang/ExceptionTest.h \
decaf/io/BufferedInputStreamTest.h \
Added: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/DoubleTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/DoubleTest.cpp?view=auto&rev=563124
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/DoubleTest.cpp (added)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/DoubleTest.cpp Mon Aug 6 05:52:57 2007
@@ -0,0 +1,33 @@
+/*
+ * 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.
+ */
+
+#include "DoubleTest.h"
+
+#include <decaf/lang/Double.h>
+#include <string>
+
+using namespace std;
+using namespace decaf;
+using namespace decaf::lang;
+
+////////////////////////////////////////////////////////////////////////////////
+DoubleTest::DoubleTest() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void DoubleTest::test() {
+}
Added: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/DoubleTest.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/DoubleTest.h?view=auto&rev=563124
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/DoubleTest.h (added)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/DoubleTest.h Mon Aug 6 05:52:57 2007
@@ -0,0 +1,44 @@
+/*
+ * 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.
+ */
+
+#ifndef _DECAF_LANG_DOUBLETEST_H_
+#define _DECAF_LANG_DOUBLETEST_H_
+
+#include <cppunit/TestFixture.h>
+#include <cppunit/extensions/HelperMacros.h>
+
+namespace decaf{
+namespace lang{
+
+ class DoubleTest : public CppUnit::TestFixture
+ {
+ CPPUNIT_TEST_SUITE( DoubleTest );
+ CPPUNIT_TEST( test );
+ CPPUNIT_TEST_SUITE_END();
+
+ public:
+
+ DoubleTest();
+ virtual ~DoubleTest() {}
+
+ virtual void test();
+
+ };
+
+}}
+
+#endif /*_DECAF_LANG_DOUBLETEST_H_*/
Added: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/FloatTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/FloatTest.cpp?view=auto&rev=563124
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/FloatTest.cpp (added)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/FloatTest.cpp Mon Aug 6 05:52:57 2007
@@ -0,0 +1,33 @@
+/*
+ * 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.
+ */
+
+#include "FloatTest.h"
+
+#include <decaf/lang/Float.h>
+#include <string>
+
+using namespace std;
+using namespace decaf;
+using namespace decaf::lang;
+
+////////////////////////////////////////////////////////////////////////////////
+FloatTest::FloatTest() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void FloatTest::test() {
+}
Added: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/FloatTest.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/FloatTest.h?view=auto&rev=563124
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/FloatTest.h (added)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/FloatTest.h Mon Aug 6 05:52:57 2007
@@ -0,0 +1,44 @@
+/*
+ * 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.
+ */
+
+#ifndef _DECAF_LANG_FLOATTEST_H_
+#define _DECAF_LANG_FLOATTEST_H_
+
+#include <cppunit/TestFixture.h>
+#include <cppunit/extensions/HelperMacros.h>
+
+namespace decaf{
+namespace lang{
+
+ class FloatTest : public CppUnit::TestFixture
+ {
+ CPPUNIT_TEST_SUITE( FloatTest );
+ CPPUNIT_TEST( test );
+ CPPUNIT_TEST_SUITE_END();
+
+ public:
+
+ FloatTest();
+ virtual ~FloatTest() {}
+
+ virtual void test();
+
+ };
+
+}}
+
+#endif /*_DECAF_LANG_FLOATTEST_H_*/
Modified: 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=diff&rev=563124&r1=563123&r2=563124
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/testRegistry.cpp (original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/testRegistry.cpp Mon Aug 6 05:52:57 2007
@@ -43,6 +43,10 @@
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>