Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 215 for test_string (0.06 sec)

  1. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

            byte[] buffer = new byte[100];
    
            int consumed = pipe.readDataWireFormat(buffer, 0, 10);
            assertEquals(0, consumed, "readDataWireFormat should return 0");
        }
    
        @Test
        public void testToString() {
            // Test the toString method
            String pipeName = "\\\\pipe\\testPipe";
            TransWaitNamedPipe pipe = new TransWaitNamedPipe(pipeName);
    
            String result = pipe.toString();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java

        new EqualsTester()
            .addEqualityGroup(testTable)
            .addEqualityGroup(ArrayTable.create(ImmutableSet.of('A'), ImmutableSet.of(1)))
            .testEquals();
      }
    
      public void testToString() {
        assertEquals("{a={1=blah}}", testTable.toString());
      }
    
      public void testContains() {
        assertTrue(testTable.contains('a', 1));
        assertFalse(testTable.contains('a', 2));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            SsoLoginException specialException = new SsoLoginException(specialMessage);
            assertEquals(specialMessage, specialException.getMessage());
        }
    
        public void test_toString() {
            // Test toString() method
            String message = "SSO toString test";
            SsoLoginException exception = new SsoLoginException(message);
    
            String toStringResult = exception.toString();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

            int hashCode1 = exception.hashCode();
            int hashCode2 = exception.hashCode();
    
            assertEquals(hashCode1, hashCode2);
        }
    
        public void test_toString() {
            // Test toString method
            DictionaryExpiredException exception = new DictionaryExpiredException();
            String str = exception.toString();
    
            assertNotNull(str);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java

            } finally {
                // Restore original time zone
                TimeZone.setDefault(originalTimeZone);
            }
        }
    
        // Test toString() method
        public void test_toString() {
            // Execute
            String result = provider.toString();
    
            // Verify the string format
            assertNotNull(result);
            assertTrue(result.contains("FessUserTimeZoneProcessProvider"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComTreeDisconnectTest.java

            // Then
            assertEquals(0, result, "readBytesWireFormat should return 0");
        }
    
        /**
         * Test the toString method.
         */
        @Test
        void testToString() {
            // Given
            SmbComTreeDisconnect smbComTreeDisconnect = new SmbComTreeDisconnect();
    
            // When
            String result = smbComTreeDisconnect.toString();
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

      static TestSuite tests(String name, ByteSinkFactory factory) {
        TestSuite suite = new TestSuite(name);
        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
          String desc = entry.getKey();
          TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc);
          suite.addTest(stringSuite);
        }
        return suite;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/ByteSinkTester.java

      static TestSuite tests(String name, ByteSinkFactory factory) {
        TestSuite suite = new TestSuite(name);
        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
          String desc = entry.getKey();
          TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc);
          suite.addTest(stringSuite);
        }
        return suite;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/ProtocolTest.kt

        assertThat(get("h3-29")).isEqualTo(Protocol.HTTP_3)
      }
    
      @Test
      fun testGetUnknown() {
        assertThrows(IOException::class.java) { get("tcp") }
      }
    
      @Test
      fun testToString() {
        assertThat(Protocol.HTTP_1_0.toString()).isEqualTo("http/1.0")
        assertThat(Protocol.HTTP_1_1.toString()).isEqualTo("http/1.1")
        assertThat(Protocol.SPDY_3.toString()).isEqualTo("spdy/3.1")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

        @Test
        void testGetResumeKey() {
            // Test the getResumeKey method
            // By default, it should be 0
            assertEquals(0, response.getResumeKey());
        }
    
        @Test
        void testToString() {
            // Test the toString method
            String result = response.toString();
            assertNotNull(result);
            assertTrue(result.contains("Trans2FindFirst2Response"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top