public static class Errors.Plugins.OnErrorThrowAssertion extends Object implements Errors.Plugins.Log, Errors.Plugins.Dialog
Errors
plugins which throws an AssertionError
on any exception. This can be helpful for JUnit tests.
To enable this in your application, you can either:
DurianPlugins.set(Errors.Plugins.Log.class, new OnErrorThrowAssertion()); DurianPlugins.set(Errors.Plugins.Dialog.class, new OnErrorThrowAssertion());
durian.plugins.com.diffplug.common.base.Errors.Plugins.Log=com.diffplug.common.base.Errors$Plugins$OnErrorThrowAssertion durian.plugins.com.diffplug.common.base.Errors.Plugins.Dialog=com.diffplug.common.base.Errors$Plugins$OnErrorThrowAssertion
DurianPlugins
Constructor and Description |
---|
OnErrorThrowAssertion() |