Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for unloadable (0.15 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestFailureIntegrationTest.groovy

                        }
                    }
                }
            """.stripIndent()
            file('src/test/java/org/gradle/Unloadable.java') << """
                package org.gradle;
    
                ${testFrameworkImports}
    
                public class Unloadable {
                    static {
                        fail("failed");
                    }
    
                    @Test
                    public void ok() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 18K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4CategoriesOrTagsCoverageIntegrationTest.groovy

        String pluralCategoryOrTagName = "categories"
    
        @Override
        boolean supportsCategoryOnNestedClass() {
            return !(version in ['4.10', '4.11', '4.12'])
        }
    
        def 'reports unloadable #type'() {
            given:
            testSources.with {
                testClass('SomeTestClass').with {
                    testMethod('ok1')
                    testMethod('ok2')
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/NonDeclarativePluginUseIntegrationSpec.groovy

                    Gradle Central Plugin Repository(${pluginRepo.uri})
            """.stripIndent().trim()))
            failure.assertHasLineNumber(2)
        }
    
        def "failure due to plugin class is unloadable"() {
            when:
            pluginBuilder.with {
                addUnloadablePlugin(PLUGIN_ID, "OtherPlugin")
                publishAs(GROUP, ARTIFACT, VERSION, pluginRepo, executer).allowAll()
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 9K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/plugin/PluginBuilder.groovy

            addPluginSource(id, className, """
                ${packageName ? "package $packageName" : ""}
    
                class $className implements $Plugin.name<$Project.name> {
                    static { throw new Exception("unloadable plugin class") }
                    void apply($Project.name project) {
                    }
                }
            """)
            this
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 11:17:11 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/UntrackedTaskIntegrationTest.groovy

            skipped(":mySubclassOfUntrackedTask")
        }
    
        @Requires(UnitTestPreconditions.FilePermissions)
        def "untracked tasks can produce and consume unreadable content"() {
            def rootDir = file("build/root")
            def unreadableDir = rootDir.file("unreadable")
    
            buildFile generateProducerTask(true)
            buildFile generateConsumerTask(true)
    
            buildFile("""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 23 08:05:53 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/files/src/testFixtures/groovy/org/gradle/internal/file/AbstractFileMetadataAccessorTest.groovy

            cleanup:
            unreadableDir.makeReadable()
        }
    
        @Requires(UnitTestPreconditions.FilePermissions)
        def "stat an unreadable file"() {
            def unreadableFile = tmpDir.createFile("unreadable")
            unreadableFile.makeUnreadable()
    
            expect:
            def stat = accessor.stat(unreadableFile)
            stat.type == FileType.RegularFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/files/deployWarWithCopy/groovy/build.gradle

    plugins {
        id 'war'
    }
    
    tasks.register("deployToTomcat", Copy) {
        from war
        into layout.projectDirectory.dir('tomcat/webapps')
        doNotTrackState("Deployment directory contains unreadable files")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 207 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/files/deployWarWithCopy/kotlin/build.gradle.kts

    plugins {
        war
    }
    
    tasks.register<Copy>("deployToTomcat") {
        from(tasks.war)
        into(layout.projectDirectory.dir("tomcat/webapps"))
        doNotTrackState("Deployment directory contains unreadable files")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 210 bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonRegistryUnavailableExpirationStrategy.java

        private static final Logger LOG = Logging.getLogger(DaemonRegistryUnavailableExpirationStrategy.class);
        public static final String REGISTRY_BECAME_UNREADABLE = "after the daemon registry became unreadable";
        public static final String REGISTRY_ENTRY_UNEXPECTEDLY_LOST = "after the daemon was no longer found in the daemon registry";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. docs/debugging/s3-verify/main.go

    		if err != nil {
    			fmt.Printf("unreadable on source: %s (%s)\n", srcCtnt.Key, err)
    			sourceFailed = true
    		} else if srcSize != srcCtnt.Size {
    			fmt.Printf("unreadable on source - size differs upon read: %s\n", srcCtnt.Key)
    			sourceFailed = true
    		}
    	}()
    	go func() {
    		defer wg.Done()
    		tgtSize, err := io.Copy(tgtSha256, tobj)
    		if err != nil {
    			fmt.Printf("unreadable on target: %s (%s)\n", tgtCtnt.Key, err)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 22 15:12:47 UTC 2022
    - 8.4K bytes
    - Viewed (0)
Back to top