Cornelius Riemenschneider
dd7f757281
Address review.
2024-08-29 16:43:27 +02:00
Cornelius Riemenschneider
c69df1a6e3
Port java integration tests to pytest.
...
Some notes:
* These tests rely on a variety of fixtures
* The previous maven-wrapper checks were checking for the version of maven installed by looking at the checked-in wrapper script. I dropped this behavior.
* I replaced a lot of test queries that queried for a (subset of) source archive files with the source_archive fixture. In particular, tests that excluded properties files from being listed in the expected output now include them.
It's much faster to generate this list via the fixture instead of using CodeQL for it.
2024-08-27 13:14:23 +02:00
Cornelius Riemenschneider
5fa30c33b8
Remove legacy java files.
2024-08-27 13:14:21 +02:00
Cornelius Riemenschneider
932c07a0f4
Address review.
2024-08-20 11:46:28 +02:00
Cornelius Riemenschneider
33f87c0c46
Port linux/kotlin tests to pytest.
2024-08-19 11:33:25 +02:00
Cornelius Riemenschneider
ccd90f25ba
Port posix/kotlin tests to pytest.
2024-08-19 11:33:24 +02:00
Cornelius Riemenschneider
c2aff1ea97
Port all-platforms/kotlin tests to pytest.
2024-08-19 11:33:23 +02:00
Cornelius Riemenschneider
ed7f3305d9
Move legacy marker only to java tests.
2024-08-19 10:47:15 +02:00
Chris Smowton
00efebe8b0
Add test for buildless fetching an executable war file
2024-08-09 12:32:43 +01:00
Chris Smowton
84f3b7322e
Add test for Gradle fetching a jar with a classifier
2024-08-08 15:49:11 +01:00
Chris Smowton
f891423810
Run Maven integration tests sequentially due to conflicts over ~/.m2
2024-08-02 20:13:41 +01:00
Chris Smowton
1ee87670c6
Switch to measuring just diagnostics
2024-08-02 20:13:40 +01:00
Chris Smowton
ee11307751
Add test for ECJ compiling an enum with a constructor parameter annotation
2024-08-02 20:13:39 +01:00
Arthur Baars
9d6260b334
Copy os.environment
...
Prevents cryptic "OSError: [WinError 10106] The requested service provider could not be loaded or initialized" error from Python subprocess call
2024-07-25 17:59:11 +02:00
Arthur Baars
8e7e7c0188
Update exepected output
2024-07-25 10:50:18 +02:00
Arthur Baars
9478139390
Java: buildless: proxy test with gradle
2024-07-25 08:34:11 +02:00
Arthur Baars
5a1adc51c1
Java: buildless: proxy test with maven
2024-07-25 08:32:48 +02:00
Chris Smowton
1abe0d0f6d
Add test for autobuild with maven-enforcer
2024-07-18 11:16:46 +01:00
Ian Lynagh
777cc357ee
Kotlin: Support 2.0.20
2024-07-16 15:07:30 +01:00
Chris Smowton
27e2b00cd7
Add test for database quality diagnostic
2024-06-27 09:57:40 +01:00
Chris Smowton
f2cbf08d15
Adjust test expectations
2024-06-26 17:37:48 +01:00
Chris Smowton
351b908f62
Adjust and tolerate variability in test expectations
2024-06-24 16:38:18 +01:00
Ian Lynagh
ac91a5167a
Merge pull request #16682 from igfoo/igfoo/integ
...
Java integration tests: accept new output
2024-06-05 16:48:18 +01:00
Ian Lynagh
13dd87f04c
Java integration tests: accept new output
...
This means the expected output is in the order that the new test driver
creates it in, which means future diffs will be smaller.
2024-06-05 14:14:44 +01:00
Chris Smowton
54347c2642
Java: add basic ECJ integration tests
2024-06-05 12:49:25 +01:00
Paolo Tranquilli
b7e16ca55d
Kotlin: fix custom_plugin test
2024-06-04 17:59:13 +02:00
Paolo Tranquilli
8205f86365
Kotlin: use tools/bazel in integration test
2024-06-04 15:12:23 +02:00
Paolo Tranquilli
d1a2c0fbe4
Merge branch 'main' into redsun82/kotlin
2024-06-04 08:48:52 +02:00
Ian Lynagh
986babb912
Kotlin: Accept 2.0 output for integration tests, and run some in 1.9 mode
2024-06-03 15:26:53 +01:00
Ian Lynagh
2bcf292dd6
Kotlin: Fix custom_plugin test with Kotlin 2.0.0
2024-06-03 15:26:53 +01:00
Ian Lynagh
acdf7df6a4
Kotlin: Fix typo
2024-06-03 15:26:53 +01:00
Paolo Tranquilli
096a31dbef
Mark all integration tests as legacy
...
This is in preparation for the new integration test framework. Tests
marked thus will be run by the current framework and ignored by the new
one.
2024-05-31 16:04:50 +02:00
Paolo Tranquilli
75709bf1ec
Merge branch 'main' into redsun82/kotlin
2024-05-16 15:55:08 +01:00
Chris Smowton
a50584c665
Comment on Java version selection testing strategy
2024-05-15 14:52:09 +01:00
Chris Smowton
44edff7661
AGP 8 test: ignore and remove the .gradle directory
2024-05-15 14:52:09 +01:00
Chris Smowton
9c823d708d
Expose toolchains to some Android tests, which would otherwise now try to upgrade to JDK17
2024-05-15 14:52:09 +01:00
Chris Smowton
c328957bf3
Add Spring Boot 3 test
2024-05-15 14:52:09 +01:00
Chris Smowton
7e13c88f1d
Add Android 8 integration test
2024-05-15 14:52:09 +01:00
Chris Smowton
d76182b945
Merge pull request #16468 from smowton/smowton/admin/add-buildless-timeout-tests
...
Java: add test cases for Maven and Gradle stalling in buildless mode
2024-05-14 19:13:03 +01:00
Chris Smowton
cf134331a9
Java: Add comments to tests that spawn an HTTP/S server
2024-05-14 17:48:35 +01:00
Chris Smowton
61cd93fcf3
Switch to a different black-hole IP, because Windows blocks 240.0.0.0/24
2024-05-14 17:36:50 +01:00
Chris Smowton
e699b18928
Java: add test cases for Maven and Gradle stalling in buildless mode
2024-05-14 17:36:49 +01:00
Chris Smowton
8814e6e2bd
Replace deprecated ssl.wrap_socket method
2024-05-14 15:14:27 +01:00
Chris Smowton
10e1bfcee5
Add test case for a custom Java trust store
2024-05-13 12:43:06 +01:00
Paolo Tranquilli
a7411700ef
Merge branch 'main' into redsun82/kotlin
2024-04-16 16:13:31 +02:00
Chris Smowton
bdd6fba06a
Java: add test for a Maven project with an unreachable repository
2024-04-12 12:03:38 +01:00
Paolo Tranquilli
fc62ed5af0
Kotlin/Bazel: port custom_plugin test to use bazel
2024-04-12 08:18:53 +02:00
Ian Lynagh
9c573dbee3
Kotlin: Update expected result for kotlin-version-too-new test
2024-04-11 11:58:59 +01:00
Arthur Baars
497325455a
Java: update expected output
2024-03-26 18:40:22 +01:00
Dave Bartolomeo
d805bbcd27
Use correct model pack name in qltest data extension
2024-03-25 10:31:11 -04:00