Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 653 for mocks (0.02 seconds)

  1. src/test/java/jcifs/netbios/UniAddressTest.java

            private InetAddress mockInetAddress;
            private CIFSContext mockCIFSContext;
    
            @BeforeEach
            void setup() {
                mockNbtAddress = mock(NbtAddress.class);
                mockInetAddress = mock(InetAddress.class);
                mockCIFSContext = mock(CIFSContext.class);
            }
    
            @Test
            void shouldReturnNbtAddressNextCalledNameWhenWrappedIsNbtAddress() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.4K bytes
    - Click Count (0)
  2. docs/ja/docs/how-to/graphql.md

    ///
    
    ## GraphQL ライブラリ { #graphql-libraries }
    
    **ASGI** をサポートする **GraphQL** ライブラリの一部を以下に示します。**FastAPI** と組み合わせて使用できます:
    
    * [Strawberry](https://strawberry.rocks/) 🍓
        * [FastAPI 向けドキュメント](https://strawberry.rocks/docs/integrations/fastapi)あり
    * [Ariadne](https://ariadnegraphql.org/)
        * [FastAPI 向けドキュメント](https://ariadnegraphql.org/docs/fastapi-integration)あり
    * [Tartiflette](https://tartiflette.io/)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

            // Mock the transport layer
            smbTransport = mock(SmbTransport.class);
            smbTransport.rcv_buf_size = 4096;
            smbTransport.snd_buf_size = 4096;
    
            // Mock the session layer
            smbSession = mock(SmbSession.class);
            smbSession.transport = smbTransport;
    
            // Mock the tree layer
            smbTree = mock(SmbTree.class);
            smbTree.session = smbSession;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  4. docs/tr/docs/how-to/graphql.md

    ## GraphQL Kütüphaneleri { #graphql-libraries }
    
    Aşağıda **ASGI** desteği olan bazı **GraphQL** kütüphaneleri var. Bunları **FastAPI** ile kullanabilirsiniz:
    
    * [Strawberry](https://strawberry.rocks/) 🍓
        * [FastAPI dokümantasyonu](https://strawberry.rocks/docs/integrations/fastapi) ile
    * [Ariadne](https://ariadnegraphql.org/)
        * [FastAPI dokümantasyonu](https://ariadnegraphql.org/docs/fastapi-integration) ile
    * [Tartiflette](https://tartiflette.io/)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  5. internal/dsync/dsync-server_test.go

    		nodes[i] = httptest.NewServer(router)
    	}
    }
    
    const WriteLock = -1
    
    type lockServer struct {
    	mutex sync.Mutex
    	// Map of locks, with negative value indicating (exclusive) write lock
    	// and positive values indicating number of read locks
    	lockMap map[string]int64
    
    	// Refresh returns lock not found if set to true
    	lockNotFound bool
    
    	// Set to true if you want peers servers to do not respond
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

    class SmbTransportPoolImplTest {
    
        private SmbTransportPoolImpl pool;
    
        @Mock
        private CIFSContext ctx;
        @Mock
        private Configuration config;
        @Mock
        private NameServiceClient nameSvc;
        @Mock
        private Credentials creds;
        @Mock
        private Address address;
        @Mock
        private SmbNegotiationResponse negotiationResponse;
    
        @BeforeEach
        void setUp() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbCopyUtilTest.java

        void copyFile_serverSide_zeroLength_happyPath() throws Exception {
            // Arrange
            SmbFile src = mock(SmbFile.class);
            SmbFile dest = mock(SmbFile.class);
    
            SmbTreeHandleImpl sh = mock(SmbTreeHandleImpl.class);
            SmbTreeHandleImpl dh = mock(SmbTreeHandleImpl.class);
            when(sh.isSMB2()).thenReturn(true);
            when(dh.isSMB2()).thenReturn(true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java

        private StrategyOrchestrator orchestrator;
        private List<UpgradeStrategy> mockStrategies;
    
        @BeforeEach
        void setUp() {
            mockStrategies = List.of(mock(UpgradeStrategy.class), mock(UpgradeStrategy.class), mock(UpgradeStrategy.class));
            orchestrator = new StrategyOrchestrator(mockStrategies);
        }
    
        private UpgradeContext createMockContext() {
            return TestUtils.createMockContext();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  9. docs/uk/docs/how-to/graphql.md

    ///
    
    ## Бібліотеки GraphQL { #graphql-libraries }
    
    Ось деякі бібліотеки GraphQL з підтримкою ASGI. Ви можете використовувати їх із FastAPI:
    
    * [Strawberry](https://strawberry.rocks/) 🍓
        * З [документацією для FastAPI](https://strawberry.rocks/docs/integrations/fastapi)
    * [Ariadne](https://ariadnegraphql.org/)
        * З [документацією для FastAPI](https://ariadnegraphql.org/docs/fastapi-integration)
    * [Tartiflette](https://tartiflette.io/)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/dcerpc/rpcTest.java

                // Mock encoding buffer
                NdrBuffer encodeBuffer = mock(NdrBuffer.class);
                when(encodeBuffer.derive(anyInt())).thenReturn(encodeBuffer);
                originalUuid.encode(encodeBuffer);
    
                // Mock decoding buffer with the same values
                NdrBuffer decodeBuffer = mock(NdrBuffer.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
Back to Top