Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 308 for TearDown (0.28 seconds)

  1. guava-testlib/src/com/google/common/testing/TearDownAccepter.java

       *
       * <p>In JUnit3 language, that means during the {@link junit.framework.TestCase#tearDown()} step.
       */
      void addTearDown(TearDown tearDown);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/RestTestTransformer.java

                    }
                }
            }
    
            // transform the global teardown
            if (setupTransforms.isEmpty() == false) {
                int i = 0;
                for (RestTestTransformGlobalTeardown teardownTransform : teardownTransforms) {
                    ObjectNode result = teardownTransform.transformTeardown(teardownSection);
                    // add the teardown section if it does not currently exist
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 12 17:42:01 GMT 2021
    - 8.1K bytes
    - Click Count (0)
  3. guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java

        }
      }
    
      public void testLifecycle() {
        boolean[] setUp = {false};
        Runnable setUpRunnable = () -> setUp[0] = true;
    
        boolean[] tearDown = {false};
        Runnable tearDownRunnable = () -> tearDown[0] = true;
    
        MyTestSuiteBuilder builder = new MyTestSuiteBuilder();
        Test test =
            builder
                .usingGenerator("yam")
                .named("yam")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                // Create plan, setup and teardown
                for (MavenProject project : plan.getAllProjects().keySet()) {
                    BuildStep pplan = new BuildStep(PLAN, project, null);
                    pplan.status.set(PLANNING); // the plan step always need planning
                    BuildStep setup = new BuildStep(SETUP, project, null);
                    BuildStep teardown = new BuildStep(TEARDOWN, project, null);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/feature/FeatureInjector.java

            if (teardownNodeParent != null) {
                ArrayNode teardownNode = (ArrayNode) teardownNodeParent.get("teardown");
                // only transform an existing teardown section since a teardown does not inherit from setup but still needs the skip section
                if (teardownNode != null) {
                    // check to ensure that headers feature does not already exist
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 5.8K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

      private @Nullable Runnable tearDown;
    
      // public so that it can be referenced in generated GWT tests.
      @Override
      public void setUp() throws Exception {
        if (setUp != null) {
          setUp.run();
        }
      }
    
      // public so that it can be referenced in generated GWT tests.
      @Override
      public void tearDown() throws Exception {
        if (tearDown != null) {
          tearDown.run();
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

      private @Nullable Runnable tearDown;
    
      // public so that it can be referenced in generated GWT tests.
      @Override
      public void setUp() throws Exception {
        if (setUp != null) {
          setUp.run();
        }
      }
    
      // public so that it can be referenced in generated GWT tests.
      @Override
      public void tearDown() throws Exception {
        if (tearDown != null) {
          tearDown.run();
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        return self();
      }
    
      public Runnable getSetUp() {
        return setUp;
      }
    
      @CanIgnoreReturnValue
      public B withTearDown(Runnable tearDown) {
        this.tearDown = tearDown;
        return self();
      }
    
      public Runnable getTearDown() {
        return tearDown;
      }
    
      // Features
    
      private final Set<Feature<?>> features = new LinkedHashSet<>();
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/RestTestTransformGlobalTeardown.java

    import javax.annotation.Nullable;
    
    /**
     * A type of {@link RestTestTransform} that transformations or adds a global "teardown" section.
     */
    public interface RestTestTransformGlobalTeardown {
    
        /**
         * @param teardownNodeParent The parent of an existing "teardown" ObjectNode, null otherwise. If null implementations may create choose
         *                           to create the section.
         */
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 956 bytes
    - Click Count (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

          }
        }
      }
    
      /** Verifies that {@code setUp} and {@code tearDown} are called in all map test cases. */
      private static Test testsForSetUpTearDown() {
        AtomicBoolean setUpRan = new AtomicBoolean();
        Runnable setUp =
            () ->
                assertFalse("previous tearDown should have run before setUp", setUpRan.getAndSet(true));
        Runnable tearDown = () -> assertTrue("setUp should have run", setUpRan.getAndSet(false));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 11.2K bytes
    - Click Count (0)
Back to Top