File tree 1 file changed +17
-0
lines changed
src/test/java/fr/adrienbrault/idea/symfony2plugin/tests/action/quickfix
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change
1
+ package fr .adrienbrault .idea .symfony2plugin .tests .action .quickfix ;
2
+
3
+ import fr .adrienbrault .idea .symfony2plugin .action .quickfix .AddServiceXmlArgumentLocalQuickFix ;
4
+ import fr .adrienbrault .idea .symfony2plugin .tests .SymfonyLightCodeInsightFixtureTestCase ;
5
+
6
+ import java .util .ArrayList ;
7
+
8
+ public class AddServiceXmlArgumentLocalQuickFixTest extends SymfonyLightCodeInsightFixtureTestCase {
9
+
10
+ public void testStartInWriteAction () {
11
+ var quickfix = new AddServiceXmlArgumentLocalQuickFix (new ArrayList <>());
12
+
13
+ // Prevents "AWT events are not allowed inside write action" exception
14
+ // when dialog window for resolving argument ambiguity is created
15
+ assertFalse (quickfix .startInWriteAction ());
16
+ }
17
+ }
You can’t perform that action at this time.
0 commit comments