Java Code Examples for com.intellij.openapi.util.RecursionManager#disableMissedCacheAssertions()
The following examples show how to use
com.intellij.openapi.util.RecursionManager#disableMissedCacheAssertions() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ValTest.java From lombok-intellij-plugin with BSD 3-Clause "New" or "Revised" License | 5 votes |
@Override public void setUp() throws Exception { super.setUp(); //TODO disable assertions for the moment RecursionManager.disableMissedCacheAssertions(myFixture.getProjectDisposable()); }
Example 2
Source File: AccessorsTest.java From lombok-intellij-plugin with BSD 3-Clause "New" or "Revised" License | 5 votes |
@Override public void setUp() throws Exception { super.setUp(); //TODO disable assertions for the moment RecursionManager.disableMissedCacheAssertions(myFixture.getProjectDisposable()); }
Example 3
Source File: FieldNameConstantsTest.java From lombok-intellij-plugin with BSD 3-Clause "New" or "Revised" License | 5 votes |
@Override public void setUp() throws Exception { super.setUp(); //TODO disable assertions for the moment RecursionManager.disableMissedCacheAssertions(myFixture.getProjectDisposable()); }
Example 4
Source File: DelombokValueActionTest.java From lombok-intellij-plugin with BSD 3-Clause "New" or "Revised" License | 5 votes |
@Override public void setUp() throws Exception { super.setUp(); //TODO disable assertions for the moment RecursionManager.disableMissedCacheAssertions(myFixture.getProjectDisposable()); }
Example 5
Source File: DelombokBuilderActionTest.java From lombok-intellij-plugin with BSD 3-Clause "New" or "Revised" License | 5 votes |
@Override public void setUp() throws Exception { super.setUp(); //TODO disable assertions for the moment RecursionManager.disableMissedCacheAssertions(myFixture.getProjectDisposable()); }
Example 6
Source File: LombokUsageTest.java From lombok-intellij-plugin with BSD 3-Clause "New" or "Revised" License | 5 votes |
public void testFindUsageWither() { //TODO disable assertions for the moment RecursionManager.disableMissedCacheAssertions(myFixture.getProjectDisposable()); final Collection<UsageInfo> usages = loadTestClass(); assertUsages(usages, "findUsageWither.withBar", "findUsageWither.getBar"); }
Example 7
Source File: FieldNameConstantsOldTest.java From lombok-intellij-plugin with BSD 3-Clause "New" or "Revised" License | 5 votes |
@Override public void setUp() throws Exception { super.setUp(); final Disposable projectDisposable = myFixture.getProjectDisposable(); final String basePath = new File(getTestDataPath(), getBasePath()).getCanonicalPath(); VfsRootAccess.allowRootAccess(projectDisposable, basePath, new File(LOMBOK_SRC_PATH).getCanonicalPath()); VfsRootAccess.allowRootAccess(projectDisposable, basePath, new File(OLD_LOMBOK_SRC_PATH).getCanonicalPath()); //TODO disable assertions for the moment RecursionManager.disableMissedCacheAssertions(myFixture.getProjectDisposable()); }
Example 8
Source File: BuilderSingularTest.java From lombok-intellij-plugin with BSD 3-Clause "New" or "Revised" License | 5 votes |
@Override public void setUp() throws Exception { super.setUp(); // Add dummy classes, which are absent in mockJDK myFixture.addClass("package java.util;\n public interface NavigableSet<E> extends java.util.SortedSet<E> {}"); myFixture.addClass("package java.util;\n public interface NavigableMap<K,V> extends java.util.SortedMap<K,V> {}"); //TODO disable assertions for the moment RecursionManager.disableMissedCacheAssertions(myFixture.getProjectDisposable()); }
Example 9
Source File: SuperBuilderInspectionTest.java From lombok-intellij-plugin with BSD 3-Clause "New" or "Revised" License | 5 votes |
@Override public void setUp() throws Exception { super.setUp(); //TODO disable assertions for the moment RecursionManager.disableMissedCacheAssertions(myFixture.getProjectDisposable()); }
Example 10
Source File: SuperBuilderSingularTest.java From lombok-intellij-plugin with BSD 3-Clause "New" or "Revised" License | 5 votes |
@Override public void setUp() throws Exception { super.setUp(); // Add dummy classes, which are absent in mockJDK myFixture.addClass("package java.util;\n public interface NavigableSet<E> extends java.util.SortedSet<E> {}"); myFixture.addClass("package java.util;\n public interface NavigableMap<K,V> extends java.util.SortedMap<K,V> {}"); //TODO disable assertions for the moment RecursionManager.disableMissedCacheAssertions(myFixture.getProjectDisposable()); }
Example 11
Source File: LombokVarPostfixTemplateTest.java From lombok-intellij-plugin with BSD 3-Clause "New" or "Revised" License | 5 votes |
@Override public void setUp() throws Exception { super.setUp(); //TODO disable assertions for the moment RecursionManager.disableMissedCacheAssertions(myFixture.getProjectDisposable()); }
Example 12
Source File: BuilderTest.java From lombok-intellij-plugin with BSD 3-Clause "New" or "Revised" License | 5 votes |
@Override public void setUp() throws Exception { super.setUp(); // Add dummy classes, which are absent in mockJDK myFixture.addClass("package java.util;\n public interface NavigableMap<K,V> extends java.util.SortedMap<K,V> {}"); //TODO disable assertions for the moment RecursionManager.disableMissedCacheAssertions(myFixture.getProjectDisposable()); }
Example 13
Source File: BuilderToBuilderTest.java From lombok-intellij-plugin with BSD 3-Clause "New" or "Revised" License | 5 votes |
@Override public void setUp() throws Exception { super.setUp(); // Add dummy classes, which are absent in mockJDK myFixture.addClass("package java.util;\n public interface NavigableMap<K,V> extends java.util.SortedMap<K,V> {}"); //TODO disable assertions for the moment RecursionManager.disableMissedCacheAssertions(myFixture.getProjectDisposable()); }
Example 14
Source File: FieldDefaultsTest.java From lombok-intellij-plugin with BSD 3-Clause "New" or "Revised" License | 5 votes |
@Override public void setUp() throws Exception { super.setUp(); //TODO disable assertions for the moment RecursionManager.disableMissedCacheAssertions(myFixture.getProjectDisposable()); }
Example 15
Source File: FieldNameConstantsTest.java From lombok-intellij-plugin with BSD 3-Clause "New" or "Revised" License | 5 votes |
@Override public void setUp() throws Exception { super.setUp(); //TODO disable assertions for the moment RecursionManager.disableMissedCacheAssertions(myFixture.getProjectDisposable()); }
Example 16
Source File: BuilderInspectionTest.java From lombok-intellij-plugin with BSD 3-Clause "New" or "Revised" License | 5 votes |
@Override public void setUp() throws Exception { super.setUp(); //TODO disable assertions for the moment RecursionManager.disableMissedCacheAssertions(myFixture.getProjectDisposable()); }
Example 17
Source File: FieldDefaultsModifierTest.java From lombok-intellij-plugin with BSD 3-Clause "New" or "Revised" License | 5 votes |
public void testFieldDefaultsWithNonFinal() { //TODO disable assertions for the moment RecursionManager.disableMissedCacheAssertions(myFixture.getProjectDisposable()); PsiModifierList modifierList = getFieldModifierListAtCaret(); assertFalse("@FieldDefaults(makeFinal = true) should not make @NonFinal fields final", modifierList.hasModifierProperty(PsiModifier.FINAL)); }
Example 18
Source File: ValModifierTest.java From lombok-intellij-plugin with BSD 3-Clause "New" or "Revised" License | 5 votes |
@Override public void setUp() throws Exception { super.setUp(); myFixture.addClass("package lombok;\npublic @interface val { }"); //TODO disable assertions for the moment RecursionManager.disableMissedCacheAssertions(myFixture.getProjectDisposable()); }
Example 19
Source File: ValueTest.java From lombok-intellij-plugin with BSD 3-Clause "New" or "Revised" License | 4 votes |
public void testValue$ValueWithPackagePrivate() { //TODO disable assertions for the moment RecursionManager.disableMissedCacheAssertions(myFixture.getProjectDisposable()); doTest(true); }
Example 20
Source File: ValueTest.java From lombok-intellij-plugin with BSD 3-Clause "New" or "Revised" License | 4 votes |
public void testValue$ValueIssue94() { //TODO disable assertions for the moment RecursionManager.disableMissedCacheAssertions(myFixture.getProjectDisposable()); doTest(true); }