JarTestFixture.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Use license value, not description for Bundle-License in OSGi

fixes #2056

  1. … 2 more files in changeset.
Fix JarFile leak in test fixture

Added some more test coverage for building, testing and running java projects using a JVM that is different to that which Gradle is running under.

  1. … 2 more files in changeset.
Fix JarTestFixture to work on Java 6

Use Apache ZipFile instead of java.util.zip because the latter

introduced metadata charset support in Java 7 only.

Refine archive test fixtures

  1. … 1 more file in changeset.
zip/jar/tar test fixtures are aware of archives metadata charset

jar test fixture uses UTF-8 to decode archive metadata

they can all be tweaked now

zip/jar/tar test fixtures are aware of archives metadata charset

jar test fixture uses UTF-8 to decode archive metadata

  1. … 2 more files in changeset.
Refactor logic out of JavaVersion

  1. … 2 more files in changeset.
Added classFileVersion to ClassFile and use it in JarTestFixture

  1. … 5 more files in changeset.
Whitespace.

Adds support for the JVM platform

This reverts commit a91ea04748486820443586f599f6cb7f654990f2.

  1. … 26 more files in changeset.
Reverts build breakage

Revert "Fixed codeNarc"

This reverts commit 9436ec7853684949a194c4076d5dcdbb1ecc959e.

Revert "Fixed broken checkStyle"

This reverts commit fdbaa2c8b8fcb2f7c5ecbb8da4448d1a98878d47.

Revert "Better method naming"

This reverts commit 85e3b5790d6e93dece471b64aef5830684d43e9d.

Revert "Keep the existing naming scheme"

This reverts commit f294065100db13dbc1efdb152700a1603ad1a4e6.

Revert ""Fixes tests", broken from adding multitargeted jvmplatform"

This reverts commit ecd13b761de1991d9c1ca6509e0b0fb39dbf9889.

Revert "Adds tests for multitarget platforms"

This reverts commit 53e9b56cf2a17c582c3b0fe3481f10d1b7bf69af.

Revert "Add JvmPlatform tests and better error formatting"

This reverts commit 6c7db3bae54e9ce38bfa087367f63af98167b2f6.

Revert "Fixes tests"

This reverts commit d721ad0d164256a5c565fa665c30bf4459697e15.

Revert "Set source/target to optional for when it has been set by target"

This reverts commit 6211c06df16385073bfed8d62c3ffb09b190b21e.

Revert "Fixes jvm platform example javadoc"

This reverts commit 1d7634f86066f2023e5015791d9f0a914f7ceac9.

  1. … 26 more files in changeset.
Better method naming

  1. … 1 more file in changeset.
Set source/target to optional for when it has been set by target

  1. … 24 more files in changeset.
CodeNarc fix

Fixes style

Added tests for platform target

  1. … 4 more files in changeset.
Fix test: empty jar is created for jvm binary with no sources

  1. … 3 more files in changeset.
Changed JarTestFixture so that it always checks that the manifest is well formed, and changed a bunch of int tests to use the fixture instead of unpacking the archive.

  1. … 3 more files in changeset.
GRADLE-2886: Moved verification logic if mainfest is present and first entry to JarTestFixture.

  1. … 3 more files in changeset.
Fixed broken int test.

  1. … 2 more files in changeset.
REVIEW-2521: Some cleanup on archive test fixtures;

- Replace TarTarInputStream instead of TarFileTree (remove core dependency in internal-integ-testing)

- rework ZipTestFixture

- reuse ZipTestFixture in JarTestFixture

- verify service type and service impl in jar files

  1. … 5 more files in changeset.
cleanup some archive related tests

- REVIEW-2446/REVIEW-2451: Add more assertions to the duplicateStrategy integration tests

- REVIEW-2446: fix assertZipContainsOnly and move to ZipTestFixture

- REVIEW-2446: create explicit TarTestFixture

- REVIEW-2446: create explicit JarTestFixture and close jarFile properly

    • -0
    • +68
    ./JarTestFixture.groovy
  1. … 6 more files in changeset.