Commit Graph

240 Commits

Author SHA1 Message Date
Guillaume Smet
19a6cbeadd [RELEASE] - Bump version to 1.0.1.Final 2019-11-28 09:20:42 +01:00
Erik Jan de Wit
8b6f59f59d fixed typo 2019-11-27 18:26:36 +01:00
Alexey Loubyansky
7a8be23e5b Replacing quarkus.properties in projection generation templates with quarkus.platform.version and quarkus-plugin.version for Maven and quarkusVersion with quarkusPluginVersion for Gradle, also adding quarkus.platform.group-is and quarkus.platform.artifact-id to pom.xml templates and sorting of properties before persisting pom.xml. 2019-11-19 10:16:17 +01:00
Stuart Douglas
9b5ff8008b Load classes using Class.forName
We need to do this as the class may be package private.

Fixes #5326
2019-11-14 16:12:25 +01:00
Martin Kouba
768924d214 Support repeatable QuarkusTestResource annotation
- resolves #5256
2019-11-14 12:56:10 +01:00
Gwenneg Lepage
cceaf47908 Use Files.walk() within a try-with-resources statement 2019-11-03 22:00:44 +01:00
Matej Novotny
7d019af517 Fix ordering of Arquillian events to make sure req. context activation comes first. 2019-11-01 14:26:26 -04:00
Rostislav Svoboda
33b7afe32b Fix of hasNonArquillianDataProvider which resolves always to true 2019-10-31 18:28:32 +01:00
Guillaume Smet
785b0d5b90 Merge pull request #5007 from gwenneg/issue-4989-rename-substrate-test
Rename @SubstrateTest to @NativeImageTest
2019-10-29 23:36:54 +01:00
Gwenneg Lepage
847e0570af Rename @SubstrateTest to @NativeImageTest 2019-10-29 21:48:29 +01:00
Martin Kouba
bfe5e77042 Arquillian TestNG - disable injection for non-arquillian dataProvider 2019-10-29 20:56:47 +01:00
Ken Finnigan
9d7682743b Fixes #4520 2019-10-29 16:18:01 +01:00
Guillaume Smet
f7e14504d7 Get rid of JBoss API spec artifacts to unify things with Jakarta, except...
for JAXB and JAX-RS as a lot of the optional RESTEasy artifacts depend
on them so you get them in every time you add an optional RESTEasy
artifact.

