public class ZookeeperServerTest extends Object
| Modifier and Type | Field and Description |
|---|---|
private File |
dataDir |
private ZookeeperServer |
server |
| Constructor and Description |
|---|
ZookeeperServerTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterEach() |
protected void |
assertDoesNotExist(File dir) |
protected void |
assertValidDataDirectory(File dir) |
void |
beforeEach() |
void |
shouldStartServerAndLeaveData() |
void |
shouldStartServerAndRemoveData() |
private ZookeeperServer server
private File dataDir
public void beforeEach()
public void afterEach()
public void shouldStartServerAndRemoveData()
throws Exception
Exceptionpublic void shouldStartServerAndLeaveData()
throws Exception
Exceptionprotected void assertValidDataDirectory(File dir)
protected void assertDoesNotExist(File dir)
Copyright © 2021 JBoss by Red Hat. All rights reserved.