Code Search for Developers
 
 
  

MockServerCommunicator.java from MASE: Agile Software Engineering at Krugle


Show MockServerCommunicator.java syntax highlighted

package test.planner;

import persister.Message;
import persister.distributed.ServerCommunicator;

public class MockServerCommunicator extends ServerCommunicator {

	private Message msg;

	public MockServerCommunicator(String projectDirectory, String projectName, int port) throws Exception {
		super(projectDirectory, projectName, port);
	}
	
	public void receiveMessage(Message msg) {
		this.msg = msg;
	}

	public Message messageReceived() {
		return msg;
	}

}




See more files for this project here

MASE: Agile Software Engineering

The MASE project investigates methods to support the coordination and executable acceptance testing of software projects. Keywords: Agile methods, distributed teams, Extreme Programming. See http://ebe.cpsc.ucalgary.ca/ebe for more information.

Project homepage: http://sourceforge.net/projects/mase
Programming language(s): Java,XML
License: other

  AsynchronousDistributedPersisterTest.java
  AsynchronousPersisterTest.java
  MockClientCommunicator.java
  MockServerCommunicator.java
  NetworkCommunicationTest.java
  PersisterTest.java
  SynchronousPersisterTest.java