Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions | Private Member Functions
RegisteredServiceTest Class Reference

List of all members.

Public Member Functions

void setUp ()
void tearDown ()
void TestRegisteredService ()

Private Member Functions

 CPPUNIT_TEST_SUITE (RegisteredServiceTest)
 CPPUNIT_TEST (TestRegisteredService)
 CPPUNIT_TEST_SUITE_END ()

Detailed Description

Definition at line 17 of file RegisteredServiceTest.cpp.


Member Function Documentation

Definition at line 79 of file RegisteredServiceTest.cpp.

                                  {
}

Definition at line 83 of file RegisteredServiceTest.cpp.

                                     {
}

Definition at line 87 of file RegisteredServiceTest.cpp.

                                                  {
  Arc::Logger logger(Arc::Logger::rootLogger, "RegisteredService-Test");
  Arc::LogStream logcerr(std::cerr);
  Arc::Logger::rootLogger.addDestination(logcerr);

  Arc::SOAPEnvelope soap(xml_str);


  Arc::MessagePayload *m = new Arc::PayloadRaw();

  std::string cfg_str="";
  cfg_str +="\n";
  cfg_str +="    <ArcConfig\n";
  cfg_str +="      xmlns=\"http://www.nordugrid.org/schemas/ArcConfig/2007\"\n";
  cfg_str +="      xmlns:tcp=\"http://www.nordugrid.org/schemas/ArcMCCTCP/2007\">\n";
  cfg_str +="     <ModuleManager>\n";
  cfg_str +="        <Path>.libs/</Path>\n";
  cfg_str +="        <Path>../../hed/mcc/http/.libs/</Path>\n";
  cfg_str +="        <Path>../../hed/mcc/soap/.libs/</Path>\n";
  cfg_str +="        <Path>../../hed/mcc/tls/.libs/</Path>\n";
  cfg_str +="        <Path>../../hed/mcc/tcp/.libs/</Path>\n";
  cfg_str +="     </ModuleManager>\n";
  cfg_str +="     <Plugins><Name>mcctcp</Name></Plugins>\n";
  cfg_str +="     <Plugins><Name>mcctls</Name></Plugins>\n";
  cfg_str +="     <Plugins><Name>mcchttp</Name></Plugins>\n";
  cfg_str +="     <Plugins><Name>mccsoap</Name></Plugins>\n";
  cfg_str +="     <Chain>\n";
  cfg_str +="      <Component name='tcp.client' id='tcp'><tcp:Connect><tcp:Host>knowarc1.grid.niif.hu</tcp:Host><tcp:Port>50000</tcp:Port></tcp:Connect></Component>\n";
  cfg_str +="      <Component name='http.client' id='http'><next id='tcp'/><Method>POST</Method><Endpoint>echo</Endpoint></Component>\n";
  cfg_str +="      <Component name='soap.client' id='soap' entry='soap'><next id='http'/></Component>\n";
  cfg_str +="     </Chain>\n";
  cfg_str +="    </ArcConfig>";
  
  Arc::Config cfg(cfg_str);
  MyRegisteredService myservice(&cfg);

  CPPUNIT_ASSERT(true);
}

Here is the call graph for this function:


The documentation for this class was generated from the following file: