- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for setContext (0.03 sec)
-
android-test/src/test/kotlin/okhttp/android/test/RobolectricOkHttpClientTest.kt
import org.robolectric.annotation.Config @RunWith(RobolectricTestRunner::class) @Config( sdk = [23, 26, 30, 33, 35], ) class RobolectricOkHttpClientTest : BaseOkHttpClientUnitTest() { @Before fun setContext() { // This is awkward because Robolectric won't run our initializers and we don't want test deps // https://github.com/robolectric/robolectric/issues/8461 OkHttp.initialize(ApplicationProvider.getApplicationContext())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 16:25:39 UTC 2025 - 1.2K bytes - Viewed (0) -
android-test/src/test/kotlin/okhttp/android/test/DisabledInitialiserTest.kt
import org.robolectric.RobolectricTestRunner import org.robolectric.annotation.Config @RunWith(RobolectricTestRunner::class) @Config( sdk = [23, 26, 30, 33, 35], ) class DisabledInitialiserTest { @Before fun setContext() { // Ensure we aren't succeeding because of another test Platform.resetForTests() PlatformRegistry.applicationContext = null } @Test fun testWithoutContext() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 16:25:39 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java
private RelatedContent createRelatedContent(String term, String content, String virtualHost) { RelatedContent entity = new RelatedContent(); entity.setTerm(term); entity.setContent(content); entity.setVirtualHost(virtualHost); return entity; } // Mock classes static class MockRelatedContentBhv extends RelatedContentBhv {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/RelatedContentDbm.java
protected final Map<String, PropertyGateway> _epgMap = newHashMap(); { setupEpg(_epgMap, et -> ((RelatedContent) et).getContent(), (et, vl) -> ((RelatedContent) et).setContent(DfTypeUtil.toString(vl)), "content"); setupEpg(_epgMap, et -> ((RelatedContent) et).getCreatedBy(), (et, vl) -> ((RelatedContent) et).setCreatedBy(DfTypeUtil.toString(vl)), "createdBy");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java
return null; } @Override public String getContextPath() { return null; } @Override public ServletContext getContext(String uripath) { return null; } @Override public int getMajorVersion() { return 0; } @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PythonJobTest.java
return null; } @Override public String getContextPath() { return null; } @Override public ServletContext getContext(String uripath) { return null; } @Override public int getMajorVersion() { return 0; } @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/SuggestJobTest.java
return null; } @Override public String getContextPath() { return ""; } @Override public jakarta.servlet.ServletContext getContext(String uripath) { return null; } @Override public int getMajorVersion() { return 3; } @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 31.4K bytes - Viewed (0)