Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 920 for rest (0.02 seconds)

  1. TESTING.asciidoc

    The YAML REST tests support all the options provided by the randomized runner, plus the following:
    
    * `tests.rest.suite`: comma separated paths of the test suites to be run
    (by default loaded from /rest-api-spec/test). It is possible to run only a subset
    of the tests providing a sub-folder or even a single yaml file (the default
    /rest-api-spec/test prefix is optional when files are loaded from classpath)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jun 07 13:55:20 GMT 2021
    - 32.5K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/YamlRestCompatTestPlugin.java

    import org.elasticsearch.gradle.internal.test.rest.RestResourcesExtension;
    import org.elasticsearch.gradle.internal.test.rest.RestResourcesPlugin;
    import org.elasticsearch.gradle.internal.test.rest.RestTestUtil;
    import org.elasticsearch.gradle.internal.test.rest.InternalYamlRestTestPlugin;
    import org.elasticsearch.gradle.testclusters.TestClustersPlugin;
    import org.elasticsearch.gradle.util.GradleUtils;
    import org.gradle.api.Plugin;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 16:26:11 GMT 2021
    - 11.7K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/RestCompatTestTransformTask.java

    import org.elasticsearch.gradle.internal.test.rest.transform.match.AddMatch;
    import org.elasticsearch.gradle.internal.test.rest.transform.match.RemoveMatch;
    import org.elasticsearch.gradle.internal.test.rest.transform.match.ReplaceKeyInMatch;
    import org.elasticsearch.gradle.internal.test.rest.transform.match.ReplaceValueInMatch;
    import org.elasticsearch.gradle.internal.test.rest.transform.skip.Skip;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 22.3K bytes
    - Click Count (0)
  4. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/fixtures/AbstractRestResourcesFuncTest.groovy

                file("rest-api-spec/src/main/resources/rest-api-spec/api/" + api) << ""
            }
            tests.each { test ->
                file("rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/" + test) << ""
            }
        }
    
        void addRestTestsToProject(List<String> tests, String sourceSet = "test") {
            // uses the test source set by default, but in practice it would be a custom source set set by another plugin
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 2.1K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateRestSpecPlugin.java

                        filter.include(DOUBLE_STAR + "/rest-api-spec/api/" + DOUBLE_STAR + "/*.json");
                        filter.exclude(DOUBLE_STAR + "/_common.json");
                    }));
                    // This must always be specified precisely, so that
                    // projects other than `rest-api-spec` can use this task.
                    task.setJsonSchema(new File(project.getRootDir(), "rest-api-spec/src/main/resources/schema.json"));
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ReverseNaturalOrdering.java

      @Override
      public <E extends Comparable<?>> E min(E a, E b) {
        return NaturalOrdering.INSTANCE.max(a, b);
      }
    
      @Override
      public <E extends Comparable<?>> E min(E a, E b, E c, E... rest) {
        return NaturalOrdering.INSTANCE.max(a, b, c, rest);
      }
    
      @Override
      public <E extends Comparable<?>> E min(Iterator<E> iterator) {
        return NaturalOrdering.INSTANCE.max(iterator);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 3K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/CopyRestApiTask.java

    /**
     * Copies the files needed for the Rest YAML specs to the current projects test resources output directory.
     * This is intended to be be used from {@link RestResourcesPlugin} since the plugin wires up the needed
     * configurations and custom extensions.
     *
     * @see RestResourcesPlugin
     */
    public class CopyRestApiTask extends DefaultTask {
        private static final String REST_API_PREFIX = "rest-api-spec/api";
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 7.4K bytes
    - Click Count (0)
  8. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/InternalYamlRestTestPluginFuncTest.groovy

            internalBuild()
            buildFile << """
                apply plugin: 'elasticsearch.internal-yaml-rest-test'
    
                dependencies {
                   yamlRestTestImplementation "junit:junit:4.12"
                }
    
                // can't actually spin up test cluster from this test
               tasks.withType(Test).configureEach{ enabled = false }
    
               tasks.register("printYamlRestTestClasspath").configure {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 10:22:28 GMT 2021
    - 3.1K bytes
    - Click Count (0)
  9. internal/dsync/dsync-client_test.go

    	"errors"
    	"net/http"
    	"net/url"
    	"time"
    
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/rest"
    )
    
    // ReconnectRESTClient is a wrapper type for rest.Client which provides reconnect on first failure.
    type ReconnectRESTClient struct {
    	u    *url.URL
    	rest *rest.Client
    }
    
    // newClient constructs a ReconnectRESTClient object with addr and endpoint initialized.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jan 20 17:36:09 GMT 2022
    - 4.4K bytes
    - Click Count (0)
  10. build-tools-internal/build.gradle

        }
        restResources {
          id = 'elasticsearch.rest-resources'
          implementationClass = 'org.elasticsearch.gradle.internal.test.rest.RestResourcesPlugin'
        }
        restTest {
          id = 'elasticsearch.rest-test'
          implementationClass = 'org.elasticsearch.gradle.internal.test.RestTestPlugin'
        }
        standaloneRestTest {
          id = 'elasticsearch.standalone-rest-test'
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 18:10:22 GMT 2021
    - 11.3K bytes
    - Click Count (0)
Back to Top