Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 394 for CL (0.02 sec)

  1. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiSpecification.groovy

        BuildTestFile populate(String projectName, @DelegatesTo(BuildTestFile) Closure cl) {
            new BuildTestFixture(projectDir).withBuildInSubDir().populate(projectName, cl)
        }
    
        TestFile singleProjectBuildInSubfolder(String projectName, @DelegatesTo(BuildTestFile) Closure cl = {}) {
            new BuildTestFixture(projectDir).withBuildInSubDir().singleProjectBuild(projectName, cl)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/AbstractModule.groovy

            assert tmpFile.renameTo(file)
            onPublish(file)
        }
    
        private void writeContents(output, Closure cl) {
            output.withWriter("utf-8", cl)
        }
    
        private void writeZipped(TestFile testFile, Closure cl) {
            def bos = new ByteArrayOutputStream()
            writeContents(bos, cl)
    
            ZipArchiveOutputStream zipStream = new ZipArchiveOutputStream(testFile)
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/build/BuildTestFixture.groovy

            multiProjectBuild(projectName, subprojects, CompiledLanguage.JAVA, cl)
        }
    
        def multiProjectBuild(String projectName, List<String> subprojects, CompiledLanguage language, @DelegatesTo(value = BuildTestFile, strategy = Closure.DELEGATE_FIRST) Closure cl = {}) {
            def rootMulti = populate(projectName) {
                subprojects.each {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestWorkspaceBuilder.groovy

        }
    
        def apply(Closure cl) {
            cl.delegate = this
            cl.resolveStrategy = Closure.DELEGATE_FIRST
            cl()
        }
    
        TestFile dir(String name) {
            baseDir.file(name).createDir()
        }
    
        TestFile dir(String name, @DelegatesTo(value = TestWorkspaceBuilder.class, strategy = Closure.DELEGATE_FIRST) Closure<?> cl) {
            dir(name).create(cl)
        }
    
        TestFile file(String name) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/internal/typeconversion/DefaultTypeConverterTest.groovy

        }
    
        def "cannot convert arbitrary type to Long"() {
            when:
            def cl = {}
            converter.convert(cl, Long.class, false)
    
            then:
            def e = thrown(UnsupportedNotationException)
            e.message == TextUtil.toPlatformLineSeparators("""Cannot convert the provided notation to an object of type Long: ${cl.toString()}.
    The following types/formats are supported:
      - A String or CharSequence
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 13.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/client-services/src/test/groovy/org/gradle/internal/daemon/client/serialization/ClasspathInfererTest.groovy

        def factory = new ClasspathInferer()
    
        def "determines action and tooling API classpath when loaded via a URLClassLoader"() {
            def cl = urlClassLoader(toolingApiClassPath + isolatedClasses(CustomAction, CustomModel))
            def actionClass = cl.loadClass(CustomAction.name)
    
            expect:
            def classpath = classpathFor(actionClass)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. src/cmd/fix/printerconfig.go

    		return false
    	}
    
    	fixed := false
    	walk(f, func(n any) {
    		cl, ok := n.(*ast.CompositeLit)
    		if !ok {
    			return
    		}
    		se, ok := cl.Type.(*ast.SelectorExpr)
    		if !ok {
    			return
    		}
    		if !isTopName(se.X, "printer") || se.Sel == nil {
    			return
    		}
    
    		if ss := se.Sel.String(); ss == "Config" {
    			for i, e := range cl.Elts {
    				if _, ok := e.(*ast.KeyValueExpr); ok {
    					break
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  8. pkg/controller/bootstrap/tokencleaner_test.go

    	options := DefaultTokenCleanerOptions()
    	cl := fake.NewSimpleClientset()
    	informerFactory := informers.NewSharedInformerFactory(cl, options.SecretResync)
    	secrets := informerFactory.Core().V1().Secrets()
    	tcc, err := NewTokenCleaner(cl, secrets, options)
    	if err != nil {
    		return nil, nil, nil, err
    	}
    	return tcc, cl, secrets, nil
    }
    
    func TestCleanerNoExpiration(t *testing.T) {
    	cleaner, cl, secrets, err := newTokenCleaner()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 00:05:53 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  9. platforms/core-execution/workers/src/test/groovy/org/gradle/process/internal/worker/child/BootstrapSecurityManagerTest.groovy

            def entry2 = new File("b.jar")
            TestClassLoader cl = Mock()
    
            given:
            System.in = createStdInContent(entry1, entry2)
    
            when:
            def securityManager = new BootstrapSecurityManager(cl)
    
            then:
            0 * cl._
    
            when:
            securityManager.checkPermission(new AllPermission())
    
            then:
            1 * cl.addURL(entry1.toURI().toURL())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. doc/next/2-language.md

    For details see the [language spec](/ref/spec#For_statements).
    
    <!-- go.dev/issue/46477, CL 566856, CL 586955, CL 586956 -->
    Go 1.23 includes preview support for [generic type aliases](/issue/46477).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 19:56:43 UTC 2024
    - 757 bytes
    - Viewed (0)
Back to top