1 //=============================================================================
3 * @file Collocation_Tester.h
5 * This file contains the class that tests the TAO's collocation
8 * @author Angelo Corsaro <corsaro@cs.wustl.edu>
10 //=============================================================================
13 // -- Custom App. Include --
14 #include "MultipleC.h"
16 #include "ace/Log_Msg.h"
20 static const char *top
;
21 static const char *left
;
22 static const char *right
;
23 static const char *bottom
;
27 class Collocation_Tester
30 // -- Constructor/Destructors --
31 Collocation_Tester (CORBA::Object_ptr object
);
33 ~Collocation_Tester ();
41 // -- Helper Methods --
43 /// Tests the method accessible thru the
47 /// Tests the method accessible thru the
51 /// Tests the method accessible thru the
55 /// Tests the method accessible thru the
60 * This method tests wether the answer obtained
61 * is the one expected. As strcmp, it returns zero
62 * if a match occurs and a non-zero value if there
63 * is no match (actually 1 is returned if there is
66 int match_answer (const char *actual_answer
,
67 const char *right_answer
,
68 const char *method_name
);
72 CORBA::Object_var object_
;