Thus, I thought it might be better to keep them for now but, carefully
exclude the others to have only one API jar.
2019-10-28 21:46:20 +01:00
Guillaume Smet
db4bdee0d3 Move to Jakarta artifacts 2019-10-28 21:46:20 +01:00
Alexey Loubyansky
4ec22be050 Removed the legacy extensions.json and enahanced the platform json descriptor loader to load the default version from the classpath 2019-10-26 10:18:17 +02:00
Jan Martiska
1b9d03298c Injection of @ArquillianResource fields 2019-10-25 13:50:23 -04:00
Matej Novotny
fe1e25fccc Fix the methods passed to SR FT for validation.
Make the TCK only exclude the needed method.
Bump MP FT and SR FT versions.
Skip TestNG callback which require parameters and make them all set the method accessible since some tests use protected methods.
2019-10-25 13:50:23 -04:00
Matej Novotny
2f10ed3213 QuarkusProtocol needs to look into declared methods in case the test method isn't public.
RequestContextListener should check if Arc is running.
Arquillian adapter - support before/after method listeners for testng.
ThreadLocal in RequestContextListener can be null in tests.
Turn SR FT validation into a recorder.
Make FT annotations bean defining - fixes CircuitBreakerBulkheadTest.
Exclude test which relies on enablement via beans.xml
2019-10-25 13:50:23 -04:00
Ken Finnigan
7549521aa4 Initial work on MP FT TCK
Activate @RequestScoped context for tests
Skip a test that we've fixed in MP FT TCK
2019-10-25 13:50:23 -04:00
Justin Lee
e0ded23b4d introduce an optional maven plugin to update the sam config
rename module to amazon-lambda-http
2019-10-21 18:58:16 -04:00
Justin Lee
1f2fb98d61 Provide Amazon SAM integration for RESTEasy based applications 2019-10-21 18:58:16 -04:00
Alexey Loubyansky
addcaeb8b2 Extracting common devtools from Quarkus core repo 2019-10-21 22:05:27 +02:00
Vincent Sevel
ad8ae7b9e8 Add a Vault extension 2019-10-21 15:20:24 +02:00
Sanne Grinovero
7eefc19b02 Testing convenience: allow internal QuarkusUnitTest to override some of application.properties 2019-10-18 15:19:02 +01:00
Sanne Grinovero
767183348d Testing convenience: DSL method to pick a custom application.properties in QuarkusUnitTest 2019-10-18 15:19:02 +01:00
Georgios Andrianakis
44ba936216 Move all test related configuration to Gradle plugin 2019-10-17 16:49:06 +03:00
Georgios Andrianakis
20f2ac51f3 Make native tests a separate source set in generated gradle projects 2019-10-17 14:05:26 +03:00
Guillaume Smet
8f64607fea Merge pull request #4430 from cescoffier/features/allow-configuring-it-profile
Allows configuring the profile used during the native tests
2019-10-15 13:33:11 +02:00
Guillaume Smet
b85d36ad7b Merge pull request #4508 from ppalaga/191009-rpkg
Support running tests from third party test-jars transformed using
2019-10-15 13:30:28 +02:00
Stéphane Épardaud
f037570493 Merge pull request #4457 from stuartwdouglas/better-cleanup
Do better cleanup of tests if the JVM is killed
2019-10-15 11:46:04 +02:00
Sanne Grinovero
9dcaa18338 Merge pull request #4424 from aguibert/jdbc-derby
Initial copy of Derby extension
2019-10-14 18:38:41 +01:00
Sanne Grinovero
c5f91a9d47 Code style 2019-10-14 18:32:45 +01:00
Sanne Grinovero
1bfb6812df Enable the new Derby modules in parent pom files 2019-10-14 18:32:34 +01:00
Andrew Guibert
439ddee3d3 Initial copy of Derby extension 2019-10-11 17:23:21 -05:00
Peter Palaga
58827bde4b Support running tests from third party test-jars transformed using
rpkgtests-maven-plugin
2019-10-09 23:33:40 +02:00
Clement Escoffier
05d3668b52 Allows configuring the profile used during the native tests
Related to https://github.com/quarkusio/quarkus/issues/4371
2019-10-09 14:50:29 +02:00
Georgios Andrianakis
3941e7922e Add test for http GET of RESTEasy standalone 2019-10-09 13:43:39 +03:00
Stuart Douglas
143baf6e0a Do better cleanup of tests if the JVM is killed
We write out all the created files to a file, and if this
file is still present we know that the JVM was killed and
we clean up all listed entries. Note that this can still
give problems for classes that use QuarkusTestExtension,
as JUnit 5 does not let us hook in before classloading.
2019-10-09 14:22:11 +11:00
Stuart Douglas
df9758d4a8 Some test fixes to improve test suite stability 2019-10-08 13:41:15 +11:00
Matej Novotny
af7c7a0ae0 Junit5 - inner classes are not allowed as they cannot become managed beans. 2019-10-07 13:05:39 +02:00
Ken Finnigan
0a8b1196b7 Merge pull request #4351 from kenfinnigan/jwt-tck
Add MP JWT TCK
2019-10-04 10:42:06 -04:00
Ken Finnigan
849c28ef99 MP JWT work
- Fake a servlet environment to get trailing slash on Arquillian resource URL
- Add ConfigSourceProvider to load microprofile-config.properties from Arquillian deployment with a higher ordinal. This is to prevent the file within the TCK tests jar from replacing the values
- Set system property containing the public key if it's present in the deployment. This prevents the public key from being retrieved in microprofile-config.properties that is present in the TCK test jar
2019-10-03 10:51:38 -04:00
Stuart Douglas
18c24757d2 Add a quarkus.http.root-path property that controls where everything is mounted 2019-10-03 21:06:28 +10:00
Stuart Douglas
0c4c609304 Merge pull request #4140 from gastaldi/random_test_port
Support random test port
2019-10-03 14:27:39 +10:00
Matej Novotny
702ce2d16a Support TestNG lifecycle observers for Arquillian; keep them separated from Junit ones. 2019-10-01 13:19:56 +02:00
Ken Finnigan
c25c968c56 Work on MP Context Propagation TCK 2019-10-01 08:56:31 +02:00
George Gastaldi
dfa15ef469 Ban commons-logging, log4j and slf4j implementations from build
Fixes #294
2019-09-27 10:13:03 -03:00
Stuart Douglas
d3be835158 Change Keycloak support to use Vert.x
This removes the old Keycloak extension and
uses Vert.x instead
2019-09-25 11:55:30 +02:00
George Gastaldi
8ab5112e4a Inject a single KubernetesMockServer in the test class hierarchy 2019-09-24 23:36:50 -03:00
Jaikiran Pai
b6fa1267b4 Log the H2 DB server status to provide more details on its state and URL 2019-09-24 16:07:05 +05:30