1 - triagedhelp wantedt:javat:testing
仓库指标
- 星标
- (13,277 个星标)
- PR 合并指标
- (平均合并 8天 19小时) (30 天内合并 10 个 PR)
描述
Using the Scala API from Java, one can do:
EventFilter defaultDebug = EventFilter.debug(null, null, "", null, Integer.MAX_VALUE);
system.eventStream().publish(new TestEvent.Mute(Arrays.asList(defaultDebug)));
But with the Java testkit EventFilter there is no way to do that since creating a Scala API EventFilter is hidden inside of it.
There should be a way to do the same from Java using akka.testkit.javadsl.EventFilter