Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 74 for stubs (0.02 seconds)

  1. android-test/src/test/kotlin/okhttp/android/test/NonRobolectricOkHttpClientTest.kt

    import assertk.assertions.isNotNull
    import java.io.IOException
    import org.junit.Test
    import org.junit.runner.RunWith
    import org.junit.runners.JUnit4
    
    /**
     * Android test running with only stubs.
     */
    @RunWith(JUnit4::class)
    class NonRobolectricOkHttpClientTest : BaseOkHttpClientUnitTest() {
      @Test
      override fun testPublicSuffixDb() {
        assertFailure { super.testPublicSuffixDb() }.all {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/http/NtlmHttpFilterTest.java

        @Mock
        private ServletOutputStream servletOutputStream;
    
        @BeforeEach
        void setUp() throws Exception {
            filter = new NtlmHttpFilter();
    
            // Setup lenient stubs for common mock interactions
            lenient().when(request.getSession()).thenReturn(httpSession);
            lenient().when(request.getSession(anyBoolean())).thenReturn(httpSession);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

        }
    
        @Test
        @DisplayName("getInput/getOutput return cached streams when open; throw when closed")
        void getInputOutput_caching_and_closed() throws Exception {
            // Arrange: minimal stubs so stream construction works
            SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\foo");
            when(pipe.ensureTreeConnected()).thenReturn(tree);
            when(tree.acquire()).thenReturn(tree);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  4. .bazelrc

    ck/runtime,tensorflow/core/runtime_fallback/util,tensorflow/core/runtime_fallback/test,tensorflow/core/runtime_fallback/test/gpu,tensorflow/core/runtime_fallback/test/saved_model,tensorflow/core/runtime_fallback/test/testdata,tensorflow/core/tfrt/stubs,tensorflow/core/tfrt/tfrt_session,tensorflow/core/tfrt/mlrt,tensorflow/core/tfrt/mlrt/attribute,tensorflow/core/tfrt/mlrt/kernel,tensorflow/core/tfrt/mlrt/bytecode,tensorflow/core/tfrt/mlrt/interpreter,tensorflow/compiler/mlir/tfrt/translate/mlrt,...
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Fri Dec 26 23:20:26 GMT 2025
    - 56.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            lenient().when(mockNdrBuffer.derive(anyInt())).thenReturn(mockDeferredNdrBuffer);
            lenient().when(mockDeferredNdrBuffer.derive(anyInt())).thenReturn(mockDeferredNdrBuffer);
    
            // Set up lenient stubs for common operations to avoid unnecessary stubbing exceptions
            lenient().when(mockNdrBuffer.getIndex()).thenReturn(0);
            lenient().when(mockDeferredNdrBuffer.getIndex()).thenReturn(0);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 60.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistant.java

        public DBDef assistCurrentDBDef() {
            // TODO Auto-generated method stub
            return null;
        }
    
        @Override
        public DataSource assistDataSource() {
            // TODO Auto-generated method stub
            return null;
        }
    
        @Override
        public DBMetaProvider assistDBMetaProvider() {
            // TODO Auto-generated method stub
            return null;
        }
    
        @Override
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/ProjectDependencyGraphStubTest.java

        @Test
        void testADependencies() {
            final List<MavenProject> mavenProjects = stub.getUpstreamProjects(ProjectDependencyGraphStub.A, false);
            assertEquals(0, mavenProjects.size());
        }
    
        @Test
        void testBDependencies() {
            final List<MavenProject> bProjects = stub.getUpstreamProjects(ProjectDependencyGraphStub.B, false);
            assertEquals(1, bProjects.size());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

        def jApiClassifier = Stub(JApiClass) // represents interfaces, enums and annotations
        def jApiMethod = Stub(JApiMethod)
        def jApiField = Stub(JApiField) // represents fields and enum literals
        def jApiConstructor = Stub(JApiConstructor)
        def incubatingAnnotation = Stub(JApiAnnotation)
        def deprecatedAnnotation = Stub(JApiAnnotation)
        def overrideAnnotation = Stub(JApiAnnotation)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 16K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                    if (off + stub_frag_len > stub.length) {
                        // shouldn't happen if alloc_hint is correct or greater
                        final byte[] tmp = new byte[off + stub_frag_len];
                        System.arraycopy(stub, 0, tmp, 0, off);
                        stub = tmp;
                    }
    
                    System.arraycopy(frag, 24, stub, off, stub_frag_len);
                    off += stub_frag_len;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/SmbjEngine.java

         * @throws NTLMEngineException if an NTLM engine error occurs.
         */
        @Override
        public String generateType1Msg(final String arg0, final String arg1) throws NTLMEngineException {
            // TODO Auto-generated method stub
            return null;
        }
    
        /**
         * Generates a Type 3 NTLM message.
         * @param username The username.
         * @param password The password.
         * @param domain The domain.
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 2K bytes
    - Click Count (0)
Back to Top