Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 659 for testHash (0.07 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

       */
      public void threadAssertFalse(boolean b) {
        try {
          assertFalse(b);
        } catch (AssertionFailedError t) {
          threadRecordFailure(t);
          throw t;
        }
      }
    
      /**
       * Just like assertNull(x), but additionally recording (using threadRecordFailure) any
       * AssertionFailedError thrown, so that the current testcase will fail.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  2. cmd/endpoint_contrib_test.go

    	}
    
    	for _, testCase := range ipv4TestCases {
    		globalDomainIPs = nil
    
    		updateDomainIPs(testCase.endPoints)
    
    		if !testCase.expectedResult.Equals(globalDomainIPs) {
    			t.Fatalf("error: expected = %s, got = %s", testCase.expectedResult, globalDomainIPs)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 30 15:50:39 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/ForwardingListeningExecutorServiceTest.java

     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import junit.framework.TestCase;
    
    /** Unit tests for {@link ForwardingListeningExecutorService} */
    public class ForwardingListeningExecutorServiceTest extends TestCase {
      public void testForwarding() {
        ForwardingObjectTester.testForwardingObject(ForwardingListeningExecutorService.class);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 946 bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java

    import java.util.Map;
    import java.util.Random;
    import java.util.Set;
    import junit.framework.TestCase;
    
    /**
     * Tests that the different algorithms benchmarked in {@link QuantilesBenchmark} are actually all
     * returning more-or-less the same answers.
     */
    public class QuantilesAlgorithmTest extends TestCase {
    
      private static final Random RNG = new Random(82674067L);
      private static final int DATASET_SIZE = 1000;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.4K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Future;
    import java.util.concurrent.ScheduledFuture;
    import junit.framework.TestCase;
    
    /**
     * Tests for TestingExecutors.
     *
     * @author Eric Chang
     */
    public class TestingExecutorsTest extends TestCase {
      private volatile boolean taskDone;
    
      public void testNoOpScheduledExecutor() throws InterruptedException {
        taskDone = false;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/RelationshipTesterTest.java

     */
    
    package com.google.common.testing;
    
    import com.google.common.testing.RelationshipTester.ItemReporter;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link RelationshipTester}.
     *
     * @author Ben Yu
     */
    public class RelationshipTesterTest extends TestCase {
    
      public void testNulls() {
        new ClassSanityTester()
            .setDefault(ItemReporter.class, new ItemReporter())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 1K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            return server;
        }
    
        public void test_doGet_root_dir() throws FtpException {
            FtpServer server = null;
            try {
                String username = "testuser";
                String password = "testpass";
                server = startFtpServer(FTP_PORT, username, password);
                Map<String, Object> params = new HashMap<String, Object>();
                FtpAuthentication auth = new FtpAuthentication();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. cmd/erasure-object_test.go

    			disks[0] = nil
    			disks[1] = nil
    			return disks
    		}
    		sets.erasureDisksMu.Unlock()
    		got, err := z.PutObject(ctx, testCase.bucket, testCase.object, mustGetPutObjReader(t, bytes.NewReader(testCase.content), int64(len(testCase.content)), "", ""),
    			ObjectOptions{Versioned: testCase.versioned})
    		if err != nil {
    			t.Fatalf("Test %d: Failed to upload the final object: %v", i+1, err)
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/net/UuidUtilTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.net;
    
    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class UuidUtilTest extends TestCase {
    
        /**
         * Test method for {@link org.codelibs.core.net.UuidUtil#create()}.
         */
        public void testCreate() {
            final String uuid = UuidUtil.create();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/SortedListsTest.java

    import com.google.common.testing.NullPointerTester;
    import java.util.List;
    import junit.framework.TestCase;
    
    /**
     * Tests for SortedLists.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class SortedListsTest extends TestCase {
      private static final ImmutableList<Integer> LIST_WITH_DUPS =
          ImmutableList.of(1, 1, 2, 4, 4, 4, 8);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top