Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 345 for Ruiter (0.25 sec)

  1. maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

    import org.apache.maven.project.MavenProject;
    import org.junit.jupiter.api.Test;
    
    import static org.hamcrest.MatcherAssert.assertThat;
    import static org.hamcrest.Matchers.hasSize;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 09 20:57:17 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        assertFalse(source.wasStreamClosed());
    
        StringWriter writer = new StringWriter();
        char[] buf = new char[64];
        int read;
        while ((read = reader.read(buf)) != -1) {
          writer.write(buf, 0, read);
        }
        reader.close();
        writer.close();
    
        assertTrue(source.wasStreamClosed());
        assertEquals(STRING, writer.toString());
      }
    
      public void testCopyTo_appendable() throws IOException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/AppendableWriterTest.java

        StringBuilder builder = new StringBuilder();
        Writer writer = new AppendableWriter(builder);
    
        writer.write("Hello".toCharArray());
        writer.write(',');
        writer.write(0xBEEF0020); // only lower 16 bits are important
        writer.write("Wo");
        writer.write("Whirled".toCharArray(), 3, 2);
        writer.write("Mad! Mad, I say", 2, 2);
    
        assertEquals("Hello, World!", builder.toString());
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/CharSink.java

       * @since 15.0 (in 14.0 with return type {@link BufferedWriter})
       */
      public Writer openBufferedStream() throws IOException {
        Writer writer = openStream();
        return (writer instanceof BufferedWriter)
            ? (BufferedWriter) writer
            : new BufferedWriter(writer);
      }
    
      /**
       * Writes the given character sequence to this sink.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/CharSinkTester.java

        Writer writer = sink.openStream();
        try {
          writer.write(data);
        } finally {
          writer.close();
        }
    
        assertContainsExpectedString();
      }
    
      public void testOpenBufferedStream() throws IOException {
        Writer writer = sink.openBufferedStream();
        try {
          writer.write(data);
        } finally {
          writer.close();
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 4.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/PropertiesUtil.java

            assertArgumentNotNull("props", props);
            assertArgumentNotNull("writer", writer);
    
            try {
                props.store(writer, comments);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * 指定のエンコーディングでファイルを書き出して{@link Properties}をストアします(例外処理はラップします)。
         *
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/CharSinkTest.java

      public void setUp() {
        sink = new TestCharSink();
      }
    
      public void testOpenBufferedStream() throws IOException {
        Writer writer = sink.openBufferedStream();
        assertTrue(sink.wasStreamOpened());
        assertFalse(sink.wasStreamClosed());
    
        writer.write(STRING);
        writer.close();
    
        assertTrue(sink.wasStreamClosed());
        assertEquals(STRING, sink.getString());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/OrArtifactFilterTest.java

     * under the License.
     */
    package org.apache.maven.artifact.resolver.filter;
    
    import java.util.Arrays;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@link OrArtifactFilter}.
     *
     */
    @Deprecated
    class OrArtifactFilterTest {
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

        public CharSource createSource(String string) throws IOException {
          checkNotNull(string);
          File file = createFile();
          Writer writer = new OutputStreamWriter(new FileOutputStream(file), Charsets.UTF_8);
          try {
            writer.write(string);
          } finally {
            writer.close();
          }
          return Files.asCharSource(file, Charsets.UTF_8);
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java

                    .content(content)
                    .outputStream(outputStream)
                    .build());
        }
    
        default void write(@Nonnull T content, @Nonnull Writer writer) throws XmlWriterException {
            write(XmlWriterRequest.<T>builder().content(content).writer(writer).build());
        }
    
        void write(@Nonnull XmlWriterRequest<T> request) throws XmlWriterException;
    
        /**
         * Simply parse the given xml string.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Nov 17 15:52:15 GMT 2023
    - 3.9K bytes
    - Viewed (0)
Back to top