Java Mailing List Archive

Home » user.jmock »

[jmock-user] Handling concurrent failures on Deterministic{Executor|Scheduler}

Daniel Yokomizo


Author LoginPost Reply

I'm using DeterministicScheduler to stub an Executor and currently
there's no way to assert that a submitted runnable should not have

If DeterministicScheduler#runNextPendingCommand() returned the
executed ScheduledTask as an ScheduledFuture I could verify it calling
Future#get() and not getting an exception.

Is there any way around this?

Best regards,
Daniel Yokomizo

To unsubscribe from this list, please visit:

©2008 - Jax Systems, LLC, U.S.A.