Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 702 for TestCase (0.05 seconds)

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

    import java.util.concurrent.Executor;
    import java.util.concurrent.Future;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Test for {@link ListenableFuture}. */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class ListenableFutureTest extends TestCase {
      public void testNoNewApis() throws Exception {
        assertWithMessage(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTesterTest.java

    import com.google.common.collect.ForwardingObject;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link ForwardingObjectTester}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class ForwardingObjectTesterTest extends TestCase {
    
      public void testFailsToForward() {
        try {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  3. internal/http/listener_test.go

    	}
    
    	for testIdx, testCase := range testCases {
    		listener, listenErrs := newHTTPListener(t.Context(),
    			testCase.serverAddrs,
    			TCPOptions{},
    		)
    		for i, expectedListenErr := range testCase.expectedListenErrs {
    			if !expectedListenErr {
    				if listenErrs[i] != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/reflect/ParameterTest.java

    import com.google.common.testing.NullPointerTester;
    import java.lang.reflect.Method;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link Parameter}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    public class ParameterTest extends TestCase {
    
      public void testNulls() {
        try {
          Class.forName("java.lang.reflect.AnnotatedType");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/ForwardingMultimapTest.java

    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.ForwardingWrapperTester;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link ForwardingMultimap}.
     *
     * @author Hayward Chan
     */
    @NullUnmarked
    public class ForwardingMultimapTest extends TestCase {
    
      @SuppressWarnings("rawtypes")
      public void testForwarding() {
        new ForwardingWrapperTester()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/ForwardingTableTest.java

    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.ForwardingWrapperTester;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests {@link ForwardingTable}.
     *
     * @author Gregory Kick
     */
    @NullUnmarked
    public class ForwardingTableTest extends TestCase {
    
      @SuppressWarnings("rawtypes")
      public void testForwarding() {
        new ForwardingWrapperTester()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/reflect/ParameterTest.java

    import com.google.common.testing.NullPointerTester;
    import java.lang.reflect.Method;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link Parameter}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    public class ParameterTest extends TestCase {
    
      public void testNulls() {
        try {
          Class.forName("java.lang.reflect.AnnotatedType");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2K bytes
    - Click Count (0)
  8. cmd/httprange_test.go

    		{"bytes=-1-1", true},
    	}
    	for i, testCase := range validRangeSpecs {
    		rs, err := parseRequestRangeSpec(testCase.spec)
    		if err != nil {
    			if !testCase.errExpected || err == nil && testCase.errExpected {
    				t.Errorf("unexpected err: %v", err)
    			}
    			continue
    		}
    		h, err := rs.ToHeader()
    		if err != nil && !testCase.errExpected || err == nil && testCase.errExpected {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  9. cmd/policy_test.go

    		{case3Policy, nil, true},
    	}
    
    	for i, testCase := range testCases {
    		result, err := PolicyToBucketAccessPolicy(testCase.bucketPolicy)
    		expectErr := (err != nil)
    
    		if expectErr != testCase.expectErr {
    			t.Fatalf("case %v: error: expected: %v, got: %v\n", i+1, testCase.expectErr, expectErr)
    		}
    
    		if !testCase.expectErr {
    			if !reflect.DeepEqual(result, testCase.expectedResult) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 23:05:23 GMT 2024
    - 8.9K bytes
    - Click Count (0)
  10. guava-testlib/test/com/google/common/collect/testing/OpenJdk6Tests.java

    package com.google.common.collect.testing;
    
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Suite of tests for OpenJdk 6 tests. The existence of this class is a hack because the
     * suitebuilder won't pick up the suites directly in the other classes because they don't extend
     * TestCase. Ergh.
     *
     * @author Kevin Bourrillion
     */
    @AndroidIncompatible // test-suite builders
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 1.3K bytes
    - Click Count (0)
Back to Top