Added new integration test for the IRSDemo and refactored the demo to

run in integration tests.
This commit is contained in:
Clinton Alexander
2016-06-03 16:36:39 +01:00
committed by Andras Slemmer
parent 9639768069
commit 507d9ea4ae
3 changed files with 138 additions and 15 deletions

View File

@ -52,7 +52,7 @@ class ConfigurationException(message: String) : Exception(message)
* Listed clientAPI classes are assumed to have to take a single APIServer constructor parameter
* @param clock The clock used within the node and by all protocols etc
*/
class Node(dir: Path, val p2pAddr: HostAndPort, configuration: NodeConfiguration,
open class Node(dir: Path, val p2pAddr: HostAndPort, configuration: NodeConfiguration,
networkMapAddress: NodeInfo?, advertisedServices: Set<ServiceType>,
clock: Clock = NodeClock(),
val clientAPIs: List<Class<*>> = listOf()) : AbstractNode(dir, configuration, networkMapAddress, advertisedServices, clock) {