1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 06:32:10 +02:00

Enable Meson UI tests

Change-Id: I5f0a554c92e1568dd2cda69c198640c2a99769ec
This commit is contained in:
Jeff Johnston 2018-03-29 11:08:33 -04:00
parent 88cc9907cb
commit 0f9d2cdbba
3 changed files with 5 additions and 5 deletions

View file

@ -11,7 +11,7 @@
<relativePath>../../pom.xml</relativePath> <relativePath>../../pom.xml</relativePath>
</parent> </parent>
<artifactId>org.eclipse.cdt.cmake.ui.tests</artifactId> <artifactId>org.eclipse.cdt.meson.ui.tests</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>1.0.0-SNAPSHOT</version>
<packaging>eclipse-test-plugin</packaging> <packaging>eclipse-test-plugin</packaging>
@ -40,4 +40,4 @@
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
</project> </project>

View file

@ -14,8 +14,6 @@ import static org.eclipse.swtbot.swt.finder.matchers.WidgetMatcherFactory.withRe
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertTrue;
import java.util.List;
import org.eclipse.cdt.core.CCorePlugin; import org.eclipse.cdt.core.CCorePlugin;
import org.eclipse.cdt.core.index.IIndexManager; import org.eclipse.cdt.core.index.IIndexManager;
import org.eclipse.cdt.core.model.CoreModel; import org.eclipse.cdt.core.model.CoreModel;
@ -241,7 +239,8 @@ public class NewMesonProjectTest {
IPath projectPath = project.getLocation(); IPath projectPath = project.getLocation();
SWTBotShell mainShell = bot.shell("junit-workspace - Eclipse Platform");
SWTBotShell mainShell = bot.activeShell();
// use mainShell to get Project menu because it will be found somewhere else // use mainShell to get Project menu because it will be found somewhere else
bot.menu(mainShell).menu("Project").menu("Clean...").click(); bot.menu(mainShell).menu("Project").menu("Clean...").click();

View file

@ -228,6 +228,7 @@
<module>build/org.eclipse.cdt.autotools.tests</module> <module>build/org.eclipse.cdt.autotools.tests</module>
<module>build/org.eclipse.cdt.autotools.ui.tests</module> <module>build/org.eclipse.cdt.autotools.ui.tests</module>
<module>build/org.eclipse.cdt.cmake.ui.tests</module> <module>build/org.eclipse.cdt.cmake.ui.tests</module>
<module>build/org.eclipse.cdt.meson.ui.tests</module>
<module>codan/org.eclipse.cdt.codan.core.tests</module> <module>codan/org.eclipse.cdt.codan.core.tests</module>
<module>codan/org.eclipse.cdt.codan.checkers.ui.tests</module> <module>codan/org.eclipse.cdt.codan.checkers.ui.tests</module>
<module>core/org.eclipse.cdt.core.tests</module> <module>core/org.eclipse.cdt.core.tests</module>