- Sort Score
- Result 10 results
- Languages All
Results 2271 - 2280 of 3,456 for override (0.14 sec)
-
docs/en/docs/advanced/settings.md
//// ### Settings and testing Then it would be very easy to provide a different settings object during testing by creating a dependency override for `get_settings`: ```Python hl_lines="9-10 13 21" {!../../docs_src/settings/app02/test_main.py!} ``` In the dependency override we set a new value for the `admin_email` when creating the new `Settings` object, and then we return that new object. Then we can test that it is used.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 12.9K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java
singleton(e4()), features, copyToList(getOrderedElements()), 0) { @Override protected ListIterator<E> newTargetIterator() { resetCollection(); return getList().listIterator(); } @Override protected void verify(List<E> elements) { expectContents(elements); } }.test(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/HelpersTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CompactHashMapTest.java
public static Test suite() { TestSuite suite = new TestSuite(); suite.addTest( MapTestSuiteBuilder.using( new TestStringMapGenerator() { @Override protected Map<String, String> create(Entry<String, String>[] entries) { Map<String, String> map = CompactHashMap.create(); for (Entry<String, String> entry : entries) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 5.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java
new TestTypeToInstanceMapGenerator() { // Other tests will verify what real, warning-free usage looks like // but here we have to do some serious fudging @Override @SuppressWarnings({"unchecked", "rawtypes"}) public Map<TypeToken, Object> create(Object... elements) { MutableTypeToInstanceMap<Object> map = new MutableTypeToInstanceMap<>();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 7.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/UpgradeUtil.java
indicesClient.prepareDelete(index).execute(new ActionListener<AcknowledgedResponse>() { @Override public void onResponse(final AcknowledgedResponse response) { logger.info("Deleted {} index.", index); comsumer.accept(response); } @Override public void onFailure(final Exception e) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SpecialRandom.java
public SpecialRandom() { this.hasSeed = false; this.seed = 0; } public SpecialRandom(long seed) { super(seed); this.hasSeed = true; this.seed = seed; } @Override public String toString() { return hasSeed ? "(seed:" + seed : "(default seed)"; } private static final long serialVersionUID = 0;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/repository/MavenArtifactRepositoryTest.java
private static class MavenArtifactRepositorySubclass extends MavenArtifactRepository { String id; public MavenArtifactRepositorySubclass(String id) { this.id = id; } @Override public String getId() { return id; } } @Test void testHashCodeEquals() { MavenArtifactRepositorySubclass r1 = new MavenArtifactRepositorySubclass("foo");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/interval/FessIntervalController.java
} public void setDelayMillisForWaitingNewUrl(final long delayMillisForWaitingNewUrl) { this.delayMillisForWaitingNewUrl = delayMillisForWaitingNewUrl; } @Override protected void delayForWaitingNewUrl() { ComponentUtil.getSystemHelper().calibrateCpuLoad(); try { final IntervalControlHelper intervalControlHelper = ComponentUtil.getIntervalControlHelper();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.4K bytes - Viewed (0)