Author: DartPeng
Date: 2010-01-13 03:27:10 -0500 (Wed, 13 Jan 2010)
New Revision: 19725
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/.classpath
workspace/dart/org.jboss.tools.smooks.ui.bot.test/.project
workspace/dart/org.jboss.tools.smooks.ui.bot.test/.settings/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/.settings/org.eclipse.jdt.core.prefs
workspace/dart/org.jboss.tools.smooks.ui.bot.test/META-INF/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/META-INF/MANIFEST.MF
workspace/dart/org.jboss.tools.smooks.ui.bot.test/build.properties
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.classpath
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.project
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.settings/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.settings/org.eclipse.jdt.core.prefs
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/NewXMLSchema.xsd
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/input-message.xml
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/testdata.csv
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/smooks/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/smooks/example/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/smooks/example/People.class
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/smooks/example/Person.class
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/srcmodel/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/srcmodel/Header.class
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/srcmodel/Order.class
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/srcmodel/OrderItem.class
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/srcmodel/Priority.class
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/trgmodel/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/trgmodel/LineItem.class
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/trgmodel/LineOrder.class
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/trgmodel/LineOrderPriority.class
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/xml2java/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/xml2java/example/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/xml2java/example/model/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/xml2java/example/model/Header.class
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/xml2java/example/model/Order.class
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/xml2java/example/model/OrderItem.class
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/antlr-2.7.7.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/commons-collections-3.1.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/commons-lang-2.1.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/commons-logging-1.1.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/flute-1.3.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/freemarker-2.3.11.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/groovy-all-1.5.0.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/jackson-core-lgpl-1.0.1.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/javassist-3.7.ga.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/jline-0.9.93.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/jta-1.1.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-commons-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-edisax-parser-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-magger-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-scribe-core-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-scribe-hibernate-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-scribe-ibatis-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-scribe-jpa-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-calc-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-core-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-css-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-csv-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-edi-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-ejc-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-javabean-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-json-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-misc-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-persistence-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-routing-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-rules-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-scripting-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-servlet-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-templating-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-validation-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-tinak-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/mvel2-2.0.12.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/nekohtml-0.9.5.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/ognl-2.7.3.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/opencsv-1.8.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/persistence-api-1.0.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/sac-1.3.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/slf4j-api-1.5.8.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/stringtemplate-2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/xercesImpl-2.9.1.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/xml-apis-1.0.b2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/xpp3_min-1.1.3.4.O.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/xstream-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/NewXMLSchema.xsd
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/input-message.xml
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/testdata.csv
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/smooks/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/smooks/example/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/smooks/example/People.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/smooks/example/Person.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Customer.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Header.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Order.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/OrderItem.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/ediresources/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/ediresources/edi-to-xml-order-mapping.xml
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/ediresources/input-message.edi
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Header.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Order.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/OrderItem.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Priority.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineItem.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineOrder.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineOrderPriority.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/Header.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/Order.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/OrderItem.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/screenshots/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/screenshots/screenshot-EDI2JavaTest.testNewConfigEDI.jpeg
workspace/dart/org.jboss.tools.smooks.ui.bot.test/screenshots/screenshot-EDI2JavaTest.testNewEDI2JavaFile.jpeg
workspace/dart/org.jboss.tools.smooks.ui.bot.test/screenshots/screenshot-NewSmooksFileWizardTest.testNewSmooksConfigFile.jpeg
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/AbstractSmooksUIBotTest.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/SmooksBotTestActivator.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/editor/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/editor/X2XTest.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/wizard/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/wizard/NewSmooksFileWizardTest.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/wizard/expected-file.xml
Log:
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/.classpath
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/.classpath
(rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/.classpath 2010-01-13 08:27:10 UTC
(rev 19725)
@@ -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/J2SE-1.5"/>
+ <classpathentry kind="con"
path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/.project
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/.project
(rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/.project 2010-01-13 08:27:10 UTC
(rev 19725)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.smooks.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: workspace/dart/org.jboss.tools.smooks.ui.bot.test/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/.settings/org.eclipse.jdt.core.prefs
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/.settings/org.eclipse.jdt.core.prefs
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/.settings/org.eclipse.jdt.core.prefs 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,8 @@
+#Fri Jan 08 14:15:29 CST 2010
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/META-INF/MANIFEST.MF
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/META-INF/MANIFEST.MF
(rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/META-INF/MANIFEST.MF 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,31 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Test
+Bundle-SymbolicName: org.jboss.tools.smooks.ui.bot.test
+Bundle-Version: 1.0.0.qualifier
+Bundle-Activator: org.jboss.tools.smooks.ui.bot.test.SmooksBotTestActivator
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.jboss.tools.ui.bot.ext,
+ org.eclipse.swtbot.eclipse.core;bundle-version="2.0.0",
+ org.eclipse.swtbot.eclipse.finder;bundle-version="2.0.0",
+ org.eclipse.swtbot.eclipse.gef.finder;bundle-version="2.0.0",
+ org.eclipse.swtbot.eclipse.spy;bundle-version="2.0.0",
+ org.eclipse.swtbot.eclipse.ui;bundle-version="2.0.0",
+ org.eclipse.swtbot.junit4_x;bundle-version="2.0.0",
+ org.eclipse.swtbot.swt.finder;bundle-version="2.0.0",
+ org.hamcrest;bundle-version="1.1.0",
+ org.junit4;bundle-version="4.5.0",
+ org.jboss.tools.common.test;bundle-version="2.0.0",
+ org.eclipse.core.filesystem;bundle-version="1.2.0",
+ org.eclipse.core.resources;bundle-version="3.5.1",
+ org.eclipse.ui.ide;bundle-version="3.5.0",
+ org.jboss.tools.tests;bundle-version="2.0.0",
+ org.jboss.tools.smooks.ui;bundle-version="1.0.0",
+ org.eclipse.zest.core;bundle-version="1.1.0",
+ org.eclipse.zest.layouts;bundle-version="1.1.0",
+ org.eclipse.gef;bundle-version="3.5.0",
+ org.jboss.tools.smooks.core;bundle-version="1.0.0",
+ org.eclipse.ui.views.properties.tabbed;bundle-version="3.5.0"
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/build.properties
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/build.properties
(rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/build.properties 2010-01-13 08:27:10
UTC (rev 19725)
@@ -0,0 +1,4 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/build.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.classpath
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.classpath
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.classpath 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="lib" path="libs/antlr-2.7.7.jar"/>
+ <classpathentry kind="lib"
path="libs/commons-collections-3.1.jar"/>
+ <classpathentry kind="lib" path="libs/commons-lang-2.1.jar"/>
+ <classpathentry kind="lib"
path="libs/commons-logging-1.1.jar"/>
+ <classpathentry kind="lib" path="libs/flute-1.3.jar"/>
+ <classpathentry kind="lib"
path="libs/freemarker-2.3.11.jar"/>
+ <classpathentry kind="lib" path="libs/groovy-all-1.5.0.jar"/>
+ <classpathentry kind="lib"
path="libs/jackson-core-lgpl-1.0.1.jar"/>
+ <classpathentry kind="lib" path="libs/javassist-3.7.ga.jar"/>
+ <classpathentry kind="lib" path="libs/jline-0.9.93.jar"/>
+ <classpathentry kind="lib" path="libs/jta-1.1.jar"/>
+ <classpathentry kind="lib"
path="libs/milyn-commons-1.2.2.jar"/>
+ <classpathentry kind="lib"
path="libs/milyn-edisax-parser-1.2.2.jar"/>
+ <classpathentry kind="lib"
path="libs/milyn-magger-1.2.2.jar"/>
+ <classpathentry kind="lib"
path="libs/milyn-scribe-core-1.2.2.jar"/>
+ <classpathentry kind="lib"
path="libs/milyn-scribe-hibernate-1.2.2.jar"/>
+ <classpathentry kind="lib"
path="libs/milyn-scribe-ibatis-1.2.2.jar"/>
+ <classpathentry kind="lib"
path="libs/milyn-scribe-jpa-1.2.2.jar"/>
+ <classpathentry kind="lib"
path="libs/milyn-smooks-calc-1.2.2.jar"/>
+ <classpathentry kind="lib"
path="libs/milyn-smooks-core-1.2.2.jar"/>
+ <classpathentry kind="lib"
path="libs/milyn-smooks-css-1.2.2.jar"/>
+ <classpathentry kind="lib"
path="libs/milyn-smooks-csv-1.2.2.jar"/>
+ <classpathentry kind="lib"
path="libs/milyn-smooks-edi-1.2.2.jar"/>
+ <classpathentry kind="lib"
path="libs/milyn-smooks-ejc-1.2.2.jar"/>
+ <classpathentry kind="lib"
path="libs/milyn-smooks-javabean-1.2.2.jar"/>
+ <classpathentry kind="lib"
path="libs/milyn-smooks-json-1.2.2.jar"/>
+ <classpathentry kind="lib"
path="libs/milyn-smooks-misc-1.2.2.jar"/>
+ <classpathentry kind="lib"
path="libs/milyn-smooks-persistence-1.2.2.jar"/>
+ <classpathentry kind="lib"
path="libs/milyn-smooks-routing-1.2.2.jar"/>
+ <classpathentry kind="lib"
path="libs/milyn-smooks-rules-1.2.2.jar"/>
+ <classpathentry kind="lib"
path="libs/milyn-smooks-scripting-1.2.2.jar"/>
+ <classpathentry kind="lib"
path="libs/milyn-smooks-servlet-1.2.2.jar"/>
+ <classpathentry kind="lib"
path="libs/milyn-smooks-templating-1.2.2.jar"/>
+ <classpathentry kind="lib"
path="libs/milyn-smooks-validation-1.2.2.jar"/>
+ <classpathentry kind="lib"
path="libs/milyn-tinak-1.2.2.jar"/>
+ <classpathentry kind="lib" path="libs/mvel2-2.0.12.jar"/>
+ <classpathentry kind="lib" path="libs/nekohtml-0.9.5.jar"/>
+ <classpathentry kind="lib" path="libs/ognl-2.7.3.jar"/>
+ <classpathentry kind="lib" path="libs/opencsv-1.8.jar"/>
+ <classpathentry kind="lib"
path="libs/persistence-api-1.0.jar"/>
+ <classpathentry kind="lib" path="libs/sac-1.3.jar"/>
+ <classpathentry kind="lib" path="libs/slf4j-api-1.5.8.jar"/>
+ <classpathentry kind="lib"
path="libs/stringtemplate-2.2.jar"/>
+ <classpathentry kind="lib" path="libs/xercesImpl-2.9.1.jar"/>
+ <classpathentry kind="lib" path="libs/xml-apis-1.0.b2.jar"/>
+ <classpathentry kind="lib"
path="libs/xpp3_min-1.1.3.4.O.jar"/>
+ <classpathentry kind="lib" path="libs/xstream-1.2.2.jar"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.project
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.project
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.project 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>smooks-ui-bot-test-project</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.settings/org.eclipse.jdt.core.prefs
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.settings/org.eclipse.jdt.core.prefs
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.settings/org.eclipse.jdt.core.prefs 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,12 @@
+#Fri Jan 08 14:42:39 CST 2010
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/NewXMLSchema.xsd
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/NewXMLSchema.xsd
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/NewXMLSchema.xsd 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+<xs:element name="shiporderaddress">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="shipto">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="name" type="xs:string"/>
+ <xs:element name="address" type="xs:string"/>
+ <xs:element name="city" type="xs:string"/>
+ <xs:element name="country" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+</xs:element>
+
+</xs:schema>
\ No newline at end of file
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/NewXMLSchema.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/input-message.xml
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/input-message.xml
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/input-message.xml 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,18 @@
+<order>
+ <header>
+ <date>Wed Nov 15 13:45:28 EST 2006</date>
+ <customer number="123123">Joe</customer>
+ </header>
+ <order-items>
+ <order-item>
+ <product>111</product>
+ <quantity>2</quantity>
+ <price>8.90</price>
+ </order-item>
+ <order-item>
+ <product>222</product>
+ <quantity>7</quantity>
+ <price>5.20</price>
+ </order-item>
+ </order-items>
+</order>
\ No newline at end of file
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/input-message.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/testdata.csv
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/testdata.csv
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/testdata.csv 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,3 @@
+George Finklebine,123 Wacky St.,Insane,CA,95021
+George Jehosophat Jr.,456 Bizarro Ln.,Youhoo,CO,80111
+George Burns,789 Pushing Daisies Ct.,Gracie,IL,14560
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/smooks/example/People.class
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/smooks/example/People.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/smooks/example/Person.class
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/smooks/example/Person.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/srcmodel/Header.class
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/srcmodel/Header.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/srcmodel/Order.class
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/srcmodel/Order.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/srcmodel/OrderItem.class
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/srcmodel/OrderItem.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/srcmodel/Priority.class
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/srcmodel/Priority.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/trgmodel/LineItem.class
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/trgmodel/LineItem.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/trgmodel/LineOrder.class
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/trgmodel/LineOrder.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/trgmodel/LineOrderPriority.class
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/trgmodel/LineOrderPriority.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/xml2java/example/model/Header.class
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/xml2java/example/model/Header.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/xml2java/example/model/Order.class
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/xml2java/example/model/Order.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/xml2java/example/model/OrderItem.class
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/xml2java/example/model/OrderItem.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/antlr-2.7.7.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/antlr-2.7.7.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/commons-collections-3.1.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/commons-collections-3.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/commons-lang-2.1.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/commons-lang-2.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/commons-logging-1.1.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/commons-logging-1.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/flute-1.3.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/flute-1.3.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/freemarker-2.3.11.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/freemarker-2.3.11.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/groovy-all-1.5.0.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/groovy-all-1.5.0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/jackson-core-lgpl-1.0.1.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/jackson-core-lgpl-1.0.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/javassist-3.7.ga.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/javassist-3.7.ga.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/jline-0.9.93.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/jline-0.9.93.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/jta-1.1.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/jta-1.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-commons-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-commons-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-edisax-parser-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-edisax-parser-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-magger-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-magger-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-scribe-core-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-scribe-core-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-scribe-hibernate-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-scribe-hibernate-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-scribe-ibatis-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-scribe-ibatis-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-scribe-jpa-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-scribe-jpa-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-calc-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-calc-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-core-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-core-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-css-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-css-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-csv-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-csv-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-edi-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-edi-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-ejc-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-ejc-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-javabean-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-javabean-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-json-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-json-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-misc-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-misc-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-persistence-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-persistence-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-routing-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-routing-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-rules-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-rules-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-scripting-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-scripting-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-servlet-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-servlet-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-templating-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-templating-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-validation-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-validation-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-tinak-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-tinak-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/mvel2-2.0.12.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/mvel2-2.0.12.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/nekohtml-0.9.5.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/nekohtml-0.9.5.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/ognl-2.7.3.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/ognl-2.7.3.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/opencsv-1.8.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/opencsv-1.8.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/persistence-api-1.0.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/persistence-api-1.0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/sac-1.3.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/sac-1.3.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/slf4j-api-1.5.8.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/slf4j-api-1.5.8.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/stringtemplate-2.2.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/stringtemplate-2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/xercesImpl-2.9.1.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/xercesImpl-2.9.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/xml-apis-1.0.b2.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/xml-apis-1.0.b2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/xpp3_min-1.1.3.4.O.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/xpp3_min-1.1.3.4.O.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/xstream-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/xstream-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/NewXMLSchema.xsd
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/NewXMLSchema.xsd
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/NewXMLSchema.xsd 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+<xs:element name="shiporderaddress">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="shipto">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="name" type="xs:string"/>
+ <xs:element name="address" type="xs:string"/>
+ <xs:element name="city" type="xs:string"/>
+ <xs:element name="country" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+</xs:element>
+
+</xs:schema>
\ No newline at end of file
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/NewXMLSchema.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/input-message.xml
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/input-message.xml
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/input-message.xml 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,18 @@
+<order>
+ <header>
+ <date>Wed Nov 15 13:45:28 EST 2006</date>
+ <customer number="123123">Joe</customer>
+ </header>
+ <order-items>
+ <order-item>
+ <product>111</product>
+ <quantity>2</quantity>
+ <price>8.90</price>
+ </order-item>
+ <order-item>
+ <product>222</product>
+ <quantity>7</quantity>
+ <price>5.20</price>
+ </order-item>
+ </order-items>
+</order>
\ No newline at end of file
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/input-message.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/testdata.csv
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/testdata.csv
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/testdata.csv 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,3 @@
+George Finklebine,123 Wacky St.,Insane,CA,95021
+George Jehosophat Jr.,456 Bizarro Ln.,Youhoo,CO,80111
+George Burns,789 Pushing Daisies Ct.,Gracie,IL,14560
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/smooks/example/People.java
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/smooks/example/People.java
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/smooks/example/People.java 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,25 @@
+package brian.smooks.example;
+
+import java.util.ArrayList;
+import java.util.Collection;
+
+public class People {
+
+ private Collection<Person> persons;
+
+ public People() {
+ // no arg constructor
+ }
+
+ public Collection<Person> getPersons() {
+ if (persons == null) {
+ persons = new ArrayList<Person>();
+ }
+ return persons;
+ }
+
+ public void setPersons ( final Collection<Person> persons ) {
+ this.persons = persons;
+ }
+
+}
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/smooks/example/People.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/smooks/example/Person.java
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/smooks/example/Person.java
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/smooks/example/Person.java 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,48 @@
+package brian.smooks.example;
+
+public class Person {
+
+ private String name;
+ private String street;
+ private String city;
+ private String state;
+ private String zip;
+
+ public Person() {
+ //no arg constructor
+ }
+
+ public String getName() {
+ return name;
+ }
+ public void setName(final String name) {
+ this.name = name;
+ }
+ public String getStreet() {
+ return street;
+ }
+ public void setStreet(final String street) {
+ this.street = street;
+ }
+ public String getCity() {
+ return city;
+ }
+ public void setCity(final String city) {
+ this.city = city;
+ }
+ public String getState() {
+ return state;
+ }
+ public void setState(final String state) {
+ this.state = state;
+ }
+ public String getZip() {
+ return zip;
+ }
+ public void setZip(final String zip) {
+ this.zip = zip;
+ }
+
+
+
+}
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/smooks/example/Person.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Customer.java
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Customer.java
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Customer.java 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,63 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+
http://www.gnu.org/licenses/lgpl.txt
+*/
+package edi2java.example.model;
+
+/**
+ * @author <a
href="mailto:tom.fennelly@gmail.com">tom.fennelly@gmail.com</a>
+ */
+public class Customer {
+
+ private String userName;
+ private String firstName;
+ private String lastName;
+ private String state;
+
+ public String getUserName() {
+ return userName;
+ }
+
+ public void setUserName(String userName) {
+ this.userName = userName;
+ }
+
+ public String getFirstName() {
+ return firstName;
+ }
+
+ public void setFirstName(String firstName) {
+ this.firstName = firstName;
+ }
+
+ public String getLastName() {
+ return lastName;
+ }
+
+ public void setLastName(String lastName) {
+ this.lastName = lastName;
+ }
+
+ public String getState() {
+ return state;
+ }
+
+ public void setState(String state) {
+ this.state = state;
+ }
+
+ public String toString() {
+ return (lastName + ", " + firstName);
+ }
+}
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Customer.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Header.java
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Header.java
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Header.java 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,98 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+
http://www.gnu.org/licenses/lgpl.txt
+*/
+package edi2java.example.model;
+
+import java.util.Date;
+import java.math.BigDecimal;
+
+/**
+ * @author <a
href="mailto:tom.fennelly@gmail.com">tom.fennelly@gmail.com</a>
+ */
+public class Header {
+ private String orderId;
+ private long orderStatus;
+ private BigDecimal netAmount;
+ private BigDecimal totalAmount;
+ private BigDecimal tax;
+ private Date date;
+ private Customer customer;
+
+ public String getOrderId() {
+ return orderId;
+ }
+
+ public void setOrderId(String orderId) {
+ this.orderId = orderId;
+ }
+
+ public long getOrderStatus() {
+ return orderStatus;
+ }
+
+ public void setOrderStatus(long orderStatus) {
+ this.orderStatus = orderStatus;
+ }
+
+ public BigDecimal getNetAmount() {
+ return netAmount;
+ }
+
+ public void setNetAmount(BigDecimal netAmount) {
+ this.netAmount = netAmount;
+ }
+
+ public BigDecimal getTotalAmount() {
+ return totalAmount;
+ }
+
+ public void setTotalAmount(BigDecimal totalAmount) {
+ this.totalAmount = totalAmount;
+ }
+
+ public BigDecimal getTax() {
+ return tax;
+ }
+
+ public void setTax(BigDecimal tax) {
+ this.tax = tax;
+ }
+
+ public Date getDate() {
+ return date;
+ }
+
+ public void setDate(Date date) {
+ this.date = date;
+ }
+
+ public Customer getCustomer() {
+ return customer;
+ }
+
+ public void setCustomer(Customer customer) {
+ this.customer = customer;
+ }
+
+ public String toString() {
+ StringBuffer desc = new StringBuffer();
+
+ desc.append("\tCustomer: " + customer + "\n");
+ desc.append("\tDate: " + date + "\n");
+ desc.append("\tDetails: ID=" + orderId + ", Status=" +
orderStatus + ", Total=" + totalAmount + "\n");
+
+ return desc.toString();
+ }
+}
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Header.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Order.java
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Order.java
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Order.java 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,55 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+
http://www.gnu.org/licenses/lgpl.txt
+*/
+package edi2java.example.model;
+
+import java.util.List;
+
+/**
+ * @author <a
href="mailto:tom.fennelly@gmail.com">tom.fennelly@gmail.com</a>
+ */
+public class Order {
+ private Header header2;
+ private List<OrderItem> orderItems;
+
+ public Header getHeader2() {
+ return header2;
+ }
+
+ public void setHeader2(Header header) {
+ this.header2 = header;
+ }
+
+ public List<OrderItem> getOrderItems() {
+ return orderItems;
+ }
+
+ public void setOrderItems(List<OrderItem> orderItems) {
+ this.orderItems = orderItems;
+ }
+
+ public String toString() {
+ StringBuffer desc = new StringBuffer();
+
+ desc.append("Order Header: \n");
+ desc.append(header2);
+ desc.append("Order Items: \n");
+ for(int i = 0; i < orderItems.size(); i++) {
+ desc.append("\t" + "(" + i + "): " +
orderItems.get(i)).append("\n");
+ }
+
+ return desc.toString();
+ }
+}
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Order.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/OrderItem.java
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/OrderItem.java
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/OrderItem.java 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,64 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+
http://www.gnu.org/licenses/lgpl.txt
+*/
+package edi2java.example.model;
+
+import java.math.BigDecimal;
+
+/**
+ * @author <a
href="mailto:tom.fennelly@gmail.com">tom.fennelly@gmail.com</a>
+ */
+public class OrderItem {
+ private int quantity;
+ private String productId;
+ private BigDecimal price;
+ private String title;
+
+ public int getQuantity() {
+ return quantity;
+ }
+
+ public void setQuantity(int quantity) {
+ this.quantity = quantity;
+ }
+
+ public String getProductId() {
+ return productId;
+ }
+
+ public void setProductId(String productId) {
+ this.productId = productId;
+ }
+
+ public BigDecimal getPrice() {
+ return price;
+ }
+
+ public void setPrice(BigDecimal price) {
+ this.price = price;
+ }
+
+ public String getTitle() {
+ return title;
+ }
+
+ public void setTitle(String title) {
+ this.title = title;
+ }
+
+ public String toString() {
+ return "ProductID=" + productId + ", Quantity=" + quantity +
", Title='" + title + "', Price=" + price;
+ }
+}
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/OrderItem.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/ediresources/edi-to-xml-order-mapping.xml
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/ediresources/edi-to-xml-order-mapping.xml
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/ediresources/edi-to-xml-order-mapping.xml 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<medi:edimap
xmlns:medi="http://www.milyn.org/schema/edi-message-mapping-1.0.xsd&...
+
+ <medi:description name="DVD Order" version="1.0" />
+
+ <medi:delimiters segment=" " field="*"
component="^" sub-component="~" />
+
+ <medi:segments xmltag="Order">
+
+ <medi:segment segcode="HDR" xmltag="header1">
+ <medi:field xmltag="order-id" />
+ <medi:field xmltag="status-code" />
+ <medi:field xmltag="net-amount" />
+ <medi:field xmltag="total-amount" />
+ <medi:field xmltag="tax1" />
+ <medi:field xmltag="date1" />
+ </medi:segment>
+
+ <medi:segment segcode="CUS" xmltag="customer-details">
+ <medi:field xmltag="username" />
+ <medi:field xmltag="name">
+ <medi:component xmltag="firstname" />
+ <medi:component xmltag="lastname" />
+ </medi:field>
+ <medi:field xmltag="state1" />
+ </medi:segment>
+
+ <medi:segment segcode="ORD" xmltag="order-item"
maxOccurs="-1">
+ <medi:field xmltag="position" />
+ <medi:field xmltag="quantity1" />
+ <medi:field xmltag="product-id" />
+ <medi:field xmltag="title1" />
+ <medi:field xmltag="price1" />
+ </medi:segment>
+
+ </medi:segments>
+
+</medi:edimap>
\ No newline at end of file
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/ediresources/edi-to-xml-order-mapping.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/ediresources/input-message.edi
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/ediresources/input-message.edi
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/ediresources/input-message.edi 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,4 @@
+HDR*1*0*59.97*64.92*4.95*Wed Nov 15 13:45:28 EST 2006
+CUS*user1*Harry^Fletcher*SD
+ORD*1*1*364*The 40-Year-Old Virgin*29.98
+ORD*2*1*299*Pulp Fiction*29.99
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Header.java
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Header.java
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Header.java 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,72 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+
http://www.gnu.org/licenses/lgpl.txt
+*/
+package java2java.example.srcmodel;
+
+
+/**
+ * @author <a
href="mailto:tom.fennelly@gmail.com">tom.fennelly@gmail.com</a>
+ */
+public class Header {
+
+ private Long customerNumber = 1234L;
+
+ private String customerName = "Buzz Lightyear";
+
+ private Priority priority = Priority.HIGH;
+
+ public Long getCustomerNumber() {
+ return customerNumber;
+ }
+
+ public void setCustomerNumber(Long customerNumber) {
+ this.customerNumber = customerNumber;
+ }
+
+ public String getCustomerName() {
+ return customerName;
+ }
+
+ public void setCustomerName(String customerName) {
+ this.customerName = customerName;
+ }
+
+ /**
+ * @return the priority
+ */
+ public Priority getPriority() {
+ return priority;
+ }
+
+ /**
+ * @param priority the priority to set
+ */
+ public void setPriority(Priority priority) {
+ this.priority = priority;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder stringBuilder = new StringBuilder();
+
+ stringBuilder.append("customerNumber: " + customerNumber + ",
");
+ stringBuilder.append("customerName: " + customerName + ",
");
+ stringBuilder.append("priority: " + priority);
+
+
+ return stringBuilder.toString();
+ }
+
+}
\ No newline at end of file
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Header.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Order.java
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Order.java
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Order.java 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,69 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+
http://www.gnu.org/licenses/lgpl.txt
+*/
+package java2java.example.srcmodel;
+
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * @author <a
href="mailto:tom.fennelly@gmail.com">tom.fennelly@gmail.com</a>
+ */
+public class Order {
+ private Header header;
+ private List<OrderItem> orderItems;
+
+ public Order() {
+ header = new Header();
+ orderItems = new ArrayList<OrderItem>();
+ orderItems.add(new OrderItem());
+ orderItems.add(new OrderItem());
+
+ orderItems.get(0).setProductId(111);
+ orderItems.get(0).setQuantity(2);
+ orderItems.get(0).setPrice(10.99);
+
+ orderItems.get(1).setProductId(222);
+ orderItems.get(1).setQuantity(4);
+ orderItems.get(1).setPrice(25.50);
+ }
+
+ public Header getHeader() {
+ return header;
+ }
+
+ public void setHeader(Header header) {
+ this.header = header;
+ }
+
+ public List<OrderItem> getOrderItems() {
+ return orderItems;
+ }
+
+ public void setOrderItems(List<OrderItem> orderItems) {
+ this.orderItems = orderItems;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder stringBuilder = new StringBuilder();
+
+ stringBuilder.append("Class: " + getClass().getName() +
"\n");
+ stringBuilder.append("\theader: " + header + "\n");
+ stringBuilder.append("\torderItems: " + orderItems);
+
+ return stringBuilder.toString();
+ }
+}
\ No newline at end of file
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Order.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/OrderItem.java
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/OrderItem.java
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/OrderItem.java 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,59 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+
http://www.gnu.org/licenses/lgpl.txt
+*/
+package java2java.example.srcmodel;
+
+/**
+ * @author <a
href="mailto:tom.fennelly@gmail.com">tom.fennelly@gmail.com</a>
+ */
+public class OrderItem {
+ private long productId;
+ private Integer quantity;
+ private double price;
+
+ public long getProductId() {
+ return productId;
+ }
+
+ public void setProductId(long productId) {
+ this.productId = productId;
+ }
+
+ public Integer getQuantity() {
+ return quantity;
+ }
+
+ public void setQuantity(Integer quantity) {
+ this.quantity = quantity;
+ }
+
+ public double getPrice() {
+ return price;
+ }
+
+ public void setPrice(double price) {
+ this.price = price;
+ }
+
+ public String toString() {
+ StringBuilder stringBuilder = new StringBuilder();
+
+ stringBuilder.append("{productId: " + productId + " | ");
+ stringBuilder.append("quantity: " + quantity + " | ");
+ stringBuilder.append("price: " + price + "}");
+
+ return stringBuilder.toString();
+ }
+}
\ No newline at end of file
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/OrderItem.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Priority.java
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Priority.java
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Priority.java 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,28 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+
http://www.gnu.org/licenses/lgpl.txt
+*/
+package java2java.example.srcmodel;
+
+/**
+ * @author <a
href="mailto:maurice.zeijen@smies.com">maurice.zeijen@smies.com</a>
+ *
+ */
+public enum Priority {
+
+ LOW,
+ MEDIUM,
+ HIGH;
+
+}
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Priority.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineItem.java
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineItem.java
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineItem.java 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,61 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+
http://www.gnu.org/licenses/lgpl.txt
+*/
+package java2java.example.trgmodel;
+
+import java.math.BigDecimal;
+
+/**
+ * @author <a
href="mailto:tom.fennelly@gmail.com">tom.fennelly@gmail.com</a>
+ */
+public class LineItem {
+ private String productCode;
+ private int unitQuantity;
+ private BigDecimal unitPrice;
+
+ public String getProductCode() {
+ return productCode;
+ }
+
+ public void setProductCode(String productCode) {
+ this.productCode = productCode;
+ }
+
+ public int getUnitQuantity() {
+ return unitQuantity;
+ }
+
+ public void setUnitQuantity(int unitQuantity) {
+ this.unitQuantity = unitQuantity;
+ }
+
+ public BigDecimal getUnitPrice() {
+ return unitPrice;
+ }
+
+ public void setUnitPrice(BigDecimal unitPrice) {
+ this.unitPrice = unitPrice;
+ }
+
+ public String toString() {
+ StringBuilder stringBuilder = new StringBuilder();
+
+ stringBuilder.append("{productCode: " + productCode + " |
");
+ stringBuilder.append("unitQuantity: " + unitQuantity + " |
");
+ stringBuilder.append("unitPrice: " + unitPrice + "}");
+
+ return stringBuilder.toString();
+ }
+}
\ No newline at end of file
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineItem.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineOrder.java
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineOrder.java
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineOrder.java 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,85 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+
http://www.gnu.org/licenses/lgpl.txt
+*/
+package java2java.example.trgmodel;
+
+import java.util.Arrays;
+
+/**
+ * @author <a
href="mailto:tom.fennelly@gmail.com">tom.fennelly@gmail.com</a>
+ */
+public class LineOrder {
+ private String customerId;
+ private String customerName;
+
+ private LineOrderPriority priority;
+
+ private LineItem[] lineItems;
+
+ public String getCustomerId() {
+ return customerId;
+ }
+
+ public void setCustomerId(String customerId) {
+ this.customerId = customerId;
+ }
+
+ public String getCustomerName() {
+ return customerName;
+ }
+
+ public void setCustomerName(String customerName) {
+ this.customerName = customerName;
+ }
+
+ public LineItem[] getLineItems() {
+ return lineItems;
+ }
+
+ public void setLineItems(LineItem[] lineItems) {
+ this.lineItems = lineItems;
+ }
+
+ /**
+ * @return the priority
+ */
+ public LineOrderPriority getPriority() {
+ return priority;
+ }
+
+ /**
+ * @param priority the priority to set
+ */
+ public void setPriority(LineOrderPriority priority) {
+ this.priority = priority;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder stringBuilder = new StringBuilder();
+
+ stringBuilder.append("Class: " + getClass().getName() +
"\n");
+ stringBuilder.append("\tcustomerId: " + customerId + "\n");
+ stringBuilder.append("\tcustomerName: " + customerName +
"\n");
+ stringBuilder.append("\tpriority: " + getPriority() + "\n");
+ if(lineItems != null) {
+ stringBuilder.append("\tlineItems: " + Arrays.asList(lineItems));
+ }
+
+ return stringBuilder.toString();
+ }
+
+
+}
\ No newline at end of file
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineOrder.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineOrderPriority.java
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineOrderPriority.java
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineOrderPriority.java 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,28 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+
http://www.gnu.org/licenses/lgpl.txt
+*/
+package java2java.example.trgmodel;
+
+/**
+ * @author <a
href="mailto:maurice.zeijen@smies.com">maurice.zeijen@smies.com</a>
+ *
+ */
+public enum LineOrderPriority {
+
+ NOT_IMPORTANT,
+ IMPORTANT,
+ VERY_IMPORTANT;
+
+}
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineOrderPriority.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/Header.java
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/Header.java
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/Header.java 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,51 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+
http://www.gnu.org/licenses/lgpl.txt
+*/
+package xml2java.example.model;
+
+import java.util.Date;
+
+/**
+ * @author <a
href="mailto:tom.fennelly@gmail.com">tom.fennelly@gmail.com</a>
+ */
+public class Header {
+ private Date date;
+ private Long customerNumber;
+ private String customerName;
+
+ public Date getDate() {
+ return date;
+ }
+
+ public void setDate(Date date) {
+ this.date = date;
+ }
+
+ public Long getCustomerNumber() {
+ return customerNumber;
+ }
+
+ public void setCustomerNumber(Long customerNumber) {
+ this.customerNumber = customerNumber;
+ }
+
+ public String getCustomerName() {
+ return customerName;
+ }
+
+ public void setCustomerName(String customerName) {
+ this.customerName = customerName;
+ }
+}
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/Header.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/Order.java
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/Order.java
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/Order.java 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,42 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+
http://www.gnu.org/licenses/lgpl.txt
+*/
+package xml2java.example.model;
+
+import java.util.List;
+
+/**
+ * @author <a
href="mailto:tom.fennelly@gmail.com">tom.fennelly@gmail.com</a>
+ */
+public class Order {
+ private Header header;
+ private List<OrderItem> orderItems;
+
+ public Header getHeader() {
+ return header;
+ }
+
+ public void setHeader(Header header) {
+ this.header = header;
+ }
+
+ public List<OrderItem> getOrderItems() {
+ return orderItems;
+ }
+
+ public void setOrderItems(List<OrderItem> orderItems) {
+ this.orderItems = orderItems;
+ }
+}
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/Order.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/OrderItem.java
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/OrderItem.java
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/OrderItem.java 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,49 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+
http://www.gnu.org/licenses/lgpl.txt
+*/
+package xml2java.example.model;
+
+/**
+ * @author <a
href="mailto:tom.fennelly@gmail.com">tom.fennelly@gmail.com</a>
+ */
+public class OrderItem {
+ private long productId;
+ private Integer quantity;
+ private double price;
+
+ public long getProductId() {
+ return productId;
+ }
+
+ public void setProductId(long productId) {
+ this.productId = productId;
+ }
+
+ public Integer getQuantity() {
+ return quantity;
+ }
+
+ public void setQuantity(Integer quantity) {
+ this.quantity = quantity;
+ }
+
+ public double getPrice() {
+ return price;
+ }
+
+ public void setPrice(double price) {
+ this.price = price;
+ }
+}
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/OrderItem.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/screenshots/screenshot-EDI2JavaTest.testNewConfigEDI.jpeg
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/screenshots/screenshot-EDI2JavaTest.testNewConfigEDI.jpeg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/screenshots/screenshot-EDI2JavaTest.testNewEDI2JavaFile.jpeg
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/screenshots/screenshot-EDI2JavaTest.testNewEDI2JavaFile.jpeg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/screenshots/screenshot-NewSmooksFileWizardTest.testNewSmooksConfigFile.jpeg
===================================================================
(Binary files differ)
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/screenshots/screenshot-NewSmooksFileWizardTest.testNewSmooksConfigFile.jpeg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/AbstractSmooksUIBotTest.java
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/AbstractSmooksUIBotTest.java
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/AbstractSmooksUIBotTest.java 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,562 @@
+/*******************************************************************************
+ * Copyright (c) 2008 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
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.smooks.ui.bot.test;
+
+import static org.eclipse.swtbot.swt.finder.matchers.WidgetMatcherFactory.widgetOfType;
+import static org.eclipse.swtbot.swt.finder.matchers.WidgetMatcherFactory.withMnemonic;
+import static org.hamcrest.Matchers.allOf;
+
+import java.io.File;
+import java.io.IOException;
+import java.lang.reflect.Field;
+import java.lang.reflect.InvocationTargetException;
+import java.lang.reflect.Method;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.FileLocator;
+import org.eclipse.core.runtime.Path;
+import org.eclipse.core.runtime.Platform;
+import org.eclipse.draw2d.FigureCanvas;
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.geometry.Point;
+import org.eclipse.gef.GraphicalEditPart;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.widgets.Control;
+import org.eclipse.swt.widgets.Display;
+import org.eclipse.swt.widgets.Event;
+import org.eclipse.swt.widgets.MenuItem;
+import org.eclipse.swt.widgets.ScrollBar;
+import org.eclipse.swt.widgets.Widget;
+import org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot;
+import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotView;
+import org.eclipse.swtbot.eclipse.gef.finder.widgets.SWTBotGefEditPart;
+import org.eclipse.swtbot.eclipse.gef.finder.widgets.SWTBotGefEditor;
+import org.eclipse.swtbot.swt.finder.SWTBot;
+import org.eclipse.swtbot.swt.finder.SWTBotTestCase;
+import org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException;
+import org.eclipse.swtbot.swt.finder.finders.ContextMenuFinder;
+import org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable;
+import org.eclipse.swtbot.swt.finder.matchers.WidgetMatcherFactory;
+import org.eclipse.swtbot.swt.finder.results.VoidResult;
+import org.eclipse.swtbot.swt.finder.waits.DefaultCondition;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotMenu;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotShell;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
+import org.eclipse.ui.dialogs.IOverwriteQuery;
+import org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyList;
+import
org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyList.ListElement;
+import org.eclipse.ui.wizards.datatransfer.ImportOperation;
+import org.eclipse.zest.core.widgets.Graph;
+import org.eclipse.zest.core.widgets.GraphNode;
+import org.hamcrest.Matcher;
+import org.jboss.tools.smooks.gef.tree.figures.TreeNodeFigure;
+import org.jboss.tools.smooks.graphical.editors.TaskTypeManager;
+import org.jboss.tools.smooks.graphical.editors.process.TaskType;
+import org.jboss.tools.test.util.JobUtils;
+import org.jboss.tools.test.util.ResourcesUtils;
+import org.jboss.tools.tests.ImportProvider;
+import org.osgi.framework.Bundle;
+
+/**
+ * @author Dart
+ *
+ */
+public abstract class AbstractSmooksUIBotTest extends SWTBotTestCase {
+
+ private static final long IMPORT_DELAY = 50;
+
+ private IProject testProject;
+
+ private static boolean welcomeclosed = false;
+
+ protected SWTWorkbenchBot bot = new SWTWorkbenchBot();
+
+ public static Bundle getSmooksCoreTestBundle() {
+ return Platform.getBundle(SmooksBotTestActivator.PLUGIN_ID);
+ }
+
+ public void clickTreeButton(final SWTBotGefEditPart treeNode, final SWTBotGefEditor
editor) {
+ UIThreadRunnable.syncExec(new VoidResult() {
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.swtbot.swt.finder.results.VoidResult#run()
+ */
+ public void run() {
+ IFigure figure = ((GraphicalEditPart) treeNode.part()).getFigure();
+ if (figure instanceof TreeNodeFigure) {
+ Point p = ((TreeNodeFigure) figure).getClickNode().getLocation();
+ System.out.println(p);
+ figure.translateToAbsolute(p);
+ editor.mouseMoveLeftClick(p.x, p.y);
+ }
+ }
+
+ });
+ }
+
+ protected void selectTabbedPropertyView(final SWTBot viewerBot, final String tabeText)
{
+ UIThreadRunnable.syncExec(new VoidResult() {
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.swtbot.swt.finder.results.VoidResult#run()
+ */
+ public void run() {
+ List<? extends Widget> widgets = viewerBot.getFinder().findControls(
+ WidgetMatcherFactory.widgetOfType(TabbedPropertyList.class));
+ assertTrue(widgets.size() > 0);
+ TabbedPropertyList tabbedPropertyList = (TabbedPropertyList) widgets.get(0);
+ Field elementsField = null;
+ Method selectMethod = null;
+ boolean elementsAccess = false;
+ boolean methodAccess = false;
+ try {
+ selectMethod = TabbedPropertyList.class.getDeclaredMethod("select", new
Class[] { int.class });
+
+ elementsField = TabbedPropertyList.class.getDeclaredField("elements");
+
+ elementsAccess = elementsField.isAccessible();
+
+ methodAccess = selectMethod.isAccessible();
+
+ selectMethod.setAccessible(true);
+
+ elementsField.setAccessible(true);
+
+ ListElement[] listElements = (ListElement[]) elementsField.get(tabbedPropertyList);
+ int index = -1;
+ for (int i = 0; i < listElements.length; i++) {
+ ListElement listElement = listElements[i];
+ String text = listElement.getTabItem().getText();
+ if (tabeText.equals(text)) {
+ index = i;
+ break;
+ }
+ }
+
+ if (index == -1)
+ throw new WidgetNotFoundException("Can't find a tab item with " +
tabeText + " label");
+
+ selectMethod.invoke(tabbedPropertyList, index);
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ } catch (NoSuchFieldException e) {
+ e.printStackTrace();
+ } catch (IllegalArgumentException e) {
+ e.printStackTrace();
+ } catch (IllegalAccessException e) {
+ e.printStackTrace();
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ } catch (InvocationTargetException e) {
+ e.printStackTrace();
+ } finally {
+ }
+ }
+
+ });
+ }
+
+ // public void moveToWidget(final Widget widget){
+ // final List<?> nodes = graph.getNodes();
+ // final String fid = id;
+ // bot.getDisplay().syncExec(new Runnable() {
+ //
+ // public void run() {
+ //
+ // for (Iterator<?> iterator = nodes.iterator(); iterator.hasNext();) {
+ // GraphNode node = (GraphNode) iterator.next();
+ // Object data = node.getData();
+ // if (data instanceof TaskType) {
+ // String id = ((TaskType) data).getId();
+ // if (fid.equals(id)) {
+ // int x = node.getLocation().x;
+ // int y = node.getLocation().y;
+ // Event event = new Event();
+ // event.type = SWT.MouseMove;
+ // event.x = widget.toDisplay(x, y).x + 20;
+ // event.y = graph.toDisplay(x, y).y + 20;
+ // x = event.x;
+ // y = event.y;
+ // graph.getDisplay().post(event);
+ // return;
+ // }
+ // }
+ // }
+ // }
+ // });
+ // }
+
+ public SWTBotMenu findProcessMapViewerContext(final Control graph, final String text) {
+ final SWTBotMenu[] botMenus = new SWTBotMenu[1];
+ bot.getDisplay().syncExec(new Runnable() {
+
+ public void run() {
+ Matcher<MenuItem> withMnemonic = withMnemonic(text);
+ final Matcher<MenuItem> matcher = allOf(widgetOfType(MenuItem.class),
withMnemonic);
+ final ContextMenuFinder menuFinder = new ContextMenuFinder(graph);
+ new SWTBot().waitUntil(new DefaultCondition() {
+ public String getFailureMessage() {
+ return "Could not find context menu with text: " + text; //$NON-NLS-1$
+ }
+
+ public boolean test() throws Exception {
+ return !menuFinder.findMenus(matcher).isEmpty();
+ }
+ });
+ List<MenuItem> menus = menuFinder.findMenus(matcher);
+ for (Iterator<?> iterator = menus.iterator(); iterator.hasNext();) {
+ MenuItem menuItem = (MenuItem) iterator.next();
+ if (!menuItem.isDisposed()) {
+ botMenus[0] = new SWTBotMenu(menuItem, matcher);
+ break;
+ }
+ }
+
+ }
+ });
+ assertNotNull(botMenus[0]);
+ return botMenus[0];
+
+ }
+
+ protected void workspaceFileSelectionWithSmooksFileSelectionWizardPage(SWTWorkbenchBot
bot, String title,
+ String[] path, String fileName) {
+
+ SWTBotShell shell = bot.shell(title);
+ shell.activate();
+
+ bot.button("Browse WorkSpace").click();
+
+ bot.shell("Select Files").activate();
+
+ SWTBotTree tree = bot.tree();
+ SWTBotTreeItem treeItem = null;
+ for (int i = 0; i < path.length; i++) {
+ String p = path[i];
+ if (treeItem == null) {
+ treeItem = tree.expandNode(p);
+ } else {
+ treeItem = treeItem.expandNode(p);
+ }
+ }
+
+ if (treeItem != null) {
+ treeItem.select(fileName);
+ }
+
+ bot.button("OK").click();
+
+ // SWTBotShell shell1 = bot.shell("File Selection");
+ // shell1.activate();
+
+ shell.activate();
+ bot.button("Finish").click();
+
+ }
+
+ protected void selectInputNode(SWTBot editorInnerBot) {
+ selectNode(editorInnerBot, TaskTypeManager.TASK_ID_INPUT, 1);
+ }
+
+ public void newSmooksConfigFile(String path, String name) {
+ bot.menu("File").menu("New").menu("Other...").click();
+ SWTBotShell shell = bot.shell("New");
+ shell.activate();
+ bot.tree().expandNode("Smooks").select("Smooks Configuration
File");
+ bot.button("Next >").click();
+
+ bot.textWithLabel("Enter or select the parent folder:").setText(path);
+ bot.textWithLabel("File name:").setText(name);
+
+ bot.button("Finish").click();
+ }
+
+ protected void moveToNode(SWTBot editorInnerBot, String id) {
+ final Graph graph = getGraph(editorInnerBot);
+ final List<?> nodes = graph.getNodes();
+ final String fid = id;
+ editorInnerBot.getDisplay().syncExec(new Runnable() {
+
+ public void run() {
+ for (Iterator<?> iterator = nodes.iterator(); iterator.hasNext();) {
+ GraphNode node = (GraphNode) iterator.next();
+ Object data = node.getData();
+ if (data instanceof TaskType) {
+ String id = ((TaskType) data).getId();
+ if (fid.equals(id)) {
+
+ int x = node.getLocation().x;
+ int y = node.getLocation().y;
+ Event event = new Event();
+ event.type = SWT.MouseMove;
+ event.x = graph.toDisplay(x, y).x + 20;
+ event.y = graph.toDisplay(x, y).y + 20;
+ x = event.x;
+ y = event.y;
+ graph.getDisplay().post(event);
+ return;
+ }
+ }
+ }
+ }
+ });
+ }
+
+ protected void selectControl(SWTBot editorInnerBot, final Control control, final int
button, final int x,
+ final int y) {
+ editorInnerBot.getDisplay().syncExec(new Runnable() {
+
+ public void run() {
+
+ Event event = new Event();
+ event.type = SWT.MouseMove;
+ event.x = control.toDisplay(x, y).x;
+ event.y = control.toDisplay(x, y).y;
+ control.getDisplay().post(event);
+
+ event = new Event();
+ event.type = SWT.MouseDown;
+ // event.x = x;
+ // event.y = y;
+ event.button = button;
+ control.getDisplay().post(event);
+
+ event = new Event();
+ event.type = SWT.MouseUp;
+ event.button = button;
+ // event.x = x;
+ // event.y = y;
+ control.getDisplay().post(event);
+ return;
+ }
+ });
+ }
+
+ protected void selectNode(SWTBot editorInnerBot, String id, final int button) {
+ final Graph graph = getGraph(editorInnerBot);
+ final List<?> nodes = graph.getNodes();
+ final String fid = id;
+ editorInnerBot.getDisplay().syncExec(new Runnable() {
+
+ public void run() {
+ for (Iterator<?> iterator = nodes.iterator(); iterator.hasNext();) {
+ GraphNode node = (GraphNode) iterator.next();
+ Object data = node.getData();
+ if (data instanceof TaskType) {
+ String id = ((TaskType) data).getId();
+ if (fid.equals(id)) {
+
+ int x = node.getLocation().x;
+ int y = node.getLocation().y;
+ Event event = new Event();
+ event.type = SWT.MouseMove;
+ event.x = graph.toDisplay(x, y).x + 20;
+ event.y = graph.toDisplay(x, y).y + 20;
+ x = event.x;
+ y = event.y;
+ graph.getDisplay().post(event);
+
+ event = new Event();
+ event.type = SWT.MouseDown;
+ event.x = x;
+ event.y = y;
+ event.button = button;
+ graph.getDisplay().post(event);
+
+ event = new Event();
+ event.type = SWT.MouseUp;
+ event.button = button;
+ event.x = x;
+ event.y = y;
+ graph.getDisplay().post(event);
+ return;
+ }
+ }
+ }
+ }
+ });
+ }
+
+ protected Graph getGraph(SWTBot editorInnerBot) {
+ List<? extends Widget> widgets = editorInnerBot.getFinder().findControls(
+ WidgetMatcherFactory.widgetOfType(Graph.class));
+ assertTrue(widgets.size() > 0);
+ Graph graph = (Graph) widgets.get(0);
+ return graph;
+ }
+
+ protected ScrollBar getScrollBar(final SWTBot editorInnerBot) {
+ final ScrollBar[] canvas = new ScrollBar[1];
+ UIThreadRunnable.syncExec(new VoidResult() {
+
+ public void run() {
+ List<? extends Widget> widgets = editorInnerBot.getFinder().findControls(
+ WidgetMatcherFactory.widgetOfType(ScrollBar.class));
+ assertTrue(widgets.size() > 0);
+ for (Iterator<?> iterator = widgets.iterator(); iterator.hasNext();) {
+ Widget widget = (Widget) iterator.next();
+ if (widget.getClass() == ScrollBar.class) {
+ canvas[0] = (ScrollBar) widget;
+ }
+ }
+ }
+ });
+ assertNotNull(canvas[0]);
+ return canvas[0];
+ }
+
+ protected FigureCanvas getFigureCanvas(final SWTBot editorInnerBot) {
+ final FigureCanvas[] canvas = new FigureCanvas[1];
+ UIThreadRunnable.syncExec(new VoidResult() {
+
+ public void run() {
+ List<? extends Widget> widgets = editorInnerBot.getFinder().findControls(
+ WidgetMatcherFactory.widgetOfType(FigureCanvas.class));
+ assertTrue(widgets.size() > 0);
+ for (Iterator<?> iterator = widgets.iterator(); iterator.hasNext();) {
+ Widget widget = (Widget) iterator.next();
+ if (widget.getClass() == FigureCanvas.class) {
+ canvas[0] = (FigureCanvas) widget;
+ }
+ }
+ }
+ });
+ assertNotNull(canvas[0]);
+ return canvas[0];
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see junit.framework.TestCase#setUp()
+ */
+ @Override
+ protected void setUp() throws Exception {
+ super.setUp();
+ if (!welcomeclosed) {
+ SWTBotView view = bot.viewByTitle("Welcome");
+ if (view != null && view.isActive()) {
+ view.close();
+ }
+ welcomeclosed = true;
+ }
+
+ setUpEnvironment();
+ }
+
+ private void setUpEnvironment() throws CoreException, IOException {
+ if (getTestProjectName() != null) {
+ String tplPrjLcStr;
+ tplPrjLcStr = FileLocator.resolve(
+ Platform.getBundle(SmooksBotTestActivator.PLUGIN_ID).getEntry("/projects/"
+ getTestProjectName()))
+ .getFile();
+ testProject = importProjectIntoWorkspace(tplPrjLcStr, new
Path(tplPrjLcStr).lastSegment());
+ }
+ }
+
+ public IProject importProjectIntoWorkspace(String path, String projectName) {
+ final IProject[] projects = new IProject[1];
+ final String fpath = path;
+ final String fpn = projectName;
+ Display.getDefault().syncExec(new Runnable() {
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see java.lang.Runnable#run()
+ */
+ public void run() {
+ try {
+ boolean state = ResourcesUtils.setBuildAutomatically(false);
+ projects[0] = ResourcesPlugin.getWorkspace().getRoot().getProject(fpn);
+ projects[0].create(null);
+ projects[0].open(null);
+ JobUtils.waitForIdle(IMPORT_DELAY);
+
+ IOverwriteQuery overwrite = new IOverwriteQuery() {
+ public String queryOverwrite(String pathString) {
+ return ALL;
+ }
+ };
+
+ ImportProvider importProvider = new ImportProvider();
+
+ // need to remove from imported project "svn" files
+ List<String> unimportedFiles = new ArrayList<String>();
+ unimportedFiles.add(".svn"); //$NON-NLS-1$
+
+ importProvider.setUnimportedFiles(unimportedFiles);
+
+ // create import operation
+ ImportOperation importOp = new ImportOperation(projects[0].getFullPath(), new
File(fpath),
+ importProvider, overwrite);
+
+ // import files just to project folder ( without old
+ // structure )
+ importOp.setCreateContainerStructure(false);
+
+ importOp.setContext(bot.getDisplay().getActiveShell());
+ // run import
+ importOp.run(null);
+ JobUtils.waitForIdle(IMPORT_DELAY);
+ ResourcesUtils.setBuildAutomatically(state);
+
+ } catch (InvocationTargetException ite) {
+ // TePlugin.getDefault().logError(ite.getCause());
+ } catch (InterruptedException ie) {
+ // VPETestPlugin.getDefault().logError(ie);
+ } catch (CoreException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+
+ }
+
+ });
+ return projects[0];
+ }
+
+ protected String getTestProjectName() {
+ return "smooks-ui-bot-test-project";
+ }
+
+ private void deleteTestProject() throws CoreException {
+ if (this.testProject != null) {
+ testProject.delete(true, null);
+ }
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see junit.framework.TestCase#tearDown()
+ */
+ @Override
+ protected void tearDown() throws Exception {
+ try {
+ deleteTestProject();
+ } catch (Exception e) {
+ // ignore
+ }
+ super.tearDown();
+ }
+
+}
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/AbstractSmooksUIBotTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/SmooksBotTestActivator.java
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/SmooksBotTestActivator.java
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/SmooksBotTestActivator.java 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,50 @@
+package org.jboss.tools.smooks.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 SmooksBotTestActivator extends AbstractUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.jboss.tools.smooks.ui.bot.test";
+
+ // The shared instance
+ private static SmooksBotTestActivator plugin;
+
+ /**
+ * The constructor
+ */
+ public SmooksBotTestActivator() {
+ }
+
+ /*
+ * (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 SmooksBotTestActivator getDefault() {
+ return plugin;
+ }
+
+}
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/SmooksBotTestActivator.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/editor/X2XTest.java
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/editor/X2XTest.java
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/editor/X2XTest.java 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,384 @@
+/*******************************************************************************
+ * Copyright (c) 2008 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
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.smooks.ui.bot.test.editor;
+
+import static
org.eclipse.swtbot.eclipse.finder.matchers.WidgetMatcherFactory.withPartName;
+import static org.eclipse.swtbot.eclipse.finder.waits.Conditions.waitForEditor;
+import static org.hamcrest.Matchers.allOf;
+
+import java.util.Iterator;
+import java.util.List;
+
+import org.eclipse.draw2d.FigureCanvas;
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.geometry.Point;
+import org.eclipse.gef.EditDomain;
+import org.eclipse.gef.GraphicalEditPart;
+import org.eclipse.gef.GraphicalViewer;
+import org.eclipse.gef.tools.ConnectionCreationTool;
+import org.eclipse.swtbot.eclipse.finder.waits.WaitForEditor;
+import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotEditor;
+import org.eclipse.swtbot.eclipse.gef.finder.SWTGefBot;
+import org.eclipse.swtbot.eclipse.gef.finder.matchers.IsInstanceOf;
+import org.eclipse.swtbot.eclipse.gef.finder.widgets.SWTBotGefEditPart;
+import org.eclipse.swtbot.eclipse.gef.finder.widgets.SWTBotGefEditor;
+import org.eclipse.swtbot.swt.finder.SWTBot;
+import org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable;
+import org.eclipse.swtbot.swt.finder.results.VoidResult;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotMenu;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
+import org.eclipse.ui.IEditorPart;
+import org.eclipse.ui.IEditorReference;
+import org.eclipse.ui.internal.ide.IDEWorkbenchMessages;
+import org.hamcrest.Matcher;
+import org.jboss.tools.smooks.gef.tree.editparts.TreeContainerEditPart;
+import org.jboss.tools.smooks.gef.tree.figures.TreeContainerFigure;
+import org.jboss.tools.smooks.graphical.editors.TaskTypeManager;
+import org.jboss.tools.smooks.graphical.editors.editparts.SmooksRootEditPart;
+import org.jboss.tools.smooks.ui.bot.test.AbstractSmooksUIBotTest;
+
+/**
+ * @author Dart
+ *
+ */
+public class X2XTest extends AbstractSmooksUIBotTest {
+
+ private String fileName = "edi-to-java.xml";
+
+ public void testNewCSV2JavaFile(){
+ fileName = "csv-to-java.xml";
+ SWTGefBot gefBot = new SWTGefBot();
+ this.newSmooksConfigFile(getTestProjectName(), fileName);
+ SWTBotEditor editor = bot.editorByTitle(fileName);
+ // max editor
+ bot.menu(IDEWorkbenchMessages.Workbench_window).menu("Maximize Active View or
Editor").click();
+ final SWTBot innerBot = editor.bot();
+ this.selectInputNode(innerBot);
+
+ innerBot.comboBoxWithLabel("Input Type:").setSelection("CSV");
+
+// innerBot.button("Browse").click();
+// workspaceFileSelectionWithSmooksFileSelectionWizardPage(bot, "File
Selection", new String[] {
+// getTestProjectName(), "src", "ediresources" },
"edi-to-xml-order-mapping.xml");
+// innerBot.button("Add").click();
+// workspaceFileSelectionWithSmooksFileSelectionWizardPage(bot, "EDI File
Selection", new String[] {
+// getTestProjectName(), "src", "ediresources" },
"input-message.edi");
+
+ }
+
+ public void testNewEDI2JavaFile() {
+
+ SWTGefBot gefBot = new SWTGefBot();
+
+ this.newSmooksConfigFile(getTestProjectName(), fileName);
+ SWTBotEditor editor = bot.editorByTitle(fileName);
+ // max editor
+ bot.menu(IDEWorkbenchMessages.Workbench_window).menu("Maximize Active View or
Editor").click();
+
+ final SWTBot innerBot = editor.bot();
+
+ this.selectInputNode(innerBot);
+
+ innerBot.comboBoxWithLabel("Input Type:").setSelection("EDI");
+
+ innerBot.button("Browse").click();
+
+ workspaceFileSelectionWithSmooksFileSelectionWizardPage(bot, "File
Selection", new String[] {
+ getTestProjectName(), "src", "ediresources" },
"edi-to-xml-order-mapping.xml");
+
+ innerBot.button("Add").click();
+
+ workspaceFileSelectionWithSmooksFileSelectionWizardPage(bot, "EDI File
Selection", new String[] {
+ getTestProjectName(), "src", "ediresources" },
"input-message.edi");
+
+ SWTBotTree inputModelViewer = innerBot.tree();
+ assertTrue(inputModelViewer.getAllItems().length > 0);
+ assertNotNull(inputModelViewer.getTreeItem("Order"));
+
+ // SWTBotGefFigureCanvas tt1 = new
+ // SWTBotGefFigureCanvas(getGraph(innerBot));
+ // tt1.contextMenu("Add Task").menu("Java Mapping").click();
+ selectNode(innerBot, TaskTypeManager.TASK_ID_INPUT, 3);
+ final SWTBotMenu menu1 = findProcessMapViewerContext(getGraph(innerBot), "Add
Task");
+ bot.getDisplay().syncExec(new Runnable() {
+
+ public void run() {
+ SWTBotMenu m = menu1.menu("Java Mapping");// .menu("Java
Mapping");
+ m.click();
+ }
+ });
+ selectNode(innerBot, TaskTypeManager.TASK_ID_JAVA_MAPPING, 1);
+
+ SWTBotGefEditor editor1 = gefBot.gefEditor(fileName);
+
+ editor1.rootEditPart().click();
+
+ // add java class model
+ editor1.clickContextMenu("Java Class ");
+
+ bot.shell("New Java Class Model").activate();
+
+ bot.textWithLabel("Bean ID :").setText("order1");
+ bot.textWithLabel("Java Class
:").setText("edi2java.example.model.Order");
+ expandTreeNode(bot.tree().getAllItems());
+
+ bot.button("Finish").click();
+
+ // change bean id
+ editor1.clickContextMenu("Properties");
+ editor1.rootEditPart().click();
+
+ // mapping
+ editor1.mouseDrag("EDI Input Model", 0, 0);
+
+ SWTBotGefEditPart editPart = editor1.getEditPart("Order");
+ SWTBotGefEditPart ee = editor1.getEditPart("order1");
+ clickTreeButton(editPart, editor1);
+
+ SWTBotGefEditPart header1 = editor1.getEditPart("header1");
+ SWTBotGefEditPart header = getTopLevelEditPart(editor1, "header2");
+ clickTreeButton(header1, editor1);
+
+ dragLink(editor1, editPart, ee, false, true);
+ dragLink(editor1, header1, header, false, false);
+
+ SWTBotGefEditPart order_id = editor1.getEditPart("order-id");
+ SWTBotGefEditPart orderId = editor1.getEditPart("orderId");
+ dragLink(editor1, order_id, orderId, false, false);
+ SWTBotGefEditPart status_code = editor1.getEditPart("status-code");
+ SWTBotGefEditPart orderStatus = editor1.getEditPart("orderStatus");
+ dragLink(editor1, status_code, orderStatus, false, false);
+ SWTBotGefEditPart net_amount = editor1.getEditPart("net-amount");
+ SWTBotGefEditPart netAmount = editor1.getEditPart("netAmount");
+ dragLink(editor1, net_amount, netAmount, false, false);
+ SWTBotGefEditPart total_amount = editor1.getEditPart("total-amount");
+ SWTBotGefEditPart totalAmount = editor1.getEditPart("totalAmount");
+ dragLink(editor1, total_amount, totalAmount, false, false);
+ SWTBotGefEditPart tax1 = editor1.getEditPart("tax1");
+ SWTBotGefEditPart tax = editor1.getEditPart("tax");
+ dragLink(editor1, tax1, tax, false, false);
+ SWTBotGefEditPart date1 = editor1.getEditPart("date1");
+ SWTBotGefEditPart date = editor1.getEditPart("date");
+ date.select();
+// state.click();
+// editor1.mouseMoveLeftClick("state");
+ editor1.clickContextMenu("Delete");
+// dragLink(editor1, date1, date, false, false);
+
+ editor1.clickContextMenu("Auto Layout");
+
+ final FigureCanvas canvas = getFigureCanvas(gefBot);
+
+ UIThreadRunnable.syncExec(new VoidResult() {
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.swtbot.swt.finder.results.VoidResult#run()
+ */
+ public void run() {
+ canvas.scrollToY(1000);
+ }
+
+ });
+
+ SWTBotGefEditPart customer_details =
editor1.getEditPart("customer-details");
+ SWTBotGefEditPart customer = getTopLevelEditPart(editor1, "customer");
+ clickTreeButton(customer_details, editor1);
+ dragLink(editor1, customer_details, customer, false, false);
+
+ SWTBotGefEditPart orderItems = getTopLevelEditPart(editor1, "orderItems");
+ dragLink(editor1, customer_details, orderItems, false, false);
+
+ SWTBotGefEditPart username = editor1.getEditPart("username");
+ SWTBotGefEditPart userName = editor1.getEditPart("userName");
+ dragLink(editor1, username, userName, false, false);
+
+ SWTBotGefEditPart state1 = editor1.getEditPart("state1");
+ SWTBotGefEditPart state = editor1.getEditPart("state");
+ dragLink(editor1, state1, state, false, false);
+
+ SWTBotGefEditPart name = editor1.getEditPart("name");
+ clickTreeButton(name, editor1);
+
+ SWTBotGefEditPart firstname = editor1.getEditPart("firstname");
+ SWTBotGefEditPart firstName = editor1.getEditPart("firstName");
+ dragLink(editor1, firstname, firstName, false, false);
+
+ SWTBotGefEditPart lastname = editor1.getEditPart("lastname");
+ SWTBotGefEditPart lastName = editor1.getEditPart("lastName");
+ dragLink(editor1, lastname, lastName, false, false);
+
+ editor1.clickContextMenu("Auto Layout");
+
+ SWTBotGefEditPart order_item = editor1.getEditPart("order-item");
+ SWTBotGefEditPart orderItem = getTopLevelEditPart(editor1, "OrderItem");
+ clickTreeButton(order_item, editor1);
+ dragLink(editor1, order_item, orderItem, false, false);
+
+ SWTBotGefEditPart quantity1 = editor1.getEditPart("quantity1");
+ SWTBotGefEditPart quantity = editor1.getEditPart("quantity");
+ dragLink(editor1, quantity1, quantity, false, false);
+
+ SWTBotGefEditPart product_id = editor1.getEditPart("product-id");
+ SWTBotGefEditPart productId = editor1.getEditPart("productId");
+ dragLink(editor1, product_id, productId, false, false);
+
+ SWTBotGefEditPart title1 = editor1.getEditPart("title1");
+ SWTBotGefEditPart title = editor1.getEditPart("title");
+ dragLink(editor1, title1, title, false, false);
+
+ SWTBotGefEditPart price1 = editor1.getEditPart("price1");
+ SWTBotGefEditPart price = editor1.getEditPart("price");
+ dragLink(editor1, price1, price, false, false);
+
+ editor1.clickContextMenu("Properties");
+ editor1.rootEditPart().click();
+ customer.click();
+ editor1.clickContextMenu("Properties");
+
+ final SWTBot viewBot = bot.viewByTitle("Properties").bot();
+ final String tabText = "Decode Parameter";
+ viewBot.textWithLabel("Name :").setText("Order");
+
+ UIThreadRunnable.syncExec(new VoidResult() {
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.swtbot.swt.finder.results.VoidResult#run()
+ */
+ public void run() {
+ canvas.scrollToY(-1000);
+ }
+
+ });
+// selectTabbedPropertyView(viewBot , tabText);
+// viewBot.button("New Parameter").click();
+// viewBot.table().click(0, 0);
+// viewBot.text().setText("format");
+// viewBot.table().click(0, 1);
+// viewBot.text().setText("EEE MMM dd HH:mm:ss z yyyy");
+// viewBot.table().click(0, 0);
+ // viewBot.label("");
+ // viewBot.cTabItem(1).activate();
+ //
+ // bot.sleep(6000);
+
+ // run smooks config file
+// bot.activeEditor();
+// bot.menu(IDEWorkbenchMessages.Workbench_window).menu("Maximize Active View or
Editor").click();
+ editor.saveAndClose();
+ SWTBot viewbot = bot.viewByTitle("Package Explorer").bot();
+ final SWTBotTreeItem item =
viewbot.tree().expandNode(getTestProjectName()).getNode(fileName);
+ item.select();
+ bot.menu("Run").menu("Run Configurations...").click();
+ bot.activeShell().activate();
+ bot.tree().getTreeItem("Smooks Configuration").doubleClick();
+ bot.textWithLabel("Project:").setText(getTestProjectName());
+ bot.textWithLabel("Configuration:").setText(fileName);
+ bot.button("Run").click();
+
+ SWTBot consoleBot = bot.viewByTitle("Console").bot();
+ String text = consoleBot.styledText().getText();
+ System.out.println(text);
+ }
+
+
+
+ private SWTBotGefEditPart getTopLevelEditPart(SWTBotGefEditor editor, String label) {
+ SWTBotGefEditPart part = editor.getEditPart(label);
+ if (part.part() instanceof TreeContainerEditPart) {
+ return part;
+ }
+ List<SWTBotGefEditPart> parts = editor.rootEditPart().children();
+ for (Iterator<?> iterator = parts.iterator(); iterator.hasNext();) {
+ SWTBotGefEditPart swtBotGefEditPart = (SWTBotGefEditPart) iterator.next();
+ if (swtBotGefEditPart.part() instanceof SmooksRootEditPart) {
+ List<SWTBotGefEditPart> parts2 = swtBotGefEditPart.children();
+ for (Iterator<?> iterator2 = parts2.iterator(); iterator2.hasNext();) {
+ SWTBotGefEditPart swtBotGefEditPart1 = (SWTBotGefEditPart) iterator2.next();
+ IFigure figure = ((GraphicalEditPart) swtBotGefEditPart1.part()).getFigure();
+ if (figure instanceof TreeContainerFigure) {
+ String text = ((TreeContainerFigure) figure).getLabel().getText();
+ if (label.equals(text)) {
+ return swtBotGefEditPart1;
+ }
+ }
+ }
+ }
+
+ }
+ return null;
+ }
+
+ private void dragLink(SWTBotGefEditor editor, final SWTBotGefEditPart sourcePart,
+ final SWTBotGefEditPart targetPart, boolean autolayout, boolean move) {
+
+ Matcher<IEditorReference> withPartName = withPartName(fileName);
+ Matcher<IEditorReference> matcher =
allOf(IsInstanceOf.instanceOf(IEditorReference.class), withPartName);
+ WaitForEditor waitForEditor = waitForEditor(matcher);
+ SWTGefBot bot = new SWTGefBot();
+ bot.waitUntilWidgetAppears(waitForEditor);
+ final IEditorReference reference = waitForEditor.get(0);
+ final EditDomain[] editDomains = new EditDomain[1];
+ UIThreadRunnable.syncExec(new VoidResult() {
+ public void run() {
+ final IEditorPart editor = reference.getEditor(true);
+ GraphicalViewer graphicalViewer = (GraphicalViewer)
editor.getAdapter(GraphicalViewer.class);
+ editDomains[0] = graphicalViewer.getEditDomain();
+ }
+ });
+ assertNotNull(editDomains[0]);
+
+ SWTBotGefEditPart moveparent1 = sourcePart;
+ while (moveparent1 != null && !(moveparent1.part() instanceof
TreeContainerEditPart)) {
+ moveparent1 = moveparent1.parent();
+ }
+
+ SWTBotGefEditPart moveparent2 = targetPart;
+ while (moveparent2 != null && !(moveparent2.part() instanceof
TreeContainerEditPart)) {
+ moveparent2 = moveparent2.parent();
+ }
+ if (move) {
+ Point d1 = (((GraphicalEditPart)
moveparent1.part()).getFigure()).getBounds().getTopLeft();
+ Point d2 = (((GraphicalEditPart)
sourcePart.part()).getFigure()).getBounds().getTopLeft();
+ editor.mouseDrag(d1.x, d1.y, 0, 0);
+ editor.mouseDrag(0, 0, -(d2.x - d1.x), -(d2.y - d1.y));
+
+ int w = ((GraphicalEditPart) moveparent1.part()).getFigure().getBounds().width;
+ Point nl = new Point(w + 20, 0);
+
+ Point d3 = (((GraphicalEditPart)
moveparent2.part()).getFigure()).getBounds().getTopLeft();
+ Point d4 = (((GraphicalEditPart)
targetPart.part()).getFigure()).getBounds().getTopLeft();
+ editor.mouseDrag(d3.x, d3.y, nl.x, nl.y);
+ editor.mouseDrag(nl.x, nl.y, (nl.x - (d4.x - d3.x)), (nl.y - (d4.y - d3.y)));
+ }
+
+ editDomains[0].setActiveTool(new ConnectionCreationTool());
+ sourcePart.click();
+ targetPart.click();
+ editDomains[0].setActiveTool(editDomains[0].getDefaultTool());
+ // return them to old location
+ if (autolayout) {
+ editor.clickContextMenu("Auto Layout");
+ }
+ }
+
+ private void expandTreeNode(SWTBotTreeItem[] items) {
+ for (int i = 0; i < items.length; i++) {
+ SWTBotTreeItem swtBotTreeItem = items[i];
+ swtBotTreeItem.expand();
+ expandTreeNode(swtBotTreeItem.getItems());
+ }
+ }
+}
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/editor/X2XTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/wizard/NewSmooksFileWizardTest.java
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/wizard/NewSmooksFileWizardTest.java
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/wizard/NewSmooksFileWizardTest.java 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,40 @@
+/*******************************************************************************
+ * Copyright (c) 2008 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
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.smooks.ui.bot.test.wizard;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.Path;
+import org.jboss.tools.smooks.ui.bot.test.AbstractSmooksUIBotTest;
+
+/**
+ * @author Dart
+ *
+ */
+public class NewSmooksFileWizardTest extends AbstractSmooksUIBotTest {
+
+ public void testNewSmooksConfigFile() {
+ newSmooksConfigFile(this.getTestProjectName() + "/src",
"test-smooks-file.xml");
+ IProject project =
ResourcesPlugin.getWorkspace().getRoot().getProject(getTestProjectName());
+ assertTrue(project.exists() && project.isOpen());
+ IFile file = project.getFile(new Path("src/test-smooks-file.xml"));
+ assertNotNull(file);
+ assertTrue(file.exists());
+
+ // SWTBotEditor editor = bot.editorByTitle("test-smooks-file.xml");
+ // SWTBot innerBot = editor.bot();
+ // selectInputNode(innerBot);
+ // bot.sleep(5000);k
+ // innerBot.w
+ // TODO assert the file contents
+ }
+}
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/wizard/NewSmooksFileWizardTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/wizard/expected-file.xml
===================================================================
---
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/wizard/expected-file.xml
(rev 0)
+++
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/wizard/expected-file.xml 2010-01-13
08:27:10 UTC (rev 19725)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<smooks-resource-list
xmlns="http://www.milyn.org/xsd/smooks-1.1.xsd">
+ <params>
+ <param name="stream.filter.type">SAX</param>
+ </params>
+</smooks-resource-list>
\ No newline at end of file
Property changes on:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/wizard/expected-file.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain