- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for suppressCleanup (0.12 sec)
-
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestDirectoryProvider.java
/** * The directory to use, guaranteed to exist. * * @return The directory to use, guaranteed to exist. */ TestFile getTestDirectory(); void suppressCleanup(); void suppressCleanupErrors();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/CleanupTestDirectoryExtension.groovy
def noCleanupOnErrorListener = new AbstractRunListener() { @Override void error(ErrorInfo error) { provider.suppressCleanup() } } def spec = invocation.spec while (spec != null) { spec.addListener(noCleanupOnErrorListener) spec = spec.subSpec
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.3K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/AbstractTestDirectoryProvider.java
protected AbstractTestDirectoryProvider(TestFile root, Class<?> testClass) { this.root = root; this.className = shortenPath(testClass.getSimpleName(), 16); } @Override public void suppressCleanup() { cleanup = false; } @Override public void suppressCleanupErrors() { suppressCleanupErrors = true; } public boolean isCleanup() { return cleanup;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.7K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/testFixtures/groovy/org/gradle/testkit/runner/fixtures/PluginUnderTest.groovy
@Override TestFile getTestDirectory() { return projectDir } @Override void suppressCleanup() { } @Override void suppressCleanupErrors() { } } private final int num private final TestFile projectDir
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 6.5K bytes - Viewed (0)