- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for ZipTestFixture (0.15 sec)
-
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: 2024-06-12 18:38 - Last Modified: 2024-04-04 07:21 - 2.9K bytes - Viewed (0) -
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: 2024-06-12 18:38 - Last Modified: 2024-02-09 14:05 - 5.3K bytes - Viewed (0) -
platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/organizinggradleprojects/SamplesOrganizingGradleProjectsIntegrationTest.groovy
import org.gradle.integtests.fixtures.AbstractSampleIntegrationTest import org.gradle.integtests.fixtures.Sample import org.gradle.integtests.fixtures.UsesSample import org.gradle.test.fixtures.archive.ZipTestFixture import org.junit.Rule class SamplesOrganizingGradleProjectsIntegrationTest extends AbstractSampleIntegrationTest { @Rule Sample sample = new Sample(testDirectoryProvider)
Registered: 2024-06-12 18:38 - Last Modified: 2023-11-27 17:53 - 1.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheJavaIntegrationTest.groovy
assertStateLoaded() result.assertTasksExecuted(":compileJava", ":processResources", ":classes", ":jar", ":assemble") classFile.isFile() new ZipTestFixture(jarFile).assertContainsFile("Thing.class") new ZipTestFixture(jarFile).assertContainsFile("OtherThing.class") } def "assemble on specific project of multi-project Java build"() { given: settingsFile << """
Registered: 2024-06-12 18:38 - Last Modified: 2024-06-08 11:29 - 21.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ZipIntegrationTest.groovy
*/ package org.gradle.api.tasks.bundling import org.gradle.integtests.fixtures.AbstractIntegrationSpec import org.gradle.integtests.fixtures.archives.TestReproducibleArchives import org.gradle.test.fixtures.archive.ZipTestFixture import spock.lang.Issue import java.nio.charset.Charset @TestReproducibleArchives class ZipIntegrationTest extends AbstractIntegrationSpec { def zip64Support() { given:
Registered: 2024-06-12 18:38 - Last Modified: 2021-11-04 22:26 - 5.8K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishJavaWithDocsAndFeaturesIntegTest.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.api.publish.maven import org.gradle.test.fixtures.archive.ZipTestFixture import org.gradle.test.fixtures.maven.MavenJavaModule class MavenPublishJavaWithDocsAndFeaturesIntegTest extends AbstractMavenPublishJavaIntegTest { boolean withDocs() { true }
Registered: 2024-06-12 18:38 - Last Modified: 2023-10-12 14:02 - 2.8K bytes - Viewed (0) -
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: 2024-06-12 18:38 - Last Modified: 2024-05-28 09:03 - 7.7K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocWorkAvoidanceIntegrationTest.groovy
*/ package org.gradle.api.tasks.javadoc import org.gradle.integtests.fixtures.AbstractIntegrationSpec import org.gradle.test.fixtures.ConcurrentTestUtil import org.gradle.test.fixtures.archive.ZipTestFixture import org.gradle.test.precondition.Requires import org.gradle.test.preconditions.IntegTestPreconditions import spock.lang.Issue @Requires(IntegTestPreconditions.NotParallelExecutor)
Registered: 2024-06-12 18:38 - Last Modified: 2023-09-01 03:07 - 8.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/ZipCopyActionTest.groovy
import org.gradle.api.internal.file.copy.DefaultZipCompressor import org.gradle.api.internal.file.copy.FileCopyDetailsInternal import org.gradle.api.tasks.bundling.Zip import org.gradle.test.fixtures.archive.ZipTestFixture import org.gradle.test.fixtures.file.TestFile import org.gradle.test.fixtures.file.TestNameTestDirectoryProvider import org.junit.Rule import spock.lang.Specification
Registered: 2024-06-12 18:38 - Last Modified: 2023-06-22 14:26 - 6.6K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryWithStaticLinkagePublishingIntegrationTest.groovy
import org.gradle.nativeplatform.fixtures.app.CppAppWithLibraryAndOptionalFeature import org.gradle.nativeplatform.fixtures.app.CppLib import org.gradle.test.fixtures.archive.ZipTestFixture import org.gradle.test.fixtures.maven.MavenFileRepository class CppLibraryWithStaticLinkagePublishingIntegrationTest extends AbstractInstalledToolChainIntegrationSpec implements CppTaskNames {
Registered: 2024-06-12 18:38 - Last Modified: 2023-11-16 20:20 - 7.7K bytes - Viewed (0)