Permalink
Browse files

Ensure tests execution at build time

  • Loading branch information...
1 parent edf80b0 commit 0767ee05b01e721f600e0a942c8010b11186bf14 @skuro committed Jan 22, 2013
View
2 pom.xml
@@ -143,7 +143,7 @@
<extensions>true</extensions>
<executions>
<execution>
- <id>default</id>
+ <id>compile</id>
<goals>
<goal>compile</goal>
</goals>
View
11 ...s/processor/ClojureScriptProcessorIT.java → ...rocessor/ClojureScriptProcessorITest.java
@@ -19,19 +19,18 @@
package org.springframework.extensions.webscripts.processor;
-import org.junit.Test;
-import org.springframework.extensions.webscripts.AbstractWebScriptServerTest;
-import org.springframework.extensions.webscripts.TestWebScriptServer.GetRequest;
-
import java.io.IOException;
import java.util.ArrayList;
+import org.springframework.extensions.webscripts.AbstractWebScriptServerTest;
+import org.springframework.extensions.webscripts.TestWebScriptServer.GetRequest;
+
/**
* Unit tests for Clojure Script Processor
*
* @author Carlo Sciolla &lt;skuro@skuro.tk&gt;
*/
-public class ClojureScriptProcessorIT extends AbstractWebScriptServerTest {
+public class ClojureScriptProcessorITest extends AbstractWebScriptServerTest {
@Override
public ArrayList<String> getConfigLocations() {
ArrayList<String> list = super.getConfigLocations();
@@ -46,15 +45,13 @@
*
* @throws IOException if Bad Things� happen
*/
- @Test
public void testClojure1() throws IOException {
sendRequest(new GetRequest("/test/clojure1"), 200, "VALUE: SUCCESS");
}
/**
* WithArgs - Getting args from the query string
*/
- @Test
public void testWithArgs() throws IOException {
sendRequest(new GetRequest("/test/withargs/1?b=2"), 200, "VALUE: 3");
}

0 comments on commit 0767ee0

Please sign in to comment.