Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 956 for fixtures (0.28 seconds)

  1. .teamcity/test-buckets.json

              "tooling-native",
              "unit-test-fixtures",
              "war"
            ],
            "parallelizationMethod": {
              "name": "TestDistribution"
            }
          },
          {
            "subprojects": [
              "build-cache-http",
              "ear",
              "instrumentation-reporting",
              "plugins-distribution",
              "plugins-jvm-test-fixtures",
              "plugins-jvm-test-suite",
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 18:38:15 GMT 2026
    - 118.6K bytes
    - Click Count (0)
  2. 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)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalTestArtifactPlugin.java

    import org.gradle.api.tasks.SourceSet;
    import org.gradle.api.tasks.SourceSetContainer;
    
    /**
     * Ideally, this plugin is intended to be temporary and in the long run we want to move
     * forward to port our test fixtures to use the gradle test fixtures plugin.
     * */
    public class InternalTestArtifactPlugin implements Plugin<Project> {
    
        @Override
        public void apply(Project project) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.2K bytes
    - Click Count (0)
  4. build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.java

        public void setPriority(int priority) {
            throw new UnsupportedOperationException();
        }
    
        @Override
        public String getDescription() {
            return "Reports incorrect usages of integration test fixtures";
        }
    
        @Override
        protected Class<?> getAstVisitorClass() {
            return IntegrationTestFixtureVisitor.class;
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.4K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/groovy/elasticsearch.forbidden-dependencies.gradle

            "If it is needed as a transitive depenency, try adding it to the runtime classpath")
        }
      }
    }
    
    subprojects {
      if (project.path.startsWith(':test:fixtures:') || project.path.equals(':build-tools')) {
        // fixtures are allowed to use whatever dependencies they want...
        return
      }
      pluginManager.withPlugin('java') {
        checkDeps(configurations.compileClasspath)
        checkDeps(configurations.testCompileClasspath)
      }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.3K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/testfixtures/TestFixturesPlugin.java

                project.afterEvaluate(spec -> {
                    if (extension.fixtures.isEmpty()) {
                        // if only one fixture is used, that's this one, but without a compose file that's not a valid configuration
                        throw new IllegalStateException(
                            "No " + DOCKER_COMPOSE_YML + " found for " + project.getPath() + " nor does it use other fixtures."
                        );
                    }
                });
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 29 15:07:50 GMT 2021
    - 10.7K bytes
    - Click Count (0)
  7. 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)
  8. build-logic/buildquality/src/main/kotlin/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.kt

        }
    
        override fun setName(name: String?) {
            throw UnsupportedOperationException()
        }
    
        override fun getDescription(): String = "Reports incorrect usages of integration test fixtures"
    
        override fun getAstVisitorClass(): Class<*> = IntegrationTestFixtureVisitor::class.java
    }
    
    
    class IntegrationTestFixtureVisitor : AbstractAstVisitor() {
    
        /**
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.6K bytes
    - Click Count (0)
  9. build-conventions/build.gradle

     * Side Public License, v 1.
     */
    
    import org.gradle.plugins.ide.eclipse.model.SourceFolder
    
    plugins {
        id 'java-gradle-plugin'
        id 'java-test-fixtures'
        id 'eclipse'
    }
    
    group = "org.elasticsearch"
    
    def minRuntimeJava = JavaVersion.toVersion(file('../build-tools-internal/src/main/resources/minimumRuntimeVersion').text)
    targetCompatibility = minRuntimeJava
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jul 01 09:43:51 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  10. .teamcity/subprojects.json

        "crossVersionTests": false
      },
      {
        "name": "project-features",
        "path": "platforms/core-configuration/project-features",
        "unitTests": false,
        "functionalTests": true,
        "crossVersionTests": false
      },
      {
        "name": "project-features-api",
        "path": "platforms/core-configuration/project-features-api",
        "unitTests": false,
        "functionalTests": false,
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 15:03:00 GMT 2026
    - 42K bytes
    - Click Count (0)
Back to Top