Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for addWarning (0.04 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/RestCompatTestTransformTask.java

        }
    
        /**
         * Adds one or more warnings to the given test
         *
         * @param testName the test name to add the warning
         * @param warnings the warning(s) to add
         */
        public void addWarning(String testName, String... warnings) {
            transformations.add(new InjectWarnings(Arrays.asList(warnings), testName));
        }
    
        /**
         * Adds one or more regex warnings to the given test
         *
    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)
  2. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy

                  task.removeMatch("_source.blah")
                  task.removeMatch("_source.junk", "two")
                  task.addMatch("_source.added", [name: 'jake', likes: 'cheese'], "one")
                  task.addWarning("one", "warning1", "warning2")
                  task.addWarningRegex("two", "regex warning here .* [a-z]")
                  task.addAllowedWarning("added allowed warning")
    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)
  3. okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt

            .build()
        assertThat(headers["Test-Instant"]).isEqualTo("Thu, 01 Jan 1970 00:00:01 GMT")
        assertThat(headers.getInstant("Test-Instant")).isEqualTo(expected)
      }
    
      @Test fun addParsing() {
        val headers =
          Headers
            .Builder()
            .add("foo: bar")
            .add(" foo: baz") // Name leading whitespace is trimmed.
            .add("foo : bak") // Name trailing whitespace is trimmed.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 5.7K bytes
    - Click Count (0)
Back to Top