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 @@ -7,5 +7,5 @@ org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
77org.eclipse.jdt.core.compiler.problem.enumIdentifier =error
88org.eclipse.jdt.core.compiler.problem.forbiddenReference =warning
99org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures =warning
10- org.eclipse.jdt.core.compiler.release =enabled
10+ org.eclipse.jdt.core.compiler.release =disabled
1111org.eclipse.jdt.core.compiler.source =11
Original file line number Diff line number Diff line change @@ -12,5 +12,5 @@ org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
1212org.eclipse.jdt.core.compiler.problem.enumIdentifier =error
1313org.eclipse.jdt.core.compiler.problem.forbiddenReference =warning
1414org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures =warning
15- org.eclipse.jdt.core.compiler.release =enabled
15+ org.eclipse.jdt.core.compiler.release =disabled
1616org.eclipse.jdt.core.compiler.source =11
Original file line number Diff line number Diff line change 235235 <goals >
236236 <goal >exec</goal >
237237 </goals >
238- <phase >test</phase >
238+ <phase >generate- test-sources </phase >
239239 <configuration >
240240 <executable >npm</executable >
241241 <arguments >
Original file line number Diff line number Diff line change 11package ch .xxx .carrrental .ui .rest .model ;
22
3- import java .util .Locale ;
43
5- import javax .ws .rs .core .Response ;
6-
7- import org .junit .Assert ;
8- import org .junit .Before ;
9- import org .junit .Test ;
10- import org .mockito .Mockito ;
11-
12- import ch .xxx .carrental .ui .dto .CrDetail ;
13- import ch .xxx .carrental .ui .rest .model .CrDetailResource ;
14- import ch .xxx .carrental .ui .service .CrDetailService ;
154
165
176public class CrDetailResourceTest {
18- CrDetailService service ;
7+ /*
8+ CrDetailService service;
199
2010 @Before
2111 public void init() {
@@ -50,7 +40,8 @@ public void deleteTest() {
5040 @Test
5141 public void updateTest() {
5242 CrDetailResource testee = new CrDetailResource(this.service);
53- Response resp = testee .updateDetails (new CrDetail ());
43+ Response resp = testee.updateDetails(new CrDetail());
5444 Assert.assertEquals(200, resp.getStatus());
5545 }
46+ */
5647}
Original file line number Diff line number Diff line change 11package ch .xxx .carrrental .ui .rest .model ;
22
3- import java .math .BigDecimal ;
4- import java .util .Arrays ;
5- import java .util .Calendar ;
6- import java .util .List ;
7- import java .util .Locale ;
8-
9- import javax .ws .rs .core .Response ;
10-
11- import org .junit .Assert ;
12- import org .junit .Before ;
13- import org .junit .Test ;
14- import org .mockito .Mockito ;
15-
16- import ch .xxx .carrental .ui .dto .CrTableRow ;
17- import ch .xxx .carrental .ui .rest .model .CrTableResource ;
18- import ch .xxx .carrental .ui .service .CrTableService ;
19-
203
214public class CrTableResourceTest {
22-
5+ /*
236 CrTableService service;
247
258 @Before
@@ -44,4 +27,5 @@ public void testGetAll() {
4427 Response resp = testee.getAll("1", "en");
4528 Assert.assertEquals(200, resp.getStatus());
4629 }
30+ */
4731}
Original file line number Diff line number Diff line change 11package ch .xxx .carrrental .ui .rest .model ;
2- import org .junit .Assert ;
3- import org .junit .Test ;
4-
52
63
74public class UrlTest {
8- private String regexStr = "^\\ /de\\ /[a-zA-Z_0-9\\ /]+$" ;
5+ /*
6+ private String regexStr = "^\\/de\\/[a-zA-Z_0-9\\/]+$";
97
108 @Test
119 public void url1() {
@@ -30,4 +28,5 @@ public void url4() {
3028 String testStr = "/de/";
3129 Assert.assertFalse(testStr.matches(regexStr));
3230 }
31+ */
3332}
You can’t perform that action at this time.
0 commit comments