Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 89 for createFor (0.36 sec)

  1. platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/api/plugins/JvmTestSuitePluginIntegrationTest.groovy

        - $resultsPath (artifactType = directory)""".stripIndent())
    
            and:
            hasIncubatingLegend()
        }
    
        def "Test suites in different projects can use same test type"() {
            def subADir = createDir("subA")
            subADir.file("build.gradle") << """
                plugins {
                    id 'java'
                }
    
                ${mavenCentralRepository()}
    
                testing {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultPersistentDirectoryCacheTest.groovy

            loadProperties(emptyDir.file("cache.properties")) == properties
        }
    
        def initializesCacheWhenPropertiesFileDoesNotExist() {
            given:
            def dir = temporaryFolder.getTestDirectory().file("dir").createDir()
            def cache = new DefaultPersistentDirectoryCache(dir, "<display-name>", properties, mode(FileLockManager.LockMode.Shared), initializationAction, cacheCleanup, lockManager, Mock(ExecutorFactory), buildOperationRunner)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:40:49 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/GFileUtilsTest.groovy

            when:
            def out = org.gradle.util.GFileUtils.tail(f, 2)
    
            then:
            out == """two
    three
    """
        }
    
        def "mkdirs succeeds if directory already exists"() {
            def dir = temp.createDir("foo")
            assert dir.exists()
    
            when:
            GFileUtils.mkdirs(dir)
    
            then:
            noExceptionThrown()
            dir.exists()
        }
    
        def "can mkdirs"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDevelocityPluginIntegrationTest.groovy

            '''
        }
    
        @NotYetImplemented
        @Issue("https://github.com/gradle/gradle/issues/19047")
        def "problem is reported for Kotlin lambda expression with develocity plugin"() {
            given:
            createDir('dv-conventions') {
                file('src/main/kotlin/my/DvConventionsPlugin.kt') << """
                    package my
    
                    import org.gradle.api.*
                    import org.gradle.kotlin.dsl.*
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ConcurrentArchiveIntegrationTest.groovy

            given: "2 archive files"
            createTar('test1.tar') {
                subdir1 {
                    file ('file.txt').text = 'original text 1'
                }
                subdir2 {
                    file('file2.txt').text = 'original text 2'
                    file ('file3.txt').text =  'original text 3'
                }
            }
            createTar('test2.tar') {
                subdir1 {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeConventionIntegrationTest.groovy

            given:
            withSoftwareTypePluginThatExposesExtensionWithDependencies().prepareToExecute()
    
            file("foo").createDir()
            file("bar").createDir()
            file("settings.gradle.dcl") << getDeclarativeSettingsScriptThatSetsConventions("""
                ${setId("convention")}
                ${setFooBar("convention")}
                ${addToBaz("convention")}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 12:50:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/file/FileCollectionSymlinkIntegrationTest.groovy

            when:
            target.delete()
            target.createDir()
            run 'producesLink'
            then:
            executedAndNotSkipped ':producesLink'
        }
    
        @Issue("https://github.com/gradle/gradle/issues/1365")
        def "detect changes to broken symlink outputs in OutputFile"() {
            def root = file("root").createDir()
            def target = file("target")
            def link = root.file("link")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor.go

    type serializer struct {
    	metaFactory metaFactory
    	creater     runtime.ObjectCreater
    	typer       runtime.ObjectTyper
    	options     options
    }
    
    func NewSerializer(creater runtime.ObjectCreater, typer runtime.ObjectTyper, options ...Option) Serializer {
    	return newSerializer(&defaultMetaFactory{}, creater, typer, options...)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor_test.go

    					t.Errorf("expected MissingVersion, got: %v", err)
    				}
    			},
    		},
    		{
    			name:        "creater error",
    			gvk:         &schema.GroupVersionKind{Group: "x", Version: "y", Kind: "z"},
    			metaFactory: stubMetaFactory{gvk: &schema.GroupVersionKind{}},
    			creater:     stubCreater{err: errors.New("test")},
    			expectedObj: nil,
    			expectedGVK: &schema.GroupVersionKind{Group: "x", Version: "y", Kind: "z"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  10. maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                } finally {
                    stk.pop();
                }
            }
    
            @Override
            protected ActivationOS.Builder transformActivationOS_Name(
                    Supplier<? extends ActivationOS.Builder> creator, ActivationOS.Builder builder, ActivationOS target) {
                stk.push(nextFrame("name"));
                try {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat May 18 14:09:22 UTC 2024
    - 76K bytes
    - Viewed (0)
Back to top