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/08 15:25:12 UTC

svn commit: r563871 - in /activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang: MathTest.cpp MathTest.h

Author: tabish
Date: Wed Aug  8 06:25:11 2007
New Revision: 563871

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

Implementing more of the Math functions

Added:
    activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/MathTest.cpp
    activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/MathTest.h

Added: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/MathTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/MathTest.cpp?view=auto&rev=563871
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/MathTest.cpp (added)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/MathTest.cpp Wed Aug  8 06:25:11 2007
@@ -0,0 +1,32 @@
+/*
+ * 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 "MathTest.h"
+
+#include <decaf/lang/Math.h>
+
+using namespace std;
+using namespace decaf;
+using namespace decaf::lang;
+
+////////////////////////////////////////////////////////////////////////////////
+MathTest::MathTest() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void MathTest::test() {
+}

Added: activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/MathTest.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/MathTest.h?view=auto&rev=563871
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/MathTest.h (added)
+++ activemq/activemq-cpp/trunk/src/decaf/src/test/decaf/lang/MathTest.h Wed Aug  8 06:25:11 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_MATHTEST_H_
+#define _DECAF_LANG_MATHTEST_H_
+
+#include <cppunit/TestFixture.h>
+#include <cppunit/extensions/HelperMacros.h>
+
+namespace decaf{
+namespace lang{
+
+    class MathTest : public CppUnit::TestFixture
+    {
+        CPPUNIT_TEST_SUITE( MathTest );
+        CPPUNIT_TEST( test );
+        CPPUNIT_TEST_SUITE_END();
+
+    public:
+
+        MathTest();
+        virtual ~MathTest() {}
+
+        virtual void test();
+
+    };
+
+}}
+
+#endif /*_DECAF_LANG_MATHTEST_H_*/