inplace introduce: correctly restore anchors to insert newly created field

This commit is contained in:
anna
2011-07-13 10:38:42 +04:00
parent 4e69464901
commit a42792b192
7 changed files with 117 additions and 95 deletions
@@ -52,6 +52,15 @@ public class InplaceIntroduceConstantTest extends AbstractInplaceIntroduceTest {
}
});
}
public void testCorrectFinalPosition() throws Exception {
doTest(new Pass<AbstractInplaceIntroducer>() {
@Override
public void pass(AbstractInplaceIntroducer inplaceIntroduceFieldPopup) {
type("SEC");
}
});
}
public void testEscapePosition() throws Exception {
doTestEscape();