@@ -239,23 +239,30 @@ void testEnhancement27184DeleteDetached() {
239
239
RestAssured .when ().get ("/test/testEnhancement27184DeleteDetached" ).then ().body (is ("OK" ));
240
240
}
241
241
242
+ /**
243
+ * This test is disabled in native mode as there is no interaction with the quarkus integration test endpoint.
244
+ */
242
245
@ Test
243
246
@ Transactional
247
+ @ DisabledOnIntegrationTest
244
248
void testSimpleEntityProjection () {
245
249
Person person = new Person ();
246
250
person .name = "1" ;
247
251
person .uniqueName = "1" ;
248
252
person .persist ();
249
-
250
253
PersonName personName = Person .find (" name = ?1" , "1" )
251
254
.project (PersonName .class )
252
255
.firstResult ();
253
256
person .delete ();
254
257
Assertions .assertEquals ("1" , personName .name );
255
258
}
256
259
260
+ /**
261
+ * This test is disabled in native mode as there is no interaction with the quarkus integration test endpoint.
262
+ */
257
263
@ Test
258
264
@ Transactional
265
+ @ DisabledOnIntegrationTest
259
266
// Test for https://github.com/quarkusio/quarkus/issues/28844
260
267
void testSimpleEntityProjection2 () {
261
268
Person person = new Person ();
@@ -269,8 +276,12 @@ void testSimpleEntityProjection2() {
269
276
Assertions .assertEquals ("1" , personName );
270
277
}
271
278
279
+ /**
280
+ * This test is disabled in native mode as there is no interaction with the quarkus integration test endpoint.
281
+ */
272
282
@ Test
273
283
@ Transactional
284
+ @ DisabledOnIntegrationTest
274
285
void testNestedEntityProjection_WithQuery () {
275
286
Person person = new Person ();
276
287
person .name = "2" ;
@@ -291,8 +302,12 @@ void testNestedEntityProjection_WithQuery() {
291
302
Assertions .assertEquals ("street 2" , personDTO .address .street );
292
303
}
293
304
305
+ /**
306
+ * This test is disabled in native mode as there is no interaction with the quarkus integration test endpoint.
307
+ */
294
308
@ Test
295
309
@ Transactional
310
+ @ DisabledOnIntegrationTest
296
311
void testNestedEntityProjection () {
297
312
Person person = new Person ();
298
313
person .name = "3" ;
@@ -313,8 +328,12 @@ void testNestedEntityProjection() {
313
328
Assertions .assertEquals ("Height: 170, weight: 75" , personDTO .description .getDescription ());
314
329
}
315
330
331
+ /**
332
+ * This test is disabled in native mode as there is no interaction with the quarkus integration test endpoint.
333
+ */
316
334
@ Test
317
335
@ Transactional
336
+ @ DisabledOnIntegrationTest
318
337
void testDogDto2Projection () {
319
338
Person hum = new Person ();
320
339
hum .name = "hum" ;
0 commit comments