Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 703 for assertFalse (0.06 sec)

  1. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

            chain.changePasswordResult = false;
            authenticationManager.addChain(chain);
    
            boolean result = authenticationManager.changePassword("testuser", "newpass");
    
            assertFalse(result);
            assertEquals(1, chain.changePasswordCallCount);
        }
    
        // Test changePassword with multiple chains all success
        public void test_changePassword_multipleChains_allSuccess() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt

        Assertions.assertTrue(pin.matchesHostname("gopher.example.co.uk"))
        Assertions.assertFalse(pin.matchesHostname("www.example.com"))
      }
    
      @Test
      fun testMatchesSha256() {
        val pin = CertificatePinner.Pin("example.com", certA1Sha256Pin)
        Assertions.assertTrue(pin.matchesCertificate(certA1.certificate))
        Assertions.assertFalse(pin.matchesCertificate(certB1.certificate))
      }
    
      @Test
      fun testMatchesSha1() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

                assertTrue(response instanceof jcifs.internal.smb2.ServerMessageBlock2Response);
    
                // Test some inherited methods
                assertFalse(response.isReceived());
                assertFalse(response.isError());
                assertNull(response.getExpiration());
            }
    
            @Test
            @DisplayName("Should handle configuration correctly")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

    package jcifs.smb;
    
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.ArgumentMatchers.argThat;
    import static org.mockito.Mockito.doAnswer;
    import static org.mockito.Mockito.lenient;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            // Tree id change makes it invalid
            when(tree.getTreeId()).thenReturn(11L);
            assertFalse(h.isValid());
    
            // Connected=false makes it invalid
            when(tree.getTreeId()).thenReturn(10L);
            when(tree.isConnected()).thenReturn(false);
            assertFalse(h.isValid());
    
            // Mark closed makes it invalid
            when(tree.isConnected()).thenReturn(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

        assertTrue(iter.hasNext());
        assertTrue(iter.hasNext());
        assertTrue(iter.hasNext());
        assertEquals(1, (int) iter.next());
    
        assertFalse(iter.hasNext());
    
        // Make sure computeNext() doesn't get invoked again
        assertFalse(iter.hasNext());
    
        assertThrows(NoSuchElementException.class, iter::next);
      }
    
      public void testDefaultBehaviorOfPeek() {
        /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

    package jcifs.internal.smb1.net;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.io.UnsupportedEncodingException;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.Configuration;
    import jcifs.SmbConstants;
    import jcifs.config.BaseConfiguration;
    
    /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            assertNotNull(execJob.jvmOptions);
            assertTrue(execJob.jvmOptions.isEmpty());
            assertNull(execJob.lastaEnv);
            assertEquals(-1, execJob.timeout);
            assertFalse(execJob.processTimeout);
        }
    
        // Test execute method
        public void test_execute() {
            assertEquals("success", execJob.execute());
    
            execJob.setExecuteResult("custom result");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbExceptionTest.java

    package jcifs.smb;
    
    import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
    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;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/SetsTest.java

        for (Set<Integer> subset : expected) {
          assertTrue(powerSet.contains(subset));
        }
        assertFalse(powerSet.contains(ImmutableSet.of(1, 2, 4)));
        assertFalse(powerSet.contains(Collections.<@Nullable Integer>singleton(null)));
        assertFalse(powerSet.contains(null));
        assertFalse(powerSet.contains((Object) "notASet"));
      }
    
      public void testPowerSetIteration_manual() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.3K bytes
    - Viewed (0)
Back to top