JBoss Tools SVN: r36828 - trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/resources.
by jbosstools-commits@lists.jboss.org
Author: ljelinko
Date: 2011-12-01 05:36:04 -0500 (Thu, 01 Dec 2011)
New Revision: 36828
Removed:
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/resources/epp-4.3.properties
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/resources/epp-5.1.1.properties
Log:
these configs will be generated
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/resources/epp-4.3.properties
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/resources/epp-4.3.properties 2011-12-01 10:31:58 UTC (rev 36827)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/resources/epp-4.3.properties 2011-12-01 10:36:04 UTC (rev 36828)
@@ -1,3 +0,0 @@
-SERVER=EPP,4.3,default,/home/ljelinko/programs/jboss/EPP/jboss-epp-4.3/jboss-as
-SEAM=2.2,/home/ljelinko/programs/jboss/EPP/jboss-epp-4.3/seam2
-DB=hsqldb18,internal, , , , ,
\ No newline at end of file
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/resources/epp-5.1.1.properties
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/resources/epp-5.1.1.properties 2011-12-01 10:31:58 UTC (rev 36827)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/resources/epp-5.1.1.properties 2011-12-01 10:36:04 UTC (rev 36828)
@@ -1,3 +0,0 @@
-SERVER=EPP,5.1.1,default,/home/ljelinko/programs/jboss/EPP/jboss-epp-5.1.1/jboss-as
-SEAM=2.2,/home/ljelinko/programs/jboss/EPP/jboss-epp-5.1.1/seam
-DB=hsqldb18,internal, , , , ,
\ No newline at end of file
14 years
JBoss Tools SVN: r36827 - in trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers: prepare_workspace and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: ljelinko
Date: 2011-12-01 05:31:58 -0500 (Thu, 01 Dec 2011)
New Revision: 36827
Added:
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/prepare_workspace/
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/prepare_workspace/config_files/
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/prepare_workspace/config_files/epp-4.3.properties
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/prepare_workspace/config_files/epp-5.1.1.properties
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/prepare_workspace/pom.xml
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/prepare_workspace/prepare_workspace.launch
Log:
created launchers for preparing testing configuration
Added: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/prepare_workspace/config_files/epp-4.3.properties
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/prepare_workspace/config_files/epp-4.3.properties (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/prepare_workspace/config_files/epp-4.3.properties 2011-12-01 10:31:58 UTC (rev 36827)
@@ -0,0 +1,3 @@
+SERVER=EPP,4.3,default,${JBOSS_EPP_4_3}/jboss-as
+SEAM=2.2,${JBOSS_EPP_4_3}/seam2
+DB=hsqldb18,internal, , , , ,
\ No newline at end of file
Added: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/prepare_workspace/config_files/epp-5.1.1.properties
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/prepare_workspace/config_files/epp-5.1.1.properties (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/prepare_workspace/config_files/epp-5.1.1.properties 2011-12-01 10:31:58 UTC (rev 36827)
@@ -0,0 +1,3 @@
+SERVER=EPP,5.1.1,default,${JBOSS_EPP_5_1}/jboss-as
+SEAM=2.2,${JBOSS_EPP_5_1}/seam
+DB=hsqldb18,internal, , , , ,
\ No newline at end of file
Added: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/prepare_workspace/pom.xml
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/prepare_workspace/pom.xml (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/prepare_workspace/pom.xml 2011-12-01 10:31:58 UTC (rev 36827)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <groupId>org.jboss.tools.portlet.ui.bot.test</groupId>
+ <artifactId>prepare.workspace</artifactId>
+ <version>0.0.0-SNAPSHOT</version>
+ <modelVersion>4.0.0</modelVersion>
+
+ <build>
+ <resources>
+ <resource>
+ <directory>./config_files</directory>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
+
+ <outputDirectory>../../resources/generated_config_files</outputDirectory>
+ </build>
+</project>
\ No newline at end of file
Added: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/prepare_workspace/prepare_workspace.launch
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/prepare_workspace/prepare_workspace.launch (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/prepare_workspace/prepare_workspace.launch 2011-12-01 10:31:58 UTC (rev 36827)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.m2e.Maven2LaunchConfigurationType">
+<booleanAttribute key="M2_DEBUG_OUTPUT" value="false"/>
+<stringAttribute key="M2_GOALS" value="process-resources"/>
+<booleanAttribute key="M2_NON_RECURSIVE" value="false"/>
+<booleanAttribute key="M2_OFFLINE" value="false"/>
+<stringAttribute key="M2_PROFILES" value=""/>
+<listAttribute key="M2_PROPERTIES">
+<listEntry value="JBOSS_EPP_4_3=${folder_prompt:EPP 4.3 installation directory}"/>
+<listEntry value="JBOSS_EPP_5_1=${folder_prompt:EPP 5.1 installation directory}"/>
+</listAttribute>
+<stringAttribute key="M2_RUNTIME" value="/home/ljelinko/programs/apache-maven-3.0.3"/>
+<booleanAttribute key="M2_SKIP_TESTS" value="false"/>
+<booleanAttribute key="M2_UPDATE_SNAPSHOTS" value="false"/>
+<booleanAttribute key="M2_WORKSPACE_RESOLUTION" value="false"/>
+<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="${workspace_loc}/org.jboss.tools.portlet.ui.bot.test/launchers/prepare_workspace"/>
+</launchConfiguration>
14 years
JBoss Tools SVN: r36826 - in trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test: META-INF and 6 other directories.
by jbosstools-commits@lists.jboss.org
Author: sbunciak
Date: 2011-12-01 05:28:44 -0500 (Thu, 01 Dec 2011)
New Revision: 36826
Added:
trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/resources/
trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/resources/openshift.ui.bot.test.properties
trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/screenshots/
trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/screenshots/Default - testUserCredentialsValidation(org.jboss.tools.openshift.ui.bot.test.CredentialsValidation).jpeg
trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/screenshots/screenshot-CredentialsValidation.testUserCredentialsValidation.jpeg
trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/src/log4j.xml
trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/src/org/jboss/tools/openshift/ui/bot/test/CredentialsValidation.java
trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/src/org/jboss/tools/openshift/ui/bot/test/DomainManipulation.java
trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/src/org/jboss/tools/openshift/ui/bot/test/OpenShiftAllBotTests.java
trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/src/org/jboss/tools/openshift/ui/bot/util/
trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/src/org/jboss/tools/openshift/ui/bot/util/OpenShiftTestProperties.java
Modified:
trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/.classpath
trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/META-INF/MANIFEST.MF
Log:
OpenShift user credential validation automated
Modified: trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/.classpath
===================================================================
--- trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/.classpath 2011-12-01 09:28:49 UTC (rev 36825)
+++ trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/.classpath 2011-12-01 10:28:44 UTC (rev 36826)
@@ -3,5 +3,6 @@
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
+ <classpathentry kind="src" path="resources"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/META-INF/MANIFEST.MF 2011-12-01 09:28:49 UTC (rev 36825)
+++ trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/META-INF/MANIFEST.MF 2011-12-01 10:28:44 UTC (rev 36826)
@@ -6,6 +6,17 @@
Bundle-Activator: org.jboss.tools.openshift.ui.bot.test.Activator
Bundle-Vendor: Red Hat
Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime
+ org.eclipse.core.runtime,
+ org.apache.log4j;bundle-version="1.2.15",
+ org.jboss.tools.ui.bot.ext,
+ org.junit4;bundle-version="4.8.1",
+ org.eclipse.swtbot.eclipse.core;bundle-version="2.0.5",
+ org.eclipse.swtbot.eclipse.finder;bundle-version="2.0.5",
+ org.eclipse.swtbot.eclipse.ui;bundle-version="2.0.5",
+ org.eclipse.swtbot.junit4_x;bundle-version="2.0.5",
+ org.eclipse.swtbot.swt.finder;bundle-version="2.0.5",
+ org.eclipse.core.resources;bundle-version="3.7.100",
+ org.eclipse.ui.forms;bundle-version="3.5.100",
+ org.eclipse.ui.ide;bundle-version="3.7.0"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-ActivationPolicy: lazy
Added: trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/resources/openshift.ui.bot.test.properties
===================================================================
--- trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/resources/openshift.ui.bot.test.properties (rev 0)
+++ trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/resources/openshift.ui.bot.test.properties 2011-12-01 10:28:44 UTC (rev 36826)
@@ -0,0 +1,4 @@
+openshift.user.name=sbunciak
+openshift.user.pwd=rhtest123
+openshift.user.wrongpwd=rhtest
+openshift.domain=rhtestdomain
Added: trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/screenshots/Default - testUserCredentialsValidation(org.jboss.tools.openshift.ui.bot.test.CredentialsValidation).jpeg
===================================================================
(Binary files differ)
Property changes on: trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/screenshots/Default - testUserCredentialsValidation(org.jboss.tools.openshift.ui.bot.test.CredentialsValidation).jpeg
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/screenshots/screenshot-CredentialsValidation.testUserCredentialsValidation.jpeg
===================================================================
(Binary files differ)
Property changes on: trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/screenshots/screenshot-CredentialsValidation.testUserCredentialsValidation.jpeg
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/src/log4j.xml
===================================================================
--- trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/src/log4j.xml (rev 0)
+++ trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/src/log4j.xml 2011-12-01 10:28:44 UTC (rev 36826)
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"
+ debug="false">
+
+ <appender name="consoleAppender" class="org.apache.log4j.ConsoleAppender">
+ <param name="Target" value="System.out" />
+ <layout class="org.apache.log4j.PatternLayout">
+ <!--
+ <param name="ConversionPattern"
+ value="%d{dd MMM yyyy HH:mm:ss.SSS} - %25t - %-5p - %30c{1} - (%C{1}.java:%L) - %m%n" />
+ -->
+ <param name="ConversionPattern"
+ value="(%C{1}.java:%L) - %m%n" />
+
+ </layout>
+ </appender>
+
+ <appender name="fileAppender" class="org.apache.log4j.FileAppender">
+ <param name="File" value="/tmp/debug.log" />
+ <param name="Append" value="false" />
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern"
+ value="%d{dd MMM yyyy HH:mm:ss.SSS} - %25t - %-5p - %30c{1} - (%C{1}.java:%L) - %m%n" />
+ </layout>
+ </appender>
+
+ <appender name="asyncAppender" class="org.apache.log4j.AsyncAppender">
+ <appender-ref ref="consoleAppender" />
+ <appender-ref ref="fileAppender" />
+ </appender>
+
+ <!-- don't log matchers, this is very high amount of chatter -->
+ <category name="org.eclipse.swtbot.swt.finder.matchers">
+ <priority value="OFF" />
+ </category>
+
+ <!--
+ don't log widget notification events, this is moderately high chatter
+ -->
+ <category name="org.eclipse.swtbot.swt.finder.widgets">
+ <priority value="OFF" />
+ </category>
+
+ <!-- don't log finders, this is moderate chatter -->
+ <category name="org.eclipse.swtbot.swt.finder.finders">
+ <priority value="DEBUG" />
+ </category>
+
+ <category name="org.eclipse.swtbot.swt.finder.keyboard">
+ <!-- set to a value higher than debug to turn on. -->
+ <priority value="DEBUG" />
+ </category>
+
+ <category name="org.eclipse.swtbot">
+ <priority value="ALL" />
+ </category>
+
+ <root>
+ <priority value="INFO" />
+ <appender-ref ref="consoleAppender" />
+ <appender-ref ref="fileAppender" />
+ </root>
+
+</log4j:configuration>
\ No newline at end of file
Added: trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/src/org/jboss/tools/openshift/ui/bot/test/CredentialsValidation.java
===================================================================
--- trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/src/org/jboss/tools/openshift/ui/bot/test/CredentialsValidation.java (rev 0)
+++ trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/src/org/jboss/tools/openshift/ui/bot/test/CredentialsValidation.java 2011-12-01 10:28:44 UTC (rev 36826)
@@ -0,0 +1,77 @@
+package org.jboss.tools.openshift.ui.bot.test;
+
+import org.eclipse.swtbot.swt.finder.SWTBot;
+import org.eclipse.swtbot.swt.finder.matchers.WidgetMatcherFactory;
+import org.eclipse.swtbot.swt.finder.waits.Conditions;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotButton;
+import org.jboss.tools.openshift.ui.bot.util.OpenShiftTestProperties;
+import org.jboss.tools.ui.bot.ext.SWTTestExt;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.gen.ActionItem;
+import org.junit.Test;
+
+@Require(clearWorkspace = true)
+public class CredentialsValidation extends SWTTestExt {
+
+ @Test
+ public void testUserCredentialsValidation() throws InterruptedException {
+ // try to create new OpenShift Express Application
+ SWTBot wiz = open.newObject(ActionItem.NewObject.create("OpenShift",
+ "OpenShift Express Application"));
+
+ SWTBotButton validateButton = wiz.button("Validate");
+
+ assertFalse("Validation button shouldn't be enabled at this step.",
+ validateButton.isEnabled());
+
+ // set wrong user credentials
+ wiz.text(0).setText(
+ OpenShiftTestProperties.getProperty("openshift.user.name"));
+ wiz.text(1).setText(
+ OpenShiftTestProperties.getProperty("openshift.user.wrongpwd"));
+
+ assertTrue(
+ "Validation button should be enabled to check the user credentials.",
+ validateButton.isEnabled());
+
+ SWTBotButton nextButton = wiz.button("Next >");
+ // try to move forward
+ nextButton.click();
+
+ // wait for credentials validation
+ bot.waitUntilWidgetAppears(Conditions
+ .waitForWidget(WidgetMatcherFactory
+ .withText(" The given credentials are not valid")));
+
+ assertFalse("Next > button shouldn't be enabled to move forward.",
+ nextButton.isEnabled());
+
+ // test on changed credentials
+ // set correct user credentials
+ wiz.text(0).setText(
+ OpenShiftTestProperties.getProperty("openshift.user.name"));
+ wiz.text(1).setText(
+ OpenShiftTestProperties.getProperty("openshift.user.pwd"));
+
+ assertTrue(
+ "Validation button should be enabled again, user credentials has been changed.",
+ validateButton.isEnabled());
+
+ // validate credentials
+ validateButton.click();
+
+ bot.waitUntil(Conditions.widgetIsEnabled(nextButton));
+
+ // buttons assertion
+ assertFalse(
+ "Validation button shouldn't be enabled until user credentials hasn't been changed.",
+ validateButton.isEnabled());
+ assertFalse(
+ "Finish button shouldn't be enabled at this step, can't finish wizard.",
+ wiz.button("Finish").isEnabled());
+
+ // move forward
+ nextButton.click();
+ }
+
+}
Added: trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/src/org/jboss/tools/openshift/ui/bot/test/DomainManipulation.java
===================================================================
--- trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/src/org/jboss/tools/openshift/ui/bot/test/DomainManipulation.java (rev 0)
+++ trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/src/org/jboss/tools/openshift/ui/bot/test/DomainManipulation.java 2011-12-01 10:28:44 UTC (rev 36826)
@@ -0,0 +1,22 @@
+package org.jboss.tools.openshift.ui.bot.test;
+
+import org.jboss.tools.ui.bot.ext.SWTTestExt;
+import org.junit.Test;
+
+public class DomainManipulation extends SWTTestExt {
+
+ @Test
+ public void domainCreated() {
+
+ bot.sleep(TIME_10S);
+
+
+
+ }
+
+ @Test
+ public void domainRenamed() {
+
+ }
+
+}
Added: trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/src/org/jboss/tools/openshift/ui/bot/test/OpenShiftAllBotTests.java
===================================================================
--- trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/src/org/jboss/tools/openshift/ui/bot/test/OpenShiftAllBotTests.java (rev 0)
+++ trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/src/org/jboss/tools/openshift/ui/bot/test/OpenShiftAllBotTests.java 2011-12-01 10:28:44 UTC (rev 36826)
@@ -0,0 +1,40 @@
+ /*******************************************************************************
+ * Copyright (c) 2007-2009 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.jboss.tools.openshift.ui.bot.test;
+
+import org.jboss.tools.ui.bot.ext.RequirementAwareSuite;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite.SuiteClasses;
+
+/**
+ * <b>OpenShift SWTBot TestSuite</b>
+ *
+ * <br>
+ * TestSuite containing following test cases :
+ * <ul>
+ * <li>JBDS50_XXXX User credentials validation</li>
+ * <li>JBDS50_XXXX Domain is created, renamed correctly</li>
+ * </ul>
+ *
+ * @author sbunciak
+ */
+@SuiteClasses({
+
+ CredentialsValidation.class,
+ DomainManipulation.class
+
+ })
+(a)RunWith(RequirementAwareSuite.class)
+public class OpenShiftAllBotTests {
+
+ // TODO : delete test domain created in DomainManipulation
+
+}
Added: trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/src/org/jboss/tools/openshift/ui/bot/util/OpenShiftTestProperties.java
===================================================================
--- trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/src/org/jboss/tools/openshift/ui/bot/util/OpenShiftTestProperties.java (rev 0)
+++ trunk/openshift/tests/org.jboss.tools.openshift.ui.bot.test/src/org/jboss/tools/openshift/ui/bot/util/OpenShiftTestProperties.java 2011-12-01 10:28:44 UTC (rev 36826)
@@ -0,0 +1,40 @@
+package org.jboss.tools.openshift.ui.bot.util;
+
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.IOException;
+import java.util.Properties;
+
+import org.apache.log4j.Logger;
+
+/**
+ * Just static properties holder
+ *
+ * @author sbunciak
+ *
+ */
+public class OpenShiftTestProperties {
+
+ public static Properties props = new Properties();
+
+ static {
+
+ try {
+ props.load(new FileInputStream(
+ "resources/openshift.ui.bot.test.properties"));
+
+ } catch (FileNotFoundException e) {
+ Logger.getLogger(OpenShiftTestProperties.class).error(
+ "Property file not found !", e);
+ } catch (IOException e) {
+ Logger.getLogger(OpenShiftTestProperties.class).error(
+ "IO Exception !", e);
+ }
+
+ }
+
+ public static String getProperty(String key) {
+ return props.getProperty(key);
+ }
+
+}
14 years
JBoss Tools SVN: r36825 - in trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot: task/server and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: ljelinko
Date: 2011-12-01 04:28:49 -0500 (Thu, 01 Dec 2011)
New Revision: 36825
Added:
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/task/server/MarkFileAsDeployableTask.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/task/workspace/
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/task/workspace/FileContextMenuSelectingTask.java
Modified:
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/RunSeamPortletOnServer.java
Log:
Fixed issue with not deploying *-ds.xml file
Added: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/task/server/MarkFileAsDeployableTask.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/task/server/MarkFileAsDeployableTask.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/task/server/MarkFileAsDeployableTask.java 2011-12-01 09:28:49 UTC (rev 36825)
@@ -0,0 +1,25 @@
+package org.jboss.tools.portlet.ui.bot.task.server;
+
+import org.jboss.tools.portlet.ui.bot.entity.WorkspaceFile;
+import org.jboss.tools.portlet.ui.bot.task.AbstractSWTTask;
+import org.jboss.tools.portlet.ui.bot.task.workspace.FileContextMenuSelectingTask;
+
+/**
+ * Marks a file as deployable for the specified server (it works only if there is just one server defined)
+ *
+ * @author Lucia Jelinkova
+ *
+ */
+public class MarkFileAsDeployableTask extends AbstractSWTTask {
+
+ private WorkspaceFile workspaceFile;
+
+ public MarkFileAsDeployableTask(WorkspaceFile file) {
+ this.workspaceFile = file;
+ }
+
+ @Override
+ public void perform() {
+ performInnerTask(new FileContextMenuSelectingTask(workspaceFile, "Mark as Deployable"));
+ }
+}
Added: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/task/workspace/FileContextMenuSelectingTask.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/task/workspace/FileContextMenuSelectingTask.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/task/workspace/FileContextMenuSelectingTask.java 2011-12-01 09:28:49 UTC (rev 36825)
@@ -0,0 +1,50 @@
+package org.jboss.tools.portlet.ui.bot.task.workspace;
+
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+
+import org.jboss.tools.portlet.ui.bot.entity.WorkspaceFile;
+import org.jboss.tools.portlet.ui.bot.task.AbstractSWTTask;
+import org.jboss.tools.ui.bot.ext.SWTBotFactory;
+import org.jboss.tools.ui.bot.ext.SWTEclipseExt;
+import org.jboss.tools.ui.bot.ext.helper.ContextMenuHelper;
+import org.jboss.tools.ui.bot.ext.view.PackageExplorer;
+
+/**
+ * Invokes specified right-click menu on the given file.
+ *
+ * @author Lucia Jelinkova
+ *
+ */
+public class FileContextMenuSelectingTask extends AbstractSWTTask {
+
+ private WorkspaceFile file;
+
+ private String menuItem;
+
+ public FileContextMenuSelectingTask(WorkspaceFile file, String menuItem) {
+ super();
+ this.file = file;
+ this.menuItem = menuItem;
+ }
+
+ @Override
+ public void perform() {
+ PackageExplorer explorer = SWTBotFactory.getPackageexplorer();
+ explorer.show();
+ SWTEclipseExt.getTreeItemOnPath(explorer.bot(), explorer.bot().tree(), 0, file.getFileName(), getFilePath()).select();
+ ContextMenuHelper.clickContextMenu(SWTBotFactory.getPackageexplorer().bot().tree(), menuItem);
+ }
+
+ /**
+ * Adds the project to the path and removes file name.
+ * @return
+ */
+ private String[] getFilePath() {
+ List<String> path = new ArrayList<String>(Arrays.asList(file.getFilePathAsArray()));
+ path.add(0, file.getProject());
+ path.remove(path.size() - 1);
+ return path.toArray(new String[path.size()]);
+ }
+}
Modified: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/RunSeamPortletOnServer.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/RunSeamPortletOnServer.java 2011-12-01 09:28:40 UTC (rev 36824)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/RunSeamPortletOnServer.java 2011-12-01 09:28:49 UTC (rev 36825)
@@ -1,7 +1,10 @@
package org.jboss.tools.portlet.ui.bot.test.seam;
+import static org.jboss.tools.portlet.ui.bot.entity.EntityFactory.file;
import static org.jboss.tools.portlet.ui.bot.test.seam.CreateSeamPortletProject.PROJECT_NAME;
+import org.jboss.tools.portlet.ui.bot.entity.WorkspaceFile;
+import org.jboss.tools.portlet.ui.bot.task.server.MarkFileAsDeployableTask;
import org.jboss.tools.portlet.ui.bot.test.template.RunPortletOnServerTemplate;
/**
@@ -13,8 +16,16 @@
*/
public class RunSeamPortletOnServer extends RunPortletOnServerTemplate {
+ private static final WorkspaceFile DATASOURCE_FILE = file(PROJECT_NAME, "resources/" + PROJECT_NAME + "-ds.xml");
+
@Override
protected String getProjectName() {
return PROJECT_NAME;
}
+
+ @Override
+ public void testRunOnServer() {
+ doPerform(new MarkFileAsDeployableTask(DATASOURCE_FILE));
+ super.testRunOnServer();
+ }
}
14 years
JBoss Tools SVN: r36824 - in trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test: launchers and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: ljelinko
Date: 2011-12-01 04:28:40 -0500 (Thu, 01 Dec 2011)
New Revision: 36824
Added:
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/AllTestsSuite_allConfigs.launch
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/AllTestsSuite_singleConfig.launch
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/JSFPortletTestSuite.launch
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/JavaPortletTestSuite.launch
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/SeamPortletTestSuite.launch
Log:
Created launchers
Added: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/AllTestsSuite_allConfigs.launch
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/AllTestsSuite_allConfigs.launch (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/AllTestsSuite_allConfigs.launch 2011-12-01 09:28:40 UTC (rev 36824)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.swtbot.eclipse.ui.launcher.JunitLaunchConfig">
+<booleanAttribute key="append.args" value="true"/>
+<booleanAttribute key="askclear" value="false"/>
+<booleanAttribute key="automaticAdd" value="true"/>
+<booleanAttribute key="automaticValidate" value="false"/>
+<stringAttribute key="bootstrap" value=""/>
+<stringAttribute key="checked" value="[NONE]"/>
+<booleanAttribute key="clearConfig" value="true"/>
+<booleanAttribute key="clearws" value="true"/>
+<booleanAttribute key="clearwslog" value="false"/>
+<stringAttribute key="configLocation" value="${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/pde-junit"/>
+<booleanAttribute key="default" value="true"/>
+<booleanAttribute key="includeOptional" value="true"/>
+<stringAttribute key="location" value="${workspace_loc}/../junit-workspace"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/AllTestsSuite.java"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<mapAttribute key="org.eclipse.debug.core.environmentVariables">
+<mapEntry key="DISPLAY" value=":1"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value=""/>
+<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/>
+<stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/>
+<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit4"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.jboss.tools.portlet.ui.bot.test.AllTestsSuite"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.jboss.tools.portlet.ui.bot.test"/>
+<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/>
+<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dtest.configurations.dir=${workspace_loc}/org.jboss.tools.portlet.ui.bot.test/resources -Xmx1024m -XX:MaxPermSize=256m"/>
+<stringAttribute key="pde.version" value="3.3"/>
+<stringAttribute key="product" value="org.eclipse.platform.ide"/>
+<booleanAttribute key="show_selected_only" value="false"/>
+<booleanAttribute key="tracing" value="false"/>
+<booleanAttribute key="useCustomFeatures" value="false"/>
+<booleanAttribute key="useDefaultConfig" value="true"/>
+<booleanAttribute key="useDefaultConfigArea" value="false"/>
+<booleanAttribute key="useProduct" value="true"/>
+</launchConfiguration>
Added: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/AllTestsSuite_singleConfig.launch
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/AllTestsSuite_singleConfig.launch (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/AllTestsSuite_singleConfig.launch 2011-12-01 09:28:40 UTC (rev 36824)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.swtbot.eclipse.ui.launcher.JunitLaunchConfig">
+<booleanAttribute key="append.args" value="true"/>
+<booleanAttribute key="askclear" value="false"/>
+<booleanAttribute key="automaticAdd" value="true"/>
+<booleanAttribute key="automaticValidate" value="false"/>
+<stringAttribute key="bootstrap" value=""/>
+<stringAttribute key="checked" value="[NONE]"/>
+<booleanAttribute key="clearConfig" value="true"/>
+<booleanAttribute key="clearws" value="true"/>
+<booleanAttribute key="clearwslog" value="false"/>
+<stringAttribute key="configLocation" value="${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/pde-junit"/>
+<booleanAttribute key="default" value="true"/>
+<booleanAttribute key="includeOptional" value="true"/>
+<stringAttribute key="location" value="${workspace_loc}/../junit-workspace"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/AllTestsSuite.java"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<mapAttribute key="org.eclipse.debug.core.environmentVariables">
+<mapEntry key="DISPLAY" value=":1"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value=""/>
+<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/>
+<stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/>
+<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit4"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.jboss.tools.portlet.ui.bot.test.AllTestsSuite"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.jboss.tools.portlet.ui.bot.test"/>
+<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/>
+<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dswtbot.test.properties.file=${file_prompt:"Please choose a SWTBot configuration file":${workspace_loc}/org.jboss.tools.portlet.ui.bot.test} -Xmx1024m -XX:MaxPermSize=256m"/>
+<stringAttribute key="pde.version" value="3.3"/>
+<stringAttribute key="product" value="org.eclipse.platform.ide"/>
+<booleanAttribute key="show_selected_only" value="false"/>
+<booleanAttribute key="tracing" value="false"/>
+<booleanAttribute key="useCustomFeatures" value="false"/>
+<booleanAttribute key="useDefaultConfig" value="true"/>
+<booleanAttribute key="useDefaultConfigArea" value="false"/>
+<booleanAttribute key="useProduct" value="true"/>
+</launchConfiguration>
Added: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/JSFPortletTestSuite.launch
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/JSFPortletTestSuite.launch (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/JSFPortletTestSuite.launch 2011-12-01 09:28:40 UTC (rev 36824)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.swtbot.eclipse.ui.launcher.JunitLaunchConfig">
+<booleanAttribute key="append.args" value="true"/>
+<booleanAttribute key="askclear" value="false"/>
+<booleanAttribute key="automaticAdd" value="true"/>
+<booleanAttribute key="automaticValidate" value="false"/>
+<stringAttribute key="bootstrap" value=""/>
+<stringAttribute key="checked" value="[NONE]"/>
+<booleanAttribute key="clearConfig" value="true"/>
+<booleanAttribute key="clearws" value="true"/>
+<booleanAttribute key="clearwslog" value="false"/>
+<stringAttribute key="configLocation" value="${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/pde-junit"/>
+<booleanAttribute key="default" value="true"/>
+<booleanAttribute key="includeOptional" value="true"/>
+<stringAttribute key="location" value="${workspace_loc}/../junit-workspace"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/JSFPortletTestSuite.java"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<mapAttribute key="org.eclipse.debug.core.environmentVariables">
+<mapEntry key="aDISPLAY" value=":1"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value=""/>
+<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/>
+<stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/>
+<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit4"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.jboss.tools.portlet.ui.bot.test.JSFPortletTestSuite"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.jboss.tools.portlet.ui.bot.test"/>
+<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/>
+<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dswtbot.test.properties.file=${file_prompt:"Please choose a SWTBot configuration file":${workspace_loc}/org.jboss.tools.portlet.ui.bot.test} -Xmx1024m -XX:MaxPermSize=256m"/>
+<stringAttribute key="pde.version" value="3.3"/>
+<stringAttribute key="product" value="org.eclipse.platform.ide"/>
+<booleanAttribute key="show_selected_only" value="false"/>
+<booleanAttribute key="tracing" value="false"/>
+<booleanAttribute key="useCustomFeatures" value="false"/>
+<booleanAttribute key="useDefaultConfig" value="true"/>
+<booleanAttribute key="useDefaultConfigArea" value="false"/>
+<booleanAttribute key="useProduct" value="true"/>
+</launchConfiguration>
Added: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/JavaPortletTestSuite.launch
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/JavaPortletTestSuite.launch (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/JavaPortletTestSuite.launch 2011-12-01 09:28:40 UTC (rev 36824)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.swtbot.eclipse.ui.launcher.JunitLaunchConfig">
+<booleanAttribute key="append.args" value="true"/>
+<booleanAttribute key="askclear" value="false"/>
+<booleanAttribute key="automaticAdd" value="true"/>
+<booleanAttribute key="automaticValidate" value="false"/>
+<stringAttribute key="bootstrap" value=""/>
+<stringAttribute key="checked" value="[NONE]"/>
+<booleanAttribute key="clearConfig" value="true"/>
+<booleanAttribute key="clearws" value="true"/>
+<booleanAttribute key="clearwslog" value="false"/>
+<stringAttribute key="configLocation" value="${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/pde-junit"/>
+<booleanAttribute key="default" value="true"/>
+<booleanAttribute key="includeOptional" value="true"/>
+<stringAttribute key="location" value="${workspace_loc}/../junit-workspace"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/JavaPortletTestSuite.java"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<mapAttribute key="org.eclipse.debug.core.environmentVariables">
+<mapEntry key="DISPLAY" value=":1"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value=""/>
+<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/>
+<stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/>
+<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit4"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.jboss.tools.portlet.ui.bot.test.JavaPortletTestSuite"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.jboss.tools.portlet.ui.bot.test"/>
+<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/>
+<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dswtbot.test.properties.file=${file_prompt:"Please choose a SWTBot configuration file":${workspace_loc}/org.jboss.tools.portlet.ui.bot.test} -Xmx1024m -XX:MaxPermSize=256m"/>
+<stringAttribute key="pde.version" value="3.3"/>
+<stringAttribute key="product" value="org.eclipse.platform.ide"/>
+<booleanAttribute key="show_selected_only" value="false"/>
+<booleanAttribute key="tracing" value="false"/>
+<booleanAttribute key="useCustomFeatures" value="false"/>
+<booleanAttribute key="useDefaultConfig" value="true"/>
+<booleanAttribute key="useDefaultConfigArea" value="false"/>
+<booleanAttribute key="useProduct" value="true"/>
+</launchConfiguration>
Added: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/SeamPortletTestSuite.launch
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/SeamPortletTestSuite.launch (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/launchers/SeamPortletTestSuite.launch 2011-12-01 09:28:40 UTC (rev 36824)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.swtbot.eclipse.ui.launcher.JunitLaunchConfig">
+<booleanAttribute key="append.args" value="true"/>
+<booleanAttribute key="askclear" value="false"/>
+<booleanAttribute key="automaticAdd" value="true"/>
+<booleanAttribute key="automaticValidate" value="false"/>
+<stringAttribute key="bootstrap" value=""/>
+<stringAttribute key="checked" value="[NONE]"/>
+<booleanAttribute key="clearConfig" value="true"/>
+<booleanAttribute key="clearws" value="true"/>
+<booleanAttribute key="clearwslog" value="false"/>
+<stringAttribute key="configLocation" value="${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/pde-junit"/>
+<booleanAttribute key="default" value="true"/>
+<booleanAttribute key="includeOptional" value="true"/>
+<stringAttribute key="location" value="${workspace_loc}/../junit-workspace"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/SeamPortletTestSuite.java"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<mapAttribute key="org.eclipse.debug.core.environmentVariables">
+<mapEntry key="DISPLAY" value=":1"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value=""/>
+<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/>
+<stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/>
+<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit4"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.jboss.tools.portlet.ui.bot.test.SeamPortletTestSuite"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.jboss.tools.portlet.ui.bot.test"/>
+<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/>
+<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dswtbot.test.properties.file=${file_prompt:"Please choose a SWTBot configuration file":${workspace_loc}/org.jboss.tools.portlet.ui.bot.test} -Xmx1024m -XX:MaxPermSize=256m"/>
+<stringAttribute key="pde.version" value="3.3"/>
+<stringAttribute key="product" value="org.eclipse.platform.ide"/>
+<booleanAttribute key="show_selected_only" value="false"/>
+<booleanAttribute key="tracing" value="false"/>
+<booleanAttribute key="useCustomFeatures" value="false"/>
+<booleanAttribute key="useDefaultConfig" value="true"/>
+<booleanAttribute key="useDefaultConfigArea" value="false"/>
+<booleanAttribute key="useProduct" value="true"/>
+</launchConfiguration>
14 years
JBoss Tools SVN: r36823 - trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/resources.
by jbosstools-commits@lists.jboss.org
Author: ljelinko
Date: 2011-12-01 04:28:32 -0500 (Thu, 01 Dec 2011)
New Revision: 36823
Added:
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/resources/epp-4.3.properties
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/resources/epp-5.1.1.properties
Removed:
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/resources/aaa
Log:
Changed configuration files
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/resources/aaa
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/resources/aaa 2011-12-01 09:07:50 UTC (rev 36822)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/resources/aaa 2011-12-01 09:28:32 UTC (rev 36823)
@@ -1,3 +0,0 @@
-SERVER=EPP,5.1.0,default,/home/ljelinko/programs/jboss/jboss-epp-5.1/jboss-as
-SEAM=2.2,/home/ljelinko/programs/jboss/jboss-epp-5.1/seam
-DB=hsqldb18,internal, , , , ,
\ No newline at end of file
Added: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/resources/epp-4.3.properties
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/resources/epp-4.3.properties (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/resources/epp-4.3.properties 2011-12-01 09:28:32 UTC (rev 36823)
@@ -0,0 +1,3 @@
+SERVER=EPP,4.3,default,/home/ljelinko/programs/jboss/EPP/jboss-epp-4.3/jboss-as
+SEAM=2.2,/home/ljelinko/programs/jboss/EPP/jboss-epp-4.3/seam2
+DB=hsqldb18,internal, , , , ,
\ No newline at end of file
Added: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/resources/epp-5.1.1.properties
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/resources/epp-5.1.1.properties (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/resources/epp-5.1.1.properties 2011-12-01 09:28:32 UTC (rev 36823)
@@ -0,0 +1,3 @@
+SERVER=EPP,5.1.1,default,/home/ljelinko/programs/jboss/EPP/jboss-epp-5.1.1/jboss-as
+SEAM=2.2,/home/ljelinko/programs/jboss/EPP/jboss-epp-5.1.1/seam
+DB=hsqldb18,internal, , , , ,
\ No newline at end of file
14 years
JBoss Tools SVN: r36822 - in trunk: jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/smoke and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: vpakan(a)redhat.com
Date: 2011-12-01 04:07:50 -0500 (Thu, 01 Dec 2011)
New Revision: 36822
Added:
trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/smoke/PropertiesEditorTest.java
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/JSFAllBotTests.java
trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/smoke/AbstractFacesConfigEditingTest.java
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java
Log:
Added PropertiesEditorTest
Modified: trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/JSFAllBotTests.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/JSFAllBotTests.java 2011-12-01 03:37:50 UTC (rev 36821)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/JSFAllBotTests.java 2011-12-01 09:07:50 UTC (rev 36822)
@@ -17,6 +17,7 @@
import org.jboss.tools.jsf.ui.bot.test.smoke.FacesConfigEditingTestJSF2;
import org.jboss.tools.jsf.ui.bot.test.smoke.MarkersTest;
import org.jboss.tools.jsf.ui.bot.test.smoke.OpenOnTest;
+import org.jboss.tools.jsf.ui.bot.test.smoke.PropertiesEditorTest;
import org.jboss.tools.jsf.ui.bot.test.smoke.WebXmlEditorTest;
import org.jboss.tools.jsf.ui.bot.test.templates.CreateNewTemplateFromJSFProject;
import org.jboss.tools.jsf.ui.bot.test.templates.SetTemplateForUnknownTagTest;
@@ -52,7 +53,8 @@
FacesConfigCodeCompletionTest.class,
MarkersTest.class,
WebXmlEditorTest.class,
- CreateNewTemplateFromJSFProject.class
+ CreateNewTemplateFromJSFProject.class,
+ PropertiesEditorTest.class
})
public class JSFAllBotTests{
}
\ No newline at end of file
Modified: trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/smoke/AbstractFacesConfigEditingTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/smoke/AbstractFacesConfigEditingTest.java 2011-12-01 03:37:50 UTC (rev 36821)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/smoke/AbstractFacesConfigEditingTest.java 2011-12-01 09:07:50 UTC (rev 36822)
@@ -427,7 +427,7 @@
}
/**
- * Returns XNL Source striped from spaces, tabs and EOL
+ * Returns XML Source striped from spaces, tabs and EOL
*
* @return String
*/
Added: trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/smoke/PropertiesEditorTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/smoke/PropertiesEditorTest.java (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/smoke/PropertiesEditorTest.java 2011-12-01 09:07:50 UTC (rev 36822)
@@ -0,0 +1,241 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2011 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.jboss.tools.jsf.ui.bot.test.smoke;
+
+import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotEclipseEditor;
+import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotEditor;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTable;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotText;
+import org.jboss.tools.jsf.ui.bot.test.JSFAutoTestCase;
+import org.jboss.tools.ui.bot.ext.Assertions;
+import org.jboss.tools.ui.bot.ext.Timing;
+import org.jboss.tools.ui.bot.ext.helper.KeyboardHelper;
+import org.jboss.tools.ui.bot.ext.parts.SWTBotEditorExt;
+import org.jboss.tools.ui.bot.ext.types.IDELabel;
+import org.jboss.tools.vpe.ui.bot.test.VPEAutoTestCase;
+/** Test for properties editor
+ * @author Vladimir Pakan
+ *
+ */
+public class PropertiesEditorTest extends JSFAutoTestCase{
+
+ protected static final String PROPERTIES_FILE_NAME = "Messages.properties";
+ private SWTBotEditor propertiesEditor;
+ private String originalContent;
+ private SWTBotEditorExt propertiesEditorExt;
+
+ @Override
+ public void setUp() throws Exception {
+ super.setUp();
+ eclipse.closeAllEditors();
+ propertiesEditor = eclipse.openFile(VPEAutoTestCase.JBT_TEST_PROJECT_NAME,
+ "JavaSource",
+ "demo",
+ PropertiesEditorTest.PROPERTIES_FILE_NAME);
+ originalContent = propertiesEditor.toTextEditor().getText();
+ propertiesEditorExt = new SWTBotEditorExt(propertiesEditor.toTextEditor().getReference(),bot);
+ }
+
+ @Override
+ public void tearDown() throws Exception {
+ if (propertiesEditor != null) {
+ propertiesEditor.toTextEditor().setText(originalContent);
+ propertiesEditor.saveAndClose();
+ bot.sleep(Timing.time1S());
+ }
+ super.tearDown();
+ }
+ /**
+ * Tests Properties Editor
+ */
+ public void testPropertiesEditor(){
+ propertiesEditorExt.selectPage(IDELabel.PropertiesEditor.SOURCE_TAB_LABEL);
+ String[] originalLines = PropertiesEditorTest.splitEditorContentToLines(propertiesEditor.toTextEditor());
+ propertiesEditorExt.selectPage(IDELabel.PropertiesEditor.PROPERTIES_TAB_LABEL);
+ propertiesEditor.setFocus();
+ // Add Property
+ SWTBotTable propTable = bot.table();
+ propTable.select(propTable.rowCount() - 1);
+ bot.button(IDELabel.Button.ADD_WITHOUT_DOTS).click();
+ bot.shell(IDELabel.Shell.ADD_PROPERTY).activate();
+ final String newPropertyName = "newPropName";
+ final String newPropertyValue = "newPropValue";
+ bot.textWithLabel(IDELabel.PropertiesEditor.ADD_PROPERTIES_DIALOG_NAME_LABEL)
+ .setText(newPropertyName);
+ bot.textWithLabel(IDELabel.PropertiesEditor.ADD_PROPERTIES_DIALOG_VALUE_LABEL)
+ .setText(newPropertyValue);
+ bot.button(IDELabel.Button.FINISH).click();
+ propertiesEditor.save();
+ bot.sleep(Timing.time2S());
+ int newPropertyIndex = originalLines.length;
+ Assertions.assertSourceEditorContains(PropertiesEditorTest.stripXMLSourceText(
+ propertiesEditor.toTextEditor().getText()),
+ getExpectedPropertiesEditorText(originalLines,
+ newPropertyName,
+ newPropertyValue,
+ newPropertyIndex),
+ PropertiesEditorTest.PROPERTIES_FILE_NAME);
+ assertNotEnabled(bot.button(IDELabel.Button.DOWN));
+ // Move Property
+ propTable.select(newPropertyName);
+ bot.button(IDELabel.Button.UP).click();
+ propertiesEditor.save();
+ bot.sleep(Timing.time2S());
+ Assertions.assertSourceEditorContains(PropertiesEditorTest.stripXMLSourceText(
+ propertiesEditor.toTextEditor().getText()),
+ getExpectedPropertiesEditorText(originalLines,
+ newPropertyName,
+ newPropertyValue,
+ --newPropertyIndex),
+ PropertiesEditorTest.PROPERTIES_FILE_NAME);
+ assertEnabled(bot.button(IDELabel.Button.DOWN));
+ assertEnabled(bot.button(IDELabel.Button.UP));
+ bot.button(IDELabel.Button.DOWN).click();
+ propertiesEditor.save();
+ bot.sleep(Timing.time2S());
+ Assertions.assertSourceEditorContains(PropertiesEditorTest.stripXMLSourceText(
+ propertiesEditor.toTextEditor().getText()),
+ getExpectedPropertiesEditorText(originalLines,
+ newPropertyName,
+ newPropertyValue,
+ ++newPropertyIndex),
+ PropertiesEditorTest.PROPERTIES_FILE_NAME);
+ assertNotEnabled(bot.button(IDELabel.Button.DOWN));
+ assertEnabled(bot.button(IDELabel.Button.UP));
+ // Move to Top
+ while (newPropertyIndex > 0){
+ bot.button(IDELabel.Button.UP).click();
+ newPropertyIndex--;
+ }
+ propertiesEditor.save();
+ bot.sleep(Timing.time2S());
+ Assertions.assertSourceEditorContains(PropertiesEditorTest.stripXMLSourceText(
+ propertiesEditor.toTextEditor().getText()),
+ getExpectedPropertiesEditorText(originalLines,
+ newPropertyName,
+ newPropertyValue,
+ newPropertyIndex),
+ PropertiesEditorTest.PROPERTIES_FILE_NAME);
+ assertEnabled(bot.button(IDELabel.Button.DOWN));
+ assertNotEnabled(bot.button(IDELabel.Button.UP));
+ // Update Property Directly
+ propTable.select(newPropertyIndex);
+ final String updatedPropertyName = "updPropName";
+ final String updatedPropertyValue = "updPropValue";
+ propTable.select(newPropertyIndex);
+ propTable.setFocus();
+ bot.sleep(Timing.time2S());
+ propTable.click(newPropertyIndex, 0);
+ bot.sleep(Timing.time2S());
+ KeyboardHelper.typeBasicStringUsingAWT(updatedPropertyName);
+ propTable.click(newPropertyIndex, 1);
+ KeyboardHelper.typeBasicStringUsingAWT(updatedPropertyValue);
+ propTable.select(newPropertyIndex);
+ propertiesEditor.save();
+ bot.sleep(Timing.time2S());
+ Assertions.assertSourceEditorContains(PropertiesEditorTest.stripXMLSourceText(
+ propertiesEditor.toTextEditor().getText()),
+ getExpectedPropertiesEditorText(originalLines,
+ updatedPropertyName,
+ updatedPropertyValue,
+ newPropertyIndex),
+ PropertiesEditorTest.PROPERTIES_FILE_NAME);
+ // Update Property via Dialog
+ propTable.select(newPropertyIndex);
+ bot.button(IDELabel.Button.EDIT_WITHOUT_DOTS).click();
+ bot.shell(IDELabel.Shell.EDIT).activate();
+ SWTBotText txName = bot.textWithLabel(IDELabel.PropertiesEditor.ADD_PROPERTIES_DIALOG_NAME_LABEL);
+ assertEquals("Text with label Name: has to have value " + updatedPropertyName +
+ " but has " + txName.getText(),
+ txName.getText(), updatedPropertyName);
+ SWTBotText txValue = bot.textWithLabel(IDELabel.PropertiesEditor.ADD_PROPERTIES_DIALOG_VALUE_LABEL);
+ assertEquals("Text with label Value: has to have value " + updatedPropertyValue +
+ " but has " + txValue.getText(),
+ txValue.getText(), updatedPropertyValue);
+ txName.setText(newPropertyName);
+ txValue.setText(newPropertyValue);
+ bot.button(IDELabel.Button.FINISH).click();
+ propertiesEditor.save();
+ bot.sleep(Timing.time2S());
+ Assertions.assertSourceEditorContains(PropertiesEditorTest.stripXMLSourceText(
+ propertiesEditor.toTextEditor().getText()),
+ getExpectedPropertiesEditorText(originalLines,
+ newPropertyName,
+ newPropertyValue,
+ newPropertyIndex),
+ PropertiesEditorTest.PROPERTIES_FILE_NAME);
+ // Delete Property
+ propTable.select(newPropertyIndex);
+ bot.button(IDELabel.Button.DELETE).click();
+ bot.shell(IDELabel.Shell.CONFIRMATION).activate();
+ bot.button(IDELabel.Button.OK).click();
+ propertiesEditor.save();
+ bot.sleep(Timing.time2S());
+ assertEquals("Properties file " + PropertiesEditorTest.PROPERTIES_FILE_NAME +
+ " should have content:\n" + originalContent +
+ "\nbut has:]n" + propertiesEditor.toTextEditor().getText(),
+ originalContent, propertiesEditor.toTextEditor().getText());
+ }
+ /**
+ * Split editor content to particular lines
+ * @param editor
+ * @return
+ */
+ private static String[] splitEditorContentToLines(SWTBotEclipseEditor editor){
+
+ String[] result = new String[editor.getLineCount()];
+
+ for (int index = 0 ; index < result.length ; index ++){
+ result[index] = editor.getTextOnLine(index);
+ }
+
+ return result;
+
+ }
+ /**
+ * Returns Properties File Source striped from EOL
+ *
+ * @return String
+ */
+ private static String stripXMLSourceText(String editorText) {
+ return editorText.replaceAll("\n", "").replaceAll("\r", "").replaceAll("\f", "");
+ }
+ /**
+ * Returns expected Properties Editor Text dependent on expected new Property position within
+ * properties file
+ * @param originalLines
+ * @param propertyName
+ * @param propertyValue
+ * @param propertyIndex
+ * @return
+ */
+ private static String getExpectedPropertiesEditorText (String[] originalLines,
+ String propertyName,
+ String propertyValue,
+ int propertyIndex){
+ StringBuffer sbExpectedText = new StringBuffer("");
+
+ for (int index = 0 ; index < propertyIndex ; index++){
+ sbExpectedText.append(originalLines[index]);
+ }
+ sbExpectedText.append(propertyName);
+ sbExpectedText.append("=");
+ sbExpectedText.append(propertyValue);
+
+ for (int index = propertyIndex ; index < originalLines.length ; index++){
+ sbExpectedText.append(originalLines[index]);
+ }
+
+ return sbExpectedText.toString();
+
+ }
+}
+
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/smoke/PropertiesEditorTest.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java 2011-12-01 03:37:50 UTC (rev 36821)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java 2011-12-01 09:07:50 UTC (rev 36822)
@@ -111,6 +111,8 @@
public static final String REFRESH = "Refresh";
public static final String TEST = "Test";
public static final String DELETE = "Delete";
+ public static final String UP = "Up";
+ public static final String DOWN = "Down";
}
public class Shell {
@@ -179,6 +181,8 @@
public static final String ADD_VALIDATOR = "Add Validator";
public static final String NEW_VIEW = "New View";
public static final String AUTO_LAYOUT = "Auto Layout";
+ public static final String ADD_PROPERTY = "Add Property";
+ public static final String EDIT = "Edit";
}
public class EntityGroup {
@@ -772,4 +776,15 @@
public static final String TEMPLATE_TEXT_LABEL = "Template:*";
public static final String CREATE_FILE_ON_DISK_CHECKBOX_LABEL = "Create File on Disk";
}
+
+ public static class PropertiesEditor{
+
+ public static final String SOURCE_TAB_LABEL = "Source";
+ public static final String PROPERTIES_TAB_LABEL = "Properties";
+ public static final String ADD_PROPERTIES_DIALOG_NAME_LABEL = "Name:*";
+ public static final String ADD_PROPERTIES_DIALOG_VALUE_LABEL = "Value:";
+ public static final String EDIT_PROPERTIES_DIALOG_NAME_LABEL = "Name:*";
+ public static final String EDIT_PROPERTIES_DIALOG_VALUE_LABEL = "Value:";
+
+ }
}
14 years
JBoss Tools SVN: r36821 - trunk/openshift/docs/reference/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2011-11-30 22:37:50 -0500 (Wed, 30 Nov 2011)
New Revision: 36821
Modified:
trunk/openshift/docs/reference/en-US/Book_Info.xml
trunk/openshift/docs/reference/en-US/Introduction.xml
trunk/openshift/docs/reference/en-US/OpenShift_Tools_Reference_Guide.xml
trunk/openshift/docs/reference/en-US/Preface.xml
trunk/openshift/docs/reference/en-US/Revision_History.xml
trunk/openshift/docs/reference/en-US/master.xml
Log:
updated with new information. Screenshots to come
Modified: trunk/openshift/docs/reference/en-US/Book_Info.xml
===================================================================
--- trunk/openshift/docs/reference/en-US/Book_Info.xml 2011-12-01 03:22:06 UTC (rev 36820)
+++ trunk/openshift/docs/reference/en-US/Book_Info.xml 2011-12-01 03:37:50 UTC (rev 36821)
@@ -4,7 +4,7 @@
<bookinfo id="book-OpenShift_Tools_Reference_Guide-OpenShift_Tools_Reference_Guide">
<title>OpenShift Tools Reference Guide</title>
<subtitle>
- Provides information about the use of the <application>JBoss Developer Studio</application> from a beginners level.
+ Provides information about the use of the <application>JBoss Developer Studio</application> with the Red Hat <application>OpenShift</application> service.
</subtitle>
<productname>JBoss Developer Studio</productname>
@@ -17,7 +17,7 @@
<abstract>
<para>
- The Beginners Guide brings all concepts pertaining to the <application>JBoss Developer Studio</application> back to basics. It is intended for individuals who may be new to application servers and the creation of applications for deployment.
+ The OpenShift Tools Reference Guide explains how to create a connection and utilize the <application>OpenShift</application> service from within <application>JBoss Developer Studio</application>.
</para>
</abstract>
Modified: trunk/openshift/docs/reference/en-US/Introduction.xml
===================================================================
--- trunk/openshift/docs/reference/en-US/Introduction.xml 2011-12-01 03:22:06 UTC (rev 36820)
+++ trunk/openshift/docs/reference/en-US/Introduction.xml 2011-12-01 03:37:50 UTC (rev 36821)
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='utf-8' ?>
-<chapter id="chap-Beginners_Guide-Introduction">
+ <chapter id="chap-OpenSift_Tools_Reference_Guide-Introduction">
<title>Introduction</title>
<para>
OpenShift is a cloud solution for your application server requirements. OpenShift Express in particular is a free, cloud-based application platform for Java, Perl, PHP, Python, and Ruby applications. JBoss Developer Studio supports OpenShift Express and this guide will show you how to connect, create and deploy with OpenShift Express from your JBoss Developer Studio workbench.
Modified: trunk/openshift/docs/reference/en-US/OpenShift_Tools_Reference_Guide.xml
===================================================================
--- trunk/openshift/docs/reference/en-US/OpenShift_Tools_Reference_Guide.xml 2011-12-01 03:22:06 UTC (rev 36820)
+++ trunk/openshift/docs/reference/en-US/OpenShift_Tools_Reference_Guide.xml 2011-12-01 03:37:50 UTC (rev 36821)
@@ -5,6 +5,7 @@
<xi:include href="Book_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="Preface.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="Introduction.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Creating_an_OpenShift_Express_Application.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="Feedback.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="Revision_History.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
</book>
Modified: trunk/openshift/docs/reference/en-US/Preface.xml
===================================================================
--- trunk/openshift/docs/reference/en-US/Preface.xml 2011-12-01 03:22:06 UTC (rev 36820)
+++ trunk/openshift/docs/reference/en-US/Preface.xml 2011-12-01 03:37:50 UTC (rev 36821)
@@ -1,9 +1,9 @@
<?xml version='1.0' encoding='utf-8' ?>
<!--<!DOCTYPE preface PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-<!ENTITY % BOOK_ENTITIES SYSTEM "Cloud_Tools_Reference_Guide.ent">
+ <!ENTITY % BOOK_ENTITIES SYSTEM "OpenSift_Tools_Reference_Guide.ent">
%BOOK_ENTITIES;
]> -->
-<preface id="pref-Cloud_Tools_Reference_Guide-Preface">
+ <preface id="pref-OpenSift_Tools_Reference_Guide-Preface">
<title>Preface</title>
<para>
This manual uses several conventions to highlight certain words and phrases and draw attention to specific pieces of information. To get more information on these conventions please refer to the <guilabel>Document Conventions</guilabel> manual, which can be found on the <ulink url="http://docs.redhat.com/docs/en-US/JBoss_Developer_Studio/index.html">Red Hat Documentation</ulink> website under the <guilabel>JBoss Developer Studio</guilabel> section.
Modified: trunk/openshift/docs/reference/en-US/Revision_History.xml
===================================================================
--- trunk/openshift/docs/reference/en-US/Revision_History.xml 2011-12-01 03:22:06 UTC (rev 36820)
+++ trunk/openshift/docs/reference/en-US/Revision_History.xml 2011-12-01 03:37:50 UTC (rev 36821)
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='utf-8' ?>
-<appendix id="appe-Beginners_Guide-Revision_History">
+<appendix id="appe-OpenSift_Tools_Reference_Guide-Revision_History">
<title>Revision History</title>
<simpara>
<revhistory>
Modified: trunk/openshift/docs/reference/en-US/master.xml
===================================================================
--- trunk/openshift/docs/reference/en-US/master.xml 2011-12-01 03:22:06 UTC (rev 36820)
+++ trunk/openshift/docs/reference/en-US/master.xml 2011-12-01 03:37:50 UTC (rev 36821)
@@ -4,6 +4,7 @@
[<!ENTITY Preface SYSTEM "Preface.xml">
<!ENTITY Introduction SYSTEM "Introduction.xml">
+<!ENTITY Creating_Express_Application SYSTEM "Creating_an_OpenShift_Express_Application.xml">
<!ENTITY Revision_History SYSTEM "Revision_History.xml">
]>
@@ -48,6 +49,7 @@
<toc/>
<!-- &Preface; -->
&Introduction;
+ &Creating_Express_Application;
&Revision_History;
</book>
14 years
JBoss Tools SVN: r36820 - in trunk/as/plugins: org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/v7/management and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2011-11-30 22:22:06 -0500 (Wed, 30 Nov 2011)
New Revision: 36820
Added:
trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/jboss-as-controller-client-7.1.0.Beta1b.jar
trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/jboss-as-protocol-7.1.0.Beta1b.jar
trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/jboss-remoting-3.2.0.CR5-SNAPSHOT.jar
trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/jboss-sasl-1.0.0.Beta8.jar
trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/xnio-api-3.0.0.CR5.jar
trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/xnio-nio-3.0.0.CR5.jar
Removed:
trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/jboss-as-controller-client-7.1.0.CR1-SNAPSHOT.jar
trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/jboss-as-protocol-7.1.0.CR1-SNAPSHOT.jar
trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/jboss-remoting-3.2.0.CR3.jar
trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/jboss-sasl-1.0.0.Beta6.jar
trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/xnio-api-3.0.0.CR4.jar
trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/xnio-nio-3.0.0.CR4.jar
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7ManagerServicePoller.java
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/v7/management/JBoss7ManagerUtil.java
trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/.classpath
trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/META-INF/MANIFEST.MF
trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/build.properties
trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/src/org/jboss/ide/eclipse/as/internal/management/as71/JBoss71ManagerService.java
Log:
JBIDE-10293 committed updated client jars, removed old hack for 71b1 and minimal fix for broken auth handling in our eclipse code
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7ManagerServicePoller.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7ManagerServicePoller.java 2011-12-01 02:07:48 UTC (rev 36819)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7ManagerServicePoller.java 2011-12-01 03:22:06 UTC (rev 36820)
@@ -90,6 +90,10 @@
for( int i = 0; i < retPrompts.length; i++) {
retPrompts[i] = (String)requiredPropertiesReturned.get(prompts[i]);
}
+
+ // If not cleared then it will keep asking for username/password
+ requiresInfoException = null;
+
return retPrompts;
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/v7/management/JBoss7ManagerUtil.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/v7/management/JBoss7ManagerUtil.java 2011-12-01 02:07:48 UTC (rev 36819)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/v7/management/JBoss7ManagerUtil.java 2011-12-01 03:22:06 UTC (rev 36820)
@@ -20,48 +20,14 @@
private static final String JBOSS7_RUNTIME = "org.jboss.ide.eclipse.as.runtime.70"; //$NON-NLS-1$
private static final String JBOSS71_RUNTIME = "org.jboss.ide.eclipse.as.runtime.71"; //$NON-NLS-1$
private static final String EAP6_RUNTIME = "org.jboss.ide.eclipse.as.runtime.eap.60"; //$NON-NLS-1$
- private static final int UNLIKELY_PORT = 65401;
public static IJBoss7ManagerService getService(IServer server) throws InvalidSyntaxException {
BundleContext context = JBossServerCorePlugin.getContext();
JBoss7ManagerServiceProxy proxy = new JBoss7ManagerServiceProxy(context, getRequiredVersion(server));
- skipLazyInit();
proxy.open();
return proxy;
}
-
- private static boolean initialized = false;
- /* HUUUUUUUUGE HACK
- *
- * Workaround for https://issues.jboss.org/browse/AS7-2772
- * Issue is that AS7.1beta1 client jars changes the security protocol thus we need to ensure it gets registered first.
- * */
- private synchronized static void skipLazyInit() {
- if( !initialized ) {
-
- // Testing to see if forcing the proxy open will
- BundleContext context = JBossServerCorePlugin.getContext();
- JBoss7ManagerServiceProxy proxy = null;
- try {
- proxy = new JBoss7ManagerServiceProxy(context, IJBoss7ManagerService.AS_VERSION_710_Beta);
- proxy.open();
- //proxy.getServerState("localhost", UNLIKELY_PORT); //$NON-NLS-1$
- proxy.init();
- } catch( Exception e ) {
- // ignore, expected failure
- }
- try {
- proxy = new JBoss7ManagerServiceProxy(context, IJBoss7ManagerService.AS_VERSION_700);
- proxy.open();
- //proxy.getServerState("localhost", UNLIKELY_PORT); //$NON-NLS-1$
- proxy.init();
- } catch(Exception e ) {
- // ignore, expected failure
- }
- initialized = true;
- }
- }
private static String getRequiredVersion(IServer server) {
String id = server.getRuntime().getRuntimeType().getId();
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/.classpath
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/.classpath 2011-12-01 02:07:48 UTC (rev 36819)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/.classpath 2011-12-01 03:22:06 UTC (rev 36820)
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry exported="true" kind="lib" path="jboss-as-controller-client-7.1.0.CR1-SNAPSHOT.jar" sourcepath="/home/rob/code/jboss/as7/jboss-as/controller-client"/>
- <classpathentry exported="true" kind="lib" path="jboss-as-protocol-7.1.0.CR1-SNAPSHOT.jar" sourcepath="/home/rob/code/jboss/as7/jboss-as/protocol"/>
- <classpathentry exported="true" kind="lib" path="jboss-dmr-1.1.0.Final.jar" sourcepath="/home/rob/code/jboss/as7/jboss-dmr"/>
+ <classpathentry exported="true" kind="lib" path="jboss-remoting-3.2.0.CR5-SNAPSHOT.jar"/>
+ <classpathentry exported="true" kind="lib" path="jboss-as-controller-client-7.1.0.Beta1b.jar"/>
+ <classpathentry exported="true" kind="lib" path="jboss-as-protocol-7.1.0.Beta1b.jar"/>
+ <classpathentry exported="true" kind="lib" path="jboss-dmr-1.1.0.Final.jar"/>
<classpathentry exported="true" kind="lib" path="jboss-logging-3.1.0.CR2.jar"/>
<classpathentry exported="true" kind="lib" path="jboss-marshalling-1.3.4.GA.jar"/>
- <classpathentry exported="true" kind="lib" path="jboss-remoting-3.2.0.CR3.jar"/>
- <classpathentry exported="true" kind="lib" path="jboss-sasl-1.0.0.Beta6.jar"/>
+ <classpathentry exported="true" kind="lib" path="jboss-sasl-1.0.0.Beta8.jar"/>
<classpathentry exported="true" kind="lib" path="jboss-threads-2.0.0.GA.jar"/>
- <classpathentry exported="true" kind="lib" path="xnio-api-3.0.0.CR4.jar"/>
- <classpathentry exported="true" kind="lib" path="xnio-nio-3.0.0.CR4.jar"/>
+ <classpathentry exported="true" kind="lib" path="xnio-api-3.0.0.CR5.jar"/>
+ <classpathentry exported="true" kind="lib" path="xnio-nio-3.0.0.CR5.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/META-INF/MANIFEST.MF
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/META-INF/MANIFEST.MF 2011-12-01 02:07:48 UTC (rev 36819)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/META-INF/MANIFEST.MF 2011-12-01 03:22:06 UTC (rev 36820)
@@ -10,16 +10,16 @@
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-ClassPath: .,
- jboss-as-controller-client-7.1.0.CR1-SNAPSHOT.jar,
- jboss-as-protocol-7.1.0.CR1-SNAPSHOT.jar,
+ jboss-as-controller-client-7.1.0.Beta1b.jar,
+ jboss-as-protocol-7.1.0.Beta1b.jar,
jboss-dmr-1.1.0.Final.jar,
jboss-logging-3.1.0.CR2.jar,
jboss-marshalling-1.3.4.GA.jar,
- jboss-remoting-3.2.0.CR3.jar,
- jboss-sasl-1.0.0.Beta6.jar,
+ jboss-remoting-3.2.0.CR5-SNAPSHOT.jar,
+ jboss-sasl-1.0.0.Beta8.jar,
jboss-threads-2.0.0.GA.jar,
- xnio-api-3.0.0.CR4.jar,
- xnio-nio-3.0.0.CR4.jar
+ xnio-api-3.0.0.CR5.jar,
+ xnio-nio-3.0.0.CR5.jar
Service-Component: META-INF/jboss-management-service.xml
Export-Package: org.jboss.ide.eclipse.as.internal.management.as71;x-friends:="org.jboss.ide.eclipse.as.management.as7.tests"
Bundle-Vendor: JBoss by Red Hat
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/build.properties
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/build.properties 2011-12-01 02:07:48 UTC (rev 36819)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/build.properties 2011-12-01 03:22:06 UTC (rev 36820)
@@ -7,13 +7,13 @@
output.. = bin/
bin.includes = META-INF/,\
.,\
- jboss-as-controller-client-7.1.0.CR1-SNAPSHOT.jar,\
- jboss-as-protocol-7.1.0.CR1-SNAPSHOT.jar,\
+ jboss-as-controller-client-7.1.0.Beta1b.jar,\
+ jboss-as-protocol-7.1.0.Beta1b.jar,\
jboss-dmr-1.1.0.Final.jar,\
jboss-logging-3.1.0.CR2.jar,\
jboss-marshalling-1.3.4.GA.jar,\
- jboss-remoting-3.2.0.CR3.jar,\
- jboss-sasl-1.0.0.Beta6.jar,\
+ jboss-sasl-1.0.0.Beta8.jar,\
jboss-threads-2.0.0.GA.jar,\
- xnio-api-3.0.0.CR4.jar,\
- xnio-nio-3.0.0.CR4.jar
+ xnio-api-3.0.0.CR5.jar,\
+ xnio-nio-3.0.0.CR5.jar,\
+ jboss-remoting-3.2.0.CR5-SNAPSHOT.jar
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/jboss-as-controller-client-7.1.0.Beta1b.jar
===================================================================
(Binary files differ)
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/jboss-as-controller-client-7.1.0.Beta1b.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Deleted: trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/jboss-as-controller-client-7.1.0.CR1-SNAPSHOT.jar
===================================================================
(Binary files differ)
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/jboss-as-protocol-7.1.0.Beta1b.jar
===================================================================
(Binary files differ)
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/jboss-as-protocol-7.1.0.Beta1b.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Deleted: trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/jboss-as-protocol-7.1.0.CR1-SNAPSHOT.jar
===================================================================
(Binary files differ)
Deleted: trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/jboss-remoting-3.2.0.CR3.jar
===================================================================
(Binary files differ)
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/jboss-remoting-3.2.0.CR5-SNAPSHOT.jar
===================================================================
(Binary files differ)
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/jboss-remoting-3.2.0.CR5-SNAPSHOT.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Deleted: trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/jboss-sasl-1.0.0.Beta6.jar
===================================================================
(Binary files differ)
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/jboss-sasl-1.0.0.Beta8.jar
===================================================================
(Binary files differ)
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/jboss-sasl-1.0.0.Beta8.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/src/org/jboss/ide/eclipse/as/internal/management/as71/JBoss71ManagerService.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/src/org/jboss/ide/eclipse/as/internal/management/as71/JBoss71ManagerService.java 2011-12-01 02:07:48 UTC (rev 36819)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/src/org/jboss/ide/eclipse/as/internal/management/as71/JBoss71ManagerService.java 2011-12-01 03:22:06 UTC (rev 36820)
@@ -27,10 +27,6 @@
public class JBoss71ManagerService implements IJBoss7ManagerService {
public void init() throws Exception {
- JBossSaslProvider saslProvider = new JBossSaslProvider();
- if (Security.getProvider(saslProvider.getName()) == null) {
- Security.insertProviderAt(saslProvider, 1);
- }
}
public IJBoss7DeploymentResult deployAsync(AS7ManagementDetails details, String deploymentName,
Deleted: trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/xnio-api-3.0.0.CR4.jar
===================================================================
(Binary files differ)
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/xnio-api-3.0.0.CR5.jar
===================================================================
(Binary files differ)
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/xnio-api-3.0.0.CR5.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Deleted: trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/xnio-nio-3.0.0.CR4.jar
===================================================================
(Binary files differ)
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/xnio-nio-3.0.0.CR5.jar
===================================================================
(Binary files differ)
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/xnio-nio-3.0.0.CR5.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
14 years
JBoss Tools SVN: r36819 - trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/launch.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2011-11-30 21:07:48 -0500 (Wed, 30 Nov 2011)
New Revision: 36819
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/launch/UserPassCredentialProvider.java
Log:
fixed compilation problem
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 2011-12-01 02:00:59 UTC (rev 36818)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/launch/UserPassCredentialProvider.java 2011-12-01 02:07:48 UTC (rev 36819)
@@ -35,7 +35,6 @@
*/
public class UserPassCredentialProvider implements IProvideCredentials {
- @Override
public boolean accepts(IServerProvider serverProvider,
List<String> requiredProperties) {
IServer s = serverProvider.getServer();
14 years