Back to index

nordugrid-arc-nox  1.1.0~rc6
Classes | Defines | Functions
JobDescriptionTest.cpp File Reference
#include <iostream>
#include <string>
#include <fstream>
#include <cppunit/extensions/HelperMacros.h>
#include <arc/Logger.h>
#include <arc/StringConv.h>
#include <arc/XMLNode.h>
#include <arc/client/JobDescription.h>

Go to the source code of this file.

Classes

class  JobDescriptionTest

Defines

#define ARC_ASSERT(X)   CPPUNIT_ASSERT_MESSAGE("ARCJSDL parsing issue", X);
#define XRSL_ASSERT(X)   CPPUNIT_ASSERT_MESSAGE("XRSL parsing issue", X);
#define JDL_ASSERT(X)   CPPUNIT_ASSERT_MESSAGE("JDL parsing issue", X);
#define PARSE_ASSERT(X, JOB, ARC, XRSL, JDL)
#define ARC_ASSERT_EQUAL(X, Y)   CPPUNIT_ASSERT_EQUAL_MESSAGE("ARCJSDL parsing issue", X, Y);
#define XRSL_ASSERT_EQUAL(X, Y)   CPPUNIT_ASSERT_EQUAL_MESSAGE("XRSL parsing issue", X, Y);
#define JDL_ASSERT_EQUAL(X, Y)   CPPUNIT_ASSERT_EQUAL_MESSAGE("JDL parsing issue", X, Y);
#define PARSE_ASSERT_EQUAL(X, JOB, ARC, XRSL, JDL)
#define DATATYPE_ASSERT()

Functions

 CPPUNIT_TEST_SUITE_REGISTRATION (JobDescriptionTest)

Define Documentation

#define ARC_ASSERT (   X)    CPPUNIT_ASSERT_MESSAGE("ARCJSDL parsing issue", X);

Definition at line 12 of file JobDescriptionTest.cpp.

#define ARC_ASSERT_EQUAL (   X,
 
)    CPPUNIT_ASSERT_EQUAL_MESSAGE("ARCJSDL parsing issue", X, Y);

Definition at line 21 of file JobDescriptionTest.cpp.

#define DATATYPE_ASSERT ( )

Definition at line 30 of file JobDescriptionTest.cpp.

#define JDL_ASSERT (   X)    CPPUNIT_ASSERT_MESSAGE("JDL parsing issue", X);

Definition at line 14 of file JobDescriptionTest.cpp.

#define JDL_ASSERT_EQUAL (   X,
 
)    CPPUNIT_ASSERT_EQUAL_MESSAGE("JDL parsing issue", X, Y);

Definition at line 23 of file JobDescriptionTest.cpp.

#define PARSE_ASSERT (   X,
  JOB,
  ARC,
  XRSL,
  JDL 
)
Value:
ARC_ASSERT(ARC.X == JOB.X); \
  XRSL_ASSERT(XRSL.X == JOB.X); \
  JDL_ASSERT(JDL.X == JOB.X);

Definition at line 16 of file JobDescriptionTest.cpp.

#define PARSE_ASSERT_EQUAL (   X,
  JOB,
  ARC,
  XRSL,
  JDL 
)
Value:
ARC_ASSERT_EQUAL(JOB.X, ARC.X); \
  XRSL_ASSERT_EQUAL(JOB.X, XRSL.X); \
  JDL_ASSERT_EQUAL(JOB.X, JDL.X);

Definition at line 25 of file JobDescriptionTest.cpp.

#define XRSL_ASSERT (   X)    CPPUNIT_ASSERT_MESSAGE("XRSL parsing issue", X);

Definition at line 13 of file JobDescriptionTest.cpp.

#define XRSL_ASSERT_EQUAL (   X,
 
)    CPPUNIT_ASSERT_EQUAL_MESSAGE("XRSL parsing issue", X, Y);

Definition at line 22 of file JobDescriptionTest.cpp.


Function Documentation