File tree Expand file tree Collapse file tree 9 files changed +60
-6
lines changed
hibernate-search/hsearch-feature-examples
src/test/java/org/hibernate/demos/hsearchfeatureexamples
src/test/java/org/hibernate/demos/hsearchfeatureexamples
src/test/java/org/hibernate/demos/hsearchfeatureexamples Expand file tree Collapse file tree 9 files changed +60
-6
lines changed Original file line number Diff line number Diff line change 146146 <systemPropertyVariables >
147147 <java .util.logging.manager>org.jboss.logmanager.LogManager</java .util.logging.manager>
148148 <maven .home>${maven.home} </maven .home>
149+ <json-unit .libraries>gson</json-unit .libraries>
149150 </systemPropertyVariables >
150151 </configuration >
151152 </plugin >
226227 <native .image.path>${project.build.directory} /${project.build.finalName} -runner</native .image.path>
227228 <java .util.logging.manager>org.jboss.logmanager.LogManager</java .util.logging.manager>
228229 <maven .home>${maven.home} </maven .home>
230+ <json-unit .libraries>gson</json-unit .libraries>
229231 </systemPropertyVariables >
230232 </configuration >
231233 </execution >
Original file line number Diff line number Diff line change 88import com .google .gson .JsonObject ;
99import io .quarkus .test .junit .QuarkusTest ;
1010import io .restassured .RestAssured ;
11+ import io .restassured .config .LogConfig ;
12+ import io .restassured .config .ObjectMapperConfig ;
13+ import io .restassured .config .RestAssuredConfig ;
1114import io .restassured .http .ContentType ;
15+ import io .restassured .mapper .ObjectMapperType ;
1216import io .restassured .response .ExtractableResponse ;
1317import io .restassured .response .Response ;
1418
1519@ QuarkusTest
1620public class FashionCollectionServiceTest {
1721
1822 static {
19- RestAssured .enableLoggingOfRequestAndResponseIfValidationFails ();
23+ RestAssured .config = RestAssuredConfig .config ()
24+ .objectMapperConfig ( ObjectMapperConfig .objectMapperConfig ()
25+ .defaultObjectMapperType ( ObjectMapperType .GSON ) )
26+ .logConfig ( LogConfig .logConfig ()
27+ .enableLoggingOfRequestAndResponseIfValidationFails () );
2028 }
2129
2230 @ Test
Original file line number Diff line number Diff line change 88import com .google .gson .JsonObject ;
99import io .quarkus .test .junit .QuarkusTest ;
1010import io .restassured .RestAssured ;
11+ import io .restassured .config .LogConfig ;
12+ import io .restassured .config .ObjectMapperConfig ;
13+ import io .restassured .config .RestAssuredConfig ;
1114import io .restassured .http .ContentType ;
15+ import io .restassured .mapper .ObjectMapperType ;
1216import io .restassured .response .Response ;
1317import net .javacrumbs .jsonunit .core .Option ;
1418
1519@ QuarkusTest
1620public class TShirtServiceTest {
1721
1822 static {
19- RestAssured .enableLoggingOfRequestAndResponseIfValidationFails ();
23+ RestAssured .config = RestAssuredConfig .config ()
24+ .objectMapperConfig ( ObjectMapperConfig .objectMapperConfig ()
25+ .defaultObjectMapperType ( ObjectMapperType .GSON ) )
26+ .logConfig ( LogConfig .logConfig ()
27+ .enableLoggingOfRequestAndResponseIfValidationFails () );
2028 }
2129
2230 @ Test
Original file line number Diff line number Diff line change 152152 <systemPropertyVariables >
153153 <java .util.logging.manager>org.jboss.logmanager.LogManager</java .util.logging.manager>
154154 <maven .home>${maven.home} </maven .home>
155+ <json-unit .libraries>gson</json-unit .libraries>
155156 </systemPropertyVariables >
156157 </configuration >
157158 </plugin >
269270 <native .image.path>${project.build.directory} /${project.build.finalName} -runner</native .image.path>
270271 <java .util.logging.manager>org.jboss.logmanager.LogManager</java .util.logging.manager>
271272 <maven .home>${maven.home} </maven .home>
273+ <json-unit .libraries>gson</json-unit .libraries>
272274 </systemPropertyVariables >
273275 </configuration >
274276 </execution >
Original file line number Diff line number Diff line change 88import com .google .gson .JsonObject ;
99import io .quarkus .test .junit .QuarkusTest ;
1010import io .restassured .RestAssured ;
11+ import io .restassured .config .LogConfig ;
12+ import io .restassured .config .ObjectMapperConfig ;
13+ import io .restassured .config .RestAssuredConfig ;
1114import io .restassured .http .ContentType ;
15+ import io .restassured .mapper .ObjectMapperType ;
1216import io .restassured .response .ExtractableResponse ;
1317import io .restassured .response .Response ;
1418
1519@ QuarkusTest
1620public class FashionCollectionServiceTest {
1721
1822 static {
19- RestAssured .enableLoggingOfRequestAndResponseIfValidationFails ();
23+ RestAssured .config = RestAssuredConfig .config ()
24+ .objectMapperConfig ( ObjectMapperConfig .objectMapperConfig ()
25+ .defaultObjectMapperType ( ObjectMapperType .GSON ) )
26+ .logConfig ( LogConfig .logConfig ()
27+ .enableLoggingOfRequestAndResponseIfValidationFails () );
2028 }
2129
2230 @ Test
Original file line number Diff line number Diff line change 88import com .google .gson .JsonObject ;
99import io .quarkus .test .junit .QuarkusTest ;
1010import io .restassured .RestAssured ;
11+ import io .restassured .config .LogConfig ;
12+ import io .restassured .config .ObjectMapperConfig ;
13+ import io .restassured .config .RestAssuredConfig ;
1114import io .restassured .http .ContentType ;
15+ import io .restassured .mapper .ObjectMapperType ;
1216import io .restassured .response .Response ;
1317import net .javacrumbs .jsonunit .core .Option ;
1418
1519@ QuarkusTest
1620public class TShirtServiceTest {
1721
1822 static {
19- RestAssured .enableLoggingOfRequestAndResponseIfValidationFails ();
23+ RestAssured .config = RestAssuredConfig .config ()
24+ .objectMapperConfig ( ObjectMapperConfig .objectMapperConfig ()
25+ .defaultObjectMapperType ( ObjectMapperType .GSON ) )
26+ .logConfig ( LogConfig .logConfig ()
27+ .enableLoggingOfRequestAndResponseIfValidationFails () );
2028 }
2129
2230 @ Test
Original file line number Diff line number Diff line change 151151 <systemPropertyVariables >
152152 <java .util.logging.manager>org.jboss.logmanager.LogManager</java .util.logging.manager>
153153 <maven .home>${maven.home} </maven .home>
154+ <json-unit .libraries>gson</json-unit .libraries>
154155 </systemPropertyVariables >
155156 </configuration >
156157 </plugin >
268269 <native .image.path>${project.build.directory} /${project.build.finalName} -runner</native .image.path>
269270 <java .util.logging.manager>org.jboss.logmanager.LogManager</java .util.logging.manager>
270271 <maven .home>${maven.home} </maven .home>
272+ <json-unit .libraries>gson</json-unit .libraries>
271273 </systemPropertyVariables >
272274 </configuration >
273275 </execution >
Original file line number Diff line number Diff line change 88import com .google .gson .JsonObject ;
99import io .quarkus .test .junit .QuarkusTest ;
1010import io .restassured .RestAssured ;
11+ import io .restassured .config .LogConfig ;
12+ import io .restassured .config .ObjectMapperConfig ;
13+ import io .restassured .config .RestAssuredConfig ;
1114import io .restassured .http .ContentType ;
15+ import io .restassured .mapper .ObjectMapperType ;
1216import io .restassured .response .ExtractableResponse ;
1317import io .restassured .response .Response ;
1418
1519@ QuarkusTest
1620public class FashionCollectionServiceTest {
1721
1822 static {
19- RestAssured .enableLoggingOfRequestAndResponseIfValidationFails ();
23+ RestAssured .config = RestAssuredConfig .config ()
24+ .objectMapperConfig ( ObjectMapperConfig .objectMapperConfig ()
25+ .defaultObjectMapperType ( ObjectMapperType .GSON ) )
26+ .logConfig ( LogConfig .logConfig ()
27+ .enableLoggingOfRequestAndResponseIfValidationFails () );
2028 }
2129
2230 @ Test
Original file line number Diff line number Diff line change 88import com .google .gson .JsonObject ;
99import io .quarkus .test .junit .QuarkusTest ;
1010import io .restassured .RestAssured ;
11+ import io .restassured .config .LogConfig ;
12+ import io .restassured .config .ObjectMapperConfig ;
13+ import io .restassured .config .RestAssuredConfig ;
1114import io .restassured .http .ContentType ;
15+ import io .restassured .mapper .ObjectMapperType ;
1216import io .restassured .response .Response ;
1317import net .javacrumbs .jsonunit .core .Option ;
1418
1519@ QuarkusTest
1620public class TShirtServiceTest {
1721
1822 static {
19- RestAssured .enableLoggingOfRequestAndResponseIfValidationFails ();
23+ RestAssured .config = RestAssuredConfig .config ()
24+ .objectMapperConfig ( ObjectMapperConfig .objectMapperConfig ()
25+ .defaultObjectMapperType ( ObjectMapperType .GSON ) )
26+ .logConfig ( LogConfig .logConfig ()
27+ .enableLoggingOfRequestAndResponseIfValidationFails () );
2028 }
2129
2230 @ Test
You can’t perform that action at this time.
0 commit comments