Search in sources :

Example 46 with DomEvent

use of com.intellij.util.xml.events.DomEvent in project intellij-community by JetBrains.

the class IncrementalUpdateEventsTest method testRemove1.

public void testRemove1() {
    deleteTag(1);
    putExpected(new DomEvent(myElement, false));
    assertResultsAndClear();
}
Also used : DomEvent(com.intellij.util.xml.events.DomEvent)

Example 47 with DomEvent

use of com.intellij.util.xml.events.DomEvent in project intellij-community by JetBrains.

the class IncrementalUpdateEventsTest method testAdd0.

public void testAdd0() {
    addChildTag(0);
    putExpected(new DomEvent(myElement, false));
    assertResultsAndClear();
}
Also used : DomEvent(com.intellij.util.xml.events.DomEvent)

Example 48 with DomEvent

use of com.intellij.util.xml.events.DomEvent in project intellij-community by JetBrains.

the class IncrementalUpdateEventsTest method testAdd1.

public void testAdd1() {
    addChildTag(1);
    putExpected(new DomEvent(myElement, false));
    assertResultsAndClear();
}
Also used : DomEvent(com.intellij.util.xml.events.DomEvent)

Aggregations

DomEvent (com.intellij.util.xml.events.DomEvent)48 XmlTag (com.intellij.psi.xml.XmlTag)24 Result (com.intellij.openapi.application.Result)7 WriteCommandAction (com.intellij.openapi.command.WriteCommandAction)7 XmlFile (com.intellij.psi.xml.XmlFile)4 VirtualFile (com.intellij.openapi.vfs.VirtualFile)3 DomElement (com.intellij.util.xml.DomElement)3 Document (com.intellij.openapi.editor.Document)2 XmlAttribute (com.intellij.psi.xml.XmlAttribute)2 IncorrectOperationException (com.intellij.util.IncorrectOperationException)2 DomSupportEnabled (com.intellij.ide.highlighter.DomSupportEnabled)1 VirtualFileWithId (com.intellij.openapi.vfs.VirtualFileWithId)1 ObjectStubTree (com.intellij.psi.stubs.ObjectStubTree)1 FileStub (com.intellij.util.xml.stubs.FileStub)1 ArrayList (java.util.ArrayList)1 NotNull (org.jetbrains.annotations.NotNull)1 Nullable (org.jetbrains.annotations.Nullable)1