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
RevLine 
[88]1package com.framsticks.running;
2
3import org.testng.annotations.Test;
4
[96]5import com.framsticks.core.XmlBasedTest;
[88]6
7import static org.fest.assertions.Assertions.*;
8
9@Test
[96]10public class FramsServerTest extends XmlBasedTest {
[88]11
[96]12        @Override
13        protected String getConfigurationName() {
14                return "FramsServerTest.xml";
15        }
16
[90]17        @Test(timeOut = 3000)
[88]18        public void runServer() {
[96]19                assertThat(framsticks.size()).isEqualTo(1);
20                assertThat(framsticks.get("frams")).isInstanceOf(FramsServer.class);
[88]21
[96]22                monitor.useFor(1.0);
23        }
[88]24
[90]25
[88]26}
Note: See TracBrowser for help on using the repository browser.