summaryrefslogtreecommitdiff
path: root/TAO/tests/LongDouble/LongDoubleTest.cpp
diff options
context:
space:
mode:
authorAbdullah Sowayan <sowayan@users.noreply.github.com>2007-03-18 22:22:42 +0000
committerAbdullah Sowayan <sowayan@users.noreply.github.com>2007-03-18 22:22:42 +0000
commitd66fcc9b4aaec8e88eeb83fc578fdf8a3cc963de (patch)
treed4dc0749f83b47a918ca45ffebea0f2c0170c468 /TAO/tests/LongDouble/LongDoubleTest.cpp
parente34168a8b5966b1c5ae3f0ac26a1795119b26472 (diff)
downloadATCD-d66fcc9b4aaec8e88eeb83fc578fdf8a3cc963de.tar.gz
Diffstat (limited to 'TAO/tests/LongDouble/LongDoubleTest.cpp')
-rw-r--r--TAO/tests/LongDouble/LongDoubleTest.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/TAO/tests/LongDouble/LongDoubleTest.cpp b/TAO/tests/LongDouble/LongDoubleTest.cpp
new file mode 100644
index 00000000000..1980e729449
--- /dev/null
+++ b/TAO/tests/LongDouble/LongDoubleTest.cpp
@@ -0,0 +1,26 @@
+//
+// $Id$
+//
+#include "LongDoubleTest.h"
+#include "Global.h"
+
+ACE_RCSID (LongDoubleTest, LongDoubleTest, "$Id$")
+
+LongDoubleTest::LongDoubleTest (CORBA::ORB_ptr orb)
+ : orb_ (CORBA::ORB::_duplicate (orb))
+{
+}
+
+CORBA::LongDouble
+LongDoubleTest::get_long_double ()
+{
+ CORBA::LongDouble ld;
+ ACE_CDR_LONG_DOUBLE_ASSIGNMENT (ld, Global::get_long_double ());
+ return ld;
+}
+
+void
+LongDoubleTest::shutdown ()
+{
+ this->orb_->shutdown (0);
+}