Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 316 for Test$it (0.44 sec)

  1. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/TestClassExecutionEventGeneratorTest.groovy

            timeProvider.currentTime >> 1200
    
            when:
            processor.testClassStarted("some-test")
    
            then:
            1 * target.started({it.id == 1 && it.className == 'some-test'}, {it.startTime == 1200})
            0 * target._
        }
    
        def "fires event on test class finish"() {
            given:
            idGenerator.generateId() >> 1
            timeProvider.currentTime >>> [1200, 1300]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r56/ToolingApiEclipseModelTestSourcesCrossVersionSpec.groovy

            !depB.classpathAttributes.find { it.name == 'test' && it.value == 'true' }
            !depB.classpathAttributes.find { it.name == 'without_test_code' && it.value == 'false' }
            depC.classpathAttributes.find { it.name == 'test' && it.value == 'true' }
            depC.classpathAttributes.find { it.name == 'without_test_code' && it.value == 'true' }
            depD.classpathAttributes.find { it.name == 'test' && it.value == 'true' }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/testng/TestNGTestClassProcessorTest.groovy

            then: 1 * processor.started({ it.id == 1 && it.name == 'Gradle suite' && it.className == null }, { it.parentId == null })
            then: 1 * processor.started({ it.id == 2 && it.name == 'Gradle test' && it.className == null }, { it.parentId == 1 })
            then: 1 * processor.started({ it.id == 3 && it.name == 'ok' && it.className == ATestNGClass.name }, { it.parentId == 2 })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 18 12:30:10 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/results/AttachParentTestResultProcessorTest.groovy

            when:
            processor.started(suite, suiteStartEvent)
            processor.started(test, new TestStartEvent(200L))
    
            then:
            1 * target.started(suite, suiteStartEvent)
            1 * target.started(test, { it.parentId == 'suite' })
        }
    
        def canHaveMoreThanOneRootSuite() {
            TestDescriptorInternal root = suite('root')
            TestDescriptorInternal other = suite('suite1')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/scriptUninitializedTopLevelProperty2.kts

    // IGNORE_FIR
    // In FIR, there is currently a mismatch between the file's diagnostics and the individual elements' diagnostics, so we have to disable the
    // FIR test. It will be fixed by KT-63221.
    
    @Suppress("MUST_BE_INITIALIZED")
    val foo: Int
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Nov 13 10:20:26 UTC 2023
    - 261 bytes
    - Viewed (0)
  6. analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/suppression/conflictingOverloadsAtTopLevel2.kt

    // IGNORE_FIR
    // In FIR, there is currently a mismatch between the file's diagnostics and the individual elements' diagnostics, so we have to disable the
    // FIR test. It will be fixed by KT-63221.
    
    class SomeClass
    
    fun someFun(): Int {
        return 5
    }
    
    @Suppress("CONFLICTING_OVERLOADS")
    fun someFun(): SomeClass {
        return SomeClass()
    }
    
    @Suppress("CONFLICTING_OVERLOADS")
    fun someFun() {
    }
    
    fun someFun(): String {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Nov 13 10:20:26 UTC 2023
    - 434 bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/OutputsCleanerTest.groovy

            _ * dirSafeToDelete.test(subDir) >> true
            _ * dirSafeToDelete.test(outputDir) >> true
            _ * dirSafeToDelete.test(outputDir.parentFile) >> false
            outputFiles.each {
                1 * fileSafeToDelete.test(it) >> true
            }
    
            subDir.directory
            cleaner.didWork
        }
    
        def "does delete empty directories"() {
            def outputFiles = []
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. pkg/kubelet/checkpointmanager/checkpoint_manager_test.go

    		assert.Equal(t, actualHostNetwork, expHostNetwork)
    	}
    	// Test it fails if tried to read V1 structure into V2, a different structure from the structure which is checkpointed
    	checkpointV2 := newFakeCheckpointV2("", nil, false)
    	err = manager.GetCheckpoint("key1", checkpointV2)
    	assert.EqualError(t, err, "checkpoint is corrupted")
    
    	// Test it fails if tried to read V1 structure into the same structure but defined in another package
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 12 06:41:04 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  9. test/reflectmethod1.go

    // license that can be found in the LICENSE file.
    
    // The linker can prune methods that are not directly called or
    // assigned to interfaces, but only if reflect.Type.Method is
    // never used. Test it here.
    
    package main
    
    import "reflect"
    
    var called = false
    
    type M int
    
    func (m M) UniqueMethodName() {
    	called = true
    }
    
    var v M
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 11 21:19:20 UTC 2016
    - 578 bytes
    - Viewed (0)
  10. test/reflectmethod4.go

    // license that can be found in the LICENSE file.
    
    // The linker can prune methods that are not directly called or
    // assigned to interfaces, but only if reflect.Value.Method is
    // never used. Test it here.
    
    package main
    
    import "reflect"
    
    var called = false
    
    type M int
    
    func (m M) UniqueMethodName() {
    	called = true
    }
    
    var v M
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 11 22:07:02 UTC 2016
    - 573 bytes
    - Viewed (0)
Back to top