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:
1.2 KB
|
Line | |
---|
1 | package com.framsticks.test; |
---|
2 | |
---|
3 | // import static org.fest.assertions.Assertions.*; |
---|
4 | |
---|
5 | import org.testng.annotations.Test; |
---|
6 | |
---|
7 | import com.framsticks.core.XmlBasedTest; |
---|
8 | // import com.framsticks.util.dispatching.StackedJoinable; |
---|
9 | |
---|
10 | import org.apache.logging.log4j.Logger; |
---|
11 | import org.apache.logging.log4j.LogManager; |
---|
12 | |
---|
13 | @Test |
---|
14 | public class PrimeExperimentTest extends XmlBasedTest { |
---|
15 | |
---|
16 | private static final Logger log = LogManager.getLogger(PrimeExperimentTest.class); |
---|
17 | |
---|
18 | protected PrimeExperiment experiment; |
---|
19 | |
---|
20 | |
---|
21 | @Test |
---|
22 | public void start() { |
---|
23 | log.debug("starting"); |
---|
24 | // assertThat(framsticks).isNotNull(); |
---|
25 | // assertThat(framsticks.size()).isEqualTo(1); |
---|
26 | // assertThat(framsticks.get("stacked")).isInstanceOf(StackedJoinable.class); |
---|
27 | // StackedJoinable stacked = (StackedJoinable) framsticks.get("stacked"); |
---|
28 | |
---|
29 | // assertThat(stacked.size()).isEqualTo(2); |
---|
30 | // assertThat(stacked.get(1)).isInstanceOf(PrimeExperiment.class); |
---|
31 | // assertThat(framsticks.get("prime")).isInstanceOf(PrimeExperiment.class); |
---|
32 | // assertThat(framsticks.get("prime")).isInstanceOf(PrimeExperiment.class); |
---|
33 | |
---|
34 | // experiment = (PrimeExperiment) framsticks.get("prime"); |
---|
35 | // |
---|
36 | // Dispatching.sleep(50); |
---|
37 | |
---|
38 | monitor.waitFor(); |
---|
39 | |
---|
40 | } |
---|
41 | |
---|
42 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.