Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ZipTestFixture (0.28 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/archive/ZipTestFixture.groovy

    import static org.hamcrest.MatcherAssert.assertThat
    
    class ZipTestFixture extends ArchiveTestFixture {
        protected final String metadataCharset
        protected final String contentCharset
        private final ListMultimap<String, Integer> compressionMethodsByRelativePath = ArrayListMultimap.create()
    
        ZipTestFixture(File file, String metadataCharset = null, String contentCharset = null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/internal/classpath/InPlaceClasspathBuilderTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.classpath
    
    
    import org.gradle.test.fixtures.archive.ZipTestFixture
    import org.gradle.test.fixtures.file.TestNameTestDirectoryProvider
    import org.junit.Rule
    import spock.lang.Specification
    
    import java.util.zip.ZipEntry
    
    class InPlaceClasspathBuilderTest extends Specification {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 14:05:09 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryDocumentationIntegrationTest.groovy

        }
    
        private Set<String> output(String docsType) {
            file("a/build/$docsType").listFiles().collect { it.name } as Set
        }
    
        private ZipTestFixture jar(String jarName) {
            new ZipTestFixture(file("a/build/$jarName"))
        }
    
        private void subproject(String name, @DelegatesTo(value=FileTreeBuilder, strategy = Closure.DELEGATE_FIRST) Closure<Void> config) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/archive/JarTestFixture.groovy

    import org.gradle.internal.lazy.Lazy
    import org.gradle.internal.serialize.JavaClassUtil
    
    import java.util.jar.JarEntry
    import java.util.jar.JarFile
    import java.util.jar.Manifest
    
    class JarTestFixture extends ZipTestFixture {
        File file
    
        private final Lazy<Manifest> theManifest = Lazy.atomic().of {
            new Manifest(IOUtils.toInputStream(content('META-INF/MANIFEST.MF'), contentCharset as String))
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 14:13:17 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top