Searched refs:assertionsEnabled (Results 1 – 4 of 4) sorted by relevance
43 boolean assertionsEnabled = false; in testRelatedTo()44 assert assertionsEnabled = true; // Intentional assignment in testRelatedTo() local45 assertTrue("This unit test must be run with assertions enabled (-ea)", assertionsEnabled); in testRelatedTo()
19 import static com.android.tools.lint.detector.api.LintUtils.assertionsEnabled;74 if (assertionsEnabled()) { in evaluate()
228 if (LintUtils.assertionsEnabled()) { in onEnter()
84 private static final boolean CACHE_ENABLED = true || !LintUtils.assertionsEnabled();