Skip to content

Commit dd29d3b

Browse files
vrubezhnymickaelistria
authored andcommitted
[tests] Refactoring throws fatal error #680
Fixed TestJsTs.testRefactoringRename() to make it to give more stable results Signed-off-by: Victor Rubezhny <[email protected]>
1 parent f9321e5 commit dd29d3b

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

org.eclipse.wildwebdeveloper.tests/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
22
Bundle-ManifestVersion: 2
33
Bundle-Name: Tests for WildWebDeveloper
44
Bundle-SymbolicName: org.eclipse.wildwebdeveloper.tests;singleton:=true
5-
Bundle-Version: 0.4.11.qualifier
5+
Bundle-Version: 0.4.12.qualifier
66
Bundle-Vendor: Eclipse Wild Web Developer
77
Automatic-Module-Name: org.eclipse.wildwebdeveloper.tests
88
Bundle-RequiredExecutionEnvironment: JavaSE-11

org.eclipse.wildwebdeveloper.tests/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<version>0.5.0-SNAPSHOT</version>
88
</parent>
99
<packaging>eclipse-test-plugin</packaging>
10-
<version>0.4.11-SNAPSHOT</version>
10+
<version>0.4.12-SNAPSHOT</version>
1111
<build>
1212
<plugins>
1313
<plugin>

org.eclipse.wildwebdeveloper.tests/src/org/eclipse/wildwebdeveloper/tests/TestJsTs.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,14 @@ && hasButton(c, "< &Back")) {
134134
protected boolean condition() {
135135
return renameDialogOkPressed.get();
136136
}
137-
}.waitForCondition(display, 1000), "Rename dialog not shown");
137+
}.waitForCondition(display, 2000), "Rename dialog not shown");
138+
138139
assertTrue(new DisplayHelper() {
139140
@Override
140141
protected boolean condition() {
141142
return newContent.equals(document.get());
142143
}
143-
}.waitForCondition(display, 1000), "document not modified, rename not applied");
144+
}.waitForCondition(display, 5000), "document not modified, rename not applied");
144145
} finally {
145146
ideShell.getDisplay().removeFilter(SWT.Paint, pressOKonRenameDialogPaint);
146147
}

0 commit comments

Comments
 (0)