Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 1,194 for fail (0.02 sec)

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

        assertTrue(Arrays.equals(expectedHashCode.bytes, bb));
        assertEquals(expectedHashCode.asInt, hash.asInt());
        if (expectedHashCode.asLong == null) {
          try {
            hash.asLong();
            fail();
          } catch (IllegalStateException expected) {
          }
        } else {
          assertEquals(expectedHashCode.asLong.longValue(), hash.asLong());
        }
        assertEquals(expectedHashCode.toString, hash.toString());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/PACTest.java

            return new KerberosKey(null, keybytes, etype, 0);
        }
    
    
        private static void checkBytes ( byte[] expect, byte[] have ) {
            if ( !Arrays.equals(expect, have) ) {
                Assert.fail(String.format("Expect: %s Have: %s", Hexdump.toHexString(expect), Hexdump.toHexString(have)));
            }
        }
    
    
        private static void verifyNfold ( int n, String string, String expect ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImplTest.java

            final InputStream is = ResourceUtil.getResourceAsStream("test/text1.txt");
    
            try {
                mimeTypeHelper.getContentType(null, "");
                fail();
            } catch (final MimeTypeException e) {}
    
            assertEquals("text/plain", mimeTypeHelper.getContentType(is, ""));
            assertEquals("text/plain", mimeTypeHelper.getContentType(is, " "));
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java

            accessResultDataImpl.setTransformerName("transformer");
    
            try {
                final Object obj = xpathTransformer.getData(accessResultDataImpl);
                fail();
            } catch (final CrawlerSystemException e) {}
        }
    
        public void test_getData_nullData() throws Exception {
            final String value = "<?xml version=\"1.0\"?>\n"//
                    + "<doc>\n"//
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. cmd/metacache-entries_test.go

    zip2.go", "src/compress/bzip2/bzip2_test.go", "src/compress/bzip2/huffman.go", "src/compress/bzip2/move_to_front.go", "src/compress/bzip2/testdata/Isaac.Newton-Opticks.txt.bz2", "src/compress/bzip2/testdata/e.txt.bz2", "src/compress/bzip2/testdata/fail-issue5747.bz2", "src/compress/bzip2/testdata/pass-random1.bin", "src/compress/bzip2/testdata/pass-random1.bz2", "src/compress/bzip2/testdata/pass-random2.bin", "src/compress/bzip2/testdata/pass-random2.bz2", "src/compress/bzip2/testdata/pass-sawtooth.bz2",...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 31.6K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_2x.md

        when both are applicable.
     *  Fix: Fail early when a port is out of range.
     *  Fix: Offer `Content-Length` headers for multipart request bodies.
     *  Fix: Throw `UnknownServiceException` if a cleartext connection is attempted
        when explicitly forbidden.
     *  Fix: Throw a `SSLPeerUnverifiedException` when host verification fails.
     *  Fix: MockWebServer explicitly closes sockets. (On some Android releases,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                                    new Exception("Build failed due to log statements with a higher severity than allowed. "
                                            + "Fix the logged issues or remove flag --fail-on-severity (-fos)."));
                }
    
                logResult(event.getSession());
    
                logStats(event.getSession());
    
                infoLine('-');
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     *
     * <p>This class uses (possibly repeated) invocations of {@link java.lang.System#gc()} to cause
     * finalization to happen. However, a call to {@code System.gc()} is specified to be no more than a
     * hint, so this technique may fail at the whim of the JDK implementation, for example if a user
     * specified the JVM flag {@code -XX:+DisableExplicitGC}. But in practice, it works very well for
     * ordinary tests.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. tests/migrate_test.go

    		if err := DB.Create(&AutoIncrementStruct{}).Error; err != nil {
    			t.Fatalf("create auto_increment_struct fail, err: %v", err)
    		}
    	}
    
    	rows := make([]*AutoIncrementStruct, 0, ROWS)
    	if err := DB.Order("id ASC").Find(&rows).Error; err != nil {
    		t.Fatalf("find auto_increment_struct fail, err: %v", err)
    	}
    
    	ids := make([]int64, 0, len(rows))
    	for _, row := range rows {
    		ids = append(ids, row.ID)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        // call get() twice to make sure that memoization doesn't interfere
        // with throwing the exception
        for (int i = 0; i < 2; i++) {
          try {
            memoizedSupplier.get();
            fail("failed to throw NullPointerException");
          } catch (NullPointerException e) {
            // this is what should happen
          }
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top