- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for test_instance (0.41 sec)
-
src/test/java/org/codelibs/fess/util/ComponentUtilTest.java
String testInstance = "test_instance"; ComponentUtil.register(testInstance, String.class.getCanonicalName()); String retrieved = ComponentUtil.getComponent(String.class); assertSame(testInstance, retrieved); } public void test_getComponent_byName_fromMap() { Integer testInstance = 42; String componentName = "testInteger";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 7.3K bytes - Viewed (0) -
mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt
} @Test fun happyPath() { testInstances += this assertThat(serverA.started).isTrue() assertThat(serverB.started).isTrue() assertThat(serverC.started).isFalse() assertThat(serverD.started).isTrue() assertThat(serverE.started).isTrue() assertThat(serverF.started).isFalse() } private companion object { val testInstances = CopyOnWriteArrayList<StartStopTest>()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 11:13:17 UTC 2025 - 3.3K bytes - Viewed (0) -
mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/StartStopExtension.kt
store.put(field, server) server.start() } } override fun beforeEach(context: ExtensionContext) { val testInstance = context.testInstance.get() val store = context.getStore(Namespace.create(StartStop::class.java)) val instanceFields = findAnnotatedFields( context.requiredTestClass, StartStop::class.java,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jun 19 11:44:16 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java
UnsupportedSearchException exception = new UnsupportedSearchException(message); assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); } public void test_instanceOf() { // Test inheritance hierarchy UnsupportedSearchException exception = new UnsupportedSearchException("test"); assertTrue(exception instanceof UnsupportedSearchException);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java
assertNotNull(exception); assertNull(exception.getMessage()); assertNull(exception.getCause()); } public void test_instanceOf() { // Test that exception is instance of RuntimeException DictionaryExpiredException exception = new DictionaryExpiredException(); assertTrue(exception instanceof RuntimeException);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.2K bytes - Viewed (0)