Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for unloadable (0.27 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. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/DirectorySnapshotterStatisticsTest.groovy

            3 * statisticsCollector.recordVisitFile()
            0 * _
        }
    
        @Requires(UnitTestPreconditions.FilePermissions)
        def "can visit unreadable #type"() {
            given:
            def rootDir = tmpDir.createDir("root")
            def unreadableFile = rootDir.file('unreadable')
            unreadableFile."create${type.capitalize()}"().makeUnreadable()
    
            when:
            snapshot(rootDir)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/telemetry/internal/upload/findwork.go

    					// the counter data contained therein was all from after the asof
    					// date.
    					//
    					// TODO(rfindley): store the begin date in reports, so that we can
    					// verify this assumption.
    					u.logger.Printf("Uploadable: %s", fi.Name())
    					ans.readyfiles = append(ans.readyfiles, filepath.Join(localdir, fi.Name()))
    				}
    			} else {
    				// ...otherwise fall back on the old behavior of uploading all
    				// unuploaded files.
    				//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top