Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for ObjectNode (0.04 seconds)

  1. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy

        def transformTask  = ":yamlRestTestV${compatibleVersion}CompatTransform"
        def YAML_FACTORY = new YAMLFactory()
        def MAPPER = new ObjectMapper(YAML_FACTORY)
        def READER = MAPPER.readerFor(ObjectNode.class)
        def WRITER = MAPPER.writerFor(ObjectNode.class)
    
        def "yamlRestTestVxCompatTest does nothing when there are no tests"() {
            given:
            addSubProject(":distribution:bwc:minor") << """
            configurations { checkout }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 16.4K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/RestCompatTestTransformTask.java

            for (File file : getTestFiles().getFiles()) {
                YAMLParser yamlParser = YAML_FACTORY.createParser(file);
                List<ObjectNode> tests = READER.<ObjectNode>readValues(yamlParser).readAll();
                List<ObjectNode> transformRestTests;
                if (skippedFilesWithReason.containsKey(file)) {
                    //skip all the tests in the file
    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)
Back to Top