Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestDeploymentHandle (0.64 sec)

  1. subprojects/core/src/test/groovy/org/gradle/deployment/internal/DefaultDeploymentRegistryTest.groovy

        def "cannot register a duplicate deployment handle" () {
            def testHandle = new TestDeploymentHandle()
            objectFactory.newInstance(TestDeploymentHandle) >> testHandle
            when:
            registry.start("id", DeploymentRegistry.ChangeBehavior.NONE, TestDeploymentHandle)
            then:
            noExceptionThrown()
            registry.get("id", TestDeploymentHandle) == testHandle
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. subprojects/core/src/testFixtures/groovy/org/gradle/test/fixtures/TestDeploymentFixture.groovy

                    keyFile = file('${keyFile.name}')
                }
    
                class TestDeploymentHandle implements DeploymentHandle {
                    final File keyFile
                    boolean running
    
                    @Inject 
                    TestDeploymentHandle(key, File keyFile) {
                        this.keyFile = keyFile
                        keyFile.text = key
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 26 00:54:23 UTC 2019
    - 4.1K bytes
    - Viewed (0)
Back to top