Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for appendText (0.22 sec)

  1. maven-core/src/test/java/org/apache/maven/project/ProjectBuildingResultWithLocationMatcher.java

        }
    
        @Override
        public void describeTo(Description description) {
            description
                    .appendText("a ProjectBuildingResult with location ")
                    .appendText(formatLocation(columnNumber, lineNumber));
        }
    
        private String formatLocation(int columnNumber, int lineNumber) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 2.9K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/project/ProjectBuildingResultWithProblemMessageMatcher.java

                description.appendText("was a ProjectBuildingResult with messages ");
                String messages = r.getProblems().stream()
                        .map(ModelProblem::getMessage)
                        .map(m -> "\"" + m + "\"" + System.lineSeparator())
                        .collect(joining(", "));
                description.appendText(messages);
            }
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 2.7K bytes
    - Viewed (0)
  3. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar

    matchesSafely(String item) { return evalSubstringOf(item); } @Override public void describeMismatchSafe(String item, Description mismatchDescription) { mismatchDescription.appendText("was \"").appendText(item).appendText("\""); } @Override public void describeTo(Description description) { description.appendText("a string ") .appendText(relationship()) .appendText(" ") .appendValue(substring); } protected abstract boolean evalSubstringOf(String string); protected abstract String relationship(); } org/hamcrest/core/package.html...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 31.9K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

        }
    
        fun platformMatches(platform: String): Matcher<Any> =
          object : BaseMatcher<Any>() {
            override fun describeTo(description: Description) {
              description.appendText(platform)
            }
    
            override fun matches(item: Any?): Boolean {
              return getPlatformSystemProperty() == platform
            }
          }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/xml/DomUtil.java

         *
         * @param text
         *            テキストノード。{@literal null}であってはいけません
         * @param buf
         *            文字列バッファ。{@literal null}であってはいけません
         */
        public static void appendText(final Text text, final StringBuilder buf) {
            assertArgumentNotNull("text", text);
            assertArgumentNotNull("buf", buf);
    
            buf.append(encodeText(text.getData()));
        }
    
        /**
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar

    THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. org/hamcrest/BaseDescription.class package org.hamcrest; public abstract synchronized class BaseDescription implements Description { public void BaseDescription(); public Description appendText(String); public Description appendDescriptionOf(SelfDescribing); public Description appendValue(Object); private String descriptionOf(Object); public transient Description appendValueList(String, String, String, Object[]); public Description ap...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 44K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

            if (masterSecretHex != null) {
              val keyLog = "CLIENT_RANDOM $random $masterSecretHex"
    
              if (verbose) {
                println(keyLog)
              }
              logFile.appendText("$keyLog\n")
            }
          }
    
          random = null
        }
    
        enum class Launch {
          Gui,
          CommandLine,
        }
      }
    
      companion object {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (1)
  8. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar

    objects to the description. appendList(String, String, String, Iterable<? extends SelfDescribing>) - Method in class org.hamcrest.Description.NullDescription appendText(String) - Method in class org.hamcrest.BaseDescription appendText(String) - Method in interface org.hamcrest.Description Appends some plain text to the description. appendText(String) - Method in class org.hamcrest.Description.NullDescription appendValue(Object) - Method in class org.hamcrest.BaseDescription appendValue(Object) - Method...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 236.8K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/EventListenerTest.kt

        }
      }
    
      private fun greaterThan(value: Long): Matcher<Long?> {
        return object : BaseMatcher<Long?>() {
          override fun describeTo(description: Description?) {
            description!!.appendText("> $value")
          }
    
          override fun matches(o: Any?): Boolean {
            return (o as Long?)!! > value
          }
        }
      }
    
      private fun matchesProtocol(protocol: Protocol?): Matcher<Response?> {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/net/UuidUtil.java

            final StringBuilder buf = new StringBuilder(BASE.length() * 2);
            buf.append(BASE);
            final int lowTime = (int) (System.currentTimeMillis() >> 32);
            StringUtil.appendHex(buf, lowTime);
            StringUtil.appendHex(buf, RANDOM.nextInt());
            return buf.toString();
        }
    
        private static byte[] getAddress() {
            try {
                return InetAddress.getLocalHost().getAddress();
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top