summaryrefslogtreecommitdiff
path: root/tests/DLL_Test.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/DLL_Test.h')
-rw-r--r--tests/DLL_Test.h81
1 files changed, 0 insertions, 81 deletions
diff --git a/tests/DLL_Test.h b/tests/DLL_Test.h
deleted file mode 100644
index 7c6c0b1e15e..00000000000
--- a/tests/DLL_Test.h
+++ /dev/null
@@ -1,81 +0,0 @@
-// ================================================================
-/**
- * @file DLL_Test.h
- *
- * $Id$
- *
- * @author Kirthika Parameswaran <kirthika@cs.wustl.edu>
- */
-// ================================================================
-
-#ifndef ACE_TESTS_DLL_TEST_H
-#define ACE_TESTS_DLL_TEST_H
-
-#include "ace/Log_Msg.h"
-#include "ace/Trace.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-/**
- * @class Hello
- *
- * @brief Define the interface used by the DLL_Test
- */
-class Hello
-{
-public:
- /// Destructor
- virtual ~Hello (void)
- {
- ACE_TRACE ("Hello::~Hello");
- }
-
- /**
- * @name Methods invoked by the test
- *
- * The test invokes four methods, a non-virtual method and a three virtual
- * methods implemented in the shared library.
- */
- //@{
- void say_hello (void)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("Hello\n")));
- }
-
- virtual void say_next (void) = 0;
-
- virtual ACE_TCHAR *new_info (void) = 0;
-
- virtual ACE_TCHAR *malloc_info (void) = 0;
- //@}
-};
-
-// These classes are used to test dynamic_cast in shared libraries.
-class Parent
-{
-public:
- Parent() {};
- virtual ~Parent() {};
-
- virtual void test()
- {
- ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("parent called\n")));
- }
-};
-
-class Child : public Parent
-{
- public:
- Child() {};
- virtual~ Child() {};
-
- virtual void test()
- {
- ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("child called\n")));
- }
-};
-
-#endif /* ACE_TESTS_DLL_TEST_H */