diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-09-14 18:33:59 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-09-14 18:33:59 +0200 |
commit | 5f1d797afa90de94277507b9013ccb7b83bb0aa1 (patch) | |
tree | e94b3a0079bd7aa0da85d8758e6298a0dd0dd578 /TAO/orbsvcs/tests | |
parent | 84d30caebdc4e0da71f9720c4692e6742e99688d (diff) | |
download | ATCD-5f1d797afa90de94277507b9013ccb7b83bb0aa1.tar.gz |
Layout changes, use override
* TAO/orbsvcs/tests/Security/Big_Request/README:
* TAO/orbsvcs/tests/Security/Big_Request/TX_Object_i.cpp:
* TAO/orbsvcs/tests/Security/Big_Request/TX_Object_i.h:
* TAO/orbsvcs/tests/Security/Bug_2908_Regression/README:
Diffstat (limited to 'TAO/orbsvcs/tests')
4 files changed, 3 insertions, 19 deletions
diff --git a/TAO/orbsvcs/tests/Security/Big_Request/README b/TAO/orbsvcs/tests/Security/Big_Request/README index f652063600a..3bf8f03136e 100644 --- a/TAO/orbsvcs/tests/Security/Big_Request/README +++ b/TAO/orbsvcs/tests/Security/Big_Request/README @@ -1,5 +1,3 @@ - - --- The initial version of this test was contributed by Andrew Finnell. Additional modifications (simplifications, improvements, etc) were diff --git a/TAO/orbsvcs/tests/Security/Big_Request/TX_Object_i.cpp b/TAO/orbsvcs/tests/Security/Big_Request/TX_Object_i.cpp index 3093f44df94..6e17de0d98e 100644 --- a/TAO/orbsvcs/tests/Security/Big_Request/TX_Object_i.cpp +++ b/TAO/orbsvcs/tests/Security/Big_Request/TX_Object_i.cpp @@ -7,10 +7,6 @@ TX_Object_i::TX_Object_i (CORBA::ORB_ptr orb) { } -TX_Object_i::~TX_Object_i (void) -{ -} - void TX_Object_i::send (const DataSeq & data) { @@ -36,7 +32,7 @@ TX_Object_i::recv (DataSeq_out data) } void -TX_Object_i::shutdown (void) +TX_Object_i::shutdown () { this->orb_->shutdown (false); } diff --git a/TAO/orbsvcs/tests/Security/Big_Request/TX_Object_i.h b/TAO/orbsvcs/tests/Security/Big_Request/TX_Object_i.h index 932507faa40..a4fbe6a2637 100644 --- a/TAO/orbsvcs/tests/Security/Big_Request/TX_Object_i.h +++ b/TAO/orbsvcs/tests/Security/Big_Request/TX_Object_i.h @@ -20,30 +20,25 @@ #pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ - class TX_Object_i : public virtual POA_TX_Object { public: - // Constructor TX_Object_i (CORBA::ORB_ptr orb); // Destructor - virtual ~TX_Object_i (void); + ~TX_Object_i () override = default; virtual void send (const DataSeq & data); virtual void recv (DataSeq_out data); - virtual void shutdown (void); + virtual void shutdown (); private: - CORBA::ORB_var orb_; DataSeq data_; - }; - #endif /* TX_OBJECT_I_H */ diff --git a/TAO/orbsvcs/tests/Security/Bug_2908_Regression/README b/TAO/orbsvcs/tests/Security/Bug_2908_Regression/README index be733600765..66cef8367df 100644 --- a/TAO/orbsvcs/tests/Security/Bug_2908_Regression/README +++ b/TAO/orbsvcs/tests/Security/Bug_2908_Regression/README @@ -1,8 +1,5 @@ - - This is a regression test to demonstrate a problem in collocated invocation with SSLIOP in a separate thread. - How to Run: 1) Automatially: @@ -14,12 +11,10 @@ To start the server: ------------------ ./MessengerServer -ORBSvcConf server.conf - To start the client: ------------------ ./MessengerClient -ORBSvcConf client.conf - Output: NO_PERMISSION exception is thrown. |