Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 703 for assertFalse (0.04 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t08/ProjectInheritanceTest.java

    import org.apache.maven.project.inheritance.AbstractProjectInheritanceTestCase;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * A test which demonstrates maven's dependency management
     *
     */
    @Deprecated
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

            Set<ConstraintViolation<TestBean>> violations = validator.validate(bean);
            assertFalse(violations.isEmpty());
            assertEquals(1, violations.size());
    
            // Test too many fields
            bean.setCronExpression("* * * * * * * *");
            violations = validator.validate(bean);
            assertFalse(violations.isEmpty());
    
            // Test too few fields
            bean.setCronExpression("* * *");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

            assertTrue("Class should be public", java.lang.reflect.Modifier.isPublic(SystemMonitorTarget.class.getModifiers()));
            assertFalse("Class should not be abstract", java.lang.reflect.Modifier.isAbstract(SystemMonitorTarget.class.getModifiers()));
            assertFalse("Class should not be final", java.lang.reflect.Modifier.isFinal(SystemMonitorTarget.class.getModifiers()));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java

            assertTrue(v1.equals(v2));
            assertEquals(v1.hashCode(), v2.hashCode());
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(newArtifactVersion("1").equals(null));
        }
    
        @Test
        void testEqualsTypeSafe() {
            assertFalse(newArtifactVersion("1").equals("non-an-artifact-version-instance"));
        }
    
        private void assertVersionOlder(String left, String right) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

    package jcifs.internal;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.Mockito.doNothing;
    import static org.mockito.Mockito.mock;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            assertTrue(message.getFlag(0b0010), "Flag 0b0010 should be set.");
            assertFalse(message.getFlag(0b0100), "Flag 0b0100 should not be set.");
            assertFalse(message.getFlag(0b0001), "Flag 0b0001 should not be set.");
    
            message.setFlags(0); // No flags set
            assertFalse(message.getFlag(0b1000), "No flags should be set.");
        }
    
        @Test
        void testSetFlag() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            byte[] nonce3 = gcmContext.generateNonce();
    
            // Then - Nonces should be unique (SMB3 compliant: random + counter)
            assertFalse(Arrays.equals(nonce1, nonce2), "Nonces should be different");
            assertFalse(Arrays.equals(nonce2, nonce3), "Nonces should be different");
            assertFalse(Arrays.equals(nonce1, nonce3), "Nonces should be different");
    
            // Nonces should have proper size
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                assertFalse(result, "Should return false for null data buffer");
            }
    
            @Test
            @DisplayName("Should handle negative offset in verify method")
            void testVerifyNegativeOffset() {
                byte[] data = new byte[128];
                boolean result = digest.verify(data, -1, 100, 0, response);
                assertFalse(result, "Should return false for negative offset");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java

    import org.junit.jupiter.api.Test;
    import org.mockito.MockitoAnnotations;
    import org.slf4j.Logger;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotEquals;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.verify;
    
    class DefaultToolchainTest {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAllEmptyCollectionOnAbsentKey() {
        assertFalse(multimap().putAll(k3(), Collections.<V>emptyList()));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAllEmptyIterableOnAbsentKey() {
        assertFalse(multimap().putAll(k3(), Collections::emptyIterator));
        expectUnchanged();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top