Commit 8d31edf1 authored by Guillaume Thomazon's avatar Guillaume Thomazon
Browse files
parent 42251a6d
......@@ -223,5 +223,11 @@
<artifactId>jhighlight</artifactId>
<version>1.0.2</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.2</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
package net.ihe.gazelle.wstester.model;
import org.junit.Assert;
import org.junit.Test;
public class GwtTestStepResultTest {
@Test
public void getStatusForCssOK() throws Exception {
GwtTestStepResult gt = new GwtTestStepResult();
gt.setStatus("OK");
Assert.assertEquals("PASSED", gt.getStatusForCss());
}
@Test
public void getStatusForCssKO() throws Exception {
GwtTestStepResult gt = new GwtTestStepResult();
gt.setStatus("KO");
Assert.assertEquals("KO", gt.getStatusForCss());
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment