Commit 3657ccf0 authored by Martti Käärik's avatar Martti Käärik
Browse files

Need to pass component to avoid duplicate local servers.

parent fe26e7ce
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -77,7 +77,7 @@ public class TestControl {
	}

	public void configure(Connection[] connections, NamedElement testerComponent) {
		this.systemAdapter.configure(connections);
		this.systemAdapter.configure(connections, testerComponent);
		this.connections = connections;
		this.testerComponent = testerComponent;

+2 −1
Original line number Diff line number Diff line
@@ -19,8 +19,9 @@ public interface SystemAdapter {
	 * Prepare the adapter for all connections configured for an upcoming test
	 * description execution. This method is called before any test behaviour is
	 * executed and is a good place for doing any necessary initialization.
	 * @param component The component for which the connections are configured.
	 */
	void configure(Connection[] connections);
	void configure(Connection[] connections, NamedElement component);

	/**
	 * Encode and send the data to system under test using protocol or adapter