Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 470 for mockk (0.02 sec)

  1. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                    String path = "\\\\server";
                    int maxReferralLevel = 3;
                    buffer = new DfsReferralRequestBuffer(path, maxReferralLevel);
    
                    // Configure mock to do nothing when called
                    mockedSMBUtil.when(() -> SMBUtil.writeInt2(anyLong(), any(byte[].class), anyInt())).thenAnswer(invocation -> null);
    
                    byte[] dst = new byte[buffer.size()];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

        }
    
        public void test_installArtifact_default() {
            PluginHelper testHelper = new PluginHelper() {
                @Override
                protected void install(Artifact artifact) {
                    // Mock install method
                }
            };
    
            Artifact artifact = new Artifact("fess-ds-test", "1.0.0", "http://test.com/test.jar");
    
            try {
                testHelper.installArtifact(artifact);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

                    }
                }
            };
            systemHelper.init();
            ComponentUtil.register(systemHelper, "systemHelper");
    
            // Initialize DictionaryManager mock
            org.codelibs.fess.dict.DictionaryManager dictionaryManager = new org.codelibs.fess.dict.DictionaryManager() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            try {
                return new org.lastaflute.web.ruts.process.ActionRuntime("test", null, null) {
                    @Override
                    public void registerData(String key, Object value) {
                        // Mock implementation
                    }
                };
            } catch (Exception e) {
                // If ActionRuntime constructor fails, return null and handle in test methods
                return null;
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  5. tests/sql_builder_test.go

    	// replace SQL quote, convert into postgresql like ""
    	expected = replaceQuoteInSQL(expected)
    	actually = replaceQuoteInSQL(actually)
    
    	// ignore updated_at value, because it's generated in Gorm internal, can't to mock value on update.
    	updatedAtRe := regexp.MustCompile(`(?i)"updated_at"=".+?"`)
    	actually = updatedAtRe.ReplaceAllString(actually, `"updated_at"=?`)
    	expected = updatedAtRe.ReplaceAllString(expected, `"updated_at"=?`)
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  6. docs/smb3-features/06-witness-protocol-design.md

        assertEquals("TestResource", notification.getResourceName());
        assertEquals(1, notification.getNewIPAddresses().size());
    }
    
    @Test
    public void testWitnessClientMock() throws Exception {
        // Mock witness service for testing
        MockWitnessService mockService = new MockWitnessService();
        mockService.start();
        
        try {
            WitnessClient client = new WitnessClient(mockService.getAddress(), context);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.20.md

    - github.com/Azure/go-autorest/autorest/mocks: [v0.3.0 → v0.4.1](https://github.com/Azure/go-autorest/compare/autorest/mocks/v0.3.0...autorest/mocks/v0.4.1)
    - github.com/Azure/go-autorest/autorest: [v0.9.6 → v0.11.1](https://github.com/Azure/go-autorest/compare/autorest/v0.9.6...autorest/v0.11.1)
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Jan 19 21:05:45 UTC 2022
    - 409K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Converter.java

     *       com.google.common.collect.Maps#asConverter Maps.asConverter}. For example, use this to
     *       create a "fake" converter for a unit test. It is unnecessary (and confusing) to <i>mock</i>
     *       the {@code Converter} type using a mocking framework.
     *   <li>Pass two lambda expressions or method references to the {@link #from from} factory method.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  9. docs/changelogs/changelog_2x.md

        new API, `Call.isCanceled()` to check if a call has been canceled.
    
     *  New: Update `MultipartBuilder` to support content length.
     *  New: Make it possible to mock `OkHttpClient` and `Call`.
     *  New: Update to h2-14 and hpack-9.
     *  New: OkHttp includes a user-agent by default, like `okhttp/2.1.0-RC1`.
     *  Fix: Handle response code `308 Permanent Redirect`.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/CacheBuilder.java

      /**
       * Specifies a nanosecond-precision time source for this cache. By default, {@link
       * System#nanoTime} is used.
       *
       * <p>The primary intent of this method is to facilitate testing of caches with a fake or mock
       * time source.
       *
       * @return this {@code CacheBuilder} instance (for chaining)
       * @throws IllegalStateException if a ticker was already set
       */
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
Back to top