mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 07:05:24 +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>
|
||||
<layout>p2</layout>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>orbit</id>
|
||||
<url>http://download.eclipse.org/tools/orbit/downloads/drops/S20141129202728/repository/</url>
|
||||
<layout>p2</layout>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<modules>
|
||||
<module>bundles/org.eclipse.launchbar.core</module>
|
||||
<module>bundles/org.eclipse.launchbar.ui</module>
|
||||
<module>features/org.eclipse.launchbar</module>
|
||||
<module>tests/org.eclipse.launchbar.core.tests</module>
|
||||
<module>repo</module>
|
||||
</modules>
|
||||
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<pluginRepository>
|
||||
<id>cbi</id>
|
||||
<url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
</pluginRepositories>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>cdtRepo</id>
|
||||
|
@ -325,43 +331,44 @@
|
|||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.eclipse.tycho.extras</groupId>
|
||||
<artifactId>tycho-eclipserun-plugin</artifactId>
|
||||
<version>${tycho-extras-version}</version>
|
||||
<configuration>
|
||||
<appArgLine>-application org.eclipse.ant.core.antRunner -buildfile customBuildCallbacks.xml build.index</appArgLine>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<artifactId>org.apache.ant</artifactId>
|
||||
<type>eclipse-plugin</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<artifactId>org.eclipse.help.base</artifactId>
|
||||
<type>eclipse-plugin</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<artifactId>org.eclipse.ant.core</artifactId>
|
||||
<type>eclipse-plugin</type>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<!-- This needs to be explicitely set now, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=395281 -->
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>platform</id>
|
||||
<layout>p2</layout>
|
||||
<url>${help-docs-eclipserun-repo}</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>eclipse-run</goal>
|
||||
</goals>
|
||||
<phase>compile</phase>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<groupId>org.eclipse.tycho.extras</groupId>
|
||||
<artifactId>tycho-eclipserun-plugin</artifactId>
|
||||
<version>${tycho-extras-version}</version>
|
||||
<configuration>
|
||||
<appArgLine>-application org.eclipse.ant.core.antRunner -buildfile
|
||||
customBuildCallbacks.xml build.index</appArgLine>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<artifactId>org.apache.ant</artifactId>
|
||||
<type>eclipse-plugin</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<artifactId>org.eclipse.help.base</artifactId>
|
||||
<type>eclipse-plugin</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<artifactId>org.eclipse.ant.core</artifactId>
|
||||
<type>eclipse-plugin</type>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<!-- This needs to be explicitely set now, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=395281 -->
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>platform</id>
|
||||
<layout>p2</layout>
|
||||
<url>${help-docs-eclipserun-repo}</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>eclipse-run</goal>
|
||||
</goals>
|
||||
<phase>compile</phase>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</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.mockito,
|
||||
org.eclipse.launchbar.core;bundle-version="1.0.0",
|
||||
org.eclipse.debug.core,
|
||||
org.eclipse.core.filesystem,
|
||||
org.hamcrest.core
|
||||
org.eclipse.debug.core
|
||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
|
||||
Bundle-ActivationPolicy: lazy
|
||||
Export-Package: org.eclipse.launchbar.core.tests
|
||||
|
|
|
@ -20,23 +20,18 @@
|
|||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.eclipse.tycho</groupId>
|
||||
<artifactId>tycho-surefire-plugin</artifactId>
|
||||
<artifactId>target-platform-configuration</artifactId>
|
||||
<version>${tycho-version}</version>
|
||||
<configuration>
|
||||
<!-- It does not need ui, but it does not work headless for some reason -->
|
||||
<useUIHarness>true</useUIHarness>
|
||||
<argLine>${tycho.testArgLine} ${base.ui.test.vmargs} -ea -Xms256m
|
||||
-Xmx512m -XX:MaxPermSize=256M</argLine>
|
||||
<includes>
|
||||
<include>**/AutomatedIntegrationSuite.*</include>
|
||||
</includes>
|
||||
<testFailureIgnore>true</testFailureIgnore>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<artifactId>org.eclipse.platform.feature.group</artifactId>
|
||||
<type>p2-installable-unit</type>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<dependency-resolution>
|
||||
<extraRequirements>
|
||||
<requirement>
|
||||
<type>eclipse-plugin</type>
|
||||
<id>org.hamcrest</id>
|
||||
<versionRange>0.0.0</versionRange>
|
||||
</requirement>
|
||||
</extraRequirements>
|
||||
</dependency-resolution>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
|
Loading…
Add table
Reference in a new issue