Author: jpeterka
Date: 2012-07-31 11:00:03 -0400 (Tue, 31 Jul 2012)
New Revision: 42814
Added:
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/.classpath
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/.project
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/.settings/
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/.settings/org.eclipse.jdt.core.prefs
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/META-INF/
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/META-INF/MANIFEST.MF
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/build.properties
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/org.jboss.tools.dummy.ui.bot.testa/
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/pom.xml
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/src/
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/src/org/
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/src/org/jboss/
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/src/org/jboss/tools/
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/src/org/jboss/tools/dummy/
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/src/org/jboss/tools/dummy/ui/
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/src/org/jboss/tools/dummy/ui/bot/
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/src/org/jboss/tools/dummy/ui/bot/test/
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/src/org/jboss/tools/dummy/ui/bot/test/Activator.java
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/src/org/jboss/tools/dummy/ui/bot/test/DummySuite.java
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/src/org/jboss/tools/dummy/ui/bot/test/DummyTest.java
Log:
org.jboss.tools.dummy.ui.bot.test initial commit
Added: trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/.classpath
===================================================================
--- trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/.classpath
(rev 0)
+++ trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/.classpath 2012-07-31 15:00:03 UTC
(rev 42814)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <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="output" path="bin"/>
+</classpath>
Property changes on: trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/.classpath
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/.project
===================================================================
--- trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/.project
(rev 0)
+++ trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/.project 2012-07-31 15:00:03 UTC
(rev 42814)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.dummy.ui.bot.test</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Property changes on: trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/.project
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/.settings/org.eclipse.jdt.core.prefs
===================================================================
---
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/.settings/org.eclipse.jdt.core.prefs
(rev 0)
+++
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/.settings/org.eclipse.jdt.core.prefs 2012-07-31
15:00:03 UTC (rev 42814)
@@ -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
Property changes on:
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/META-INF/MANIFEST.MF
(rev 0)
+++ trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/META-INF/MANIFEST.MF 2012-07-31
15:00:03 UTC (rev 42814)
@@ -0,0 +1,11 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Test
+Bundle-SymbolicName: org.jboss.tools.dummy.ui.bot.test
+Bundle-Version: 1.0.0.qualifier
+Bundle-Activator: org.jboss.tools.dummy.ui.bot.test.Activator
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.swtbot.go;bundle-version="2.0.5"
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Property changes on:
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/META-INF/MANIFEST.MF
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/build.properties
===================================================================
--- trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/build.properties
(rev 0)
+++ trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/build.properties 2012-07-31
15:00:03 UTC (rev 42814)
@@ -0,0 +1,4 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .
Property changes on: trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/build.properties
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/pom.xml
===================================================================
--- trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/pom.xml
(rev 0)
+++ trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/pom.xml 2012-07-31 15:00:03 UTC
(rev 42814)
@@ -0,0 +1,18 @@
+<?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">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.jboss.tools.tests</groupId>
+ <artifactId>tests</artifactId>
+ <version>3.4.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.jboss.tools.tests.tests</groupId>
+ <artifactId>org.jboss.tools.dummy.ui.bot.test</artifactId>
+
+ <packaging>eclipse-test-plugin</packaging>
+
+ <properties>
+ <skipTests>true</skipTests>
+ </properties>
+</project>
\ No newline at end of file
Property changes on: trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/pom.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/src/org/jboss/tools/dummy/ui/bot/test/Activator.java
===================================================================
---
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/src/org/jboss/tools/dummy/ui/bot/test/Activator.java
(rev 0)
+++
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/src/org/jboss/tools/dummy/ui/bot/test/Activator.java 2012-07-31
15:00:03 UTC (rev 42814)
@@ -0,0 +1,50 @@
+package org.jboss.tools.dummy.ui.bot.test;
+
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class Activator extends AbstractUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.jboss.tools.dummy.ui.bot.test";
//$NON-NLS-1$
+
+ // The shared instance
+ private static Activator plugin;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+
+}
Property changes on:
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/src/org/jboss/tools/dummy/ui/bot/test/Activator.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/src/org/jboss/tools/dummy/ui/bot/test/DummySuite.java
===================================================================
---
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/src/org/jboss/tools/dummy/ui/bot/test/DummySuite.java
(rev 0)
+++
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/src/org/jboss/tools/dummy/ui/bot/test/DummySuite.java 2012-07-31
15:00:03 UTC (rev 42814)
@@ -0,0 +1,16 @@
+package org.jboss.tools.dummy.ui.bot.test;
+
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+import org.junit.runners.Suite.SuiteClasses;
+
+/**
+ * Dummy test suite is SWTBot test suite for basic jenkins slave test
+ * @author Jiri Peterka
+ *
+ */
+(a)RunWith(Suite.class)
+(a)SuiteClasses({DummyTest.class})
+public class DummySuite {
+
+}
Property changes on:
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/src/org/jboss/tools/dummy/ui/bot/test/DummySuite.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/src/org/jboss/tools/dummy/ui/bot/test/DummyTest.java
===================================================================
---
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/src/org/jboss/tools/dummy/ui/bot/test/DummyTest.java
(rev 0)
+++
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/src/org/jboss/tools/dummy/ui/bot/test/DummyTest.java 2012-07-31
15:00:03 UTC (rev 42814)
@@ -0,0 +1,28 @@
+package org.jboss.tools.dummy.ui.bot.test;
+
+
+import org.eclipse.swtbot.swt.finder.junit.SWTBotJunit4ClassRunner;
+import org.junit.BeforeClass;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+
+/**
+ * Dummy bot tests - designed to test jenkins slaves
+ * @author jpeterka
+ *
+ */
+(a)RunWith(SWTBotJunit4ClassRunner.class)
+public class DummyTest {
+
+ @BeforeClass
+ public static void before() {
+
+ }
+
+ @Test
+ public void dummyTest() {
+
+ }
+
+
+}
Property changes on:
trunk/tests/tests/org.jboss.tools.dummy.ui.bot.test/src/org/jboss/tools/dummy/ui/bot/test/DummyTest.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain