Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 254 for Undocumented (0.16 sec)

  1. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/DeprecationMessagesTest.groovy

            builder.willBeRemovedInGradle9().undocumented().nagUser()
    
            then:
            expectMessage "Summary is deprecated. This is scheduled to be removed in Gradle ${NEXT_GRADLE_VERSION}. Context. Advice."
        }
    
        def "logs generic deprecation message for specific thing"() {
            when:
            DeprecationLogger.deprecate("Something").willBeRemovedInGradle9().undocumented().nagUser()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/DeprecationLoggerTest.groovy

        }
    
        def "logs deprecation warning once until reset"() {
            when:
            DeprecationLogger.deprecate("nag").willBeRemovedInGradle9().undocumented().nagUser()
            DeprecationLogger.deprecate("nag").willBeRemovedInGradle9().undocumented().nagUser()
    
            then:
            def events = outputEventListener.events
            events.size() == 1
            events[0].message.startsWith('nag')
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 15:06:10 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/DeprecatedUsageBuildOperationProgressIntegrationTest.groovy

                    .willBeRemovedInGradle9()
                    .undocumented()
                    .nagUser()
                org.gradle.internal.deprecation.DeprecationLogger.deprecate('Init script')
                      .willBeRemovedInGradle9()
                      .undocumented()
                      .nagUser()
            """
    
            file('script.gradle') << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 15:16:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/DeprecationHandlingIntegrationTest.groovy

                        System.out.println("DeprecatedTask.causeDeprecationWarning() executed.");
                    }
    
                    public static void someFeature() {
                        DeprecationLogger.deprecateMethod(DeprecatedTask.class, "someFeature()").willBeRemovedInGradle9().undocumented().nagUser();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 16:16:32 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ResolveException.java

                .withContext("Instantiating this exception is reserved for Gradle internal use only.")
                .willBeRemovedInGradle9()
                .undocumented()
                .nagUser();
        }
    
        /**
         * Do not call this constructor.
         *
         * @deprecated This constructor will be made protected in 9.0
         */
        @Deprecated
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:56:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. src/internal/godebug/godebug.go

    // Name returns the name of the setting.
    func (s *Setting) Name() string {
    	if s.name != "" && s.name[0] == '#' {
    		return s.name[1:]
    	}
    	return s.name
    }
    
    // Undocumented reports whether this is an undocumented setting.
    func (s *Setting) Undocumented() bool {
    	return s.name != "" && s.name[0] == '#'
    }
    
    // String returns a printable form for the setting: name=value.
    func (s *Setting) String() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. testing/performance/src/templates/generateLotsOfDeprecationWarnings/build.gradle

        }
    }
    
    
    @groovy.transform.CompileStatic
    void nagUserOfDeprecated(String thing) {
        org.gradle.internal.deprecation.DeprecationLogger.deprecate(thing).willBecomeAnErrorInGradle9().undocumented().nagUser();
    
    }
    
    // This generates 1 deprecation 10k times and 1k unique deprecations
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/caching/impl/DefaultBuildCacheKey.java

            DeprecationLogger.deprecateMethod(BuildCacheKey.class, "getDisplayName()")
                .replaceWith("getHashCode()")
                .willBeRemovedInGradle9()
                .undocumented()
                .nagUser();
            return getHashCode();
        }
    
        @Override
        public String toString() {
            return getHashCode();
        }
    
        @Override
        public boolean equals(Object o) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:58 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/ProblemsServiceModelBuilderCrossVersionTest.groovy

                                .withException(new RuntimeException("test"))
                                ${pre86api ? ".undocumented()" : ""}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/validate.go

    		if color[a] == white {
    			color[a] = grey
    
    			// names
    			if !validIdent(a.Name) {
    				return fmt.Errorf("invalid analyzer name %q", a)
    			}
    
    			if a.Doc == "" {
    				return fmt.Errorf("analyzer %q is undocumented", a)
    			}
    
    			if a.Run == nil {
    				return fmt.Errorf("analyzer %q has nil Run", a)
    			}
    			// fact types
    			for _, f := range a.FactTypes {
    				if f == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top