renamed SchedulerDaemonGetVersionTest to RpcGetVersionTest
This commit is contained in:
parent
a78ceab461
commit
470d325ce4
3 changed files with 16 additions and 16 deletions
|
@ -21,7 +21,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Author : $Author: maroy $
|
# Author : $Author: maroy $
|
||||||
# Version : $Revision: 1.30 $
|
# Version : $Revision: 1.31 $
|
||||||
# Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/etc/Makefile.in,v $
|
# Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/etc/Makefile.in,v $
|
||||||
#
|
#
|
||||||
# @configure_input@
|
# @configure_input@
|
||||||
|
@ -195,7 +195,7 @@ TEST_RUNNER_OBJS = ${SCHEDULER_OBJS} \
|
||||||
${TMP_DIR}/RpcRescheduleTest.o \
|
${TMP_DIR}/RpcRescheduleTest.o \
|
||||||
${TMP_DIR}/XmlRpcToolsTest.o \
|
${TMP_DIR}/XmlRpcToolsTest.o \
|
||||||
${TMP_DIR}/GetVersionMethodTest.o \
|
${TMP_DIR}/GetVersionMethodTest.o \
|
||||||
${TMP_DIR}/SchedulerDaemonGetVersionTest.o \
|
${TMP_DIR}/RpcGetVersionTest.o \
|
||||||
${TMP_DIR}/UploadPlaylistMethodTest.o \
|
${TMP_DIR}/UploadPlaylistMethodTest.o \
|
||||||
${TMP_DIR}/DisplayScheduleMethodTest.o \
|
${TMP_DIR}/DisplayScheduleMethodTest.o \
|
||||||
${TMP_DIR}/DisplayPlaylistMethodTest.o \
|
${TMP_DIR}/DisplayPlaylistMethodTest.o \
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: maroy $
|
Author : $Author: maroy $
|
||||||
Version : $Revision: 1.2 $
|
Version : $Revision: 1.1 $
|
||||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/Attic/SchedulerDaemonGetVersionTest.cxx,v $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/RpcGetVersionTest.cxx,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
#include <XmlRpcValue.h>
|
#include <XmlRpcValue.h>
|
||||||
|
|
||||||
#include "SchedulerDaemon.h"
|
#include "SchedulerDaemon.h"
|
||||||
#include "SchedulerDaemonGetVersionTest.h"
|
#include "RpcGetVersionTest.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace XmlRpc;
|
using namespace XmlRpc;
|
||||||
|
@ -58,7 +58,7 @@ using namespace LiveSupport::Scheduler;
|
||||||
|
|
||||||
/* ================================================ local constants & macros */
|
/* ================================================ local constants & macros */
|
||||||
|
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION(SchedulerDaemonGetVersionTest);
|
CPPUNIT_TEST_SUITE_REGISTRATION(RpcGetVersionTest);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The name of the configuration file for the scheduler daemon.
|
* The name of the configuration file for the scheduler daemon.
|
||||||
|
@ -80,7 +80,7 @@ static const std::string versionPrefix = "LiveSupport Scheduler Daemon";
|
||||||
* Configure a Configurable with an XML file.
|
* Configure a Configurable with an XML file.
|
||||||
*----------------------------------------------------------------------------*/
|
*----------------------------------------------------------------------------*/
|
||||||
void
|
void
|
||||||
SchedulerDaemonGetVersionTest :: configure(
|
RpcGetVersionTest :: configure(
|
||||||
Ptr<Configurable>::Ref configurable,
|
Ptr<Configurable>::Ref configurable,
|
||||||
const std::string & fileName)
|
const std::string & fileName)
|
||||||
throw (std::invalid_argument,
|
throw (std::invalid_argument,
|
||||||
|
@ -98,7 +98,7 @@ SchedulerDaemonGetVersionTest :: configure(
|
||||||
* Set up the test environment
|
* Set up the test environment
|
||||||
*----------------------------------------------------------------------------*/
|
*----------------------------------------------------------------------------*/
|
||||||
void
|
void
|
||||||
SchedulerDaemonGetVersionTest :: setUp(void) throw ()
|
RpcGetVersionTest :: setUp(void) throw ()
|
||||||
{
|
{
|
||||||
Ptr<SchedulerDaemon>::Ref daemon = SchedulerDaemon::getInstance();
|
Ptr<SchedulerDaemon>::Ref daemon = SchedulerDaemon::getInstance();
|
||||||
|
|
||||||
|
@ -124,7 +124,7 @@ SchedulerDaemonGetVersionTest :: setUp(void) throw ()
|
||||||
* Clean up the test environment
|
* Clean up the test environment
|
||||||
*----------------------------------------------------------------------------*/
|
*----------------------------------------------------------------------------*/
|
||||||
void
|
void
|
||||||
SchedulerDaemonGetVersionTest :: tearDown(void) throw ()
|
RpcGetVersionTest :: tearDown(void) throw ()
|
||||||
{
|
{
|
||||||
Ptr<SchedulerDaemon>::Ref daemon = SchedulerDaemon::getInstance();
|
Ptr<SchedulerDaemon>::Ref daemon = SchedulerDaemon::getInstance();
|
||||||
|
|
||||||
|
@ -137,7 +137,7 @@ SchedulerDaemonGetVersionTest :: tearDown(void) throw ()
|
||||||
* Test a simple upload.
|
* Test a simple upload.
|
||||||
*----------------------------------------------------------------------------*/
|
*----------------------------------------------------------------------------*/
|
||||||
void
|
void
|
||||||
SchedulerDaemonGetVersionTest :: simpleTest(void)
|
RpcGetVersionTest :: simpleTest(void)
|
||||||
throw (CPPUNIT_NS::Exception)
|
throw (CPPUNIT_NS::Exception)
|
||||||
{
|
{
|
||||||
XmlRpcValue parameters;
|
XmlRpcValue parameters;
|
|
@ -23,11 +23,11 @@
|
||||||
|
|
||||||
Author : $Author: maroy $
|
Author : $Author: maroy $
|
||||||
Version : $Revision: 1.1 $
|
Version : $Revision: 1.1 $
|
||||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/Attic/SchedulerDaemonGetVersionTest.h,v $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/RpcGetVersionTest.h,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
#ifndef SchedulerDaemonGetVersionTest_h
|
#ifndef RpcGetVersionTest_h
|
||||||
#define SchedulerDaemonGetVersionTest_h
|
#define RpcGetVersionTest_h
|
||||||
|
|
||||||
#ifndef __cplusplus
|
#ifndef __cplusplus
|
||||||
#error This is a C++ include file
|
#error This is a C++ include file
|
||||||
|
@ -64,9 +64,9 @@ using namespace LiveSupport::Core;
|
||||||
* @version $Revision: 1.1 $
|
* @version $Revision: 1.1 $
|
||||||
* @see SchedulerDaemon
|
* @see SchedulerDaemon
|
||||||
*/
|
*/
|
||||||
class SchedulerDaemonGetVersionTest : public CPPUNIT_NS::TestFixture
|
class RpcGetVersionTest : public CPPUNIT_NS::TestFixture
|
||||||
{
|
{
|
||||||
CPPUNIT_TEST_SUITE(SchedulerDaemonGetVersionTest);
|
CPPUNIT_TEST_SUITE(RpcGetVersionTest);
|
||||||
CPPUNIT_TEST(simpleTest);
|
CPPUNIT_TEST(simpleTest);
|
||||||
CPPUNIT_TEST_SUITE_END();
|
CPPUNIT_TEST_SUITE_END();
|
||||||
|
|
||||||
|
@ -120,5 +120,5 @@ class SchedulerDaemonGetVersionTest : public CPPUNIT_NS::TestFixture
|
||||||
} // namespace Scheduler
|
} // namespace Scheduler
|
||||||
} // namespace LiveSupport
|
} // namespace LiveSupport
|
||||||
|
|
||||||
#endif // SchedulerDaemonGetVersionTest_h
|
#endif // RpcGetVersionTest_h
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue