Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 254 for teststring (0.06 seconds)

  1. 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)
  2. guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java

      public void testGetValue() {
        for (StandardSystemProperty property : StandardSystemProperty.values()) {
          assertThat(property.value()).isEqualTo(System.getProperty(property.key()));
        }
      }
    
      public void testToString() {
        for (StandardSystemProperty property : StandardSystemProperty.values()) {
          assertThat(property.toString()).isEqualTo(property.key() + "=" + property.value());
        }
      }
    
      public void testNoNullValues() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 01:05:11 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java

            artifact.setScope(null);
            assertEquals(groupId + ":" + artifactId + ":" + type + ":" + classifier, artifact.getDependencyConflictId());
        }
    
        @Test
        void testToString() {
            assertEquals(
                    groupId + ":" + artifactId + ":" + type + ":" + classifier + ":" + version + ":" + scope,
                    artifact.toString());
        }
    
        @Test
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 7.4K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/io/CharSinkTester.java

      static TestSuite tests(String name, CharSinkFactory 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;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java

            assertNotEquals(instance1.hashCode(), instance3.hashCode());
        }
    
        /**
         * Test of toString method, of class SmbShareInfo.
         */
        @Test
        void testToString() {
            SmbShareInfo instance = new SmbShareInfo("SHARE", 2, "remark");
            String result = instance.toString();
            assertTrue(result.contains("netName=SHARE"));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java

            map.remove("data1");
            assertFalse(docBoostMatcher.match(map));
    
            map.put("data2", 5);
            assertFalse(docBoostMatcher.match(map));
        }
    
        @Test
        public void test_string() {
            final DocBoostMatcher docBoostMatcher = new DocBoostMatcher();
            docBoostMatcher.setBoostExpression("10");
            docBoostMatcher.setMatchExpression("data1 != null && data1.matches(\"test\")");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 8.8K bytes
    - Click Count (0)
Back to Top