Skip to content

Commit

Permalink
Merge pull request #342 from gwenneg/issue-4989-rename-substrate-test
Browse files Browse the repository at this point in the history
Rename @substratetest to @NativeImageTest
  • Loading branch information
gsmet authored Oct 29, 2019
2 parents 5ee33e0 + 0bb7f56 commit 0a1eb22
Show file tree
Hide file tree
Showing 38 changed files with 76 additions and 76 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.acme.quickstart.tika;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class NativeTikaParserResourceIT extends TikaParserResourceTest {
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.acme.config;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class NativeGreetingResourceIT extends GreetingResourceTest {

// Execute the same tests but in native mode.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.acme.events;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class NativeGreetingResourceIT extends GreetingResourceTest {

// Execute the same tests but in native mode.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.acme.artemis;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class PriceTestITCase extends PriceTest {
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.acme.elytron.security.jdbc;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class JdbcSecurityRealmTestIT extends JdbcSecurityRealmTest {
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.acme.quickstart;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class NativeGreetingResourceIT extends GreetingResourceTest {

// Execute the same tests but in native mode.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.acme.quickstart;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class NativeGreetingResourceIT extends GreetingResourceTest {

// Execute the same tests but in native mode.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.acme.quickstart;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class NativeGreetingResourceIT extends GreetingResourceTest {

// Execute the same tests but in native mode.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package org.acme.quickstart;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;
import org.junit.jupiter.api.Disabled;

@SubstrateTest
@NativeImageTest
@Disabled("java.lang.NullPointerException in native mode")
public class NativeGreetingServiceIT extends GreetingServiceTest {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.acme.quickstart;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class NativeStaticContentIT extends StaticContentTest {

// Execute the same tests but in native mode.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.acme.quickstart;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class NativeGreetingResourceIT extends GreetingResourceTest {

// Execute the same tests but in native mode.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.acme.hibernate.orm.panache;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class NativeFruitsEndpointIT extends FruitsEndpointTest {

// Runs the same tests as the parent class
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.acme.hibernate.orm;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class NativeFruitsEndpointIT extends FruitsEndpointTest {

// Runs the same tests as the parent class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
* limitations under the License.
*/

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class LibraryResourceInGraalIT extends LibraryResourceTest {

}
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
import static org.hamcrest.CoreMatchers.hasItem;
import static org.hamcrest.CoreMatchers.is;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;
import org.junit.jupiter.api.Test;

@SubstrateTest
@NativeImageTest
public class CoffeeResourceIT {

@Test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.acme.health;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class HealthCheckIT extends HealthCheckTest {
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.acme.quarkus.sample;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class PriceResourceIT extends PriceResourceTest {
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.acme.metrics;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class PrimeNumberCheckerIT extends PrimeNumberCheckerTest {

}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.acme.restclient;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class CountriesResourceIT extends CountriesResourceTest {

// Run the same tests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.acme.rest.json;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class FruitResourceIT extends FruitResourceTest {

}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.acme.rest.json;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class LegumeResourceIT extends LegumeResourceTest {

}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.acme.scheduling;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class CountResourceIT extends CountResourceTest {

}
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package org.acme.jwt;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
* Native tests
*/
@SubstrateTest
@NativeImageTest
public class TokenSecuredResourceIT extends TokenSecuredResourceTest {
@Test
@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.acme.kogito;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class PersonProcessInGraalIT extends PersonProcessTest {

}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.acme.openapi.swaggerui;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class NativeFruitResourceIT extends FruitResourceTest {

// Execute the same tests but in native mode.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.acme.openapi.swaggerui;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class NativeOpenApiIT extends OpenApiTest {

// Execute the same tests but in native mode.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.acme.opentracing;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class NativeTracedResourceIT extends TracedResourceTest {

// Execute the same tests but in native mode.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.acme.quarkus.sample;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class RouteIT extends RouteTest {

}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.acme.quickstart.stm;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;
import io.restassured.RestAssured;
import org.apache.http.HttpStatus;
import org.junit.jupiter.api.Test;
Expand All @@ -9,7 +9,7 @@
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.MatcherAssert.assertThat;

@SubstrateTest
@NativeImageTest
class STMResourceIT {

@Test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.acme.spring.di;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class GreetingResourceIT extends GreetingResourceTest {

}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.acme.spring.web;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class GreetingControllerIT extends GreetingControllerTest {

}
4 changes: 2 additions & 2 deletions using-vertx/src/test/java/org/acme/vertx/EventResourceIT.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.acme.vertx;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
class EventResourceIT extends GreetingResourceTest {

// Runs the same tests as the parent class
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.acme.vertx;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
class GreetingResourceIT extends GreetingResourceTest {

// Runs the same tests as the parent class
Expand Down
4 changes: 2 additions & 2 deletions using-vertx/src/test/java/org/acme/vertx/JsonEndpointIT.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.acme.vertx;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class JsonEndpointIT extends JsonEndpointTest {

// Runs the same tests as the parent class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

package org.acme.vertx;

import io.quarkus.test.junit.SubstrateTest;
import io.quarkus.test.junit.NativeImageTest;

@SubstrateTest
@NativeImageTest
public class NativeFruitsEndpointIT extends FruitsEndpointTest {

// Runs the same tests as the parent class
Expand Down
Loading

0 comments on commit 0a1eb22

Please sign in to comment.