diff options
author | Mat Booth | 2016-09-21 11:15:30 +0000 |
---|---|---|
committer | Mat Booth | 2016-09-26 10:48:08 +0000 |
commit | ecb6dc3ce049def4798c334f37c3caf1eb43ab92 (patch) | |
tree | 718aa5072f6096286467d021e837ae51bab25b48 /tests/bundles | |
parent | 14b402711d374cf1398216bebcd73820c2c9b6f2 (diff) | |
download | org.eclipse.ecf-ecb6dc3ce049def4798c334f37c3caf1eb43ab92.tar.gz org.eclipse.ecf-ecb6dc3ce049def4798c334f37c3caf1eb43ab92.tar.xz org.eclipse.ecf-ecb6dc3ce049def4798c334f37c3caf1eb43ab92.zip |
Bug 396457 - [Releng][Maven] Create a build based on tycho
Add machinery to build the test feature and its constituent
bundles. Tests are not enabled by default, but when executed
all tests pass except those requiring the presence of a
running host service, for example, in these test bundles:
org.eclipse.ecf.tests.remoteservice.{generic,r-osgi}
Some minor tweaks were made to make configuring Tycho simpler
like making an abstract test actually abstract, removing a
completely empty test class that did nothing and making sure
valid test class names end with "Test" so they are detected
by Tycho.
Change-Id: Ic89a248668e4f08ee347fe3c0bcfd11e4cc23f4d
Signed-off-by: Mat Booth <mat.booth@redhat.com>
Diffstat (limited to 'tests/bundles')
19 files changed, 445 insertions, 16 deletions
diff --git a/tests/bundles/org.eclipse.ecf.tests.datashare/pom.xml b/tests/bundles/org.eclipse.ecf.tests.datashare/pom.xml new file mode 100644 index 000000000..45307cc0d --- /dev/null +++ b/tests/bundles/org.eclipse.ecf.tests.datashare/pom.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>ecf-parent</artifactId> + <version>1.0.0-SNAPSHOT</version> + <relativePath>../../../</relativePath> + </parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>org.eclipse.ecf.tests.datashare</artifactId> + <version>2.0.0-SNAPSHOT</version> + <packaging>eclipse-test-plugin</packaging> + + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>target-platform-configuration</artifactId> + <version>${tycho-version}</version> + <configuration> + <dependency-resolution> + <extraRequirements> + <requirement> + <type>eclipse-plugin</type> + <id>org.eclipse.ecf.provider.remoteservice</id> + <versionRange>0.0.0</versionRange> + </requirement> + <requirement> + <type>eclipse-plugin</type> + <id>org.eclipse.ecf.provider.datashare</id> + <versionRange>0.0.0</versionRange> + </requirement> + </extraRequirements> + </dependency-resolution> + </configuration> + </plugin> + </plugins> + </build> +</project> diff --git a/tests/bundles/org.eclipse.ecf.tests.discovery/pom.xml b/tests/bundles/org.eclipse.ecf.tests.discovery/pom.xml new file mode 100644 index 000000000..2b0ddb125 --- /dev/null +++ b/tests/bundles/org.eclipse.ecf.tests.discovery/pom.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>ecf-parent</artifactId> + <version>1.0.0-SNAPSHOT</version> + <relativePath>../../../</relativePath> + </parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>org.eclipse.ecf.tests.discovery</artifactId> + <version>2.0.0-SNAPSHOT</version> + <packaging>eclipse-test-plugin</packaging> +</project> diff --git a/tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution.generic/pom.xml b/tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution.generic/pom.xml new file mode 100644 index 000000000..c674569e0 --- /dev/null +++ b/tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution.generic/pom.xml @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>ecf-parent</artifactId> + <version>1.0.0-SNAPSHOT</version> + <relativePath>../../../</relativePath> + </parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>org.eclipse.ecf.tests.osgi.services.distribution.generic</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>eclipse-test-plugin</packaging> + + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>target-platform-configuration</artifactId> + <version>${tycho-version}</version> + <configuration> + <dependency-resolution> + <extraRequirements> + <requirement> + <type>eclipse-plugin</type> + <id>org.eclipse.ecf.provider.jmdns</id> + <versionRange>0.0.0</versionRange> + </requirement> + </extraRequirements> + </dependency-resolution> + </configuration> + </plugin> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-surefire-plugin</artifactId> + <version>${tycho-version}</version> + <configuration> + <systemProperties> + <net.mdns.port>65354</net.mdns.port> + <net.mdns.interface>127.0.0.1</net.mdns.interface> + <org.eclipse.ecf.osgi.services.discovery.allowLoopbackReference>true</org.eclipse.ecf.osgi.services.discovery.allowLoopbackReference> + </systemProperties> + </configuration> + </plugin> + </plugins> + </build> +</project> diff --git a/tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution.r-osgi/pom.xml b/tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution.r-osgi/pom.xml new file mode 100644 index 000000000..0088ba4e7 --- /dev/null +++ b/tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution.r-osgi/pom.xml @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>ecf-parent</artifactId> + <version>1.0.0-SNAPSHOT</version> + <relativePath>../../../</relativePath> + </parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>org.eclipse.ecf.tests.osgi.services.distribution.r-osgi</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>eclipse-test-plugin</packaging> + + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>target-platform-configuration</artifactId> + <version>${tycho-version}</version> + <configuration> + <dependency-resolution> + <extraRequirements> + <requirement> + <type>eclipse-plugin</type> + <id>org.eclipse.ecf.provider.r_osgi</id> + <versionRange>0.0.0</versionRange> + </requirement> + <requirement> + <type>eclipse-plugin</type> + <id>org.eclipse.ecf.provider.zookeeper</id> + <versionRange>0.0.0</versionRange> + </requirement> + </extraRequirements> + </dependency-resolution> + </configuration> + </plugin> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-surefire-plugin</artifactId> + <version>${tycho-version}</version> + <configuration> + <systemProperties> + <net.mdns.port>65354</net.mdns.port> + <net.mdns.interface>127.0.0.1</net.mdns.interface> + <org.eclipse.ecf.osgi.services.discovery.allowLoopbackReference>true</org.eclipse.ecf.osgi.services.discovery.allowLoopbackReference> + </systemProperties> + </configuration> + </plugin> + </plugins> + </build> +</project> diff --git a/tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution/pom.xml b/tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution/pom.xml new file mode 100644 index 000000000..0ffeaffe0 --- /dev/null +++ b/tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution/pom.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>ecf-parent</artifactId> + <version>1.0.0-SNAPSHOT</version> + <relativePath>../../../</relativePath> + </parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>org.eclipse.ecf.tests.osgi.services.distribution</artifactId> + <version>1.1.0-SNAPSHOT</version> + <packaging>eclipse-test-plugin</packaging> +</project> diff --git a/tests/bundles/org.eclipse.ecf.tests.presence/pom.xml b/tests/bundles/org.eclipse.ecf.tests.presence/pom.xml new file mode 100644 index 000000000..570fc6ad2 --- /dev/null +++ b/tests/bundles/org.eclipse.ecf.tests.presence/pom.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>ecf-parent</artifactId> + <version>1.0.0-SNAPSHOT</version> + <relativePath>../../../</relativePath> + </parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>org.eclipse.ecf.tests.presence</artifactId> + <version>2.0.0-SNAPSHOT</version> + <packaging>eclipse-test-plugin</packaging> +</project> diff --git a/tests/bundles/org.eclipse.ecf.tests.protocol.msn/pom.xml b/tests/bundles/org.eclipse.ecf.tests.protocol.msn/pom.xml new file mode 100644 index 000000000..0924b58f0 --- /dev/null +++ b/tests/bundles/org.eclipse.ecf.tests.protocol.msn/pom.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>ecf-parent</artifactId> + <version>1.0.0-SNAPSHOT</version> + <relativePath>../../../</relativePath> + </parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>org.eclipse.ecf.tests.protocol.msn</artifactId> + <version>0.3.1</version> + <packaging>eclipse-test-plugin</packaging> +</project> diff --git a/tests/bundles/org.eclipse.ecf.tests.provider.datashare.nio/pom.xml b/tests/bundles/org.eclipse.ecf.tests.provider.datashare.nio/pom.xml new file mode 100644 index 000000000..40bf0dc14 --- /dev/null +++ b/tests/bundles/org.eclipse.ecf.tests.provider.datashare.nio/pom.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>ecf-parent</artifactId> + <version>1.0.0-SNAPSHOT</version> + <relativePath>../../../</relativePath> + </parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>org.eclipse.ecf.tests.provider.datashare.nio</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>eclipse-test-plugin</packaging> +</project> diff --git a/tests/bundles/org.eclipse.ecf.tests.provider.xmpp/pom.xml b/tests/bundles/org.eclipse.ecf.tests.provider.xmpp/pom.xml new file mode 100644 index 000000000..28538eb77 --- /dev/null +++ b/tests/bundles/org.eclipse.ecf.tests.provider.xmpp/pom.xml @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>ecf-parent</artifactId> + <version>1.0.0-SNAPSHOT</version> + <relativePath>../../../</relativePath> + </parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>org.eclipse.ecf.tests.provider.xmpp</artifactId> + <version>2.0.0-SNAPSHOT</version> + <packaging>eclipse-test-plugin</packaging> + + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>target-platform-configuration</artifactId> + <version>${tycho-version}</version> + <configuration> + <dependency-resolution> + <extraRequirements> + <requirement> + <type>eclipse-plugin</type> + <id>org.eclipse.ecf.provider.xmpp.datashare</id> + <versionRange>0.0.0</versionRange> + </requirement> + <requirement> + <type>eclipse-plugin</type> + <id>org.eclipse.ecf.provider.xmpp.remoteservice</id> + <versionRange>0.0.0</versionRange> + </requirement> + </extraRequirements> + </dependency-resolution> + </configuration> + </plugin> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-surefire-plugin</artifactId> + <version>${tycho-version}</version> + <configuration> + <systemProperties> + <smack.debug>false</smack.debug> + <chat.room.name>ecf-test-chatroom</chat.room.name> + <username0>ecf-test1@ecf-project.org;ecf-services.osuosl.org</username0> + <username1>ecf-test2@ecf-project.org;ecf-services.osuosl.org</username1> + <username2>ecf-test3@ecf-project.org;ecf-services.osuosl.org</username2> + <password0>8yxbe3f89f</password0> + <password1>8yxbe3f89f</password1> + <password2>8yxbe3f89f</password2> + </systemProperties> + </configuration> + </plugin> + </plugins> + </build> +</project> diff --git a/tests/bundles/org.eclipse.ecf.tests.provider.xmpp/src/org/eclipse/ecf/tests/provider/xmpp/remoteservice/RemoteServiceRetrieval.java b/tests/bundles/org.eclipse.ecf.tests.provider.xmpp/src/org/eclipse/ecf/tests/provider/xmpp/remoteservice/RemoteServiceRetrievalTest.java index e97bdc353..bae66ce4e 100644 --- a/tests/bundles/org.eclipse.ecf.tests.provider.xmpp/src/org/eclipse/ecf/tests/provider/xmpp/remoteservice/RemoteServiceRetrieval.java +++ b/tests/bundles/org.eclipse.ecf.tests.provider.xmpp/src/org/eclipse/ecf/tests/provider/xmpp/remoteservice/RemoteServiceRetrievalTest.java @@ -30,7 +30,7 @@ import org.eclipse.ecf.remoteservice.IRemoteServiceRegistration; import org.eclipse.ecf.tests.provider.xmpp.XMPPS; import org.osgi.framework.InvalidSyntaxException; -public class RemoteServiceRetrieval extends TestCase { +public class RemoteServiceRetrievalTest extends TestCase { private XMPPClient[] xmppClients; diff --git a/tests/bundles/org.eclipse.ecf.tests.remoteservice.generic/pom.xml b/tests/bundles/org.eclipse.ecf.tests.remoteservice.generic/pom.xml new file mode 100644 index 000000000..c271f3600 --- /dev/null +++ b/tests/bundles/org.eclipse.ecf.tests.remoteservice.generic/pom.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>ecf-parent</artifactId> + <version>1.0.0-SNAPSHOT</version> + <relativePath>../../../</relativePath> + </parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>org.eclipse.ecf.tests.remoteservice.generic</artifactId> + <version>2.1.0-SNAPSHOT</version> + <packaging>eclipse-test-plugin</packaging> +</project> diff --git a/tests/bundles/org.eclipse.ecf.tests.remoteservice.r-osgi/pom.xml b/tests/bundles/org.eclipse.ecf.tests.remoteservice.r-osgi/pom.xml new file mode 100644 index 000000000..ac4287d71 --- /dev/null +++ b/tests/bundles/org.eclipse.ecf.tests.remoteservice.r-osgi/pom.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>ecf-parent</artifactId> + <version>1.0.0-SNAPSHOT</version> + <relativePath>../../../</relativePath> + </parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>org.eclipse.ecf.tests.remoteservice.r-osgi</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>eclipse-test-plugin</packaging> + + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>target-platform-configuration</artifactId> + <version>${tycho-version}</version> + <configuration> + <dependency-resolution> + <extraRequirements> + <requirement> + <type>eclipse-plugin</type> + <id>org.eclipse.ecf.provider.r_osgi</id> + <versionRange>0.0.0</versionRange> + </requirement> + </extraRequirements> + </dependency-resolution> + </configuration> + </plugin> + </plugins> + </build> +</project> diff --git a/tests/bundles/org.eclipse.ecf.tests.remoteservice/pom.xml b/tests/bundles/org.eclipse.ecf.tests.remoteservice/pom.xml new file mode 100644 index 000000000..b543fb11b --- /dev/null +++ b/tests/bundles/org.eclipse.ecf.tests.remoteservice/pom.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>ecf-parent</artifactId> + <version>1.0.0-SNAPSHOT</version> + <relativePath>../../../</relativePath> + </parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>org.eclipse.ecf.tests.remoteservice</artifactId> + <version>2.1.0-SNAPSHOT</version> + <packaging>eclipse-test-plugin</packaging> +</project> diff --git a/tests/bundles/org.eclipse.ecf.tests.sharedobject/pom.xml b/tests/bundles/org.eclipse.ecf.tests.sharedobject/pom.xml new file mode 100644 index 000000000..a9e4a4cca --- /dev/null +++ b/tests/bundles/org.eclipse.ecf.tests.sharedobject/pom.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>ecf-parent</artifactId> + <version>1.0.0-SNAPSHOT</version> + <relativePath>../../../</relativePath> + </parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>org.eclipse.ecf.tests.sharedobject</artifactId> + <version>2.0.0-SNAPSHOT</version> + <packaging>eclipse-test-plugin</packaging> + + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>target-platform-configuration</artifactId> + <version>${tycho-version}</version> + <configuration> + <dependency-resolution> + <extraRequirements> + <requirement> + <type>eclipse-plugin</type> + <id>org.eclipse.ecf.provider.remoteservice</id> + <versionRange>0.0.0</versionRange> + </requirement> + </extraRequirements> + </dependency-resolution> + </configuration> + </plugin> + </plugins> + </build> +</project> diff --git a/tests/bundles/org.eclipse.ecf.tests.sharedobject/src/org/eclipse/ecf/tests/sharedobject/AbstractSharedObjectTest.java b/tests/bundles/org.eclipse.ecf.tests.sharedobject/src/org/eclipse/ecf/tests/sharedobject/AbstractSharedObjectTest.java index 11427bd42..93f254572 100644 --- a/tests/bundles/org.eclipse.ecf.tests.sharedobject/src/org/eclipse/ecf/tests/sharedobject/AbstractSharedObjectTest.java +++ b/tests/bundles/org.eclipse.ecf.tests.sharedobject/src/org/eclipse/ecf/tests/sharedobject/AbstractSharedObjectTest.java @@ -19,7 +19,7 @@ import org.eclipse.ecf.core.sharedobject.ISharedObjectManager; import org.eclipse.ecf.core.sharedobject.SharedObjectAddException; import org.eclipse.ecf.tests.ContainerAbstractTestCase; -public class AbstractSharedObjectTest extends ContainerAbstractTestCase { +public abstract class AbstractSharedObjectTest extends ContainerAbstractTestCase { public ISharedObjectContainer getClientSOContainer(int clientindex) { diff --git a/tests/bundles/org.eclipse.ecf.tests.sharedobject/src/org/eclipse/ecf/tests/sharedobject/SharedObjectContainerTest.java b/tests/bundles/org.eclipse.ecf.tests.sharedobject/src/org/eclipse/ecf/tests/sharedobject/SharedObjectContainerTest.java deleted file mode 100644 index f012b5aa5..000000000 --- a/tests/bundles/org.eclipse.ecf.tests.sharedobject/src/org/eclipse/ecf/tests/sharedobject/SharedObjectContainerTest.java +++ /dev/null @@ -1,14 +0,0 @@ -/******************************************************************************* -* Copyright (c) 2009 EclipseSource and others. All rights reserved. This -* program and the accompanying materials are made available under the terms of -* the Eclipse Public License v1.0 which accompanies this distribution, and is -* available at http://www.eclipse.org/legal/epl-v10.html -* -* Contributors: -* EclipseSource - initial API and implementation -******************************************************************************/ -package org.eclipse.ecf.tests.sharedobject; - -public class SharedObjectContainerTest extends AbstractSharedObjectTest { - -} diff --git a/tests/bundles/org.eclipse.ecf.tests.storage/pom.xml b/tests/bundles/org.eclipse.ecf.tests.storage/pom.xml new file mode 100644 index 000000000..0345a5dd1 --- /dev/null +++ b/tests/bundles/org.eclipse.ecf.tests.storage/pom.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>ecf-parent</artifactId> + <version>1.0.0-SNAPSHOT</version> + <relativePath>../../../</relativePath> + </parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>org.eclipse.ecf.tests.storage</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>eclipse-test-plugin</packaging> +</project> diff --git a/tests/bundles/org.eclipse.ecf.tests.sync/pom.xml b/tests/bundles/org.eclipse.ecf.tests.sync/pom.xml new file mode 100644 index 000000000..655597c2b --- /dev/null +++ b/tests/bundles/org.eclipse.ecf.tests.sync/pom.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>ecf-parent</artifactId> + <version>1.0.0-SNAPSHOT</version> + <relativePath>../../../</relativePath> + </parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>org.eclipse.ecf.tests.sync</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>eclipse-test-plugin</packaging> +</project> diff --git a/tests/bundles/org.eclipse.ecf.tests/pom.xml b/tests/bundles/org.eclipse.ecf.tests/pom.xml new file mode 100644 index 000000000..3650f4e03 --- /dev/null +++ b/tests/bundles/org.eclipse.ecf.tests/pom.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>ecf-parent</artifactId> + <version>1.0.0-SNAPSHOT</version> + <relativePath>../../../</relativePath> + </parent> + <groupId>org.eclipse.ecf</groupId> + <artifactId>org.eclipse.ecf.tests</artifactId> + <version>2.2.0-SNAPSHOT</version> + <packaging>eclipse-test-plugin</packaging> + + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>target-platform-configuration</artifactId> + <version>${tycho-version}</version> + <configuration> + <dependency-resolution> + <extraRequirements> + <requirement> + <type>eclipse-plugin</type> + <id>org.eclipse.ecf.provider.remoteservice</id> + <versionRange>0.0.0</versionRange> + </requirement> + </extraRequirements> + </dependency-resolution> + </configuration> + </plugin> + </plugins> + </build> +</project> |