package jetbrains.mps.lang.editor.diagram.tests;
/*Generated by MPS */
import jetbrains.mps.MPSLaunch;
import jetbrains.mps.lang.test.runtime.BaseTransformationTest;
import org.junit.Test;
import jetbrains.mps.lang.test.runtime.BaseEditorTestBody;
import java.awt.Component;
import java.awt.event.MouseEvent;
import junit.framework.Assert;
@MPSLaunch
public class SelectDiagram_Test extends BaseTransformationTest {
@Test
public void test_SelectDiagram() throws Throwable {
initTest("${mps_home}", "r:e41d7e03-7ef3-4161-a48a-e48d8152e422(jetbrains.mps.lang.editor.diagram.tests@tests)");
runTest("jetbrains.mps.lang.editor.diagram.tests.SelectDiagram_Test$TestBody", "testMethod", false);
}
@MPSLaunch
public static class TestBody extends BaseEditorTestBody {
@Override
public void testMethodImpl() throws Exception {
initEditorComponent("4459951312287600640", "4459951312287600642");
{
int x_q9u8ln_a0 = 10;
int y_q9u8ln_a0 = 10;
Component eventTargetComponent_q9u8ln_a0 = processMouseEvent(x_q9u8ln_a0, y_q9u8ln_a0, MouseEvent.MOUSE_PRESSED);
processSecondaryMouseEvent(eventTargetComponent_q9u8ln_a0, x_q9u8ln_a0, y_q9u8ln_a0, MouseEvent.MOUSE_RELEASED);
processSecondaryMouseEvent(eventTargetComponent_q9u8ln_a0, x_q9u8ln_a0, y_q9u8ln_a0, MouseEvent.MOUSE_CLICKED);
}
Assert.assertTrue(!(getEditorComponent().getNodeSubstituteChooser().isVisible()));
}
}
}