Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 2,184 for GoString (0.05 seconds)

  1. guava-tests/test/com/google/common/hash/HashCodeTest.java

        HashCode hash2 = HashCode.fromString(hash1.toString());
        assertEquals(hash1, hash2);
      }
    
      public void testRoundTrip() {
        for (ExpectedHashCode expected : expectedHashCodes) {
          String string = HashCode.fromBytes(expected.bytes).toString();
          assertThat(string).isEqualTo(expected.toString);
          assertThat(HashCode.fromBytes(BaseEncoding.base16().lowerCase().decode(string)).toString())
              .isEqualTo(expected.toString);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            assertEquals(info1.toString(), info2.toString());
        }
    
        @Test
        @DisplayName("Test encode does not modify source object")
        void testEncodeImmutability() {
            long originalValue = 1000L;
            FileEndOfFileInformation info = new FileEndOfFileInformation(originalValue);
    
            // Get original toString
            String originalString = info.toString();
    
            // Encode
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  3. src/main/webapp/WEB-INF/orig/view/error/redirect.jsp

    		response.sendRedirect(redirectPage.toString());
    	} else {
    		response.sendError(statusCode);
    	}
    } else if("logOut".equals(type)) {
    	redirectPage.append("/login/?type=logout&code=" + statusCode);
    	response.sendRedirect(redirectPage.toString());
    } else if("badRequest".equals(type)) {
    	redirectPage.append("/error/badrequest/");
    	response.sendRedirect(redirectPage.toString());
    } else if("busy".equals(type)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  4. src/main/webapp/WEB-INF/view/error/redirect.jsp

    		response.sendRedirect(redirectPage.toString());
    	} else {
    		response.sendError(statusCode);
    	}
    } else if("logOut".equals(type)) {
    	redirectPage.append("/login/?type=logout&code=" + statusCode);
    	response.sendRedirect(redirectPage.toString());
    } else if("badRequest".equals(type)) {
    	redirectPage.append("/error/badrequest/");
    	response.sendRedirect(redirectPage.toString());
    } else if("busy".equals(type)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Feb 10 04:24:02 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt

            .build()
        assertThat(url.toString()).isEqualTo("http://host/#=[]:;\"~|?#@^/$%25*")
        assertThat(url.toUri().toString())
          .isEqualTo("http://host/#=[]:;%22~%7C?%23@%5E/$%25*")
      }
    
      @Test
      fun toUriSpecialQueryCharacters() {
        val httpUrl = "http://host/?d=abc!@[]^`{}|\\".toHttpUrl()
        val uri = httpUrl.toUri()
        assertThat(uri.toString()).isEqualTo("http://host/?d=abc!@[]%5E%60%7B%7D%7C%5C")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 12K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java

        @Test
        public void test_constructorWithScheduledJob() {
            // Test with scheduled job that has a custom toString implementation
            ScheduledJob scheduledJob = new ScheduledJob() {
                @Override
                public String toString() {
                    return "TestScheduledJob[id=123]";
                }
            };
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

                    indexExportJob.buildFilePath(tempDir.toString(), "http://example.com/path/page.html", new HtmlIndexExportFormatter());
            assertNotNull(result);
            assertFalse(result.toString().contains("_invalid"));
            assertTrue(result.toString().contains("example.com"));
            assertTrue(result.toString().contains("path"));
            assertTrue(result.toString().endsWith("page.html"));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

        }
    
        /**
         * Test toString method behavior - requires valid configuration
         */
        @Test
        @DisplayName("Test toString requires valid configuration")
        public void testToStringRequiresValidConfig() {
            // Constructor with null config throws exception, so we can't test toString with null config
            // Instead, test that toString works with a valid config
    
            // Given
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/witness/WitnessEnumTest.java

            assertEquals("VERSION_2", WitnessVersion.VERSION_2.toString());
    
            assertEquals("RESOURCE_CHANGE", WitnessEventType.RESOURCE_CHANGE.toString());
            assertEquals("CLIENT_MOVE", WitnessEventType.CLIENT_MOVE.toString());
            assertEquals("SHARE_MOVE", WitnessEventType.SHARE_MOVE.toString());
            assertEquals("IP_CHANGE", WitnessEventType.IP_CHANGE.toString());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  10. api/maven-api-core/src/test/java/org/apache/maven/api/services/RequestImplementationTest.java

            assertNotEquals(request1, request3);
    
            // Test toString
            String toString = request1.toString();
            assertTrue(toString.contains("coordinates="), "Expected " + toString + " to contain " + "coordinates=");
            assertTrue(toString.contains("repositories="), "Expected " + toString + " to contain " + "repositories=");
        }
    
        @Test
        void testRequestTraceIntegration() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4.8K bytes
    - Click Count (0)
Back to Top