3 //=============================================================================
7 * This code tests the persistence of the IFR by inserting
8 * IR objects into the repository with one function, and querying the
9 * repository with another, with a repository shutdown in between.
11 * @author Jeff Parsons <parsons@cs.wustl.edu>
13 //=============================================================================
16 #if !defined (PTEST_H)
19 #include "tao/IFR_Client/IFR_BasicC.h"
25 * @brief IFR Persistence test Implementation
27 * Class wrapper for code which either populates or queries the
28 * Interface Repository. Designed to be used with a Perl script
29 * which can start and stop both this process and the repository
30 * process in the necessary order.
41 /// Initialize the ORB and get the IFR object reference.
45 /// Execute test code.
52 /// The two IFR tests.
56 /// Process the command line arguments.
57 int parse_args (int argc
,
60 /// Flag to output results of IFR queries.
61 CORBA::Boolean debug_
;
63 /// Are we populating a new IFR or querying a persistent one?
64 CORBA::Boolean query_
;
66 /// Storage of the ORB reference.
69 /// Storage of the IFR reference.
70 CORBA::Repository_var repo_
;