Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 202 for teststring (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/core/io/ResourceBundleUtilTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testGetString() throws Exception {
            final ResourceBundle bundle = ResourceBundleUtil.getBundle("CLMessages");
            assertThat(bundle.getString("ECL0001"), is(notNullValue()));
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java

            int result = instance.readBytesWireFormat(buffer, 0);
    
            // Then
            assertEquals(0, result);
        }
    
        /**
         * Test of toString method
         */
        @Test
        public void testToString() {
            // Given
            SmbComWriteAndXResponse instance = new SmbComWriteAndXResponse(config);
    
            // When
            String result = instance.toString();
    
            // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

        assertThrows(IllegalStateException.class, hasher::hash);
      }
    
      @SuppressWarnings("deprecation") // We still need to test our deprecated APIs.
      public void testToString() {
        assertThat(md5().toString()).isEqualTo("Hashing.md5()");
        assertThat(sha1().toString()).isEqualTo("Hashing.sha1()");
        assertThat(sha256().toString()).isEqualTo("Hashing.sha256()");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java

      }
    
      private static <E extends @Nullable Object> Entry<E> control(E element, int count) {
        return HashMultiset.create(nCopies(count, element)).entrySet().iterator().next();
      }
    
      public void testToString() {
        assertThat(entry("foo", 1).toString()).isEqualTo("foo");
        assertThat(entry("bar", 2).toString()).isEqualTo("bar x 2");
      }
    
      public void testToStringNull() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

            verify(mockPipeIn, times(1)).receive(buffer, bufferIndex, len);
        }
    
        /**
         * Tests the toString method.
         */
        @Test
        void testToString() {
            String result = response.toString();
            assertNotNull(result, "toString() should not return null.");
        }
    
        // Helper method to access the super.toString() for verification,
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  6. 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() {
        assertThat(testTable.toString()).isEqualTo("{a={1=blah}}");
      }
    
      public void testContains() {
        assertTrue(testTable.contains('a', 1));
        assertFalse(testTable.contains('a', 2));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java

        }
    
        /**
         * Test for the toString method.
         * It should return a string representation of the object.
         */
        @Test
        void testToString() {
            // The actual toString() method uses super.toString(), so we mimic that for the check.
            // A direct string comparison might be brittle, so we check for the class name and brackets.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

                case 1: // Key
                    break;
                case 2: // Realm
                    DERGeneralString derRealm = ASN1Util.as(DERGeneralString.class, tagged);
                    this.userRealm = derRealm.getString();
                    break;
                case 3: // Principal
                    ASN1Sequence principalSequence = ASN1Util.as(ASN1Sequence.class, tagged);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

                SIP_WITH_KEY.hashBytes(col1),
                SIP_WITH_KEY.hashBytes(col2),
                SIP_WITH_KEY.hashBytes(col3));
        assertEquals(3, hashCodes.size());
      }
    
      public void testToString() {
        assertThat(SIP_WITH_KEY.toString()).isEqualTo("Hashing.sipHash24(" + K0 + ", " + K1 + ")");
        assertThat(SIP_WITHOUT_KEY.toString()).isEqualTo("Hashing.sipHash24(" + K0 + ", " + K1 + ")");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

          assertEquals(1, task.get().intValue());
          assertEquals(1, counter.get());
        }
        executor.shutdown();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // blocking wait
      public void testToString() throws Exception {
        CountDownLatch enterLatch = new CountDownLatch(1);
        CountDownLatch exitLatch = new CountDownLatch(1);
        TrustedListenableFutureTask<@Nullable Void> task =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 6.5K bytes
    - Click Count (0)
Back to Top