Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cleanupState (0.21 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/M2Installation.groovy

            }
        }
    
        void assertNoLeftoverState() {
            assert System.getenv("M2_HOME") == null
            assert System.getProperty("maven.repo.local") == null
        }
    
        void cleanupState() {
            System.clearProperty("maven.repo.local")
        }
    
        TestFile getUserHomeDir() {
            init()
            return userHomeDir
        }
    
        TestFile getUserM2Directory() {
            init()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

                }
            }
    
            buildOperationsFixture = null
            disableProblemsApiCheck()
    
            executer.cleanup()
            m2.cleanupState()
    
            // Verify that the test (or fixtures) has cleaned up state correctly
            m2.assertNoLeftoverState()
        }
    
        private void recreateExecuter() {
            if (executor != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
Back to top