Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2481 - 2490 of 3,654 for nullif (0.06 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/ActivationPropertyTest.java

        @Test
        void testHashCodeNullSafe() {
            new ActivationProperty().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new ActivationProperty().equals(null));
    
            new ActivationProperty().equals(new ActivationProperty());
        }
    
        @Test
        void testEqualsIdentity() {
            ActivationProperty thing = new ActivationProperty();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. compat/maven-model/src/test/java/org/apache/maven/model/DeveloperTest.java

     *
     */
    class DeveloperTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Developer().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Developer().equals(null));
    
            new Developer().equals(new Developer());
        }
    
        @Test
        void testEqualsIdentity() {
            Developer thing = new Developer();
            assertTrue(thing.equals(thing));
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/ParentTest.java

     *
     */
    class ParentTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Parent().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Parent().equals(null));
    
            new Parent().equals(new Parent());
        }
    
        @Test
        void testEqualsIdentity() {
            Parent thing = new Parent();
            assertTrue(thing.equals(thing));
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/PrerequisitesTest.java

    class PrerequisitesTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Prerequisites().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Prerequisites().equals(null));
    
            new Prerequisites().equals(new Prerequisites());
        }
    
        @Test
        void testEqualsIdentity() {
            Prerequisites thing = new Prerequisites();
            assertTrue(thing.equals(thing));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/SiteTest.java

     *
     */
    class SiteTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Site().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Site().equals(null));
    
            new Site().equals(new Site());
        }
    
        @Test
        void testEqualsIdentity() {
            Site thing = new Site();
            assertTrue(thing.equals(thing));
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingMissingRule.java

                if (!isIncubating((JApiHasAnnotations) member) && !isInject((JApiHasAnnotations) member)) {
                    return violationError(member);
                }
            }
            return null;
        }
    
        private Violation violationError(JApiCompatibility member) {
            return acceptOrReject(member, Violation.error(member, "Is not annotated with @Incubating"));
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  7. container-tests/build.gradle.kts

    val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    
    tasks.withType<Test> {
      useJUnitPlatform()
      onlyIf("By default not in CI") {
        System.getenv("CI") == null
          || (project.hasProperty("containerTests") && project.property("containerTests").toString().toBoolean())
      }
    
      jvmArgs(
        "-Dokhttp.platform=$platform",
      )
    
      if (platform == "loom") {
        jvmArgs(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 17 14:46:34 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

      public void testGet_comparable() {
        @SuppressWarnings("unchecked") // The null value can compare with any Object
        Comparable<Object> comparable = ArbitraryInstances.get(Comparable.class);
        assertEquals(0, comparable.compareTo(comparable));
        assertTrue(comparable.compareTo("") > 0);
        assertThrows(NullPointerException.class, () -> comparable.compareTo(null));
      }
    
      public void testGet_array() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

        return fromMapEntries(multimap.asMap().entrySet(), null);
      }
    
      /**
       * Returns an immutable multimap containing the specified entries. The returned multimap iterates
       * over keys in the order they were first encountered in the input, and the values for each key
       * are iterated in the order they were encountered.
       *
       * @throws NullPointerException if any key, value, or entry is null
       * @since 19.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ForwardingNavigableSet.java

       * wish to override {@link #lower} to forward to this implementation.
       */
      @CheckForNull
      protected E standardLower(@ParametricNullness E e) {
        return Iterators.getNext(headSet(e, false).descendingIterator(), null);
      }
    
      @Override
      @CheckForNull
      public E floor(@ParametricNullness E e) {
        return delegate().floor(e);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top