Skip to content
This repository
Browse code

Ensure tests execution at build time

  • Loading branch information...
commit 0767ee05b01e721f600e0a942c8010b11186bf14 1 parent edf80b0
Carlo Sciolla authored
2  pom.xml
@@ -143,7 +143,7 @@
143 143
                 <extensions>true</extensions>
144 144
                 <executions>
145 145
                     <execution>
146  
-                        <id>default</id>
  146
+                        <id>compile</id>
147 147
                         <goals>
148 148
                             <goal>compile</goal>
149 149
                         </goals>
11  ...ebscripts/processor/ClojureScriptProcessorIT.java → ...cripts/processor/ClojureScriptProcessorITest.java
@@ -19,19 +19,18 @@
19 19
 
20 20
 package org.springframework.extensions.webscripts.processor;
21 21
 
22  
-import org.junit.Test;
23  
-import org.springframework.extensions.webscripts.AbstractWebScriptServerTest;
24  
-import org.springframework.extensions.webscripts.TestWebScriptServer.GetRequest;
25  
-
26 22
 import java.io.IOException;
27 23
 import java.util.ArrayList;
28 24
 
  25
+import org.springframework.extensions.webscripts.AbstractWebScriptServerTest;
  26
+import org.springframework.extensions.webscripts.TestWebScriptServer.GetRequest;
  27
+
29 28
 /**
30 29
  * Unit tests for Clojure Script Processor
31 30
  *
32 31
  * @author Carlo Sciolla &lt;skuro@skuro.tk&gt;
33 32
  */
34  
-public class ClojureScriptProcessorIT extends AbstractWebScriptServerTest {
  33
+public class ClojureScriptProcessorITest extends AbstractWebScriptServerTest {
35 34
     @Override
36 35
     public ArrayList<String> getConfigLocations() {
37 36
         ArrayList<String> list = super.getConfigLocations();
@@ -46,7 +45,6 @@
46 45
      *
47 46
      * @throws IOException if Bad Things� happen
48 47
      */
49  
-    @Test
50 48
     public void testClojure1() throws IOException {
51 49
         sendRequest(new GetRequest("/test/clojure1"), 200, "VALUE: SUCCESS");
52 50
     }
@@ -54,7 +52,6 @@ public void testClojure1() throws IOException {
54 52
     /**
55 53
      * WithArgs - Getting args from the query string
56 54
      */
57  
-    @Test
58 55
     public void testWithArgs() throws IOException {
59 56
         sendRequest(new GetRequest("/test/withargs/1?b=2"), 200, "VALUE: 3");
60 57
     }

0 notes on commit 0767ee0

Please sign in to comment.
Something went wrong with that request. Please try again.