Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for testSkip (0.07 sec)

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

          total++;
        }
        assertEquals(0, in.available());
        assertEquals(20, total);
      }
    
      @SuppressWarnings("CheckReturnValue") // these calls to skip always return 0
      public void testSkip() throws Exception {
        MultiInputStream multi =
            new MultiInputStream(
                Collections.singleton(
                        new ByteSource() {
                          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java

      }
    
      public void testReadArrayRange() throws IOException {
        assertEquals(3, counter.read(new byte[10], 1, 3));
        assertEquals(3, counter.getCount());
      }
    
      public void testSkip() throws IOException {
        assertEquals(10, counter.skip(10));
        assertEquals(10, counter.getCount());
      }
    
      public void testSkipEOF() throws IOException {
        assertEquals(20, counter.skip(30));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/MultiReaderTest.java

        return new CharSource() {
          @Override
          public Reader openStream() {
            return new StringReader(text);
          }
        };
      }
    
      public void testSkip() throws Exception {
        String begin = "abcde";
        String end = "fghij";
        Reader joinedReader = CharSource.concat(newCharSource(begin), newCharSource(end)).openStream();
    
        String expected = begin + end;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/MultiReaderTest.java

        return new CharSource() {
          @Override
          public Reader openStream() {
            return new StringReader(text);
          }
        };
      }
    
      public void testSkip() throws Exception {
        String begin = "abcde";
        String end = "fghij";
        Reader joinedReader = CharSource.concat(newCharSource(begin), newCharSource(end)).openStream();
    
        String expected = begin + end;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/MultiInputStreamTest.java

          total++;
        }
        assertEquals(0, in.available());
        assertEquals(20, total);
      }
    
      @SuppressWarnings("CheckReturnValue") // these calls to skip always return 0
      public void testSkip() throws Exception {
        MultiInputStream multi =
            new MultiInputStream(
                Collections.singleton(
                        new ByteSource() {
                          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.6K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import org.gradle.testkit.runner.GradleRunner
    import org.gradle.testkit.runner.TaskOutcome
    import org.gradle.util.internal.TextUtil
    import org.junit.jupiter.api.Assertions
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.io.TempDir
    import java.io.File
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/net/InetAddressesTest.java

        // Test compat address.
        testIp = (Inet6Address) InetAddresses.forString("::1.2.3.4");
        assertTrue(InetAddresses.hasEmbeddedIPv4ClientAddress(testIp));
        InetAddress ipv4 = InetAddresses.forString("1.2.3.4");
        assertEquals(ipv4, InetAddresses.getEmbeddedIPv4ClientAddress(testIp));
    
        // Test 6to4 address.
        testIp = (Inet6Address) InetAddresses.forString("2002:0102:0304::1");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import org.gradle.kotlin.dsl.*
    import org.gradle.testkit.runner.BuildResult
    import org.gradle.testkit.runner.GradleRunner
    import org.gradle.testkit.runner.UnexpectedBuildFailure
    import org.hamcrest.CoreMatchers
    import org.hamcrest.MatcherAssert.assertThat
    import org.junit.Assert.assertFalse
    import org.junit.Assert.assertTrue
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. ci/official/containers/linux_arm64/devel.usertools/aarch64.bazelrc

    test:pip_venv --action_env PYTHON_LIB_PATH="/bazel_pip/lib/python3/site-packages"
    test:pip_venv --python_path="/bazel_pip/bin/python3"
    test:pip_venv --define=no_tensorflow_py_deps=true
    test:pip --config=pip_venv
    # Yes, we don't exclude the gpu tests on pip for some reason.
    test:pip_filters --test_tag_filters=-nopip,-no_pip,-no_oss,-oss_serial,-benchmark-test,-v1only,-no_aarch64,-no_oss_py38,-no_oss_py39,-no_oss_py310
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Jul 12 20:16:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. ci/official/containers/linux_arm64/devel.usertools/aarch64_clang.bazelrc

    test:pip_venv --action_env PYTHON_LIB_PATH="/bazel_pip/lib/python3/site-packages"
    test:pip_venv --python_path="/bazel_pip/bin/python3"
    test:pip_venv --define=no_tensorflow_py_deps=true
    test:pip --config=pip_venv
    # Yes, we don't exclude the gpu tests on pip for some reason.
    test:pip_filters --test_tag_filters=-nopip,-no_pip,-no_oss,-oss_serial,-benchmark-test,-v1only,-no_aarch64,-no_oss_py38,-no_oss_py39,-no_oss_py310
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Jul 12 20:16:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top