libAndroidAssertions/src/main/java/com/heershingenmosiken/assertions/android/AndroidAssertions.java
/**
     * Application would crash if assertion happens (if it is not silent assertion).
     */
Application would crash if assertion happens (if it is not silent assertion).
Application would crash if assertion happens ( if it is not silent assertion ) .
public static void shouldCrashOnAssertion(boolean crashOnAssertions) {
        if (crashOnAssertions) {
            addAssertionHandler(ANDROID_ASSERTION_HANDLER, Integer.MIN_VALUE);
        } else {
            removeAssertionHandler(ANDROID_ASSERTION_HANDLER);
        }
    }
public static void shouldCrashOnAssertion ( boolean crashOnAssertions ) { if ( crashOnAssertions ) { addAssertionHandler ( ANDROID_ASSERTION_HANDLER , Integer . MIN_VALUE ) ; } else { removeAssertionHandler ( ANDROID_ASSERTION_HANDLER ) ; } }
Application would crash if assertion happens (if it is not silent assertion).
Application would crash if assertion happens ( if it is not silent assertion ) .