- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 261 for event2 (0.03 sec)
-
src/test/java/org/codelibs/fess/util/ErrorToWarnRewritePolicyTest.java
.build(); LogEvent event3 = Log4jLogEvent.newBuilder() .setLoggerName("third.logger") .setLevel(Level.ERROR) .setMessage(new SimpleMessage("test message 3")) .build(); LogEvent result1 = policy.rewrite(event1); LogEvent result2 = policy.rewrite(event2); LogEvent result3 = policy.rewrite(event3);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java
// Create different implementations SearchLogEvent event1 = new TestSearchLogEvent("id1", 1L, "type1"); SearchLogEvent event2 = new NullSearchLogEvent(); SearchLogEvent event3 = new EmptySearchLogEvent(); // Test polymorphic behavior SearchLogEvent[] events = { event1, event2, event3 }; for (SearchLogEvent event : events) { // All methods should be callable without exceptions
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
} public void testDeadEventPosting() { GhostCatcher catcher = new GhostCatcher(); bus.register(catcher); bus.post(new DeadEvent(this, EVENT)); List<DeadEvent> events = catcher.getEvents(); assertEquals("The explicit DeadEvent should be delivered.", 1, events.size()); assertEquals("The dead event must not be re-wrapped.", EVENT, events.get(0).getEvent());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 11.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt
} fun assertExhausted() { assertThat(events).isEmpty() } fun assertOpen(): WebSocket { val event = nextEvent() as Open return event.webSocket } fun assertFailure(t: Throwable?) { val event = nextEvent() as Failure assertThat(event.response).isNull() assertThat(event.t).isSameAs(t) } fun assertFailure(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.8K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt
fun assertExhausted() { assertThat(events).isEmpty() } fun assertEvent( id: String?, type: String?, data: String, ) { assertThat(nextEvent()).isEqualTo(Event(id, type, data)) } fun assertOpen(): EventSource { val event = nextEvent() as Open return event.eventSource } fun assertClose() { nextEvent() as Closed } fun assertFailure(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:32:52 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java
} /** * Rewrites log events by converting ERROR level to WARN level for matching loggers. * * @param event the log event to potentially rewrite * @return the original event or a new event with WARN level if conversion applied */ @Override public LogEvent rewrite(final LogEvent event) { final String loggerName = event.getLoggerName(); if (loggerName == null) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt
throw AssertionError("full event sequence: $fullEventSequence", e) } } /** * Remove and return the next event from the recorded sequence. * * @param eventClass a class to assert that the returned event is an instance of, or null to * take any event class. * @param elapsedMs the time in milliseconds elapsed since the immediately-preceding event, or * -1L to take any duration. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 5.7K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/EventSourceListener.kt
/** * Invoked when an event source has been accepted by the remote peer and may begin transmitting * events. */ open fun onOpen( eventSource: EventSource, response: Response, ) { } /** * Invoked when a new event has been sent to the client. * * @param id The `id` line of the event, might be null. * @param type The `event` line of the event, might be null.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:47:47 UTC 2025 - 1.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt
import java.net.Proxy /** * Listener for metrics events. Extend this class to monitor the quantity, size, and duration of * your application's HTTP calls. * * All start/connect/acquire events will eventually receive a matching end/release event, either * successful (non-null parameters), or failed (non-null throwable). The first common parameters of * each event pair are used to link the event in case of concurrent or repeated events e.g.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 17.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/StringCatcher.java
public class StringCatcher { private final List<String> events = new ArrayList<>(); @Subscribe public void hereHaveAString(@Nullable String string) { events.add(string); } public void methodWithoutAnnotation(@Nullable String string) { Assert.fail("Event bus must not call methods without @Subscribe!"); } public List<String> getEvents() { return events; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 1.4K bytes - Viewed (0)