Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1001 - 1010 of 1,610 for tests (0.04 sec)

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

        tester.testFailedFuture("failure");
      }
    
      public void testCancel() throws Exception {
        assertTrue(future.cancel(true));
        tester.testCancelledFuture();
      }
    
      /** Tests the initial state of the future. */
      public void testCreate() throws Exception {
        SettableFuture<Integer> future = SettableFuture.create();
        assertFalse(future.isDone());
        assertFalse(future.isCancelled());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. cmd/object-api-getobjectinfo_test.go

    		{"test-getobjectinfo", "Africa", ObjectInfo{}, ObjectNotFound{Bucket: "test-getobjectinfo", Object: "Africa"}, false},
    		{"test-getobjectinfo", "Antartica", ObjectInfo{}, ObjectNotFound{Bucket: "test-getobjectinfo", Object: "Antartica"}, false},
    		{"test-getobjectinfo", "Asia/myfile", ObjectInfo{}, ObjectNotFound{Bucket: "test-getobjectinfo", Object: "Asia/myfile"}, false},
    		// Valid case with existing object (Test number 12).
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        // Test #keys()
        assertMultisetIsUnmodifiable(multimap.keys(), sampleKey);
        assertMultimapRemainsUnmodified(multimap, originalEntries);
    
        // Test #keySet()
        assertSetIsUnmodifiable(multimap.keySet(), sampleKey);
        assertMultimapRemainsUnmodified(multimap, originalEntries);
    
        // Test #get()
        if (!multimap.isEmpty()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/GcFinalization.java

     * ordinary tests.
     *
     * <p>Failure of the expected event to occur within an implementation-defined "reasonable" time
     * period or an interrupt while waiting for the expected event will result in a {@link
     * RuntimeException}.
     *
     * <p>Here's an example that tests a {@code finalize} method:
     *
     * <pre>{@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

    import com.google.common.cache.TestingRemovalListeners.CountingRemovalListener;
    import java.util.List;
    import java.util.Set;
    import junit.framework.TestCase;
    
    /**
     * Tests relating to cache eviction: what does and doesn't count toward maximumSize, what happens
     * when maximumSize is reached, etc.
     *
     * @author mike nonemacher
     */
    public class CacheEvictionTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

      public void testRfc2202_hmacSha1_case5() {
        byte[] key = fillByteArray(20, 0x0c);
        String data = "Test With Truncation";
    
        checkSha1("4c1a03424b55e07fe7f27be1d58bb9324a9a5a04", key, data);
      }
    
      public void testRfc2202_hmacSha1_case6() {
        byte[] key = fillByteArray(80, 0xaa);
        String data = "Test Using Larger Than Block-Size Key - Hash Key First";
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/386.s

    	CMPPD	foo+4(SB), X1, 4
    
    // LTYPEX spec10	{ outcode(int($1), &$2); }
    	PINSRD	$1, (AX), X0
    	PINSRD	$2, foo+4(FP), X0
    
    // Was bug: LOOP is a branch instruction.
    	JCS	2(PC)
    loop:
    	LOOP	loop // LOOP
    
    // Tests for TLS reference.
    	MOVL    (TLS), AX
    	MOVL    8(TLS), DX
    
    // LTYPE0 nonnon	{ outcode(int($1), &$2); }
    	RET
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Apr 09 18:57:21 UTC 2019
    - 2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilterTest.java

    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.DefaultArtifact;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@link ScopeArtifactFilter}.
     *
     */
    class ScopeArtifactFilterTest {
    
        private Artifact newArtifact(String scope) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/DelegatingNameServiceClient.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.tests;
    
    
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    
    import jcifs.Address;
    import jcifs.NameServiceClient;
    import jcifs.NetbiosAddress;
    import jcifs.NetbiosName;
    
    
    /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/PipeTest.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.tests;
    
    
    import static org.junit.Assert.assertEquals;
    
    import java.io.IOException;
    import java.util.Collection;
    import java.util.Map;
    
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
Back to top