2728293031323334
@Rule public TemporaryFolder folder = new TemporaryFolder(); @BeforeClass public static void setUp() throws Exception { fileServer = new FileServer(); fileServer.start(); }
3132333435363738
HttpRepository repository = new HttpRepository("http://localhost:8080/updates/"); @BeforeClass public static void setUp() throws Exception { fileServer = new FileServer(); fileServer.start(); }
2324252627282930
private File configuration; Properties properties = new Properties(); @Before public void startServer() throws Exception { fileServer = new FileServer(); fileServer.start(); }
1819202122232425
public TemporaryFolder folder = new TemporaryFolder(); private static FileServer fileServer; @BeforeClass public static void setUp() throws Exception { fileServer = new FileServer(); fileServer.start(); }
2021222324252627
private static FileServer fileServer; @BeforeClass public static void setUp() throws Exception { fileServer = new FileServer(); fileServer.start(); }