Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for assertRegistryNotWorldReadable (0.55 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/TestableDaemon.groovy

        protected void assertHasState(State state) {
            assert logFileProbe.currentState == state
            assert registryProbe.currentState == state
        }
    
        @Override
        void assertRegistryNotWorldReadable() {
            registryProbe.assertRegistryNotWorldReadable()
        }
    
        @Override
        void changeTokenVisibleToClient() {
            registryProbe.resetToken()
        }
    
        @Override
        int getPort() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonAuthenticationIntegrationSpec.groovy

            when:
            buildSucceeds()
            def daemon = daemons.daemon
            daemon.assertIdle()
    
            then:
            daemon.assertRegistryNotWorldReadable()
    
            when:
            daemon.changeTokenVisibleToClient()
            fails()
    
            then:
            failure.assertHasDescription("Unexpected authentication token in command")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/LegacyDaemon.groovy

            assert logFileProbe.currentState == state
        }
    
        @Override
        void changeTokenVisibleToClient() {
            throw new UnsupportedOperationException()
        }
    
        @Override
        void assertRegistryNotWorldReadable() {
            throw new UnsupportedOperationException()
        }
    
        @Override
        int getPort() {
            throw new UnsupportedOperationException()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonRegistryStateProbe.groovy

            registry.remove(daemonInfo.address)
            registry.store(new DaemonInfo(daemonInfo.address, daemonInfo.context, "password".bytes, daemonInfo.getState()))
        }
    
        void assertRegistryNotWorldReadable() {
            def registryFile = new DaemonDir(context.daemonRegistryDir).registry
            if (OperatingSystem.current().isLinux() || OperatingSystem.current().isMacOsX()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonFixture.java

        /**
         * Changes the authentication token for this daemon in the registry, so that client will see a different token to that expected by this daemon
         */
        void changeTokenVisibleToClient();
    
        void assertRegistryNotWorldReadable();
    
        /**
         * Asserts that this daemon becomes idle within a short timeout. Blocks until this has happened.
         */
        DaemonFixture becomesIdle();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top