- Sort Score
- Result 10 results
- Languages All
Results 681 - 690 of 765 for Lock (0.01 sec)
-
guava/src/com/google/common/util/concurrent/ListenableFuture.java
* SettableFuture} or one of the methods in the {@link Futures#immediateFuture Futures.immediate*} * family. <b>Avoid</b> creating a mock or stub {@code Future}. Mock and stub implementations are * fragile because they assume that only certain methods will be called and because they often * implement subtleties of the API improperly. *Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.Configuration; import jcifs.SmbConstants; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; import jcifs.util.Strings; /** * Test class for FileBothDirectoryInfo */ class FileBothDirectoryInfoTest { @Mock private Configuration mockConfig;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
okhttp/src/jvmTest/resources/web-platform-test-urltestdata.txt
///test s:file p:/test file://test s:file h:test p:/ file://localhost s:file h:localhost p:/ file://localhost/ s:file h:localhost p:/ file://localhost/test s:file h:localhost p:/test test s:file p:/tmp/mock/test file:test s:file p:/tmp/mock/test # Based on http://trac.webkit.org/browser/trunk/LayoutTests/fast/url/script-tests/path.js http://example.com/././foo about:blank s:http h:example.com p:/foo
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 14.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java
assertSame(dataStore2, dataStoreFactory.getDataStore("store")); } // Test getDataStoreNames with caching public void test_getDataStoreNames_caching() { // Mock the loadDataStoreNameList to control behavior final int[] loadCount = { 0 }; DataStoreFactory testFactory = new DataStoreFactory() { @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
import org.junit.jupiter.params.provider.NullAndEmptySource; import org.junit.jupiter.params.provider.ValueSource; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.Configuration; import jcifs.internal.util.SMBUtil; class TransPeekNamedPipeTest { @Mock private Configuration mockConfig; private TransPeekNamedPipe transPeekNamedPipe;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.CsvSource; import org.junit.jupiter.params.provider.ValueSource; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.Configuration; import jcifs.config.PropertyConfiguration; import jcifs.internal.smb1.ServerMessageBlock; import jcifs.internal.smb1.trans.SmbComTransaction;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java
languageHelper.langFields = new String[] { "title", "content" }; languageHelper.supportedLanguages = new String[] { "ja", "en", "zh", "ko" }; languageHelper.maxTextLength = 1000; // Setup mock FessConfig ComponentUtil.setFessConfig(new MockFessConfig()); } public void test_createScript() { Map<String, Object> doc = new HashMap<>();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java
testData.add(createRelatedContent("test", "Content for host1", "host1")); mockBhv.setTestData(testData); relatedContentHelper.load(); // Mock virtual host helper to return empty key (different from host1) virtualHostHelper = new VirtualHostHelper() { @Override public String getVirtualHostKey() { return "";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
import com.google.common.util.concurrent.ListenableFuture; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutionException; import junit.framework.Assert; /** * A simple mock implementation of {@code Runnable} that can be used for testing ListenableFutures. * * @author Nishant Thakkar * @since 10.0 */ @GwtIncompatible public class MockFutureListener implements Runnable {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri May 12 18:12:42 UTC 2023 - 3K bytes - Viewed (0) -
docs/pt/docs/advanced/testing-dependencies.md
Neste caso, você pode sobrepor (*override*) a dependência que chama o provedor, e utilizar uma dependência customizada que retorna um *mock* do usuário, apenas para os seus testes. ### Utilize o atributo `app.dependency_overrides` Para estes casos, a sua aplicação **FastAPI** possui o atributo `app.dependency_overrides`. Ele é um simples `dict`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.5K bytes - Viewed (0)