Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 244 for TestOr (0.18 sec)

  1. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(InterfaceDefaultMethodChecksNull.create());
        try {
          tester.testAllPublicInstanceMethods(InterfaceDefaultMethodFailsToCheckNull.create());
        } catch (AssertionError expected) {
          return;
        }
        fail();
      }
    
      public void testDontAcceptIae() {
        NullPointerTester tester = new NullPointerTester();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/EqualsTester.java

    import com.google.common.collect.Lists;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.ArrayList;
    import java.util.List;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tester for equals() and hashCode() methods of a class.
     *
     * <p>The simplest use case is:
     *
     * <pre>
     * new EqualsTester().addEqualityGroup(foo).testEquals();
     * </pre>
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testcarchive/carchive_test.go

    		defer func() {
    			os.Remove("libgo4.a")
    			os.Remove("libgo4.h")
    			os.Remove("testar")
    			os.Remove("testar.ran")
    			os.RemoveAll(filepath.Join(GOPATH, "pkg"))
    		}()
    	}
    
    	os.Remove("testar")
    	dir, err := os.Getwd()
    	if err != nil {
    		t.Fatal(err)
    	}
    	s := strings.Replace(testar, "PWD", dir, 1)
    	if err := os.WriteFile("testar", []byte(s), 0777); err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  4. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishPomCustomizationKotlinDslIntegTest.groovy

                                        organization.set("Example Organization")
                                        organizationUrl.set("https://example.org")
                                        roles.set(listOf("tester", "developer"))
                                        timezone.set("Europe/Berlin")
                                        properties.set(mapOf("user" to "baz.qux"))
                                    }
                                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        return !disjoint(a, b);
      }
    
      private static Method extractMethod(Test test) {
        if (test instanceof AbstractTester) {
          AbstractTester<?> tester = (AbstractTester<?>) test;
          return Helpers.getMethod(tester.getClass(), tester.getTestMethodName());
        } else if (test instanceof TestCase) {
          TestCase testCase = (TestCase) test;
          return Helpers.getMethod(testCase.getClass(), testCase.getName());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/ObjectsTest.java

        assertTrue(Objects.hashCode(1, 2, 3) != Objects.hashCode(2, 3, 1));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Objects.class);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java

          fail();
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      @GwtIncompatible
      @J2ktIncompatible
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Primitives.class);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

     */
    @GwtCompatible(emulated = true)
    public class FakeTickerTest extends TestCase {
    
      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(new FakeTicker());
      }
    
      @GwtIncompatible // java.time.Duration
      @SuppressWarnings("Java7ApiChecker") // guava-android can rely on library desugaring now.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 14:40:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. internal/s3select/simdj/reader_amd64_test.go

    	"github.com/klauspost/compress/zstd"
    	"github.com/minio/minio/internal/s3select/json"
    	"github.com/minio/minio/internal/s3select/sql"
    	"github.com/minio/simdjson-go"
    )
    
    type tester interface {
    	Fatal(args ...interface{})
    }
    
    func loadCompressed(t tester, file string) (js []byte) {
    	dec, err := zstd.NewReader(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer dec.Close()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  10. testing/internal-testing/src/main/groovy/org/gradle/test/precondition/RequiresExtension.groovy

     * <p>
     * See the <a href="https://github.com/gradle/gradle/tree/master/subprojects/predicate-tester">predicate-tester</a> project to learn about where we use the information.
     *
     * @see Requires
     */
    @CompileStatic
    class RequiresExtension implements IAnnotationDrivenExtension<Requires> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top