Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 104 for Fixture (0.04 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/Fixture.java

    /**
     * Any object that can produce an accompanying stop task, meant to tear down
     * a previously instantiated service.
     */
    public interface Fixture {
    
        /** A task which will stop this fixture. This should be used as a finalizedBy for any tasks that use the fixture. */
        Object getStopTask();
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 705 bytes
    - Click Count (0)
  2. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/test/AntFixture.groovy

    import org.elasticsearch.gradle.internal.test.Fixture
    import org.gradle.api.GradleException
    import org.gradle.api.tasks.Internal
    import org.gradle.api.tasks.TaskProvider
    
    /**
     * A fixture for integration tests which runs in a separate process launched by Ant.
     */
    class AntFixture extends AntTask implements Fixture {
    
        /** The path to the executable that starts the fixture. */
        @Internal
        String executable
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.1K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/AntFixtureStop.groovy

        @Internal
        AntFixture fixture
    
        @Internal
        FileSystemOperations fileSystemOperations
    
        @Inject
        AntFixtureStop(FileSystemOperations fileSystemOperations) {
            super(fileSystemOperations)
            this.fileSystemOperations = fileSystemOperations
        }
    
        void setFixture(AntFixture fixture) {
            assert this.fixture == null
            this.fixture = fixture;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.6K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/groovy/elasticsearch.formatting.gradle

      ':plugins:repository-hdfs:hadoop-common',
      ':plugins:repository-s3',
      ':plugins:store-smb',
      ':plugins:transport-nio',
      ':qa:die-with-dignity',
      ':rest-api-spec',
      ':test:fixtures:geoip-fixture',
      ':test:fixtures:krb5kdc-fixture',
      ':test:fixtures:old-elasticsearch',
      ':test:framework',
      ':test:logger-usage',
      ':x-pack:license-tools',
      ':x-pack:plugin',
      ':x-pack:plugin:async-search',
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 09 18:53:35 GMT 2021
    - 9.1K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/testfixtures/TestFixtureExtension.java

            }
            if (fixtureProject.file(TestFixturesPlugin.DOCKER_COMPOSE_YML).exists() == false) {
                throw new IllegalArgumentException(
                    "Project " + path + " is not a valid test fixture: missing " + TestFixturesPlugin.DOCKER_COMPOSE_YML
                );
            }
            fixtures.add(fixtureProject);
            // Check for exclusive access
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4.4K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        assertEquals("Three Objects should be delivered.", 3, objectEvents.size());
        assertEquals("String fixture must be first object delivered.", EVENT, objectEvents.get(0));
        assertEquals("Object fixture must be second object delivered.", objEvent, objectEvents.get(1));
        assertEquals(
            "Comparable fixture must be thirdobject delivered.", compEvent, objectEvents.get(2));
    
        // Check the Catcher<Comparable<?>>...
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/eventbus/EventBusTest.java

        assertEquals("Three Objects should be delivered.", 3, objectEvents.size());
        assertEquals("String fixture must be first object delivered.", EVENT, objectEvents.get(0));
        assertEquals("Object fixture must be second object delivered.", objEvent, objectEvents.get(1));
        assertEquals(
            "Comparable fixture must be thirdobject delivered.", compEvent, objectEvents.get(2));
    
        // Check the Catcher<Comparable<?>>...
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchJavaBasePlugin.java

                return;
            }
            // fail on any conflicting dependency versions
            project.getConfigurations().all(configuration -> {
                if (configuration.getName().endsWith("Fixture")) {
                    // just a self contained test-fixture configuration, likely transitive and hellacious
                    return;
                }
                configuration.resolutionStrategy(ResolutionStrategy::failOnVersionConflict);
            });
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 27 16:04:42 GMT 2021
    - 8K bytes
    - Click Count (0)
  9. BUILDING.md

    #### Using test fixtures
    
    Sometimes we want to share test fixtures to setup the code under test across multiple projects. There are basically two ways doing so.
    
    Ideally we would use the build-in [java-test-fixtures](https://docs.gradle.org/current/userguide/java_testing.html#sec:java_test_fixtures) gradle plugin.
    This plugin relies on having a separate sourceSet for the test fixtures code.
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 23 07:45:59 GMT 2021
    - 6.7K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                        """
                    )
                },
                block = block
            )
    
        /**
         * Runs the binary compatibility check against two source trees.
         *
         * The fixture build supports both Java and Kotlin sources.
         *
         * @param v1 sources producer for V1, receiver is the `src/main` directory
         * @param v2 sources producer for V2, receiver is the `src/main` directory
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 11:30:48 GMT 2026
    - 18.3K bytes
    - Click Count (0)
Back to Top