Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 818 for rock (0.02 sec)

  1. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

    class FileEntryAdapterIteratorTest {
    
        @Mock
        private CloseableIterator<FileEntry> delegate;
    
        @Mock
        private ResourceFilter filter;
    
        @Mock
        private SmbResource parent;
    
        @Mock
        private SmbResource resource;
    
        @Mock
        private FileEntry fileEntry;
    
        /**
         * Test implementation that always returns the same mock resource
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/HandlerTest.java

            // Create mock HTTP handler
            URLStreamHandler httpHandler = new URLStreamHandler() {
                @Override
                protected URLConnection openConnection(URL u) throws IOException {
                    return mock(HttpURLConnection.class);
                }
            };
    
            // Create mock HTTPS handler
            URLStreamHandler httpsHandler = new URLStreamHandler() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java

    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.mockito.Mockito.mock;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.dcerpc.DcerpcConstants;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. docs/es/docs/how-to/graphql.md

    ///
    
    ## Paquetes de GraphQL
    
    Aquí algunos de los paquetes de **GraphQL** que tienen soporte **ASGI**. Podrías usarlos con **FastAPI**:
    
    * <a href="https://strawberry.rocks/" class="external-link" target="_blank">Strawberry</a> 🍓
        * Con <a href="https://strawberry.rocks/docs/integrations/fastapi" class="external-link" target="_blank">documentación para FastAPI</a>
    * <a href="https://ariadnegraphql.org/" class="external-link" target="_blank">Ariadne</a>
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/graphql.md

    Here are some of the **GraphQL** libraries that have **ASGI** support. You could use them with **FastAPI**:
    
    * <a href="https://strawberry.rocks/" class="external-link" target="_blank">Strawberry</a> 🍓
        * With <a href="https://strawberry.rocks/docs/integrations/fastapi" class="external-link" target="_blank">docs for FastAPI</a>
    * <a href="https://ariadnegraphql.org/" class="external-link" target="_blank">Ariadne</a>
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java

    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jakarta.servlet.http.HttpServletRequest;
    
    @ExtendWith(MockitoExtension.class)
    public class NtlmHttpServletRequestTest {
    
        @Test
        @DisplayName("constructor stores principal and delegates properly")
        void testHappyPath(@Mock HttpServletRequest mockRequest, @Mock Principal mockPrincipal) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

         */
        @Test
        void testGetAuthorizations() throws IOException, PACDecodingException {
            // 1. GIVEN
            KerberosAuthData mockAuthData1 = mock(KerberosAuthData.class);
            KerberosAuthData mockAuthData2 = mock(KerberosAuthData.class);
    
            // Mock the parse method to return two different objects based on input
            // Must use matchers for all arguments when using any matcher
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

            }
        }
    
        @Nested
        @DisplayName("Mock Interaction Tests")
        class MockInteractionTests {
    
            @Test
            @DisplayName("Should interact with mock Info interface")
            void testMockInfoInteraction() {
                // Create a mock of the Info interface
                Info mockInfo = mock(Info.class);
    
                // Set up mock behavior
                when(mockInfo.getAttributes()).thenReturn(0x20);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class NtlmHttpURLConnectionTest {
    
        @Mock
        private HttpURLConnection mockConnection;
    
        private URL mockUrl;
    
        @Mock
        private CIFSContext mockCifsContext;
    
        @Mock
        private NameServiceClient mockNameServiceClient;
    
        private NtlmHttpURLConnection ntlmConnection;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java

    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSException;
    
    @ExtendWith(MockitoExtension.class)
    class SmbPipeOutputStreamTest {
    
        @Mock
        SmbPipeHandleImpl handle;
    
        @Mock
        SmbTreeHandleImpl tree;
    
        @Mock
        SmbNamedPipe pipe;
    
        @Mock
        SmbFileHandleImpl fileHandle;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top