Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 1,009 for verify (0.03 sec)

  1. src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java

    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.security.Principal;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            // Assert
            assertSame(tree, t1, "First acquire returns provided tree");
            assertSame(tree, t2, "Subsequent acquire returns same tree instance");
            verify(pipe, times(1)).ensureTreeConnected();
            verify(tree, times(2)).acquire();
        }
    
        @Test
        @DisplayName("getInput/getOutput return cached streams when open; throw when closed")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/SmbNegotiationRequestTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/NtlmUtilTest.java

            assertArrayEquals(r14, r15, "Only first 14 OEM bytes affect Pre-NTLM response");
            assertEquals(24, r14.length);
    
            // Verify collaborator interactions
            verify(cifsContext, atLeastOnce()).getConfig();
            verify(configuration, atLeastOnce()).getOemEncoding();
            verifyNoMoreInteractions(cifsContext, configuration);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (1)
  5. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

            ScriptEngineException exception = new ScriptEngineException(message, cause);
    
            // Verify stack trace exists
            StackTraceElement[] stackTrace = exception.getStackTrace();
            assertNotNull(stackTrace);
            assertTrue(stackTrace.length > 0);
    
            // Verify cause's stack trace is also available
            StackTraceElement[] causeStackTrace = exception.getCause().getStackTrace();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/Kerb5ContextTest.java

    import static org.mockito.Mockito.lenient;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.mockStatic;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.lang.reflect.Field;
    
    import org.bouncycastle.asn1.ASN1ObjectIdentifier;
    import org.ietf.jgss.GSSContext;
    import org.ietf.jgss.GSSCredential;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/context/BaseContextTest.java

        void testConstructorUsesConfiguration() {
            // Then
            assertSame(mockConfig, context.getConfig(), "Should use provided configuration");
            verify(mockConfig).getDefaultUsername();
            verify(mockConfig).getDefaultPassword();
            verify(mockConfig).getDefaultDomain();
        }
    
        @Test
        @DisplayName("Constructor should handle credentials from configuration")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. .teamcity/README.md

    ## Develop and verify
    
    After you make a change, you can run `mvn clean teamcity-configs:generate` to generate and verify the generated TeamCity configuration XMLs.
    
    You also need to run `mvn clean verify` with Java 8 before committing changes.
    
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Mar 06 23:02:25 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

            // Stub the getRemoteHostName method
            when(mock.getRemoteHostName()).thenReturn("test-host");
            // Verify the stubbing
            assertEquals("test-host", mock.getRemoteHostName());
            // Ensure that the mock was interacted with
            verify(mock).getRemoteHostName();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            Smb2CloseRequest request = new Smb2CloseRequest(mockConfig, emptyFileId);
    
            // When
            request.setFileId(testFileId);
    
            // Then - verify through internal state (would need getter or reflection in real scenario)
            // Since we can't directly verify the internal state, we create a new request to test
            Smb2CloseRequest newRequest = new Smb2CloseRequest(mockConfig, testFileId);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top