10 TestCase(
"tarch::mpi::tests::StringTest" ) {
21 const std::string testString =
"unittest";
#define testMethod(name)
Run a test method and check for errors.
#define validateEqualsWithParams2(actualValue, validValue, param0, param1)
static Rank & getInstance()
This operation returns the singleton instance.
static tarch::logging::Log _log
void testSendReceive()
Tests constructors.
virtual void run() override
This routine is triggered by the TestCaseCollection.
The string message looks like the other messages which I generate through DaStGen 2,...
static void send(const tarch::mpi::StringMessage &buffer, int destination, int tag, MPI_Comm communicator)
In DaStGen (the first version), I had a non-static version of the send as well as the receive.
void setData(const std::string &value)
static void receive(tarch::mpi::StringMessage &buffer, int source, int tag, MPI_Comm communicator)
std::string toString() const
std::string getData() const