|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| TestGatewayService.java | - | - | - | - |
|
||||||||||||||
| 1 | /* | |
| 2 | * JTRunner is free software; you can redistribute it and/or modify it under the | |
| 3 | * terms of the GNU General Public License as published by the Free Software | |
| 4 | * Foundation; either version 2, or (at your option) any later version. | |
| 5 | */ | |
| 6 | ||
| 7 | package jtr.remote.test; | |
| 8 | ||
| 9 | import java.rmi.Remote; | |
| 10 | import java.rmi.RemoteException; | |
| 11 | import jtr.config.TestConfig; | |
| 12 | ||
| 13 | /** | |
| 14 | * This interface defines the behavior that a component meant for launching | |
| 15 | * remotely defined test-suites must implement. | |
| 16 | * | |
| 17 | * @author frusso | |
| 18 | * @version 4.0 | |
| 19 | * @since 4.0 | |
| 20 | */ | |
| 21 | public interface TestGatewayService extends Remote { | |
| 22 | ||
| 23 | /** | |
| 24 | * This method accepts a new test-suite configuration followed by the information | |
| 25 | * required for connecting to a remote server class-loader. | |
| 26 | * | |
| 27 | * @param tc The test configuration | |
| 28 | * @param serverCL The JTR-node acting as server classloader | |
| 29 | * @param testOutcomeCollector The JTR-node acting as collector of test results | |
| 30 | * @throws java.rmi.RemoteException | |
| 31 | */ | |
| 32 | public void launchTest(TestConfig tc, NodeInfo serverCL, NodeInfo testOutcomeCollector) throws RemoteException; | |
| 33 | } |
|
||||||||||