JBoss Tools SVN: r42847 - in trunk/as/plugins: org.jboss.ide.eclipse.as.jmx.integration/src/org/jboss/ide/eclipse/as/jmx/integration and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2012-08-03 02:54:29 -0400 (Fri, 03 Aug 2012)
New Revision: 42847
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/PollThreadUtils.java
trunk/as/plugins/org.jboss.ide.eclipse.as.jmx.integration/src/org/jboss/ide/eclipse/as/jmx/integration/SecurityFailureHandler.java
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/launch/UserPassCredentialProvider.java
Log:
JBIDE-12377 code cleanup to assist in testing
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/PollThreadUtils.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/PollThreadUtils.java 2012-08-03 06:50:11 UTC (rev 42846)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/PollThreadUtils.java 2012-08-03 06:54:29 UTC (rev 42847)
@@ -202,18 +202,22 @@
}
}
+ public static IStatus isServerStarted(DelegatingServerBehavior jbsBehavior) {
+ IServerStatePoller poller = PollThreadUtils.getPoller(IServerStatePoller.SERVER_UP, jbsBehavior.getServer());
+ return isServerStarted(jbsBehavior.getServer(), poller);
+ }
+
/*
* A solution needs to be found here.
* Should ideally use the poller that the server says is its poller,
* but some pollers such as timeout poller cannot actively check
*/
- public static IStatus isServerStarted(DelegatingServerBehavior jbsBehavior) {
- IServerStatePoller poller = PollThreadUtils.getPoller(IServerStatePoller.SERVER_UP, jbsBehavior.getServer());
+ public static IStatus isServerStarted(IServer server,IServerStatePoller poller ) {
// Need to be able to FORCE the poller to poll immediately
if( poller == null || !(poller instanceof IServerStatePoller2))
poller = new WebPortPoller();
- IStatus started = ((IServerStatePoller2)poller).getCurrentStateSynchronous(jbsBehavior.getServer());
+ IStatus started = ((IServerStatePoller2)poller).getCurrentStateSynchronous(server);
// Trace
Trace.trace(Trace.STRING_FINER, "Checking if a server is already started: " + started.getMessage()); //$NON-NLS-1$
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.jmx.integration/src/org/jboss/ide/eclipse/as/jmx/integration/SecurityFailureHandler.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.jmx.integration/src/org/jboss/ide/eclipse/as/jmx/integration/SecurityFailureHandler.java 2012-08-03 06:50:11 UTC (rev 42846)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.jmx.integration/src/org/jboss/ide/eclipse/as/jmx/integration/SecurityFailureHandler.java 2012-08-03 06:54:29 UTC (rev 42847)
@@ -29,6 +29,8 @@
@Override
public boolean accepts(IServerProvider serverProvider,
List<String> requiredProperties) {
+ if( requiredProperties.size() > 2)
+ return false;
IServer s = serverProvider.getServer();
JBossServer jbs = ServerConverter.getJBossServer(s);
if( jbs != null && jbs.hasJMXProvider())
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/launch/UserPassCredentialProvider.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/launch/UserPassCredentialProvider.java 2012-08-03 06:50:11 UTC (rev 42846)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/launch/UserPassCredentialProvider.java 2012-08-03 06:54:29 UTC (rev 42847)
@@ -37,6 +37,8 @@
public boolean accepts(IServerProvider serverProvider,
List<String> requiredProperties) {
+ if( requiredProperties.size() > 2)
+ return false;
IServer s = serverProvider.getServer();
JBossServer jbs = ServerConverter.getJBossServer(s);
if( jbs != null && !jbs.hasJMXProvider())
12 years, 4 months
JBoss Tools SVN: r42846 - in trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core: classpath and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2012-08-03 02:50:11 -0400 (Fri, 03 Aug 2012)
New Revision: 42846
Added:
trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/classpath/ClasspathSuite.java
trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/classpath/EJB3SupportVerifierTest.java
trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/publishing/defect/PublishDefectSuite.java
trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/publishing/defect/PublishWeb2DeletesWeb1LibsTest.java
trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/polling/
trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/polling/AbstractTestInternalPoller.java
trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/polling/DummyYesOrNoPoller.java
trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/polling/PollThreadTest.java
trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/polling/PollerFailureHandler.java
trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/polling/TestInternalPoller.java
trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/utiltests/ConfigNameResolverTest.java
trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/utiltests/UnitedServerListenerTest.java
trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/utiltests/UtilsSuite.java
Removed:
trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/MySuite.java
Log:
JBIDE-12363 unit tests
Deleted: trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/MySuite.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/MySuite.java 2012-08-03 06:47:04 UTC (rev 42845)
+++ trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/MySuite.java 2012-08-03 06:50:11 UTC (rev 42846)
@@ -1,17 +0,0 @@
-package org.jboss.tools.as.test.core;
-
-import org.jboss.tools.as.test.core.classpath.ClasspathSuite;
-import org.jboss.tools.as.test.core.parametized.server.ParametizedSuite;
-import org.jboss.tools.as.test.core.utiltests.UtilsSuite;
-import org.junit.runner.RunWith;
-import org.junit.runners.Suite;
-import org.junit.runners.Suite.SuiteClasses;
-
-(a)RunWith(Suite.class)
-@SuiteClasses({
- ParametizedSuite.class,
- UtilsSuite.class,
- ClasspathSuite.class
-})
-public class MySuite {
-}
Added: trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/classpath/ClasspathSuite.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/classpath/ClasspathSuite.java (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/classpath/ClasspathSuite.java 2012-08-03 06:50:11 UTC (rev 42846)
@@ -0,0 +1,13 @@
+package org.jboss.tools.as.test.core.classpath;
+
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+import org.junit.runners.Suite.SuiteClasses;
+
+(a)RunWith(Suite.class)
+@SuiteClasses({
+ JEEClasspathContainerTest.class,
+ EJB3SupportVerifierTest.class
+})
+public class ClasspathSuite {
+}
Added: trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/classpath/EJB3SupportVerifierTest.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/classpath/EJB3SupportVerifierTest.java (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/classpath/EJB3SupportVerifierTest.java 2012-08-03 06:50:11 UTC (rev 42846)
@@ -0,0 +1,88 @@
+package org.jboss.tools.as.test.core.classpath;
+
+import java.util.Collection;
+import java.util.HashMap;
+
+import junit.framework.TestCase;
+
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.Path;
+import org.eclipse.jdt.core.IClasspathEntry;
+import org.eclipse.wst.server.core.IServer;
+import org.jboss.ide.eclipse.as.classpath.core.ejb3.EJB30SupportVerifier;
+import org.jboss.ide.eclipse.as.classpath.core.ejb3.EJB3ClasspathContainer;
+import org.jboss.ide.eclipse.as.core.util.IJBossToolingConstants;
+import org.jboss.tools.as.test.core.internal.utils.ServerCreationTestUtils;
+import org.jboss.tools.as.test.core.parametized.server.ServerParameterUtils;
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.Parameterized;
+import org.junit.runners.Parameterized.Parameters;
+
+/**
+ * This class will test properties of a default created server and runtime
+ * for properties that should never be null.
+ *
+ * @author rob
+ *
+ */
+@RunWith(value = Parameterized.class)
+public class EJB3SupportVerifierTest extends TestCase {
+ private String serverType;
+ private IServer server;
+ @Parameters
+ public static Collection<Object[]> data() {
+ return ServerParameterUtils.asCollection(ServerParameterUtils.getAllJBossServerTypeParamterers());
+ }
+
+ private static HashMap<String, Boolean> expected;
+ static {
+ expected = new HashMap<String, Boolean>();
+ expected.put(IJBossToolingConstants.DEPLOY_ONLY_SERVER, false);
+ expected.put(IJBossToolingConstants.SERVER_AS_32, false);
+ expected.put(IJBossToolingConstants.SERVER_AS_40, false);
+ expected.put(IJBossToolingConstants.SERVER_AS_42, true);
+ expected.put(IJBossToolingConstants.SERVER_AS_50, true);
+ expected.put(IJBossToolingConstants.SERVER_AS_51, true);
+ expected.put(IJBossToolingConstants.SERVER_AS_60, true);
+ expected.put(IJBossToolingConstants.SERVER_AS_70, true);
+ expected.put(IJBossToolingConstants.SERVER_AS_71, true);
+ expected.put(IJBossToolingConstants.SERVER_EAP_43, true);
+ expected.put(IJBossToolingConstants.SERVER_EAP_50, true);
+ expected.put(IJBossToolingConstants.SERVER_EAP_60, true);
+ }
+
+ public EJB3SupportVerifierTest(String serverType) {
+ this.serverType = serverType;
+ }
+
+ @Before
+ public void setUp() throws CoreException {
+ server = ServerCreationTestUtils.createServerWithRuntime(serverType, getClass().getName() + serverType);
+ }
+
+ @After
+ public void tearDown() throws Exception {
+ ServerCreationTestUtils.deleteAllServersAndRuntimes();
+ }
+
+ @Test
+ public void testEJB30Support() {
+ if( expected.get(serverType) == null )
+ fail("Test needs to be updated for new server type");
+ boolean supported = EJB30SupportVerifier.verify(server.getRuntime());
+ assertEquals(new Boolean(supported), new Boolean(expected.get(serverType)));
+ IPath containerPath = new Path(EJB3ClasspathContainer.CONTAINER_ID).append(server.getName());
+ EJB3ClasspathContainer container = new EJB3ClasspathContainer(containerPath, null);
+ IClasspathEntry[] entries = container.getClasspathEntries();
+ if( supported ) {
+ assertTrue("server type " + serverType + " supports ejb3 but receives no jars from this classpath container",
+ entries != null && entries.length > 0);
+ } else {
+ assertTrue(entries != null && entries.length == 0);
+ }
+ }
+}
Added: trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/publishing/defect/PublishDefectSuite.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/publishing/defect/PublishDefectSuite.java (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/publishing/defect/PublishDefectSuite.java 2012-08-03 06:50:11 UTC (rev 42846)
@@ -0,0 +1,14 @@
+package org.jboss.tools.as.test.core.parametized.server.publishing.defect;
+
+import org.jboss.tools.as.test.core.parametized.server.publishing.defect.RepublishDefectTest;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+import org.junit.runners.Suite.SuiteClasses;
+
+(a)RunWith(Suite.class)
+@SuiteClasses({
+ PublishWeb2DeletesWeb1LibsTest.class,
+ RepublishDefectTest.class
+})
+public class PublishDefectSuite {
+}
Added: trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/publishing/defect/PublishWeb2DeletesWeb1LibsTest.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/publishing/defect/PublishWeb2DeletesWeb1LibsTest.java (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/publishing/defect/PublishWeb2DeletesWeb1LibsTest.java 2012-08-03 06:50:11 UTC (rev 42846)
@@ -0,0 +1,135 @@
+package org.jboss.tools.as.test.core.parametized.server.publishing.defect;
+
+import junit.framework.TestCase;
+
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.NullProgressMonitor;
+import org.eclipse.wst.common.project.facet.core.internal.FacetedProjectNature;
+import org.eclipse.wst.server.core.IModule;
+import org.eclipse.wst.server.core.IServer;
+import org.eclipse.wst.server.core.IServerWorkingCopy;
+import org.eclipse.wst.server.core.ServerUtil;
+import org.jboss.ide.eclipse.as.core.publishers.PublishUtil;
+import org.jboss.ide.eclipse.as.core.server.IDeployableServer;
+import org.jboss.ide.eclipse.as.core.util.IJBossToolingConstants;
+import org.jboss.ide.eclipse.as.core.util.ServerConverter;
+import org.jboss.tools.as.test.core.internal.utils.ResourceUtils;
+import org.jboss.tools.as.test.core.internal.utils.ServerCreationTestUtils;
+import org.jboss.tools.jmx.core.test.util.TestProjectProvider;
+import org.jboss.tools.test.util.JobUtils;
+import org.junit.Before;
+import org.junit.Test;
+
+
+public class PublishWeb2DeletesWeb1LibsTest extends TestCase {
+ TestProjectProvider[] providers = null;
+ IProject[] projects = null;
+ IServer server;
+
+ @Before
+ public void setUp() throws Exception {
+ TestProjectProvider util1Provider = new TestProjectProvider("org.jboss.tools.as.test.core", null,
+ "UserForum1Util1", true);
+ IProject util1Project = util1Provider.getProject();
+ util1Project.refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor());
+
+ TestProjectProvider util2Provider = new TestProjectProvider("org.jboss.tools.as.test.core", null,
+ "UserForum1Util2", true);
+ IProject util2Project = util2Provider.getProject();
+ util2Project.refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor());
+
+ TestProjectProvider ejb1Provider = new TestProjectProvider("org.jboss.tools.as.test.core", null,
+ "UserForum1EJB1", true);
+ IProject ejb1Project = ejb1Provider.getProject();
+ ejb1Project.refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor());
+
+
+ TestProjectProvider web1Provider = new TestProjectProvider("org.jboss.tools.as.test.core", null,
+ "UserForum1Web1", true);
+ IProject web1Project = web1Provider.getProject();
+ web1Project.refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor());
+
+ TestProjectProvider web2Provider = new TestProjectProvider("org.jboss.tools.as.test.core", null,
+ "UserForum1Web2", true);
+ IProject web2Project = web2Provider.getProject();
+ web2Project.refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor());
+
+ JobUtils.waitForIdle();
+ projects = new IProject[]{ util1Project, util2Project, ejb1Project, web1Project, web2Project};
+ providers = new TestProjectProvider[]{util1Provider, util2Provider, ejb1Provider, web1Provider, web2Provider};
+
+ for( int i = 0; i < projects.length; i++ ) {
+ assertTrue(projects[i].exists());
+ assertTrue(projects[i].isAccessible());
+ assertTrue(projects[i].isNatureEnabled( FacetedProjectNature.NATURE_ID ));
+ }
+
+ server = ServerCreationTestUtils.createServerWithRuntime(IJBossToolingConstants.DEPLOY_ONLY_SERVER, getClass().getName());
+ }
+
+ private void addModuleAndFullPublish(String projectName) throws CoreException {
+ IDeployableServer ds = ServerConverter.getDeployableServer(server);
+ server = addModuleToServer(findModuleForProject(projectName));
+ server.publish(IServer.PUBLISH_FULL, new NullProgressMonitor());
+ JobUtils.waitForIdle();
+ }
+
+ @Test
+ public void testFullPublishes() throws CoreException {
+ addModuleAndFullPublish("UserForum1EJB1");
+ verifyEJBAndJarExist();
+
+ addModuleAndFullPublish("UserForum1Web1");
+ verifyEJBAndJarExist();
+ verifyWeb1AndLibsExist();
+
+ addModuleAndFullPublish("UserForum1Web2");
+ verifyEJBAndJarExist();
+ verifyWeb1AndLibsExist();
+ verifyWeb2AndLibsExist();
+
+ }
+
+
+ private void verifyEJBAndJarExist() {
+ // Make sure ejb and libs exist
+ IDeployableServer ds = ServerConverter.getDeployableServer(server);
+ IPath fullPath = PublishUtil.getDeployPath(findArrayForProject("UserForum1EJB1"), ds);
+ assertTrue(fullPath.toFile().exists());
+ assertTrue(fullPath.append("UserForum1Util1.jar").toFile().exists());
+ }
+ private void verifyWeb1AndLibsExist() {
+ // Make sure ejb and libs exist
+ IDeployableServer ds = ServerConverter.getDeployableServer(server);
+ IPath fullPath = PublishUtil.getDeployPath(findArrayForProject("UserForum1Web1"), ds);
+ assertTrue(fullPath.toFile().exists());
+ assertTrue(fullPath.append("WEB-INF").append("lib").append("UserForum1Util1.jar").toFile().exists());
+ assertTrue(fullPath.append("WEB-INF").append("lib").append("UserForum1Util2.jar").toFile().exists());
+ }
+ private void verifyWeb2AndLibsExist() {
+ // Make sure ejb and libs exist
+ IDeployableServer ds = ServerConverter.getDeployableServer(server);
+ IPath fullPath = PublishUtil.getDeployPath(findArrayForProject("UserForum1Web2"), ds);
+ assertTrue(fullPath.toFile().exists());
+ assertTrue(fullPath.append("WEB-INF").append("lib").append("UserForum1Util1.jar").toFile().exists());
+ assertTrue(fullPath.append("WEB-INF").append("lib").append("UserForum1Util2.jar").toFile().exists());
+ }
+
+ public IModule[] findArrayForProject(String projectName) {
+ return new IModule[] { findModuleForProject(projectName) };
+ }
+
+ public IModule findModuleForProject(String projectName) {
+ return ServerUtil.getModule(ResourceUtils.findProject(projectName));
+ }
+
+ public IServer addModuleToServer(IModule module) throws CoreException {
+ IServerWorkingCopy wc = server.createWorkingCopy();
+ wc.modifyModules(new IModule[]{module}, new IModule[0], new NullProgressMonitor());
+ return wc.save(true, null);
+ }
+
+}
Added: trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/polling/AbstractTestInternalPoller.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/polling/AbstractTestInternalPoller.java (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/polling/AbstractTestInternalPoller.java 2012-08-03 06:50:11 UTC (rev 42846)
@@ -0,0 +1,53 @@
+package org.jboss.tools.as.test.core.polling;
+
+import java.util.List;
+import java.util.Properties;
+
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.wst.server.core.IServer;
+import org.jboss.ide.eclipse.as.core.server.IServerStatePoller;
+import org.jboss.ide.eclipse.as.core.server.IServerStatePoller2;
+import org.jboss.ide.eclipse.as.core.server.internal.ServerStatePollerType;
+
+public class AbstractTestInternalPoller implements IServerStatePoller2 {
+ private ServerStatePollerType type;
+ private IServer server;
+ public AbstractTestInternalPoller() {
+ }
+
+ public ServerStatePollerType getPollerType() {
+ return type;
+ }
+ public void setPollerType(ServerStatePollerType type) {
+ this.type = type;
+ }
+ public void beginPolling(IServer server, boolean expectedState)
+ throws PollingException {
+ this.server = server;
+ }
+ public IServer getServer() {
+ return server;
+ }
+ public boolean isComplete() throws PollingException, RequiresInfoException {
+ return false;
+ }
+ public boolean getState() throws PollingException, RequiresInfoException {
+ return IServerStatePoller.SERVER_DOWN;
+ }
+ public void cleanup() {
+ }
+ public void cancel(int type) {
+ }
+ public int getTimeoutBehavior() {
+ return 0;
+ }
+ public List<String> getRequiredProperties() {
+ return null;
+ }
+ public void provideCredentials(Properties credentials) {
+ }
+ public IStatus getCurrentStateSynchronous(IServer server) {
+ return null;
+ }
+
+}
Added: trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/polling/DummyYesOrNoPoller.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/polling/DummyYesOrNoPoller.java (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/polling/DummyYesOrNoPoller.java 2012-08-03 06:50:11 UTC (rev 42846)
@@ -0,0 +1,47 @@
+package org.jboss.tools.as.test.core.polling;
+
+import java.util.List;
+import java.util.Properties;
+
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.wst.server.core.IServer;
+import org.jboss.ide.eclipse.as.core.server.IServerStatePoller2;
+import org.jboss.ide.eclipse.as.core.server.internal.ServerStatePollerType;
+
+public class DummyYesOrNoPoller implements IServerStatePoller2 {
+ private ServerStatePollerType type;
+ public ServerStatePollerType getPollerType() {
+ return type;
+ }
+ public IStatus getCurrentStateSynchronous(IServer server) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+ public void setPollerType(ServerStatePollerType type) {
+ this.type = type;
+ }
+ public void beginPolling(IServer server, boolean expectedState)
+ throws PollingException {
+ }
+ public boolean isComplete() throws PollingException, RequiresInfoException {
+ return false;
+ }
+ public boolean getState() throws PollingException, RequiresInfoException {
+ return false;
+ }
+ public void cleanup() {
+ }
+ public void cancel(int type) {
+ }
+ public int getTimeoutBehavior() {
+ return 0;
+ }
+ public List<String> getRequiredProperties() {
+ return null;
+ }
+ public void provideCredentials(Properties credentials) {
+ }
+ public IServer getServer() {
+ return null;
+ }
+}
Added: trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/polling/PollThreadTest.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/polling/PollThreadTest.java (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/polling/PollThreadTest.java 2012-08-03 06:50:11 UTC (rev 42846)
@@ -0,0 +1,249 @@
+package org.jboss.tools.as.test.core.polling;
+
+import java.util.Arrays;
+import java.util.List;
+
+import junit.framework.TestCase;
+
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Status;
+import org.eclipse.wst.server.core.IServer;
+import org.eclipse.wst.server.core.IServerWorkingCopy;
+import org.eclipse.wst.server.core.internal.Server;
+import org.jboss.ide.eclipse.as.core.ExtensionManager;
+import org.jboss.ide.eclipse.as.core.extensions.polling.ProcessTerminatedPoller;
+import org.jboss.ide.eclipse.as.core.extensions.polling.WebPortPoller;
+import org.jboss.ide.eclipse.as.core.server.IPollResultListener;
+import org.jboss.ide.eclipse.as.core.server.IProvideCredentials;
+import org.jboss.ide.eclipse.as.core.server.IServerProvider;
+import org.jboss.ide.eclipse.as.core.server.IServerStatePoller;
+import org.jboss.ide.eclipse.as.core.server.IServerStatePoller.PollingException;
+import org.jboss.ide.eclipse.as.core.server.IServerStatePoller.RequiresInfoException;
+import org.jboss.ide.eclipse.as.core.server.internal.PollThread;
+import org.jboss.ide.eclipse.as.core.server.internal.v7.JBoss7ManagerServicePoller;
+import org.jboss.ide.eclipse.as.core.util.IJBossToolingConstants;
+import org.jboss.ide.eclipse.as.core.util.PollThreadUtils;
+import org.jboss.tools.as.test.core.ASMatrixTests;
+import org.jboss.tools.as.test.core.internal.utils.ServerCreationTestUtils;
+import org.jboss.tools.test.util.JobUtils;
+import org.junit.After;
+import org.junit.Test;
+
+public class PollThreadTest extends TestCase {
+
+ @After
+ public void cleanup() throws Exception {
+ ASMatrixTests.cleanup();
+ }
+
+ @Test
+ public void testPollersFound() {
+ assertNotNull(PollThreadUtils.getPoller(WebPortPoller.WEB_POLLER_ID));
+ assertNotNull(PollThreadUtils.getPoller(ProcessTerminatedPoller.POLLER_ID));
+ assertNotNull(PollThreadUtils.getPoller("org.jboss.ide.eclipse.as.core.runtime.server.JMXPoller"));
+ assertNotNull(PollThreadUtils.getPoller(JBoss7ManagerServicePoller.POLLER_ID));
+ }
+
+ private IServer createServer(String addendum) throws CoreException {
+ return ServerCreationTestUtils.createServerWithRuntime(IJBossToolingConstants.SERVER_AS_32,
+ IJBossToolingConstants.SERVER_AS_32 + addendum);
+ }
+
+ @Test
+ public void testPollerStringAttributes() throws CoreException {
+ IServer s = createServer("a");
+ IServerWorkingCopy wc = s.createWorkingCopy();
+ wc.setAttribute(IJBossToolingConstants.STARTUP_POLLER_KEY, "startupPoller");
+ wc.setAttribute(IJBossToolingConstants.SHUTDOWN_POLLER_KEY, "shutdownPoller");
+ s = wc.save(true, null);
+ JobUtils.waitForIdle();
+ String startupPoller = PollThreadUtils.getPollerId(IServerStatePoller.SERVER_UP, s);
+ String shutdownPoller = PollThreadUtils.getPollerId(IServerStatePoller.SERVER_DOWN, s);
+ assertEquals("startupPoller", startupPoller);
+ assertEquals("shutdownPoller", shutdownPoller);
+ }
+
+ @Test
+ public void testPollerResolution() throws CoreException {
+ IServer s = createServer("b");
+ IServerWorkingCopy wc = s.createWorkingCopy();
+ wc.setAttribute(IJBossToolingConstants.STARTUP_POLLER_KEY, TestInternalPoller.POLLER_ID);
+ wc.setAttribute(IJBossToolingConstants.SHUTDOWN_POLLER_KEY, TestInternalPoller.POLLER_ID);
+ s = wc.save(true, null);
+ JobUtils.waitForIdle();
+ String startupPoller = PollThreadUtils.getPollerId(IServerStatePoller.SERVER_UP, s);
+ String shutdownPoller = PollThreadUtils.getPollerId(IServerStatePoller.SERVER_DOWN, s);
+ assertEquals(TestInternalPoller.POLLER_ID, startupPoller);
+ assertEquals(TestInternalPoller.POLLER_ID, shutdownPoller);
+ IServerStatePoller testPoller = PollThreadUtils.getPoller(TestInternalPoller.POLLER_ID);
+ assertNotNull(testPoller);
+ assertEquals(testPoller.getClass(), TestInternalPoller.class);
+ }
+
+ private static class ServerProvider implements IServerProvider {
+ private IServer server;
+ public ServerProvider(IServer server) {
+ this.server = server;
+ }
+ public IServer getServer() {
+ return server;
+ }
+ }
+
+ private List<String> asList(String[] a) {
+ return Arrays.asList(a);
+ }
+
+ @Test
+ public void testInternalRequiresMoreInfoHandlerResolved() throws Exception {
+ IServer s = createServer("c");
+ IServerProvider pro = new ServerProvider(s);
+ String[] atts = new String[]{"a","b"};
+ IProvideCredentials provider = ExtensionManager.getDefault().getFirstCredentialProvider(pro,asList(atts));
+ assertNotNull(provider);
+ assertFalse(provider instanceof PollerFailureHandler);
+ atts = new String[]{"a","b","c"};
+ provider = ExtensionManager.getDefault().getFirstCredentialProvider(pro,asList(atts));
+ assertNotNull(provider);
+ assertTrue(provider instanceof PollerFailureHandler);
+ atts = new String[]{"a","b","c","d"};
+ provider = ExtensionManager.getDefault().getFirstCredentialProvider(pro,asList(atts));
+ assertNull(provider);
+ }
+
+ @Test
+ public void testSynchronousResults() throws Exception {
+ IServer s = createServer("d");
+ IServerStatePoller currentlyUp = new AbstractTestInternalPoller() {
+ public IStatus getCurrentStateSynchronous(IServer server) {
+ return Status.OK_STATUS;
+ }
+ };
+ IStatus retStat = PollThreadUtils.isServerStarted(s, currentlyUp);
+ assertTrue(retStat.isOK());
+
+ IServerStatePoller currentlyDown = new AbstractTestInternalPoller() {
+ public IStatus getCurrentStateSynchronous(IServer server) {
+ return new Status(IStatus.ERROR, ASMatrixTests.PLUGIN_ID, "failure");
+ }
+ };
+ retStat = PollThreadUtils.isServerStarted(s, currentlyDown);
+ assertFalse(retStat.isOK());
+ }
+
+ @Test
+ public void testCancelReceivedDuringStartupPoll() throws Exception {
+ IServer s = createServer("d");
+ ((Server)s).setServerState(IServer.STATE_STARTING);
+ final int[] canceledHow = new int[]{-1};
+ final boolean[] cleanedUp = new boolean[]{false};
+ IServerStatePoller doNothingForever = new AbstractTestInternalPoller() {
+ public void cancel(int type) {
+ canceledHow[0] = type;
+ }
+ public void cleanup() {
+ cleanedUp[0] = true;
+ }
+ };
+ PollerListener listener = new PollerListener();
+ PollThread pt = new PollThread(IServerStatePoller.SERVER_UP, doNothingForever, listener, s);
+ pt.start();
+ try {
+ Thread.sleep(500);
+ } catch(InterruptedException ie) {}
+ assertFalse(listener.anythingAsserted);
+ assertNull(listener.assertedWhat);
+ PollThreadUtils.cancelPolling("Some Message", pt);
+ assertEquals(canceledHow[0], IServerStatePoller.CANCEL);
+ try {
+ Thread.sleep(200);
+ } catch(InterruptedException ie){}
+ assertFalse(listener.anythingAsserted);
+ assertEquals(null, listener.assertedWhat);
+ assertTrue(cleanedUp[0]);
+ }
+
+ @Test
+ public void testCancelReceivedDuringShutdownPoll() throws Exception {
+ IServer s = createServer("e");
+ ((Server)s).setServerState(IServer.STATE_STOPPING);
+ final int[] canceledHow = new int[]{-1};
+ final boolean[] cleanedUp = new boolean[]{false};
+ IServerStatePoller doNothingForever = new AbstractTestInternalPoller() {
+ public boolean getState() throws PollingException, RequiresInfoException {
+ return IServerStatePoller.SERVER_UP;
+ }
+ public void cancel(int type) {
+ canceledHow[0] = type;
+ }
+ public void cleanup() {
+ cleanedUp[0] = true;
+ }
+ };
+ PollerListener listener = new PollerListener();
+ PollThread pt = new PollThread(IServerStatePoller.SERVER_DOWN, doNothingForever, listener, s);
+ pt.start();
+ try {
+ Thread.sleep(500);
+ } catch(InterruptedException ie) {}
+ assertFalse(listener.anythingAsserted);
+ assertNull(listener.assertedWhat);
+ PollThreadUtils.cancelPolling("Some Message", pt);
+ assertEquals(canceledHow[0], IServerStatePoller.CANCEL);
+ try {
+ Thread.sleep(200);
+ } catch(InterruptedException ie){}
+ assertFalse(listener.anythingAsserted);
+ assertEquals(null, listener.assertedWhat);
+ assertTrue(cleanedUp[0]);
+ }
+
+ private static class PollerListener implements IPollResultListener {
+
+ private boolean anythingAsserted = false;
+ private boolean[] assertedWhat = null;
+ public void stateAsserted(boolean expectedState, boolean currentState) {
+ anythingAsserted = true;
+ assertedWhat = new boolean[]{expectedState, currentState};
+ }
+
+ @Override
+ public void stateNotAsserted(boolean expectedState, boolean currentState) {
+ anythingAsserted = true;
+ assertedWhat = new boolean[]{expectedState, currentState};
+ }
+ }
+
+ @Test
+ public void testPollerFailureCancelsThread() throws Exception {
+ IServer s = createServer("g");
+ ((Server)s).setServerState(IServer.STATE_STARTING);
+ final int[] canceledHow = new int[]{-1};
+ final boolean[] cleanedUp = new boolean[]{false};
+ IServerStatePoller failPoller = new AbstractTestInternalPoller() {
+ public boolean isComplete() throws PollingException, RequiresInfoException {
+ throw new PollingException("Automatic failure");
+ }
+ public void cancel(int type) {
+ canceledHow[0] = type;
+ }
+ public void cleanup() {
+ cleanedUp[0] = true;
+ }
+ };
+ PollerListener listener = new PollerListener();
+ PollThread pt = new PollThread(IServerStatePoller.SERVER_UP, failPoller, listener, s);
+ pt.start();
+ try {
+ Thread.sleep(500);
+ } catch(InterruptedException ie) {}
+ assertTrue(listener.anythingAsserted);
+ assertTrue(listener.assertedWhat[0]);
+ assertFalse(listener.assertedWhat[1]);
+ assertTrue(cleanedUp[0]);
+ assertEquals(canceledHow[0], IServerStatePoller.CANCEL);
+ assertFalse(pt.isAlive());
+ }
+
+}
Added: trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/polling/PollerFailureHandler.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/polling/PollerFailureHandler.java (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/polling/PollerFailureHandler.java 2012-08-03 06:50:11 UTC (rev 42846)
@@ -0,0 +1,29 @@
+package org.jboss.tools.as.test.core.polling;
+
+import java.util.List;
+
+import org.jboss.ide.eclipse.as.core.server.INeedCredentials;
+import org.jboss.ide.eclipse.as.core.server.IProvideCredentials;
+import org.jboss.ide.eclipse.as.core.server.IServerProvider;
+
+public class PollerFailureHandler implements IProvideCredentials {
+
+ public PollerFailureHandler() {
+ }
+
+ @Override
+ public boolean accepts(IServerProvider serverProvider,
+ List<String> requiredProperties) {
+ int size = requiredProperties.size();
+ if( size <= 2 )
+ return false;
+ if( size > 3 )
+ return false;
+ return true;
+ }
+
+ @Override
+ public void handle(INeedCredentials inNeed, List<String> requiredProperties) {
+ }
+
+}
Added: trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/polling/TestInternalPoller.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/polling/TestInternalPoller.java (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/polling/TestInternalPoller.java 2012-08-03 06:50:11 UTC (rev 42846)
@@ -0,0 +1,15 @@
+package org.jboss.tools.as.test.core.polling;
+
+import java.util.List;
+import java.util.Properties;
+
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.wst.server.core.IServer;
+import org.jboss.ide.eclipse.as.core.server.IServerStatePoller2;
+import org.jboss.ide.eclipse.as.core.server.internal.ServerStatePollerType;
+
+public class TestInternalPoller extends AbstractTestInternalPoller implements IServerStatePoller2 {
+ public static final String POLLER_ID = "org.jboss.tools.as.test.core.poller.TestInternalPoller";
+
+ // TODO
+}
Added: trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/utiltests/ConfigNameResolverTest.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/utiltests/ConfigNameResolverTest.java (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/utiltests/ConfigNameResolverTest.java 2012-08-03 06:50:11 UTC (rev 42846)
@@ -0,0 +1,94 @@
+package org.jboss.tools.as.test.core.utiltests;
+
+import java.util.Collection;
+
+import junit.framework.TestCase;
+
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.wst.server.core.IServer;
+import org.jboss.ide.eclipse.as.core.resolvers.ConfigNameResolver;
+import org.jboss.ide.eclipse.as.core.server.internal.JBossServer;
+import org.jboss.ide.eclipse.as.core.util.ServerConverter;
+import org.jboss.ide.eclipse.as.core.util.ServerUtil;
+import org.jboss.tools.as.test.core.internal.utils.ServerCreationTestUtils;
+import org.jboss.tools.as.test.core.parametized.server.ServerParameterUtils;
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.Parameterized;
+import org.junit.runners.Parameterized.Parameters;
+
+/**
+ * This class will test properties of a default created server and runtime
+ * for properties that should never be null.
+ *
+ * @author rob
+ *
+ */
+@RunWith(value = Parameterized.class)
+public class ConfigNameResolverTest extends TestCase {
+ private String serverType;
+ private IServer server;
+ @Parameters
+ public static Collection<Object[]> data() {
+ return ServerParameterUtils.asCollection(ServerParameterUtils.getAllJBossServerTypeParamterers());
+ }
+
+ public ConfigNameResolverTest(String serverType) {
+ this.serverType = serverType;
+ }
+
+ @Before
+ public void setUp() throws CoreException {
+ server = ServerCreationTestUtils.createServerWithRuntime(serverType, getClass().getName() + serverType);
+ }
+
+ @After
+ public void tearDown() throws Exception {
+ ServerCreationTestUtils.deleteAllServersAndRuntimes();
+ }
+
+ @Test
+ public void testConfigNameResolver() {
+ String[] vars = ConfigNameResolver.ALL_VARIABLES;
+ for( int i = 0; i < vars.length; i++ ) {
+ String var = ConfigNameResolver.getVariablePattern(vars[i]);
+ String result = new ConfigNameResolver().performSubstitutions(var, server.getName());
+ JBossServer jbs = ServerConverter.getJBossServer(server);
+ if( jbs == null ) {
+ assertEquals("", result);
+ } else if( vars[i].equals(ConfigNameResolver.JBOSS_CONFIG))
+ testConfig(var, result, ServerUtil.isJBoss7(server));
+ else if( vars[i].equals(ConfigNameResolver.JBOSS_CONFIG_DIR))
+ testConfigDir(var, result, ServerUtil.isJBoss7(server));
+ else if( vars[i].equals(ConfigNameResolver.JBOSS_AS7_CONFIG_FILE))
+ testAS7ConfigFile(var, result, ServerUtil.isJBoss7(server));
+ else
+ fail("Variable " + vars[i] + " not tested");
+ }
+ }
+
+ private void testConfig(String var, String result, boolean isAS7 ) {
+ if( !isAS7)
+ assertEquals(result, "default");
+ else
+ assertEquals(result, "");
+ }
+ private void testConfigDir(String var, String result, boolean isAS7 ) {
+ if( !isAS7 ) {
+ assertNotSame(result, var);
+ assertNotSame(result, "");
+ } else
+ // This is more documenting current behaviour than what it *should* be.
+ // Oh well :(
+ assertEquals(result, server.getRuntime().getLocation().toString());
+ }
+ private void testAS7ConfigFile(String var, String result, boolean isAS7 ) {
+ if( isAS7 )
+ assertEquals(result, "standalone.xml");
+ else
+ assertEquals(result, "");
+ }
+
+}
Added: trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/utiltests/UnitedServerListenerTest.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/utiltests/UnitedServerListenerTest.java (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/utiltests/UnitedServerListenerTest.java 2012-08-03 06:50:11 UTC (rev 42846)
@@ -0,0 +1,48 @@
+package org.jboss.tools.as.test.core.utiltests;
+
+import junit.framework.TestCase;
+
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.wst.server.core.IServer;
+import org.eclipse.wst.server.core.IServerWorkingCopy;
+import org.eclipse.wst.server.core.ServerEvent;
+import org.jboss.ide.eclipse.as.core.server.UnitedServerListener;
+import org.jboss.ide.eclipse.as.core.server.UnitedServerListenerManager;
+import org.jboss.ide.eclipse.as.core.util.IJBossToolingConstants;
+import org.jboss.tools.as.test.core.internal.utils.ServerCreationTestUtils;
+import org.jboss.tools.test.util.JobUtils;
+import org.junit.After;
+import org.junit.Test;
+
+public class UnitedServerListenerTest extends TestCase {
+ @Test
+ public void testExistingServerGetsUpdates() throws CoreException {
+ final boolean[] changes = new boolean[]{false,false};
+ IServer s1 = ServerCreationTestUtils.createServerWithRuntime(IJBossToolingConstants.DEPLOY_ONLY_SERVER, "name1");
+ UnitedServerListener l = new UnitedServerListener() {
+ public boolean canHandleServer(IServer server) {
+ return true;
+ }
+ public void serverChanged(IServer server) {
+ changes[0] = true;
+ }
+ public void serverChanged(ServerEvent event) {
+ changes[1] = true;
+ }
+ };
+ UnitedServerListenerManager.getDefault().addListener(l);
+
+ IServerWorkingCopy wc = s1.createWorkingCopy();
+ wc.setAttribute("test1", "test2");
+ s1 = wc.save(true, null);
+ assertTrue(changes[0]);
+ s1.publish(IServer.PUBLISH_FULL, null);
+ JobUtils.waitForIdle(1000);
+ assertTrue(changes[1]);
+ }
+
+ @After
+ public void cleanup() throws Exception {
+ ServerCreationTestUtils.deleteAllServersAndRuntimes();
+ }
+}
Added: trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/utiltests/UtilsSuite.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/utiltests/UtilsSuite.java (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/utiltests/UtilsSuite.java 2012-08-03 06:50:11 UTC (rev 42846)
@@ -0,0 +1,15 @@
+package org.jboss.tools.as.test.core.utiltests;
+
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+import org.junit.runners.Suite.SuiteClasses;
+
+(a)RunWith(Suite.class)
+@SuiteClasses({
+ ConfigNameResolverTest.class,
+ ArgsUtilTest.class,
+ ExpressionResolverUtilTest.class,
+ UnitedServerListenerTest.class
+})
+public class UtilsSuite {
+}
12 years, 4 months
JBoss Tools SVN: r42845 - trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2012-08-03 02:47:04 -0400 (Fri, 03 Aug 2012)
New Revision: 42845
Added:
trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/ASToolsTestSuite.java
Log:
JBIDE-12363 unit tests
Added: trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/ASToolsTestSuite.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/ASToolsTestSuite.java (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/ASToolsTestSuite.java 2012-08-03 06:47:04 UTC (rev 42845)
@@ -0,0 +1,20 @@
+package org.jboss.tools.as.test.core;
+
+import org.jboss.tools.as.test.core.classpath.ClasspathSuite;
+import org.jboss.tools.as.test.core.parametized.server.ParametizedSuite;
+import org.jboss.tools.as.test.core.parametized.server.publishing.defect.PublishWeb2DeletesWeb1LibsTest;
+import org.jboss.tools.as.test.core.polling.PollThreadTest;
+import org.jboss.tools.as.test.core.utiltests.UtilsSuite;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+import org.junit.runners.Suite.SuiteClasses;
+
+(a)RunWith(Suite.class)
+@SuiteClasses({
+ ParametizedSuite.class,
+ UtilsSuite.class,
+ PollThreadTest.class,
+ ClasspathSuite.class
+})
+public class ASToolsTestSuite {
+}
12 years, 4 months
JBoss Tools SVN: r42844 - in trunk/as/tests/org.jboss.tools.as.test.core: META-INF and 5 other directories.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2012-08-03 02:45:42 -0400 (Fri, 03 Aug 2012)
New Revision: 42844
Modified:
trunk/as/tests/org.jboss.tools.as.test.core/META-INF/MANIFEST.MF
trunk/as/tests/org.jboss.tools.as.test.core/plugin.xml
trunk/as/tests/org.jboss.tools.as.test.core/pom.xml
trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/TestConstants.java
trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/classpath/JEEClasspathContainerTest.java
trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/internal/utils/ServerCreationTestUtils.java
trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/ServerBeanLoader3Test.java
trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/ServerHomeTest.java
trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/publishing/AbstractComponentPublishingTest.java
trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/publishing/AbstractPublishingTest.java
trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/publishing/PublishingSuite.java
Log:
JBIDE-12363 unit tests
Modified: trunk/as/tests/org.jboss.tools.as.test.core/META-INF/MANIFEST.MF
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/META-INF/MANIFEST.MF 2012-08-03 06:43:53 UTC (rev 42843)
+++ trunk/as/tests/org.jboss.tools.as.test.core/META-INF/MANIFEST.MF 2012-08-03 06:45:42 UTC (rev 42844)
@@ -1,8 +1,8 @@
hManifest-Version: 1.0
Bundle-ManifestVersion: 2
-Bundle-Name: %Bundlehugs-Name.0
+Bundle-Name: %BundleName.0
Bundle-SymbolicName: org.jboss.tools.as.test.core;singleton:=true
-Bundle-Version: 1.0.0.qualifier
+Bundle-Version: 2.4.0.qualifier
Bundle-Localization: plugin
Bundle-Activator: org.jboss.tools.as.test.core.ASMatrixTests
Require-Bundle: org.eclipse.ui,
Modified: trunk/as/tests/org.jboss.tools.as.test.core/plugin.xml
===================================================================
(Binary files differ)
Modified: trunk/as/tests/org.jboss.tools.as.test.core/pom.xml
===================================================================
(Binary files differ)
Modified: trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/TestConstants.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/TestConstants.java 2012-08-03 06:43:53 UTC (rev 42843)
+++ trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/TestConstants.java 2012-08-03 06:45:42 UTC (rev 42844)
@@ -14,6 +14,11 @@
public static final String JBOSS_AS_52_HOME = System.getProperty("jbosstools.test.jboss.home.5.2", "C:\\apps\\jboss\\jboss-5.2.0.GA\\");
public static final String JBOSS_AS_60_HOME = System.getProperty("jbosstools.test.jboss.home.6.0", "C:\\apps\\jboss\\jboss-6.0.0.GA\\");
public static final String JBOSS_AS_70_HOME = System.getProperty("jbosstools.test.jboss.home.7.0", "C:\\apps\\jboss\\jboss-7.0.0.GA\\");
+ public static final String JBOSS_AS_71_HOME = System.getProperty("jbosstools.test.jboss.home.7.1", "C:\\apps\\jboss\\jboss-7.1.0.GA\\");
+ public static final String JBOSS_EAP_43_HOME = System.getProperty("jbosstools.test.jboss.home.eap.4.3", "C:\\apps\\jboss\\jboss-eap-4.3.0.GA\\");
+ public static final String JBOSS_EAP_50_HOME = System.getProperty("jbosstools.test.jboss.home.eap.5.0", "C:\\apps\\jboss\\jboss-eap-5.0.0.GA\\");
+ public static final String JBOSS_EAP_60_HOME = System.getProperty("jbosstools.test.jboss.home.eap.6.0", "C:\\apps\\jboss\\jboss-eap-6.0.0.GA\\");
+
public static final String JRE_14_HOME = System.getProperty("jbosstools.test.jre.1.4", "C:\\apps\\jboss\\jboss-5.2.0.GA\\");
public static final String JRE_5_HOME = System.getProperty("jbosstools.test.jre.5", "C:\\apps\\jboss\\jboss-5.2.0.GA\\");
public static final String JRE_6_HOME = System.getProperty("jbosstools.test.jre.6", "C:\\apps\\jboss\\jboss-5.2.0.GA\\");
@@ -29,7 +34,10 @@
serverTypeToHome.put(IJBossToolingConstants.SERVER_AS_51, JBOSS_AS_51_HOME);
serverTypeToHome.put(IJBossToolingConstants.SERVER_AS_60, JBOSS_AS_60_HOME);
serverTypeToHome.put(IJBossToolingConstants.SERVER_AS_70, JBOSS_AS_70_HOME);
- //serverTypeToHome.put(IJBossToolingConstants.SERVER_AS_71, JBOSS_AS_32_HOME);
+ serverTypeToHome.put(IJBossToolingConstants.SERVER_AS_71, JBOSS_AS_71_HOME);
+ serverTypeToHome.put(IJBossToolingConstants.SERVER_EAP_43, JBOSS_EAP_43_HOME);
+ serverTypeToHome.put(IJBossToolingConstants.SERVER_EAP_50, JBOSS_EAP_50_HOME);
+ serverTypeToHome.put(IJBossToolingConstants.SERVER_EAP_60, JBOSS_EAP_60_HOME);
}
public static String getServerHome(String serverTypeId) {
Modified: trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/classpath/JEEClasspathContainerTest.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/classpath/JEEClasspathContainerTest.java 2012-08-03 06:43:53 UTC (rev 42843)
+++ trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/classpath/JEEClasspathContainerTest.java 2012-08-03 06:45:42 UTC (rev 42844)
@@ -53,7 +53,7 @@
private IProject project;
protected void setUp() throws Exception {
- provider = new TestProjectProvider("org.jboss.ide.eclipse.as.test", null, "basicwebproject", true);
+ provider = new TestProjectProvider("org.jboss.tools.as.test.core", null, "basicwebproject", true);
project = provider.getProject();
project.refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor());
}
Modified: trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/internal/utils/ServerCreationTestUtils.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/internal/utils/ServerCreationTestUtils.java 2012-08-03 06:43:53 UTC (rev 42843)
+++ trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/internal/utils/ServerCreationTestUtils.java 2012-08-03 06:45:42 UTC (rev 42844)
@@ -130,6 +130,7 @@
String loc = TestConstants.getServerHome(serverType);
assertNotNull("Runtime location for server type " + serverType + " not set in test suite", loc);
File locFile = new Path(loc).toFile();
+ assertTrue(locFile.exists());
return createServerWithRuntime(serverType, name, locFile);
}
Modified: trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/ServerBeanLoader3Test.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/ServerBeanLoader3Test.java 2012-08-03 06:43:53 UTC (rev 42843)
+++ trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/ServerBeanLoader3Test.java 2012-08-03 06:45:42 UTC (rev 42844)
@@ -69,7 +69,11 @@
String fLoc = TestConstants.getServerHome(serverType);
if( fLoc == null )
fail("Test Suite has no server home for server type " + serverType);
- inner_testServerBeanLoaderForFolder(new File(fLoc));
+ Pair p = expected.get(serverType);
+ inner_testServerBeanLoaderForFolder(new File(fLoc), p.type, p.version);
+ if( p.type.equals(JBossServerType.EAP_STD)) {
+ inner_testServerBeanLoaderForFolder(new File(fLoc).getParentFile(), JBossServerType.EAP, p.version);
+ }
}
/*
@@ -80,10 +84,11 @@
File serverDir = (ServerCreationTestUtils.createMockServerLayout(serverType));
if( serverDir == null || !serverDir.exists())
fail("Creation of mock server type " + serverType + " has failed.");
- inner_testServerBeanLoaderForFolder(serverDir);
+ Pair p = expected.get(serverType);
+ inner_testServerBeanLoaderForFolder(serverDir, p.type, p.version);
}
- private void inner_testServerBeanLoaderForFolder(File serverDir) {
+ private void inner_testServerBeanLoaderForFolder(File serverDir, JBossServerType expectedType, String expectedVersion) {
assertNotNull(serverType);
IServerType itype = ServerCore.findServerType(serverType);
if( itype == null )
@@ -93,10 +98,10 @@
ServerBeanLoader loader = new ServerBeanLoader(serverDir);
JBossServerType type = loader.getServerType();
- assertTrue(type.equals(expected.get(serverType).type));
+ assertEquals(expectedType, type);
String fullVersion = loader.getFullServerVersion();
- assertTrue(fullVersion + " does not begin with " + expected.get(serverType).version,
- fullVersion.startsWith(expected.get(serverType).version));
+ assertTrue(fullVersion + " does not begin with " + expectedVersion,
+ fullVersion.startsWith(expectedVersion));
assertEquals(loader.getServerAdapterId(), serverType);
}
}
Modified: trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/ServerHomeTest.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/ServerHomeTest.java 2012-08-03 06:43:53 UTC (rev 42843)
+++ trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/ServerHomeTest.java 2012-08-03 06:45:42 UTC (rev 42844)
@@ -35,8 +35,8 @@
String loc = TestConstants.getServerHome(serverType);
if( loc == null )
fail( "Test Runtime for " + serverType + " is not set properly in the build" );
- if (!new File(loc).exists())
+ boolean exists = new File(loc).exists();
+ if (!exists)
fail(serverType + " (" + loc + ") does not exist.");
}
-
}
Modified: trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/publishing/AbstractComponentPublishingTest.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/publishing/AbstractComponentPublishingTest.java 2012-08-03 06:43:53 UTC (rev 42843)
+++ trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/publishing/AbstractComponentPublishingTest.java 2012-08-03 06:45:42 UTC (rev 42844)
@@ -47,6 +47,10 @@
jarFolder = refFolder;
}
+ protected void printConstructor() {
+ System.out.println(getClass().getName() + ": " + param_serverType + ", " + param_zip + ", " + param_deployLoc + ", " + param_perModOverride + ", " + jarName + ", " + jarFolder);
+ }
+
protected void completeSetUp() {
// Keep it local for REAL publishes
wc.setAttribute(IDeployableServer.SERVER_MODE, "local");
Modified: trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/publishing/AbstractPublishingTest.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/publishing/AbstractPublishingTest.java 2012-08-03 06:43:53 UTC (rev 42843)
+++ trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/publishing/AbstractPublishingTest.java 2012-08-03 06:45:42 UTC (rev 42844)
@@ -17,6 +17,7 @@
import org.eclipse.wst.server.core.IServerWorkingCopy;
import org.eclipse.wst.server.core.internal.ServerPreferences;
import org.eclipse.wst.server.core.model.IModuleFile;
+import org.eclipse.wst.validation.ValidationFramework;
import org.jboss.ide.eclipse.archives.core.util.internal.TrueZipUtil;
import org.jboss.ide.eclipse.as.core.publishers.LocalPublishMethod;
import org.jboss.ide.eclipse.as.core.publishers.PublishUtil;
@@ -68,16 +69,22 @@
protected IModule primaryModule;
public AbstractPublishingTest(String serverType, String zip, String deployLoc, String perMod) {
- System.out.println(serverType + ", " + zip + ", " + deployLoc + ", " + perMod);
this.param_serverType = serverType;
this.param_zip = zip;
this.param_deployLoc = deployLoc;
this.param_perModOverride = perMod;
}
+
+ protected void printConstructor() {
+ System.out.println(getClass().getName() + ": " + param_serverType + ", " + param_zip + ", " + param_deployLoc + ", " + param_perModOverride);
+ }
+
@Before
public void setUp() throws Exception {
+ printConstructor();
ServerPreferences.getInstance().setAutoPublishing(false);
+ ValidationFramework.getDefault().suspendAllValidation(true);
JobUtils.waitForIdle();
server = ServerCreationTestUtils.createMockServerWithRuntime(param_serverType, getClass().getName() + param_serverType);
wc = server.createWorkingCopy();
@@ -94,7 +101,11 @@
@After
public void tearDown() throws Exception {
- ASMatrixTests.cleanup();
+ try {
+ ASMatrixTests.cleanup();
+ } finally {
+ ValidationFramework.getDefault().suspendAllValidation(false);
+ }
}
protected void setMockPublishMethod4(IServerWorkingCopy wc) {
Modified: trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/publishing/PublishingSuite.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/publishing/PublishingSuite.java 2012-08-03 06:43:53 UTC (rev 42843)
+++ trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/publishing/PublishingSuite.java 2012-08-03 06:45:42 UTC (rev 42844)
@@ -1,6 +1,6 @@
package org.jboss.tools.as.test.core.parametized.server.publishing;
-import org.jboss.tools.as.test.core.parametized.server.publishing.defect.RepublishDefectTest;
+import org.jboss.tools.as.test.core.parametized.server.publishing.defect.PublishDefectSuite;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;
@@ -17,9 +17,9 @@
DeploymentAssemblyWorkspaceArchiveVarWarTest.class,
DeploymentAssemblyWorkspaceArchiveVarNestedWarTest.class,
DeploymentAssemblyFilesetReferenceTest.class,
- RepublishDefectTest.class,
SingleDeployableFileTest.class,
- SingleDeployableFolderTest.class
+ SingleDeployableFolderTest.class,
+ PublishDefectSuite.class
})
public class PublishingSuite {
}
12 years, 4 months
JBoss Tools SVN: r42843 - in trunk/as/tests/org.jboss.tools.as.test.core: projects and 57 other directories.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2012-08-03 02:43:53 -0400 (Fri, 03 Aug 2012)
New Revision: 42843
Added:
trunk/as/tests/org.jboss.tools.as.test.core/projects/
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ear/
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ear/.project
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ear/.settings/
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ear/.settings/org.eclipse.wst.common.component
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ear/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ear/EarContent/
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ear/EarContent/META-INF/
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ear/EarContent/META-INF/application.xml
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/.classpath
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/.project
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/.settings/
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/.settings/org.eclipse.jdt.core.prefs
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/.settings/org.eclipse.jst.common.project.facet.core.prefs
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/.settings/org.eclipse.wst.common.component
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/build/
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/build/classes/
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/build/classes/META-INF/
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/build/classes/META-INF/MANIFEST.MF
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/build/classes/META-INF/ejb-jar.xml
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/build/classes/my/
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/build/classes/my/bean/
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/build/classes/my/bean/Tiger.class
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/build/classes/my/bean/TigerBean.class
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/ejbModule/
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/ejbModule/META-INF/
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/ejbModule/META-INF/MANIFEST.MF
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/ejbModule/META-INF/ejb-jar.xml
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/ejbModule/my/
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/ejbModule/my/bean/
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/ejbModule/my/bean/Tiger.java
trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/ejbModule/my/bean/TigerBean.java
trunk/as/tests/org.jboss.tools.as.test.core/projects/SimpleEar/
trunk/as/tests/org.jboss.tools.as.test.core/projects/SimpleEar/.project
trunk/as/tests/org.jboss.tools.as.test.core/projects/SimpleEar/.settings/
trunk/as/tests/org.jboss.tools.as.test.core/projects/SimpleEar/.settings/org.eclipse.wst.common.component
trunk/as/tests/org.jboss.tools.as.test.core/projects/SimpleEar/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/as/tests/org.jboss.tools.as.test.core/projects/SimpleEar/EarContent/
trunk/as/tests/org.jboss.tools.as.test.core/projects/SimpleEar/EarContent/META-INF/
trunk/as/tests/org.jboss.tools.as.test.core/projects/TempProject/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/.classpath
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/.project
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/.settings/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/.settings/org.eclipse.jdt.core.prefs
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/.settings/org.eclipse.wst.common.component
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/.settings/org.jboss.ide.eclipse.as.core.prefs
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/ejbModule/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/ejbModule/META-INF/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/ejbModule/META-INF/MANIFEST.MF
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/ejbModule/my/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/ejbModule/my/pack/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/ejbModule/my/pack/TigerBean.java
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/ejbModule/my/pack/TigerBeanBean.java
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/.classpath
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/.project
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/.settings/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/.settings/org.eclipse.jdt.core.prefs
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/.settings/org.eclipse.wst.common.component
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/.settings/org.jboss.ide.eclipse.as.core.prefs
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/src/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/src/META-INF/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/src/META-INF/MANIFEST.MF
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/src/util/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/src/util/pack/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/src/util/pack/MyModel.java
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/.classpath
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/.project
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/.settings/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/.settings/org.eclipse.jdt.core.prefs
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/.settings/org.eclipse.wst.common.component
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/.settings/org.jboss.ide.eclipse.as.core.prefs
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/src/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/src/META-INF/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/src/META-INF/MANIFEST.MF
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/src/utilweb/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/src/utilweb/pack/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/src/utilweb/pack/UtilWebModel.java
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.classpath
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.project
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.settings/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.settings/.jsdtscope
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.settings/org.eclipse.jdt.core.prefs
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.settings/org.eclipse.wst.common.component
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.settings/org.eclipse.wst.jsdt.ui.superType.container
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.settings/org.eclipse.wst.jsdt.ui.superType.name
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.settings/org.jboss.ide.eclipse.as.core.prefs
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/WebContent/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/WebContent/META-INF/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/WebContent/META-INF/MANIFEST.MF
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/WebContent/WEB-INF/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/WebContent/WEB-INF/lib/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/src/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/src/dweb1/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/src/dweb1/serv/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/src/dweb1/serv/WebMe1.java
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.classpath
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.project
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.settings/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.settings/.jsdtscope
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.settings/org.eclipse.jdt.core.prefs
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.settings/org.eclipse.wst.common.component
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.settings/org.eclipse.wst.jsdt.ui.superType.container
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.settings/org.eclipse.wst.jsdt.ui.superType.name
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.settings/org.jboss.ide.eclipse.as.core.prefs
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/WebContent/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/WebContent/META-INF/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/WebContent/META-INF/MANIFEST.MF
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/WebContent/WEB-INF/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/WebContent/WEB-INF/lib/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/src/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/src/web2/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/src/web2/serv/
trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/src/web2/serv/Web2Servlet.java
trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/
trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/.classpath
trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/.project
trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/.settings/
trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/.settings/org.eclipse.jdt.core.prefs
trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/.settings/org.eclipse.jst.common.project.facet.core.prefs
trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/.settings/org.eclipse.wst.common.component
trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/WebContent/
trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/WebContent/META-INF/
trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/WebContent/META-INF/MANIFEST.MF
trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/WebContent/WEB-INF/
trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/WebContent/WEB-INF/lib/
trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/WebContent/WEB-INF/web.xml
trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/src/
Log:
JBIDE-12363 unit tests
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ear/.project
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ear/.project
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ear/.settings/org.eclipse.wst.common.component
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ear/.settings/org.eclipse.wst.common.component
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ear/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ear/.settings/org.eclipse.wst.common.project.facet.core.xml
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ear/EarContent/META-INF/application.xml
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ear/EarContent/META-INF/application.xml
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/.classpath
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/.classpath
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/.project
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/.project
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/.settings/org.eclipse.jdt.core.prefs 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,7 @@
+#Thu Jul 19 17:20:50 PDT 2007
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/.settings/org.eclipse.jst.common.project.facet.core.prefs
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/.settings/org.eclipse.jst.common.project.facet.core.prefs (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/.settings/org.eclipse.jst.common.project.facet.core.prefs 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,3 @@
+#Thu Jul 17 15:17:36 EDT 2008
+classpath.helper/org.eclipse.jst.server.core.container\:\:org.jboss.ide.eclipse.as.core.server.runtime.runtimeTarget\:\:JBoss\ 4.2\ Runtime/owners=jst.ejb\:3.0
+eclipse.preferences.version=1
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/.settings/org.eclipse.wst.common.component
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/.settings/org.eclipse.wst.common.component
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/.settings/org.eclipse.wst.common.project.facet.core.xml
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/build/classes/META-INF/MANIFEST.MF
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/build/classes/META-INF/MANIFEST.MF (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/build/classes/META-INF/MANIFEST.MF 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,2 @@
+Manifest-Version: 1.0
+
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/build/classes/META-INF/ejb-jar.xml
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/build/classes/META-INF/ejb-jar.xml
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/build/classes/my/bean/Tiger.class
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/build/classes/my/bean/Tiger.class
___________________________________________________________________
Added: svn:mime-type
+ application/x-java-applet
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/build/classes/my/bean/TigerBean.class
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/build/classes/my/bean/TigerBean.class
___________________________________________________________________
Added: svn:mime-type
+ application/x-java-applet
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/ejbModule/META-INF/MANIFEST.MF
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/ejbModule/META-INF/MANIFEST.MF (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/ejbModule/META-INF/MANIFEST.MF 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,2 @@
+Manifest-Version: 1.0
+
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/ejbModule/META-INF/ejb-jar.xml
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/ejbModule/META-INF/ejb-jar.xml
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/ejbModule/my/bean/Tiger.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/ejbModule/my/bean/Tiger.java (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/ejbModule/my/bean/Tiger.java 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,8 @@
+package my.bean;
+
+import javax.ejb.Remote;
+
+@Remote
+public interface Tiger {
+
+}
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/ejbModule/my/bean/TigerBean.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/ejbModule/my/bean/TigerBean.java (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/JBIDE2512b-ejb/ejbModule/my/bean/TigerBean.java 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,8 @@
+package my.bean;
+
+import javax.ejb.Stateless;
+import my.bean.Tiger;
+
+public @Stateless class TigerBean implements Tiger {
+
+}
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/SimpleEar/.project
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/SimpleEar/.project
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/SimpleEar/.settings/org.eclipse.wst.common.component
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/SimpleEar/.settings/org.eclipse.wst.common.component
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/SimpleEar/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/SimpleEar/.settings/org.eclipse.wst.common.project.facet.core.xml
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/.classpath
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/.classpath
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/.project
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/.project
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/.settings/org.eclipse.jdt.core.prefs 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,7 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/.settings/org.eclipse.wst.common.component
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/.settings/org.eclipse.wst.common.component
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/.settings/org.eclipse.wst.common.project.facet.core.xml
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/.settings/org.jboss.ide.eclipse.as.core.prefs
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/.settings/org.jboss.ide.eclipse.as.core.prefs (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/.settings/org.jboss.ide.eclipse.as.core.prefs 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+org.jboss.ide.eclipse.as.core.singledeployable.deployableList=
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/ejbModule/META-INF/MANIFEST.MF
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/ejbModule/META-INF/MANIFEST.MF (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/ejbModule/META-INF/MANIFEST.MF 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path: UserForum1Util1.jar
+
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/ejbModule/my/pack/TigerBean.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/ejbModule/my/pack/TigerBean.java (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/ejbModule/my/pack/TigerBean.java 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,8 @@
+package my.pack;
+
+import javax.ejb.Remote;
+
+@Remote
+public interface TigerBean {
+ public void doSomething();
+}
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/ejbModule/my/pack/TigerBeanBean.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/ejbModule/my/pack/TigerBeanBean.java (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1EJB1/ejbModule/my/pack/TigerBeanBean.java 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,12 @@
+package my.pack;
+
+import javax.ejb.Stateless;
+
+import util.pack.MyModel;
+
+public @Stateless class TigerBeanBean implements TigerBean {
+ public void doSomething() {
+ MyModel model = new MyModel();
+ System.out.println(model);
+ }
+}
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/.classpath
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/.classpath
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/.project
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/.project
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/.settings/org.eclipse.jdt.core.prefs 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,7 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/.settings/org.eclipse.wst.common.component
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/.settings/org.eclipse.wst.common.component
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/.settings/org.eclipse.wst.common.project.facet.core.xml
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/.settings/org.jboss.ide.eclipse.as.core.prefs
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/.settings/org.jboss.ide.eclipse.as.core.prefs (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/.settings/org.jboss.ide.eclipse.as.core.prefs 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+org.jboss.ide.eclipse.as.core.singledeployable.deployableList=
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/src/META-INF/MANIFEST.MF
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/src/META-INF/MANIFEST.MF (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/src/META-INF/MANIFEST.MF 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/src/util/pack/MyModel.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/src/util/pack/MyModel.java (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util1/src/util/pack/MyModel.java 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,5 @@
+package util.pack;
+
+public class MyModel {
+
+}
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/.classpath
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/.classpath
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/.project
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/.project
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/.settings/org.eclipse.jdt.core.prefs 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,7 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/.settings/org.eclipse.wst.common.component
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/.settings/org.eclipse.wst.common.component
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/.settings/org.eclipse.wst.common.project.facet.core.xml
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/.settings/org.jboss.ide.eclipse.as.core.prefs
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/.settings/org.jboss.ide.eclipse.as.core.prefs (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/.settings/org.jboss.ide.eclipse.as.core.prefs 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+org.jboss.ide.eclipse.as.core.singledeployable.deployableList=
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/src/META-INF/MANIFEST.MF
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/src/META-INF/MANIFEST.MF (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/src/META-INF/MANIFEST.MF 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/src/utilweb/pack/UtilWebModel.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/src/utilweb/pack/UtilWebModel.java (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Util2/src/utilweb/pack/UtilWebModel.java 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,5 @@
+package utilweb.pack;
+
+public class UtilWebModel {
+
+}
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.classpath
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.classpath
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.project
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.project
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.settings/.jsdtscope
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.settings/.jsdtscope
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.settings/org.eclipse.jdt.core.prefs 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,7 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.settings/org.eclipse.wst.common.component
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.settings/org.eclipse.wst.common.component
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.settings/org.eclipse.wst.common.project.facet.core.xml
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.settings/org.eclipse.wst.jsdt.ui.superType.container
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.settings/org.eclipse.wst.jsdt.ui.superType.container (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.settings/org.eclipse.wst.jsdt.ui.superType.container 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1 @@
+org.eclipse.wst.jsdt.launching.baseBrowserLibrary
\ No newline at end of file
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.settings/org.eclipse.wst.jsdt.ui.superType.name
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.settings/org.eclipse.wst.jsdt.ui.superType.name (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.settings/org.eclipse.wst.jsdt.ui.superType.name 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1 @@
+Window
\ No newline at end of file
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.settings/org.jboss.ide.eclipse.as.core.prefs
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.settings/org.jboss.ide.eclipse.as.core.prefs (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/.settings/org.jboss.ide.eclipse.as.core.prefs 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+org.jboss.ide.eclipse.as.core.singledeployable.deployableList=
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/WebContent/META-INF/MANIFEST.MF
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/WebContent/META-INF/MANIFEST.MF (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/WebContent/META-INF/MANIFEST.MF 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/src/dweb1/serv/WebMe1.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/src/dweb1/serv/WebMe1.java (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web1/src/dweb1/serv/WebMe1.java 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,44 @@
+package dweb1.serv;
+
+import java.io.IOException;
+import javax.servlet.ServletException;
+import javax.servlet.annotation.WebServlet;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import util.pack.MyModel;
+import utilweb.pack.UtilWebModel;
+
+/**
+ * Servlet implementation class WebMe1
+ */
+@WebServlet("/WebMe1")
+public class WebMe1 extends HttpServlet {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * @see HttpServlet#HttpServlet()
+ */
+ public WebMe1() {
+ super();
+ // TODO Auto-generated constructor stub
+ }
+
+ /**
+ * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
+ */
+ protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
+ MyModel m = new MyModel();
+ UtilWebModel m2 = new UtilWebModel();
+ response.getOutputStream().print("Web1 Servlet");
+ }
+
+ /**
+ * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
+ */
+ protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
+ // TODO Auto-generated method stub
+ }
+
+}
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.classpath
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.classpath
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.project
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.project
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.settings/.jsdtscope
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.settings/.jsdtscope
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.settings/org.eclipse.jdt.core.prefs 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,7 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.settings/org.eclipse.wst.common.component
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.settings/org.eclipse.wst.common.component
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.settings/org.eclipse.wst.common.project.facet.core.xml
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.settings/org.eclipse.wst.jsdt.ui.superType.container
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.settings/org.eclipse.wst.jsdt.ui.superType.container (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.settings/org.eclipse.wst.jsdt.ui.superType.container 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1 @@
+org.eclipse.wst.jsdt.launching.baseBrowserLibrary
\ No newline at end of file
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.settings/org.eclipse.wst.jsdt.ui.superType.name
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.settings/org.eclipse.wst.jsdt.ui.superType.name (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.settings/org.eclipse.wst.jsdt.ui.superType.name 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1 @@
+Window
\ No newline at end of file
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.settings/org.jboss.ide.eclipse.as.core.prefs
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.settings/org.jboss.ide.eclipse.as.core.prefs (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/.settings/org.jboss.ide.eclipse.as.core.prefs 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+org.jboss.ide.eclipse.as.core.singledeployable.deployableList=
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/WebContent/META-INF/MANIFEST.MF
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/WebContent/META-INF/MANIFEST.MF (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/WebContent/META-INF/MANIFEST.MF 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/src/web2/serv/Web2Servlet.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/src/web2/serv/Web2Servlet.java (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/UserForum1Web2/src/web2/serv/Web2Servlet.java 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,44 @@
+package web2.serv;
+
+import java.io.IOException;
+import javax.servlet.ServletException;
+import javax.servlet.annotation.WebServlet;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import util.pack.MyModel;
+import utilweb.pack.UtilWebModel;
+
+/**
+ * Servlet implementation class Web2Servlet
+ */
+@WebServlet("/Web2Servlet")
+public class Web2Servlet extends HttpServlet {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * @see HttpServlet#HttpServlet()
+ */
+ public Web2Servlet() {
+ super();
+ // TODO Auto-generated constructor stub
+ }
+
+ /**
+ * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
+ */
+ protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
+ MyModel m1 = new MyModel();
+ UtilWebModel m2 = new UtilWebModel();
+ System.out.println("HELLO FROM WEB2");
+ }
+
+ /**
+ * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
+ */
+ protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
+ // TODO Auto-generated method stub
+ }
+
+}
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/.classpath
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/.classpath
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/.project
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/.project
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/.settings/org.eclipse.jdt.core.prefs 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,7 @@
+#Mon Aug 27 15:45:41 CEST 2007
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/.settings/org.eclipse.jst.common.project.facet.core.prefs
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/.settings/org.eclipse.jst.common.project.facet.core.prefs (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/.settings/org.eclipse.jst.common.project.facet.core.prefs 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,2 @@
+#Mon Aug 27 15:45:43 CEST 2007
+eclipse.preferences.version=1
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/.settings/org.eclipse.wst.common.component
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/.settings/org.eclipse.wst.common.component
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/.settings/org.eclipse.wst.common.project.facet.core.xml
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/WebContent/META-INF/MANIFEST.MF
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/WebContent/META-INF/MANIFEST.MF (rev 0)
+++ trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/WebContent/META-INF/MANIFEST.MF 2012-08-03 06:43:53 UTC (rev 42843)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Added: trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/WebContent/WEB-INF/web.xml
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.tools.as.test.core/projects/basicwebproject/WebContent/WEB-INF/web.xml
___________________________________________________________________
Added: svn:mime-type
+ application/xml
12 years, 4 months
JBoss Tools SVN: r42842 - in trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console: actions and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2012-08-02 10:42:27 -0400 (Thu, 02 Aug 2012)
New Revision: 42842
Added:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/actions/RenameAction.java
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/ConfigurationsViewActionGroup.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/DynamicSQLPreviewView.java
Log:
https://issues.jboss.org/browse/JBIDE-8237
Rename console configuration with usual Eclipse rename short cuts (F2 in Windows)
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java 2012-08-02 14:34:25 UTC (rev 42841)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java 2012-08-02 14:42:27 UTC (rev 42842)
@@ -83,6 +83,12 @@
public static String OpenSourceAction_open_source_file;
public static String OpenSourceAction_source_file_for_class_not_found;
public static String RefreshAction_refresh;
+ public static String RenameAction_name;
+ public static String RenameAction_dialog_title;
+ public static String RenameAction_dialog_message;
+ public static String RenameAction_error_title;
+ public static String RenameAction_error_name;
+ public static String RenameAction_existing_name;
//
public static String ExporterDefinition_problem_creating_exporter_class;
public static String ExporterFactory_output_dir_in_does_not_exist;
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties 2012-08-02 14:34:25 UTC (rev 42841)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties 2012-08-02 14:42:27 UTC (rev 42842)
@@ -76,6 +76,13 @@
OpenSourceAction_open_source_file=Open Source File
OpenSourceAction_source_file_for_class_not_found=Source file for class ''{0}'' not found.
RefreshAction_refresh=Refresh
+RenameAction_name=Rename;
+RenameAction_dialog_title=Rename Dialog
+RenameAction_dialog_message=Please input a new Console Configuration name
+RenameAction_error_title=Error occurred on Console Configuration rename
+RenameAction_error_name=Error occurred on Console Configuration rename
+RenameAction_error_name=Invalid name, please type in a valid name!
+RenameAction_existing_name=This name already in use, please enter another one
ExporterDefinition_problem_creating_exporter_class=Problem while creating exporter class {0}
ExporterFactory_output_dir_in_does_not_exist=Output directory ''{0}'' in {1} does not exist.
Added: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/actions/RenameAction.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/actions/RenameAction.java (rev 0)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/actions/RenameAction.java 2012-08-02 14:42:27 UTC (rev 42842)
@@ -0,0 +1,114 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.hibernate.eclipse.console.actions;
+
+import java.util.Iterator;
+
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.debug.core.DebugPlugin;
+import org.eclipse.debug.core.ILaunchConfiguration;
+import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
+import org.eclipse.debug.core.ILaunchManager;
+import org.eclipse.jface.dialogs.IInputValidator;
+import org.eclipse.jface.dialogs.InputDialog;
+import org.eclipse.jface.viewers.StructuredViewer;
+import org.eclipse.jface.window.Window;
+import org.eclipse.swt.widgets.Shell;
+import org.eclipse.ui.actions.SelectionListenerAction;
+import org.hibernate.console.ConsoleConfiguration;
+import org.hibernate.eclipse.console.HibernateConsoleMessages;
+import org.hibernate.eclipse.console.HibernateConsolePlugin;
+import org.hibernate.eclipse.console.utils.LaunchHelper;
+
+/**
+ *
+ * @author Dmitry Geraskov (geraskov(a)gmail.com)
+ *
+ */
+public class RenameAction extends SelectionListenerAction {
+
+ public static final String RENAME_ACTIONID = "actionid.rename"; //$NON-NLS-1$
+
+ private final StructuredViewer viewer;
+ private String imageFilePath = "icons/images/refresh_run.gif"; //$NON-NLS-1$
+
+ public RenameAction(StructuredViewer viewer) {
+ super(HibernateConsoleMessages.RenameAction_name);
+ this.viewer = viewer;
+ setImageDescriptor(HibernateConsolePlugin.getImageDescriptor(imageFilePath ));
+ setId(RENAME_ACTIONID);
+ }
+
+ public void run() {
+ for (Iterator<?> i = getSelectedNonResources().iterator(); i.hasNext();) {
+ Object node = i.next();
+ if (!(node instanceof ConsoleConfiguration)) {
+ continue;
+ }
+ if (renameConsoleConfiuration((ConsoleConfiguration) node)){
+ viewer.refresh(node);
+ }
+ break;
+ }
+ }
+
+ public boolean renameConsoleConfiuration(ConsoleConfiguration config){
+ ILaunchConfiguration launchConfiguration = null;;
+ try {
+ launchConfiguration = LaunchHelper.findHibernateLaunchConfig(config.getName());
+ } catch (CoreException e) {
+ HibernateConsolePlugin.getDefault().showError(null, HibernateConsoleMessages.RenameAction_error_title, e);
+ }
+ return launchConfiguration != null ? renameLaunchConfiguration(launchConfiguration) : false;
+ }
+
+ public boolean renameLaunchConfiguration(ILaunchConfiguration launchConfiguration){
+ Shell mParentShell = null;
+ IInputValidator inputValidator = new NameValidator();
+ InputDialog d = new InputDialog(
+ mParentShell,
+ HibernateConsoleMessages.RenameAction_dialog_title,
+ HibernateConsoleMessages.RenameAction_dialog_message,
+ launchConfiguration.getName(), inputValidator);
+ if (d.open() == Window.OK ){
+ try {
+ ILaunchConfigurationWorkingCopy wc = launchConfiguration.getWorkingCopy();
+ wc.rename(d.getValue());
+ wc.doSave();
+ return true;
+ } catch (CoreException e) {
+ HibernateConsolePlugin.getDefault().showError(mParentShell, HibernateConsoleMessages.RenameAction_error_title, e);
+ }
+ }
+
+ return false;
+ }
+
+}
+
+class NameValidator implements IInputValidator {
+
+ @Override
+ public String isValid(String newText) {
+ ILaunchManager mgr = DebugPlugin.getDefault().getLaunchManager();
+ try {
+ if (mgr.isExistingLaunchConfigurationName(newText))
+ return HibernateConsoleMessages.RenameAction_existing_name;
+ if (mgr.isValidLaunchConfigurationName(newText))
+ return null;
+ }
+ catch(Exception iae) {
+ HibernateConsolePlugin.getDefault().log(iae);
+ }
+ return HibernateConsoleMessages.RenameAction_error_name;
+ }
+
+}
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/ConfigurationsViewActionGroup.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/ConfigurationsViewActionGroup.java 2012-08-02 14:34:25 UTC (rev 42841)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/ConfigurationsViewActionGroup.java 2012-08-02 14:42:27 UTC (rev 42842)
@@ -42,6 +42,7 @@
import org.hibernate.eclipse.console.actions.OpenMappingAction;
import org.hibernate.eclipse.console.actions.OpenSourceAction;
import org.hibernate.eclipse.console.actions.RefreshAction;
+import org.hibernate.eclipse.console.actions.RenameAction;
import org.hibernate.mapping.PersistentClass;
import org.hibernate.mapping.Property;
@@ -89,6 +90,7 @@
private CriteriaEditorAction criteriaEditorAction;
private SelectionListenerAction openMappingAction;
private SelectionListenerAction openSourceAction;
+ private SelectionListenerAction renameAction;
public ConfigurationsViewActionGroup(IViewPart part, StructuredViewer selectionProvider) {
@@ -100,10 +102,6 @@
deleteConfigurationAction = new DeleteConfigurationAction(selectionProvider);
selectionProvider.addSelectionChangedListener(deleteConfigurationAction);
- IActionBars actionBars= part.getViewSite().getActionBars();
- actionBars.setGlobalActionHandler(
- ActionFactory.DELETE.getId(),
- deleteConfigurationAction);
refreshAction = new RefreshAction(selectionProvider);
selectionProvider.addSelectionChangedListener(refreshAction);
@@ -134,6 +132,8 @@
openSourceAction = new OpenSourceAction();
selectionProvider.addSelectionChangedListener(openSourceAction);
+ renameAction = new RenameAction(selectionProvider);
+ selectionProvider.addSelectionChangedListener(renameAction);
}
public void dispose() {
@@ -191,6 +191,11 @@
actionBars.getToolBarManager().add(addConfigurationAction);
actionBars.getToolBarManager().add(hqlEditorAction);
actionBars.getToolBarManager().add(criteriaEditorAction);
+
+ actionBars.setGlobalActionHandler(ActionFactory.RENAME.getId(),
+ renameAction);
+ actionBars.setGlobalActionHandler(ActionFactory.DELETE.getId(),
+ deleteConfigurationAction);
}
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/DynamicSQLPreviewView.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/DynamicSQLPreviewView.java 2012-08-02 14:34:25 UTC (rev 42841)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/DynamicSQLPreviewView.java 2012-08-02 14:42:27 UTC (rev 42842)
@@ -1,24 +1,4 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+
package org.hibernate.eclipse.console.views;
import java.util.Collections;
12 years, 4 months
JBoss Tools SVN: r42841 - trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2012-08-02 10:34:25 -0400 (Thu, 02 Aug 2012)
New Revision: 42841
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/DynamicSQLPreviewView.java
Log:
Fix NPE
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/DynamicSQLPreviewView.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/DynamicSQLPreviewView.java 2012-08-02 14:03:11 UTC (rev 42840)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/DynamicSQLPreviewView.java 2012-08-02 14:34:25 UTC (rev 42841)
@@ -214,8 +214,10 @@
public void dispose() {
IWorkbenchWindow window = PlatformUI.getWorkbench()
.getActiveWorkbenchWindow();
- IPartService service = window.getPartService();
- service.removePartListener(partListener);
+ if (window != null){
+ IPartService service = window.getPartService();
+ service.removePartListener(partListener);
+ }
docSetupParticipant.unsetup();
super.dispose();
}
12 years, 4 months
JBoss Tools SVN: r42840 - in trunk: jsf/plugins/org.jboss.tools.jsf.vpe.jsf/META-INF and 16 other directories.
by jbosstools-commits@lists.jboss.org
Author: yradtsevich
Date: 2012-08-02 10:03:11 -0400 (Thu, 02 Aug 2012)
New Revision: 42840
Modified:
trunk/jsf/features/org.jboss.tools.jsf.feature/feature.xml
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/META-INF/MANIFEST.MF
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/META-INF/MANIFEST.MF
trunk/struts/features/org.jboss.tools.struts.feature/feature.xml
trunk/struts/plugins/org.jboss.tools.struts.vpe.struts/META-INF/MANIFEST.MF
trunk/vpe/features/org.jboss.tools.vpe.feature/feature.xml
trunk/vpe/features/org.jboss.tools.vpe.test.feature/feature.xml
trunk/vpe/features/org.jboss.tools.xulrunner.feature/feature.xml
trunk/vpe/plugins/org.jboss.tools.vpe.resref/META-INF/MANIFEST.MF
trunk/vpe/plugins/org.jboss.tools.vpe.spring/META-INF/MANIFEST.MF
trunk/vpe/plugins/org.jboss.tools.vpe.ui.palette/META-INF/MANIFEST.MF
trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/META-INF/MANIFEST.MF
trunk/vpe/plugins/org.jboss.tools.xulrunner.initializer/META-INF/MANIFEST.MF
trunk/vpe/plugins/org.jboss.tools.xulrunner/META-INF/MANIFEST.MF
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/META-INF/MANIFEST.MF
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/META-INF/MANIFEST.MF
trunk/xulrunner/features/org.mozilla.xpcom.feature/feature.xml
trunk/xulrunner/plugins/org.mozilla.xpcom/META-INF/MANIFEST.MF
Log:
https://issues.jboss.org/browse/JBIDE-11383 : VPE and XULRunner: replace the unpack attribute in the feature.xml files by the Eclipse-BundleShape header in manifest.mf files
Modified: trunk/jsf/features/org.jboss.tools.jsf.feature/feature.xml
===================================================================
--- trunk/jsf/features/org.jboss.tools.jsf.feature/feature.xml 2012-08-02 13:58:20 UTC (rev 42839)
+++ trunk/jsf/features/org.jboss.tools.jsf.feature/feature.xml 2012-08-02 14:03:11 UTC (rev 42840)
@@ -95,8 +95,7 @@
id="org.jboss.tools.jsf.vpe.jsf"
download-size="0"
install-size="0"
- version="0.0.0"
- unpack="false"/>
+ version="0.0.0"/>
<plugin
id="org.jboss.tools.jsf.vpe.myfaces"
@@ -114,7 +113,6 @@
id="org.jboss.tools.jsf.vpe.jstl"
download-size="0"
install-size="0"
- version="0.0.0"
- unpack="false"/>
+ version="0.0.0"/>
</feature>
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/META-INF/MANIFEST.MF 2012-08-02 13:58:20 UTC (rev 42839)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/META-INF/MANIFEST.MF 2012-08-02 14:03:11 UTC (rev 42840)
@@ -28,3 +28,4 @@
Import-Package: org.eclipse.wst.sse.ui,
org.jboss.tools.jst.web.tld
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Eclipse-BundleShape: jar
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/META-INF/MANIFEST.MF 2012-08-02 13:58:20 UTC (rev 42839)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/META-INF/MANIFEST.MF 2012-08-02 14:03:11 UTC (rev 42840)
@@ -21,3 +21,4 @@
Bundle-Localization: plugin
Import-Package: org.jboss.tools.jst.web.tld
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Eclipse-BundleShape: jar
Modified: trunk/struts/features/org.jboss.tools.struts.feature/feature.xml
===================================================================
--- trunk/struts/features/org.jboss.tools.struts.feature/feature.xml 2012-08-02 13:58:20 UTC (rev 42839)
+++ trunk/struts/features/org.jboss.tools.struts.feature/feature.xml 2012-08-02 14:03:11 UTC (rev 42840)
@@ -57,7 +57,6 @@
id="org.jboss.tools.struts.vpe.struts"
download-size="0"
install-size="0"
- version="0.0.0"
- unpack="false"/>
+ version="0.0.0"/>
</feature>
Modified: trunk/struts/plugins/org.jboss.tools.struts.vpe.struts/META-INF/MANIFEST.MF
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts.vpe.struts/META-INF/MANIFEST.MF 2012-08-02 13:58:20 UTC (rev 42839)
+++ trunk/struts/plugins/org.jboss.tools.struts.vpe.struts/META-INF/MANIFEST.MF 2012-08-02 14:03:11 UTC (rev 42840)
@@ -10,3 +10,4 @@
Bundle-Vendor: %vendorName
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Eclipse-BundleShape: jar
Modified: trunk/vpe/features/org.jboss.tools.vpe.feature/feature.xml
===================================================================
--- trunk/vpe/features/org.jboss.tools.vpe.feature/feature.xml 2012-08-02 13:58:20 UTC (rev 42839)
+++ trunk/vpe/features/org.jboss.tools.vpe.feature/feature.xml 2012-08-02 14:03:11 UTC (rev 42840)
@@ -45,36 +45,31 @@
id="org.jboss.tools.vpe.resref"
download-size="0"
install-size="0"
- version="0.0.0"
- unpack="false"/>
+ version="0.0.0"/>
<plugin
id="org.jboss.tools.vpe.ui.palette"
download-size="0"
install-size="0"
- version="0.0.0"
- unpack="false"/>
+ version="0.0.0"/>
<plugin
id="org.jboss.tools.vpe.xulrunner"
download-size="0"
install-size="0"
- version="0.0.0"
- unpack="false"/>
+ version="0.0.0"/>
<plugin
id="org.jboss.tools.vpe.spring"
download-size="0"
install-size="0"
- version="0.0.0"
- unpack="false"/>
+ version="0.0.0"/>
<plugin
id="org.jboss.tools.xulrunner.initializer"
download-size="0"
install-size="0"
version="0.0.0"
- fragment="true"
- unpack="false"/>
+ fragment="true"/>
</feature>
Modified: trunk/vpe/features/org.jboss.tools.vpe.test.feature/feature.xml
===================================================================
--- trunk/vpe/features/org.jboss.tools.vpe.test.feature/feature.xml 2012-08-02 13:58:20 UTC (rev 42839)
+++ trunk/vpe/features/org.jboss.tools.vpe.test.feature/feature.xml 2012-08-02 14:03:11 UTC (rev 42840)
@@ -45,8 +45,7 @@
id="org.jboss.tools.vpe.spring.test"
download-size="0"
install-size="0"
- version="0.0.0"
- unpack="false"/>
+ version="0.0.0"/>
<plugin
id="org.jboss.tools.vpe.test"
@@ -58,8 +57,7 @@
id="org.jboss.tools.vpe.ui.bot.test"
download-size="0"
install-size="0"
- version="0.0.0"
- unpack="false"/>
+ version="0.0.0"/>
<plugin
id="org.jboss.tools.vpe.ui.test"
Modified: trunk/vpe/features/org.jboss.tools.xulrunner.feature/feature.xml
===================================================================
--- trunk/vpe/features/org.jboss.tools.xulrunner.feature/feature.xml 2012-08-02 13:58:20 UTC (rev 42839)
+++ trunk/vpe/features/org.jboss.tools.xulrunner.feature/feature.xml 2012-08-02 14:03:11 UTC (rev 42840)
@@ -22,7 +22,6 @@
id="org.mozilla.xpcom"
download-size="0"
install-size="0"
- unpack="true"
version="0.0.0"/>
<plugin
@@ -32,7 +31,6 @@
arch="x86"
download-size="0"
install-size="0"
- unpack="true"
version="0.0.0"/>
<plugin
@@ -42,7 +40,6 @@
arch="x86"
download-size="0"
install-size="0"
- unpack="true"
version="0.0.0"/>
<plugin
@@ -52,7 +49,6 @@
arch="x86_64"
download-size="0"
install-size="0"
- unpack="true"
version="0.0.0"/>
<plugin
@@ -62,7 +58,6 @@
arch="x86"
download-size="0"
install-size="0"
- unpack="true"
version="0.0.0"/>
<plugin
@@ -70,14 +65,12 @@
download-size="0"
install-size="0"
version="0.0.0"
- fragment="true"
- unpack="false"/>
+ fragment="true"/>
<plugin
id="org.jboss.tools.xulrunner"
download-size="0"
install-size="0"
- version="0.0.0"
- unpack="false"/>
+ version="0.0.0"/>
</feature>
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.resref/META-INF/MANIFEST.MF
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.resref/META-INF/MANIFEST.MF 2012-08-02 13:58:20 UTC (rev 42839)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.resref/META-INF/MANIFEST.MF 2012-08-02 14:03:11 UTC (rev 42840)
@@ -18,3 +18,4 @@
Export-Package: org.jboss.tools.vpe.resref,
org.jboss.tools.vpe.resref.core
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Eclipse-BundleShape: jar
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.spring/META-INF/MANIFEST.MF
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.spring/META-INF/MANIFEST.MF 2012-08-02 13:58:20 UTC (rev 42839)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.spring/META-INF/MANIFEST.MF 2012-08-02 14:03:11 UTC (rev 42840)
@@ -14,3 +14,4 @@
Bundle-Vendor: %vendorName
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Eclipse-BundleShape: jar
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.ui.palette/META-INF/MANIFEST.MF
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.ui.palette/META-INF/MANIFEST.MF 2012-08-02 13:58:20 UTC (rev 42839)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.ui.palette/META-INF/MANIFEST.MF 2012-08-02 14:03:11 UTC (rev 42840)
@@ -18,3 +18,4 @@
org.jboss.tools.jst.jsp
Bundle-Version: 3.4.0.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Eclipse-BundleShape: jar
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/META-INF/MANIFEST.MF
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/META-INF/MANIFEST.MF 2012-08-02 13:58:20 UTC (rev 42839)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/META-INF/MANIFEST.MF 2012-08-02 14:03:11 UTC (rev 42840)
@@ -20,3 +20,4 @@
Bundle-Vendor: %Bundle-Vendor.0
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Eclipse-BundleShape: jar
Modified: trunk/vpe/plugins/org.jboss.tools.xulrunner/META-INF/MANIFEST.MF
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.xulrunner/META-INF/MANIFEST.MF 2012-08-02 13:58:20 UTC (rev 42839)
+++ trunk/vpe/plugins/org.jboss.tools.xulrunner/META-INF/MANIFEST.MF 2012-08-02 14:03:11 UTC (rev 42840)
@@ -7,3 +7,4 @@
Bundle-Localization: plugin
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Eclipse-BundleShape: jar
Modified: trunk/vpe/plugins/org.jboss.tools.xulrunner.initializer/META-INF/MANIFEST.MF
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.xulrunner.initializer/META-INF/MANIFEST.MF 2012-08-02 13:58:20 UTC (rev 42839)
+++ trunk/vpe/plugins/org.jboss.tools.xulrunner.initializer/META-INF/MANIFEST.MF 2012-08-02 14:03:11 UTC (rev 42840)
@@ -8,3 +8,4 @@
Require-Bundle: org.eclipse.core.runtime;bundle-version="3.7.0"
Bundle-Localization: initializer
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Eclipse-BundleShape: jar
Modified: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/META-INF/MANIFEST.MF 2012-08-02 13:58:20 UTC (rev 42839)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/META-INF/MANIFEST.MF 2012-08-02 14:03:11 UTC (rev 42840)
@@ -19,3 +19,4 @@
Bundle-Vendor: %Bundle-Vendor.0
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Eclipse-BundleShape: jar
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/META-INF/MANIFEST.MF 2012-08-02 13:58:20 UTC (rev 42839)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/META-INF/MANIFEST.MF 2012-08-02 14:03:11 UTC (rev 42840)
@@ -39,4 +39,4 @@
Export-Package: org.jboss.tools.vpe.ui.bot.test,
org.jboss.tools.vpe.ui.bot.test.jbide,
org.jboss.tools.vpe.ui.bot.test.tools
-
+Eclipse-BundleShape: jar
Modified: trunk/xulrunner/features/org.mozilla.xpcom.feature/feature.xml
===================================================================
--- trunk/xulrunner/features/org.mozilla.xpcom.feature/feature.xml 2012-08-02 13:58:20 UTC (rev 42839)
+++ trunk/xulrunner/features/org.mozilla.xpcom.feature/feature.xml 2012-08-02 14:03:11 UTC (rev 42840)
@@ -21,7 +21,6 @@
id="org.mozilla.xpcom"
download-size="0"
install-size="0"
- unpack="true"
version="0.0.0"/>
</feature>
Modified: trunk/xulrunner/plugins/org.mozilla.xpcom/META-INF/MANIFEST.MF
===================================================================
--- trunk/xulrunner/plugins/org.mozilla.xpcom/META-INF/MANIFEST.MF 2012-08-02 13:58:20 UTC (rev 42839)
+++ trunk/xulrunner/plugins/org.mozilla.xpcom/META-INF/MANIFEST.MF 2012-08-02 14:03:11 UTC (rev 42840)
@@ -13,5 +13,5 @@
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Require-Bundle: org.jboss.tools.usage;bundle-version="1.0.0";resolution:=optional;x-installation:=greedy,
org.eclipse.core.runtime;bundle-version="3.7.0"
+Eclipse-BundleShape: dir
-
12 years, 4 months
JBoss Tools SVN: r42839 - branches/jbosstools-3.3.x/portlet/tests/org.jboss.tools.portlet.ui.bot.test.
by jbosstools-commits@lists.jboss.org
Author: ljelinko
Date: 2012-08-02 09:58:20 -0400 (Thu, 02 Aug 2012)
New Revision: 42839
Modified:
branches/jbosstools-3.3.x/portlet/tests/org.jboss.tools.portlet.ui.bot.test/pom.xml
Log:
Removed xulrunner and webkit related properties
Modified: branches/jbosstools-3.3.x/portlet/tests/org.jboss.tools.portlet.ui.bot.test/pom.xml
===================================================================
--- branches/jbosstools-3.3.x/portlet/tests/org.jboss.tools.portlet.ui.bot.test/pom.xml 2012-08-02 13:10:58 UTC (rev 42838)
+++ branches/jbosstools-3.3.x/portlet/tests/org.jboss.tools.portlet.ui.bot.test/pom.xml 2012-08-02 13:58:20 UTC (rev 42839)
@@ -20,7 +20,7 @@
<jbosstools.test.jboss-portlet-bridge.home>${requirement.build.root}</jbosstools.test.jboss-portlet-bridge.home>
<configurations.dir>resources/project_config_files</configurations.dir>
<additionalSystemProperties></additionalSystemProperties>
- <systemProperties>-Dorg.eclipse.swt.browser.DefaultType=webkit -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/bin/xulrunner ${additionalSystemProperties} -Djbosstools.test.jboss-gatein.home=${jbosstools.test.jboss-gatein.home} -Djbosstools.test.jboss-seam-2.2.home=${jbosstools.test.jboss-seam-2.2.home} -Djbosstools.test.jboss-portal.home=${jbosstools.test.jboss-portal.home} -Djbosstools.test.jboss-seam-2.0.home=${jbosstools.test.jboss-seam-2.0.home} -Djbosstools.test.jboss-portlet-bridge.home=${jbosstools.test.jboss-portlet-bridge.home} -Dtest.configurations.dir=${configurations.dir} -Dorg.eclipse.swtbot.screenshots.dir=${project.build.directory}/screenshots</systemProperties>
+ <systemProperties>${additionalSystemProperties} -Djbosstools.test.jboss-gatein.home=${jbosstools.test.jboss-gatein.home} -Djbosstools.test.jboss-seam-2.2.home=${jbosstools.test.jboss-seam-2.2.home} -Djbosstools.test.jboss-portal.home=${jbosstools.test.jboss-portal.home} -Djbosstools.test.jboss-seam-2.0.home=${jbosstools.test.jboss-seam-2.0.home} -Djbosstools.test.jboss-portlet-bridge.home=${jbosstools.test.jboss-portlet-bridge.home} -Dtest.configurations.dir=${configurations.dir} -Dorg.eclipse.swtbot.screenshots.dir=${project.build.directory}/screenshots</systemProperties>
<test.class>org.jboss.tools.portlet.ui.bot.test.AllTestsSuite</test.class>
</properties>
12 years, 4 months
JBoss Tools SVN: r42838 - branches/jbosstools-3.3.x/portlet/tests/org.jboss.tools.portlet.ui.bot.test.
by jbosstools-commits@lists.jboss.org
Author: ljelinko
Date: 2012-08-02 09:10:58 -0400 (Thu, 02 Aug 2012)
New Revision: 42838
Modified:
branches/jbosstools-3.3.x/portlet/tests/org.jboss.tools.portlet.ui.bot.test/pom.xml
Log:
Added default type of internal browser
Modified: branches/jbosstools-3.3.x/portlet/tests/org.jboss.tools.portlet.ui.bot.test/pom.xml
===================================================================
--- branches/jbosstools-3.3.x/portlet/tests/org.jboss.tools.portlet.ui.bot.test/pom.xml 2012-08-02 13:02:52 UTC (rev 42837)
+++ branches/jbosstools-3.3.x/portlet/tests/org.jboss.tools.portlet.ui.bot.test/pom.xml 2012-08-02 13:10:58 UTC (rev 42838)
@@ -20,7 +20,7 @@
<jbosstools.test.jboss-portlet-bridge.home>${requirement.build.root}</jbosstools.test.jboss-portlet-bridge.home>
<configurations.dir>resources/project_config_files</configurations.dir>
<additionalSystemProperties></additionalSystemProperties>
- <systemProperties>org.eclipse.swt.browser.DefaultType=webkit -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/bin/xulrunner ${additionalSystemProperties} -Djbosstools.test.jboss-gatein.home=${jbosstools.test.jboss-gatein.home} -Djbosstools.test.jboss-seam-2.2.home=${jbosstools.test.jboss-seam-2.2.home} -Djbosstools.test.jboss-portal.home=${jbosstools.test.jboss-portal.home} -Djbosstools.test.jboss-seam-2.0.home=${jbosstools.test.jboss-seam-2.0.home} -Djbosstools.test.jboss-portlet-bridge.home=${jbosstools.test.jboss-portlet-bridge.home} -Dtest.configurations.dir=${configurations.dir} -Dorg.eclipse.swtbot.screenshots.dir=${project.build.directory}/screenshots</systemProperties>
+ <systemProperties>-Dorg.eclipse.swt.browser.DefaultType=webkit -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/bin/xulrunner ${additionalSystemProperties} -Djbosstools.test.jboss-gatein.home=${jbosstools.test.jboss-gatein.home} -Djbosstools.test.jboss-seam-2.2.home=${jbosstools.test.jboss-seam-2.2.home} -Djbosstools.test.jboss-portal.home=${jbosstools.test.jboss-portal.home} -Djbosstools.test.jboss-seam-2.0.home=${jbosstools.test.jboss-seam-2.0.home} -Djbosstools.test.jboss-portlet-bridge.home=${jbosstools.test.jboss-portlet-bridge.home} -Dtest.configurations.dir=${configurations.dir} -Dorg.eclipse.swtbot.screenshots.dir=${project.build.directory}/screenshots</systemProperties>
<test.class>org.jboss.tools.portlet.ui.bot.test.AllTestsSuite</test.class>
</properties>
12 years, 4 months