Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 88 for Bolin (0.16 sec)

  1. guava-tests/test/com/google/common/io/TestStreamSupplier.java

     * Interface for a supplier of streams that can report whether a stream was opened and whether that
     * stream was closed. Intended for use in a test where only a single stream should be opened and
     * possibly closed.
     *
     * @author Colin Decker
     */
    public interface TestStreamSupplier {
    
      /** Returns whether or not a new stream was opened. */
      boolean wasStreamOpened();
    
      /** Returns whether or not an open stream was closed. */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/GoogleHelpers.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Multimap;
    
    /**
     * Helper methods/assertions for use with {@code com.google.common.collect} types.
     *
     * @author Colin Decker
     */
    @GwtCompatible
    final class GoogleHelpers {
    
      private GoogleHelpers() {}
    
      static void assertEmpty(Multimap<?, ?> multimap) {
        if (!multimap.isEmpty()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 1.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/ByteSinkTest.java

    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.util.EnumSet;
    
    /**
     * Tests for the default implementations of {@code ByteSink} methods.
     *
     * @author Colin Decker
     */
    public class ByteSinkTest extends IoTestCase {
    
      private final byte[] bytes = newPreFilledByteArray(10000);
    
      private TestByteSink sink;
    
      @Override
      protected void setUp() throws Exception {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CharSinkTester.java

    /**
     * A generator of {@code TestSuite} instances for testing {@code CharSink} implementations.
     * Generates tests of all methods on a {@code CharSink} given various inputs written to it.
     *
     * @author Colin Decker
     */
    @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it).
    public class CharSinkTester extends SourceSinkTester<CharSink, String, CharSinkFactory> {
    
    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)
  5. guava-tests/test/com/google/common/io/SourceSinkFactory.java

     * SourceSinkFactory} for common.io are found in {@link SourceSinkFactories}.
     *
     * @param <S> the source or sink type
     * @param <T> the data type (byte[] or String)
     * @author Colin Decker
     */
    public interface SourceSinkFactory<S, T> {
    
      /**
       * Returns the data to expect the source or sink to contain given the data that was used to create
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/CharSinkTest.java

    import java.io.IOException;
    import java.io.StringReader;
    import java.io.Writer;
    import java.util.EnumSet;
    
    /**
     * Tests for the default implementations of {@code CharSink} methods.
     *
     * @author Colin Decker
     */
    public class CharSinkTest extends IoTestCase {
    
      private static final String STRING = ASCII + I18N;
    
      private TestCharSink sink;
    
      @Override
      public void setUp() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/TestCharSource.java

    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.Reader;
    
    /**
     * A char source for testing that has configurable options.
     *
     * @author Colin Decker
     */
    public class TestCharSource extends CharSource implements TestStreamSupplier {
    
      private final TestByteSource byteSource;
    
      public TestCharSource(String content, TestOption... options) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 1.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/IoTestCase.java

    import java.util.logging.Logger;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Base test case class for I/O tests.
     *
     * @author Chris Nokleberg
     * @author Colin Decker
     */
    public abstract class IoTestCase extends TestCase {
    
      private static final Logger logger = Logger.getLogger(IoTestCase.class.getName());
    
      static final String I18N =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/CharSinkTest.java

    import java.io.IOException;
    import java.io.StringReader;
    import java.io.Writer;
    import java.util.EnumSet;
    
    /**
     * Tests for the default implementations of {@code CharSink} methods.
     *
     * @author Colin Decker
     */
    public class CharSinkTest extends IoTestCase {
    
      private static final String STRING = ASCII + I18N;
    
      private TestCharSink sink;
    
      @Override
      public void setUp() {
    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)
  10. guava-tests/test/com/google/common/eventbus/SubscriberTest.java

    import java.lang.reflect.Method;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link Subscriber}.
     *
     * @author Cliff Biffle
     * @author Colin Decker
     */
    public class SubscriberTest extends TestCase {
    
      private static final Object FIXTURE_ARGUMENT = new Object();
    
      private EventBus bus;
      private boolean methodCalled;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.8K bytes
    - Viewed (0)
Back to top