Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for abcd (0.14 sec)

  1. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

        this.server = server
      }
    
      @Test
      fun suspendCall() {
        runTest {
          server.enqueue(MockResponse(body = "abc"))
    
          val call = client.newCall(request)
    
          call.executeAsync().use {
            withContext(Dispatchers.IO) {
              assertThat(it.body.string()).isEqualTo("abc")
            }
          }
        }
      }
    
      @Test
      fun timeoutCall() {
        runTest {
          server.enqueue(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:24:38 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt

        val relay = edit(file, upstream, metadata, 5)
        val source1 = relay.newSource()!!.buffer()
        val source2 = relay.newSource()!!.buffer()
        assertThat(source1.readUtf8(5)).isEqualTo("abcde")
        assertThat(source2.readUtf8(5)).isEqualTo("abcde")
        assertThat(source2.readUtf8(5)).isEqualTo("fghij")
        assertThat(source1.readUtf8(5)).isEqualTo("fghij")
        assertThat(source1.exhausted()).isTrue()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/convert/StringConversionUtilTest.java

            assertEquals("", StringConversionUtil.fromWindowsMapping(""));
            assertEquals("abc 123", StringConversionUtil.fromWindowsMapping("abc 123"));
            assertEquals("abc\uFF5E\u2225\uFF0D\uFFE0\uFFE1\uFFE2",
                    StringConversionUtil.fromWindowsMapping("abc\u301C\u2016\u2212\u00A2\u00A3\u00AC"));
        }
    
        /**
         * @throws Exception
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/util/MyBean3.java

    /**
     * @author higa
     */
    public class MyBean3 {
    
        /**
         *
         */
        public String abc_value = "abc";
    
        /**
         *
         */
        public String xyz_value = "xyz";
    
        /**
         *
         */
        public String other = "other";
    
        /**
         *
         */
        public String abc_exclude = "exclude";
    
        /**
         *
         */
        public String ab = "ab";
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1011 bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ComparatorsTest.java

      }
    
      public void testEmptiesFirst() {
        Optional<String> empty = Optional.empty();
        Optional<String> abc = Optional.of("abc");
        Optional<String> z = Optional.of("z");
    
        Comparator<Optional<String>> comparator = Comparators.emptiesFirst(comparing(String::length));
        Helpers.testComparator(comparator, empty, z, abc);
    
        // Just demonstrate that no explicit type parameter is required
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Apr 11 08:42:51 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/text/TokenizerTest.java

        /**
         * @throws Exception
         */
        @Test
        public void pend_testDot() throws Exception {
            final Tokenizer tokenizer = new Tokenizer("abc.hoge");
            assertThat(tokenizer.nextToken(), is(Tokenizer.TT_WORD));
            assertThat(tokenizer.getStringValue(), is("abc.hoge"));
            assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF));
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  7. okhttp-coroutines/src/test/kotlin/okhttp3/SuspendCallTest.kt

        this.server = server
      }
    
      @Test
      fun suspendCall() {
        runTest {
          server.enqueue(MockResponse(body = "abc"))
    
          val call = client.newCall(request)
    
          call.executeAsync().use {
            withContext(Dispatchers.IO) {
              assertThat(it.body.string()).isEqualTo("abc")
            }
          }
        }
      }
    
      @Test
      fun timeoutCall() {
        runTest {
          server.enqueue(
    Plain Text
    - Registered: Fri Apr 12 11:42:09 GMT 2024
    - Last Modified: Fri Apr 05 11:25:23 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

         */
        @Test(expected = ClIllegalArgumentException.class)
        public void testSet() throws Exception {
            final Field field = getClass().getField("intField");
            FieldUtil.set(field, this, "abc");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetElementType_Rawtype() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/certificates/v1alpha1/generated.proto

      // named with the signer name as a prefix (translating slashes to colons).
      // For example, for the signer name `example.com/foo`, valid
      // ClusterTrustBundle object names include `example.com:foo:abc` and
      // `example.com:foo:v1`.
      //
      // If signerName is empty, then the ClusterTrustBundle object's name must
      // not have such a prefix.
      //
      // List/watch requests for ClusterTrustBundles can filter on this field
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top