Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 33 for testSkip (0.05 seconds)

  1. 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));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.5K bytes
    - Click Count (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));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.5K bytes
    - Click Count (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;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  4. build-tools-internal/src/integTest/java/org/elasticsearch/gradle/jarhell/TestingConventionsTasksIT.java

                "  * org.elasticsearch.gradle.testkit.NastyInnerClasses$LooksLikeATestWithoutNamingConvention1",
                "  * org.elasticsearch.gradle.testkit.NastyInnerClasses$LooksLikeATestWithoutNamingConvention2",
                "  * org.elasticsearch.gradle.testkit.NastyInnerClasses$LooksLikeATestWithoutNamingConvention3",
                "  * org.elasticsearch.gradle.testkit.NastyInnerClasses$NamingConventionIT",
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 5.2K bytes
    - Click Count (0)
  5. 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");
        assertThat(InetAddresses.getEmbeddedIPv4ClientAddress(testIp)).isEqualTo(ipv4);
    
        // Test 6to4 address.
        testIp = (Inet6Address) InetAddresses.forString("2002:0102:0304::1");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 36.3K bytes
    - Click Count (0)
  6. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

     * limitations under the License.
     */
    
    package gradlebuild.testcleanup
    
    import org.apache.commons.lang3.StringUtils
    import org.gradle.testkit.runner.GradleRunner
    import org.gradle.testkit.runner.TaskOutcome
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Assertions.assertTrue
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 10 00:16:44 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  7. 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
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Nov 29 14:03:44 GMT 2024
    - 6K bytes
    - Click Count (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.Matcher
    import org.hamcrest.MatcherAssert.assertThat
    import org.hamcrest.Matchers
    import org.intellij.lang.annotations.Language
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 11:30:48 GMT 2026
    - 18.3K bytes
    - Click Count (0)
  9. .idea/scopes/Gradle_public_API.xml

    </component>...
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jul 18 15:08:47 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  10. build-tools-internal/src/integTest/java/org/elasticsearch/gradle/ReaperPluginIT.java

     * Side Public License, v 1.
     */
    package org.elasticsearch.gradle;
    
    import org.elasticsearch.gradle.internal.test.GradleIntegrationTestCase;
    import org.gradle.testkit.runner.BuildResult;
    
    public class ReaperPluginIT extends GradleIntegrationTestCase {
        @Override
        public String projectName() {
            return "reaper";
        }
    
        public void testCanLaunchReaper() {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 935 bytes
    - Click Count (0)
Back to Top