source: java/main/src/test/java/com/framsticks/running/FramsServerTest.java @ 193

Last change on this file since 193 was 193, checked in by Maciej Komosinski, 10 years ago

Set svn:eol-style native for all textual files

  • Property svn:eol-style set to native
File size: 508 bytes
Line 
1package com.framsticks.running;
2
3import org.testng.annotations.Test;
4
5import com.framsticks.core.XmlBasedTest;
6
7import static org.fest.assertions.Assertions.*;
8
9@Test
10public class FramsServerTest extends XmlBasedTest {
11
12        @Override
13        protected String getConfigurationName() {
14                return "FramsServerTest.xml";
15        }
16
17        @Test(timeOut = 3000)
18        public void runServer() {
19                assertThat(framsticks.size()).isEqualTo(1);
20                assertThat(framsticks.get("frams")).isInstanceOf(FramsServer.class);
21
22                monitor.useFor(1.0);
23        }
24
25
26}
Note: See TracBrowser for help on using the repository browser.