Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for testPunycode (0.32 sec)

  1. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

            if (encoding == Encoding.FORBIDDEN) {
              testForbidden(codePoint, codePointString, component)
              continue
            }
            if (encoding == Encoding.PUNYCODE) {
              testPunycode(codePointString, component)
              continue
            }
            testEncodeAndDecode(codePoint, codePointString, component)
            if (encoding == Encoding.SKIP) continue
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. src/net/http/cookiejar/punycode_test.go

    		"d9juau41awczczp",
    	},
    	{
    		// (S) -> $1.00 <-
    		"\u002D\u003E\u0020\u0024\u0031\u002E\u0030\u0030\u0020" +
    			"\u003C\u002D",
    		"-> $1.00 <--",
    	},
    }
    
    func TestPunycode(t *testing.T) {
    	for _, tc := range punycodeTestCases {
    		if got, err := encode("", tc.s); err != nil {
    			t.Errorf(`encode("", %q): %v`, tc.s, err)
    		} else if got != tc.encoded {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 4.6K bytes
    - Viewed (0)
  3. src/cmd/internal/test2json/testdata/unicode.json

    {"Action":"start"}
    {"Action":"run","Test":"TestUnicode"}
    {"Action":"output","Test":"TestUnicode","Output":"=== RUN   TestUnicode\n"}
    {"Action":"output","Test":"TestUnicode","Output":"Μπορώ να φάω σπασμένα γυαλιά χωρίς να πάθω τίποτα. Μπορώ να φάω σπασμένα γυαλιά χωρίς να πάθω τίποτα.\n"}
    {"Action":"output","Test":"TestUnicode","Output":"私はガラスを食べられます。それは私を傷つけません。私はガラスを食べられます。それは私を傷つけません。\n"}
    {"Action":"output","Test":"TestUnicode","Output":"--- PASS: TestUnicode\n"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  4. src/cmd/internal/test2json/testdata/unicode.test

    === RUN   TestUnicode
    Μπορώ να φάω σπασμένα γυαλιά χωρίς να πάθω τίποτα. Μπορώ να φάω σπασμένα γυαλιά χωρίς να πάθω τίποτα.
    私はガラスを食べられます。それは私を傷つけません。私はガラスを食べられます。それは私を傷つけません。
    --- PASS: TestUnicode
        ฉันกินกระจกได้ แต่มันไม่ทำให้ฉันเจ็บ ฉันกินกระจกได้ แต่มันไม่ทำให้ฉันเจ็บ
        אני יכול לאכול זכוכית וזה לא מזיק לי. אני יכול לאכול זכוכית וזה לא מזיק לי.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 10 17:55:43 UTC 2017
    - 740 bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/NamingTest.java

                strings[ i ] = str.substring(i * maxLen, Math.min(str.length() - 1, ( i + 1 ) * maxLen));
            }
            return strings;
        }
    
    
        @Test
        public void testUnicode () throws UnknownHostException, CIFSException, MalformedURLException {
            Assume.assumeTrue("No unicode support", getContext().getConfig().isUseUnicode());
            runFilenameTest(Strings.UNICODE_STRINGS);
        }
    
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Jun 06 10:48:05 UTC 2020
    - 7K bytes
    - Viewed (0)
Back to top