Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addIterationInterceptor (0.27 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/CleanupTestDirectoryExtension.groovy

        @Override
        void visitSpecAnnotation(CleanupTestDirectory annotation, SpecInfo spec) {
            spec.features.each { FeatureInfo feature ->
                feature.addIterationInterceptor(new FailureCleanupInterceptor(annotation.fieldName()))
            }
        }
    
        private static class FailureCleanupInterceptor implements IMethodInterceptor {
            final String fieldName
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/RedirectStdinExtension.groovy

        @Override
        void visitSpecAnnotation(RedirectStdIn annotation, SpecInfo spec) {
            spec.bottomSpec.allFeatures.each {
                it.addIterationInterceptor(interceptor)
            }
        }
    
        private static class RedirectingInterceptor implements IMethodInterceptor {
    
            private PipedInputStream emulatedSystemIn
            private OutputStream stdinPipe
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top