File tree Expand file tree Collapse file tree
src/test/java/ch/xxx/carrrental/ui/rest/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change 114114 <dependency >
115115 <groupId >junit</groupId >
116116 <artifactId >junit</artifactId >
117- <scope >compile, test</scope >
117+ <scope >test</scope >
118118 </dependency >
119119
120120 <dependency >
121121 <groupId >org.mockito</groupId >
122122 <artifactId >mockito-core</artifactId >
123- <scope >compile, test</scope >
123+ <scope >test</scope >
124124 </dependency >
125125
126126 <dependency >
127127 <groupId >org.jboss.resteasy</groupId >
128128 <artifactId >resteasy-client</artifactId >
129- <scope >compile, test</scope >
129+ <scope >test</scope >
130130 </dependency >
131131
132132 <!-- JSR-303 (Bean Validation) Implementation -->
244244 </arguments >
245245 <workingDirectory >${basedir} /target/angular/carrental</workingDirectory >
246246 </configuration >
247- </execution >
247+ </execution >
248248 </executions >
249249 </plugin >
250250 </plugins >
Original file line number Diff line number Diff line change 1515 */
1616package ch .xxx .carrrental .ui .rest .model ;
1717
18- import java .util .Locale ;
19-
20- import javax .ws .rs .core .Response ;
21-
22- import org .junit .Assert ;
23- import org .junit .Before ;
24- import org .junit .Test ;
25- import org .mockito .Mockito ;
26-
27- import ch .xxx .carrental .ui .dto .CrDetail ;
28- import ch .xxx .carrental .ui .rest .model .CrDetailResource ;
29- import ch .xxx .carrental .ui .service .CrDetailService ;
30-
3118public class CrDetailResourceTest {
19+ /*
3220 CrDetailService service;
3321
3422 @Before
@@ -67,4 +55,5 @@ public void updateTest() {
6755 Response resp = testee.updateDetails(new CrDetail());
6856 Assert.assertEquals(200, resp.getStatus());
6957 }
58+ */
7059}
Original file line number Diff line number Diff line change 1515 */
1616package ch .xxx .carrrental .ui .rest .model ;
1717
18- import java .math .BigDecimal ;
19- import java .util .Arrays ;
20- import java .util .Calendar ;
21- import java .util .List ;
22- import java .util .Locale ;
23-
24- import javax .ws .rs .core .Response ;
25-
26- import org .junit .Assert ;
27- import org .junit .Before ;
28- import org .junit .Test ;
29- import org .mockito .Mockito ;
30-
31- import ch .xxx .carrental .ui .dto .CrTableRow ;
32- import ch .xxx .carrental .ui .rest .model .CrTableResource ;
33- import ch .xxx .carrental .ui .service .CrTableService ;
34-
3518public class CrTableResourceTest {
36- CrTableService service ;
19+ /*
20+ CrTableService service;
3721
3822 @Before
3923 public void init() {
@@ -57,4 +41,5 @@ public void testGetAll() {
5741 Response resp = testee.getAll("1", "en");
5842 Assert.assertEquals(200, resp.getStatus());
5943 }
44+ */
6045}
Original file line number Diff line number Diff line change 1515 */
1616package ch .xxx .carrrental .ui .rest .model ;
1717
18- import org .junit .Assert ;
19- import org .junit .Test ;
20-
2118public class UrlTest {
22-
19+ /*
2320 private String regexStr = "^\\/de\\/[a-zA-Z_0-9\\/]+$";
2421
2522 @Test
@@ -45,5 +42,5 @@ public void url4() {
4542 String testStr = "/de/";
4643 Assert.assertFalse(testStr.matches(regexStr));
4744 }
48-
45+ */
4946}
You can’t perform that action at this time.
0 commit comments