mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-11 19:15:22 +02:00
Add tests and make them run (adding hamcrest properly)
Change-Id: Ifc2e5d9cd4289147539d6b90b59f689ffdf69a37
This commit is contained in:
parent
ac02204fde
commit
bb7f665007
6 changed files with 60 additions and 57 deletions
1
bundles/org.eclipse.launchbar.core/.gitignore
vendored
Normal file
1
bundles/org.eclipse.launchbar.core/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/bin/
|
1
bundles/org.eclipse.launchbar.ui/.gitignore
vendored
Normal file
1
bundles/org.eclipse.launchbar.ui/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/bin/
|
85
pom.xml
85
pom.xml
|
@ -48,21 +48,27 @@
|
||||||
<url>http://download.eclipse.org/cbi/updates/license/</url>
|
<url>http://download.eclipse.org/cbi/updates/license/</url>
|
||||||
<layout>p2</layout>
|
<layout>p2</layout>
|
||||||
</repository>
|
</repository>
|
||||||
|
<repository>
|
||||||
|
<id>orbit</id>
|
||||||
|
<url>http://download.eclipse.org/tools/orbit/downloads/drops/S20141129202728/repository/</url>
|
||||||
|
<layout>p2</layout>
|
||||||
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
<module>bundles/org.eclipse.launchbar.core</module>
|
<module>bundles/org.eclipse.launchbar.core</module>
|
||||||
<module>bundles/org.eclipse.launchbar.ui</module>
|
<module>bundles/org.eclipse.launchbar.ui</module>
|
||||||
<module>features/org.eclipse.launchbar</module>
|
<module>features/org.eclipse.launchbar</module>
|
||||||
|
<module>tests/org.eclipse.launchbar.core.tests</module>
|
||||||
<module>repo</module>
|
<module>repo</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<pluginRepositories>
|
<pluginRepositories>
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
<id>cbi</id>
|
<id>cbi</id>
|
||||||
<url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
|
<url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
</pluginRepositories>
|
</pluginRepositories>
|
||||||
<profiles>
|
<profiles>
|
||||||
<profile>
|
<profile>
|
||||||
<id>cdtRepo</id>
|
<id>cdtRepo</id>
|
||||||
|
@ -325,43 +331,44 @@
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.eclipse.tycho.extras</groupId>
|
<groupId>org.eclipse.tycho.extras</groupId>
|
||||||
<artifactId>tycho-eclipserun-plugin</artifactId>
|
<artifactId>tycho-eclipserun-plugin</artifactId>
|
||||||
<version>${tycho-extras-version}</version>
|
<version>${tycho-extras-version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<appArgLine>-application org.eclipse.ant.core.antRunner -buildfile customBuildCallbacks.xml build.index</appArgLine>
|
<appArgLine>-application org.eclipse.ant.core.antRunner -buildfile
|
||||||
<dependencies>
|
customBuildCallbacks.xml build.index</appArgLine>
|
||||||
<dependency>
|
<dependencies>
|
||||||
<artifactId>org.apache.ant</artifactId>
|
<dependency>
|
||||||
<type>eclipse-plugin</type>
|
<artifactId>org.apache.ant</artifactId>
|
||||||
</dependency>
|
<type>eclipse-plugin</type>
|
||||||
<dependency>
|
</dependency>
|
||||||
<artifactId>org.eclipse.help.base</artifactId>
|
<dependency>
|
||||||
<type>eclipse-plugin</type>
|
<artifactId>org.eclipse.help.base</artifactId>
|
||||||
</dependency>
|
<type>eclipse-plugin</type>
|
||||||
<dependency>
|
</dependency>
|
||||||
<artifactId>org.eclipse.ant.core</artifactId>
|
<dependency>
|
||||||
<type>eclipse-plugin</type>
|
<artifactId>org.eclipse.ant.core</artifactId>
|
||||||
</dependency>
|
<type>eclipse-plugin</type>
|
||||||
</dependencies>
|
</dependency>
|
||||||
<!-- This needs to be explicitely set now, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=395281 -->
|
</dependencies>
|
||||||
<repositories>
|
<!-- This needs to be explicitely set now, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=395281 -->
|
||||||
<repository>
|
<repositories>
|
||||||
<id>platform</id>
|
<repository>
|
||||||
<layout>p2</layout>
|
<id>platform</id>
|
||||||
<url>${help-docs-eclipserun-repo}</url>
|
<layout>p2</layout>
|
||||||
</repository>
|
<url>${help-docs-eclipserun-repo}</url>
|
||||||
</repositories>
|
</repository>
|
||||||
</configuration>
|
</repositories>
|
||||||
<executions>
|
</configuration>
|
||||||
<execution>
|
<executions>
|
||||||
<goals>
|
<execution>
|
||||||
<goal>eclipse-run</goal>
|
<goals>
|
||||||
</goals>
|
<goal>eclipse-run</goal>
|
||||||
<phase>compile</phase>
|
</goals>
|
||||||
</execution>
|
<phase>compile</phase>
|
||||||
</executions>
|
</execution>
|
||||||
</plugin>
|
</executions>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
</build>
|
</build>
|
||||||
|
|
1
tests/org.eclipse.launchbar.core.tests/.gitignore
vendored
Normal file
1
tests/org.eclipse.launchbar.core.tests/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/bin/
|
|
@ -8,9 +8,7 @@ Require-Bundle: org.eclipse.core.runtime,
|
||||||
org.junit;bundle-version="4.11.0",
|
org.junit;bundle-version="4.11.0",
|
||||||
org.mockito,
|
org.mockito,
|
||||||
org.eclipse.launchbar.core;bundle-version="1.0.0",
|
org.eclipse.launchbar.core;bundle-version="1.0.0",
|
||||||
org.eclipse.debug.core,
|
org.eclipse.debug.core
|
||||||
org.eclipse.core.filesystem,
|
|
||||||
org.hamcrest.core
|
|
||||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
|
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
|
||||||
Bundle-ActivationPolicy: lazy
|
Bundle-ActivationPolicy: lazy
|
||||||
Export-Package: org.eclipse.launchbar.core.tests
|
Export-Package: org.eclipse.launchbar.core.tests
|
||||||
|
|
|
@ -20,23 +20,18 @@
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.eclipse.tycho</groupId>
|
<groupId>org.eclipse.tycho</groupId>
|
||||||
<artifactId>tycho-surefire-plugin</artifactId>
|
<artifactId>target-platform-configuration</artifactId>
|
||||||
<version>${tycho-version}</version>
|
<version>${tycho-version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<!-- It does not need ui, but it does not work headless for some reason -->
|
<dependency-resolution>
|
||||||
<useUIHarness>true</useUIHarness>
|
<extraRequirements>
|
||||||
<argLine>${tycho.testArgLine} ${base.ui.test.vmargs} -ea -Xms256m
|
<requirement>
|
||||||
-Xmx512m -XX:MaxPermSize=256M</argLine>
|
<type>eclipse-plugin</type>
|
||||||
<includes>
|
<id>org.hamcrest</id>
|
||||||
<include>**/AutomatedIntegrationSuite.*</include>
|
<versionRange>0.0.0</versionRange>
|
||||||
</includes>
|
</requirement>
|
||||||
<testFailureIgnore>true</testFailureIgnore>
|
</extraRequirements>
|
||||||
<dependencies>
|
</dependency-resolution>
|
||||||
<dependency>
|
|
||||||
<artifactId>org.eclipse.platform.feature.group</artifactId>
|
|
||||||
<type>p2-installable-unit</type>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
|
|
Loading…
Add table
Reference in a new issue