Author: scabanovich
Date: 2008-06-09 08:05:31 -0400 (Mon, 09 Jun 2008)
New Revision: 8643
Added:
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/.classpath
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/.cvsignore
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/.project
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/META-INF/
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/META-INF/MANIFEST.MF
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/about.html
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/ant.properties
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/build.properties
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/info.xml
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/projects/
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/projects/Test/
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/projects/Test/.project
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/projects/Test/pages/
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/projects/Test/pages/.wiki.xml.spdia
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/projects/Test/pages/wiki.xml
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/src/
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/src/org/
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/src/org/jboss/
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/src/org/jboss/tools/
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/src/org/jboss/tools/seam/
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/src/org/jboss/tools/seam/pages/
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/src/org/jboss/tools/seam/pages/xml/
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/src/org/jboss/tools/seam/pages/xml/test/
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/src/org/jboss/tools/seam/pages/xml/test/SeamPagesXMLAllTests.java
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/src/org/jboss/tools/seam/pages/xml/test/SeamPagesXMLModelTest.java
Log:
Initial import.
Added: trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/.classpath
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/.classpath
(rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/.classpath 2008-06-09 12:05:31
UTC (rev 8643)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con"
path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/.cvsignore
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/.cvsignore
(rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/.cvsignore 2008-06-09 12:05:31
UTC (rev 8643)
@@ -0,0 +1 @@
+bin
Added: trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/.project
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/.project
(rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/.project 2008-06-09 12:05:31 UTC
(rev 8643)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.seam.core.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>
Added: trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/META-INF/MANIFEST.MF
(rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/META-INF/MANIFEST.MF 2008-06-09
12:05:31 UTC (rev 8643)
@@ -0,0 +1,34 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Seam Pages XML Tests Plug-in
+Bundle-SymbolicName: org.jboss.tools.seam.pages.xml.test;singleton:=true
+Bundle-Version: 2.0.0
+Bundle-ClassPath: seam-pages-xml-tests.jar
+Bundle-Vendor: Red Hat, Inc.
+Export-Package: org.jboss.tools.seam.pages.xml.test
+Require-Bundle:
+ org.junit,
+ org.eclipse.core.runtime,
+ org.eclipse.core.resources,
+ org.jboss.tools.common.model,
+ org.jboss.tools.seam.pages.xml,
+ org.jboss.tools.common.test,
+ org.jboss.tools.jsf,
+ org.eclipse.wst.common.project.facet.core,
+ org.jboss.tools.tests,
+ org.eclipse.ui.workbench,
+ org.eclipse.wst.common.modulecore,
+ org.eclipse.wst.common.frameworks,
+ org.eclipse.jface,
+ org.jboss.tools.jst.firstrun,
+ org.eclipse.wst.server.core,
+ org.eclipse.datatools.connectivity,
+ org.eclipse.ltk.core.refactoring,
+ org.eclipse.ltk.ui.refactoring,
+ org.eclipse.jdt.core,
+ org.eclipse.jdt.ui,
+ org.eclipse.ui.ide,
+ org.eclipse.jface,
+ org.eclipse.jdt.core.manipulation,
+ org.eclipse.jst.jsf.core
+Provide-Package: org.jboss.tools.seam.pages.xml.test
Added: trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/about.html
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/about.html
(rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/about.html 2008-06-09 12:05:31
UTC (rev 8643)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this
plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A
href="http://www.eclipse.org/org/documents/epl-v10.php">http...;.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributor's license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+ <A
href="http://www.jboss.org/tools">http://www.jboss.org/tools...
+
+</BODY>
+</HTML>
\ No newline at end of file
Added: trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/ant.properties
===================================================================
Added: trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/build.properties
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/build.properties
(rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/build.properties 2008-06-09
12:05:31 UTC (rev 8643)
@@ -0,0 +1,15 @@
+bin.includes = META-INF/,\
+ seam-pages-xml-tests.jar,\
+ projects/,\
+ info.xml,\
+ about.html,\
+ ant.properties
+src.includes = META-INF/,\
+ ant.properties,\
+ build.properties,\
+ info.xml,\
+ src/,\
+ projects/,\
+ about.html
+source.seam-pages-xml-tests.jar = src/
+jars.compile.order = seam-pages-xml-tests.jar
Added: trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/info.xml
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/info.xml
(rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/info.xml 2008-06-09 12:05:31 UTC
(rev 8643)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<plugin name="org.jboss.tools.common.model">
+ <classes>
+ <class path="/XModelEntityGroup/MAPPINGS/MAPPING/PAIR@value" />
+ <class path="/XModelEntityGroup/XModelEntity@AdoptManagerClass" />
+ <class path="/XModelEntityGroup/XModelEntity@ImplementationLoadingClass"
/>
+ <class path="/XModelEntityGroup/XModelEntity@ImplementingClass" />
+ </classes>
+</plugin>
\ No newline at end of file
Added: trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/projects/Test/.project
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/projects/Test/.project
(rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/projects/Test/.project 2008-06-09
12:05:31 UTC (rev 8643)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>Test</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
Added:
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/projects/Test/pages/.wiki.xml.spdia
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/projects/Test/pages/.wiki.xml.spdia
(rev 0)
+++
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/projects/Test/pages/.wiki.xml.spdia 2008-06-09
12:05:31 UTC (rev 8643)
@@ -0,0 +1,155 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<diagram model-entity="SeamPagesDiagram">
+ <item ID="#wiki.xhtml" NAME="#xwiki.xhtml"
PATH="/wiki.xhtml"
+ SHAPE="832,33,0,0" TYPE="page"
model-entity="SeamPagesDiagramItem">
+ <output ID="/docDisplay_#{skin}.xhtml" NAME="output"
+ PATH="/docDisplay_#{skin}.xhtml" TARGET="#xdocDisplay*"
model-entity="SeamPagesDiagramItemOutput"/>
+ <output ID="/dirDisplay_#{skin}.xhtml" NAME="output1"
+ PATH="/dirDisplay_#{skin}.xhtml" TARGET="#xdirDisplay*"
model-entity="SeamPagesDiagramItemOutput"/>
+ </item>
+ <item ID="#docDisplay*" NAME="#xdocDisplay*"
PATH="/docDisplay*"
+ SHAPE="560,17,0,0" TYPE="page"
model-entity="SeamPagesDiagramItem">
+ <output ID="/wiki.xhtml" NAME="output"
PATH="/wiki.xhtml"
+ TARGET="#xwiki.xhtml"
model-entity="SeamPagesDiagramItemOutput"/>
+ </item>
+ <item ID="#docHistory*" NAME="#xdocHistory*"
PATH="/docHistory*"
+ SHAPE="32,17,0,0" TYPE="page"
model-entity="SeamPagesDiagramItem">
+ <output ID="/docDisplay_#{skin}.xhtml" NAME="output"
+ PATH="/docDisplay_#{skin}.xhtml" TARGET="#xdocDisplay*"
model-entity="SeamPagesDiagramItemOutput"/>
+ <output ID="/wiki.xhtml" NAME="output1"
PATH="/wiki.xhtml"
+ TARGET="#xwiki.xhtml"
model-entity="SeamPagesDiagramItemOutput"/>
+ <output ID="/message.xhtml" NAME="output2"
PATH="/message.xhtml"
+ TARGET="#x*" model-entity="SeamPagesDiagramItemOutput"/>
+ <output ID="/docEdit_#{skin}.xhtml" NAME="output3"
+ PATH="/docEdit_#{skin}.xhtml" TARGET="#xdocEdit*"
model-entity="SeamPagesDiagramItemOutput"/>
+ </item>
+ <item ID="#docEdit*" NAME="#xdocEdit*"
PATH="/docEdit*"
+ SHAPE="304,241,0,0" TYPE="page"
model-entity="SeamPagesDiagramItem">
+ <output ID="/wiki.xhtml" NAME="output"
PATH="/wiki.xhtml"
+ TARGET="#xwiki.xhtml"
model-entity="SeamPagesDiagramItemOutput"/>
+ <output ID="/docDisplay_#{skin}" NAME="output1"
+ PATH="/docDisplay_#{skin}" TARGET="#xdocDisplay*"
model-entity="SeamPagesDiagramItemOutput"/>
+ <output ID="/dirDisplay_#{skin}.xhtml" NAME="output2"
+ PATH="/dirDisplay_#{skin}.xhtml" TARGET="#xdirDisplay*"
model-entity="SeamPagesDiagramItemOutput"/>
+ <output ID="/dirDisplay_#{skin}.xhtml" NAME="output3"
+ PATH="/dirDisplay_#{skin}.xhtml" TARGET="#xdirDisplay*"
model-entity="SeamPagesDiagramItemOutput"/>
+ </item>
+ <item ID="#dirDisplay*" NAME="#xdirDisplay*"
PATH="/dirDisplay*"
+ SHAPE="1104,225,0,0" TYPE="page"
model-entity="SeamPagesDiagramItem">
+ <output ID="/wiki.xhtml" NAME="output"
PATH="/wiki.xhtml"
+ TARGET="#xwiki.xhtml"
model-entity="SeamPagesDiagramItemOutput"/>
+ </item>
+ <item ID="#dirEdit*" NAME="#xdirEdit*"
PATH="/dirEdit*"
+ SHAPE="560,433,0,0" TYPE="page"
model-entity="SeamPagesDiagramItem">
+ <output ID="/wiki.xhtml" NAME="output"
PATH="/wiki.xhtml"
+ TARGET="#xwiki.xhtml"
model-entity="SeamPagesDiagramItemOutput"/>
+ <output ID="/dirDisplay_#{skin}.xhtml" NAME="output1"
+ PATH="/dirDisplay_#{skin}.xhtml" TARGET="#xdirDisplay*"
model-entity="SeamPagesDiagramItemOutput"/>
+ <output ID="/dirDisplay_#{skin}.xhtml" NAME="output2"
+ PATH="/dirDisplay_#{skin}.xhtml" TARGET="#xdirDisplay*"
model-entity="SeamPagesDiagramItemOutput"/>
+ <output ID="/dirDisplay_#{skin}.xhtml" NAME="output3"
+ PATH="/dirDisplay_#{skin}.xhtml" TARGET="#xdirDisplay*"
model-entity="SeamPagesDiagramItemOutput"/>
+ </item>
+ <item ID="#fileEdit*" NAME="#xfileEdit*"
PATH="/fileEdit*"
+ SHAPE="560,641,0,0" TYPE="page"
model-entity="SeamPagesDiagramItem">
+ <output ID="/wiki.xhtml" NAME="output"
PATH="/wiki.xhtml"
+ TARGET="#xwiki.xhtml"
model-entity="SeamPagesDiagramItemOutput"/>
+ <output ID="/dirDisplay_#{skin}.xhtml" NAME="output1"
+ PATH="/dirDisplay_#{skin}.xhtml" TARGET="#xdirDisplay*"
model-entity="SeamPagesDiagramItemOutput"/>
+ <output ID="/dirDisplay_#{skin}.xhtml" NAME="output2"
+ PATH="/dirDisplay_#{skin}.xhtml" TARGET="#xdirDisplay*"
model-entity="SeamPagesDiagramItemOutput"/>
+ </item>
+ <item ID="#tagDisplay*" NAME="#xtagDisplay*"
PATH="/tagDisplay*"
+ SHAPE="32,1105,0,0" TYPE="page"
model-entity="SeamPagesDiagramItem"/>
+ <item ID="#search*" NAME="#xsearch*" PATH="/search*"
+ SHAPE="560,225,0,0" TYPE="page"
model-entity="SeamPagesDiagramItem"/>
+ <item ID="#adminHome*" NAME="#xadminHome*"
PATH="/adminHome*"
+ SHAPE="240,1121,0,0" TYPE="page"
model-entity="SeamPagesDiagramItem"/>
+ <item ID="#userRegister*" NAME="#xuserRegister*"
PATH="/userRegister*"
+ SHAPE="304,833,0,0" TYPE="page"
model-entity="SeamPagesDiagramItem">
+ <output ID="/userHome_#{skin}.xhtml" NAME="output"
+ PATH="/userHome_#{skin}.xhtml" TARGET="#xuserHome*"
model-entity="SeamPagesDiagramItemOutput"/>
+ <output ID="/wiki.xhtml" NAME="output1"
PATH="/wiki.xhtml"
+ TARGET="#xwiki.xhtml"
model-entity="SeamPagesDiagramItemOutput"/>
+ </item>
+ <item ID="#userHome*" NAME="#xuserHome*"
PATH="/userHome*"
+ SHAPE="560,817,0,0" TYPE="page"
model-entity="SeamPagesDiagramItem">
+ <output ID="/wiki.xhtml" NAME="output"
PATH="/wiki.xhtml"
+ TARGET="#xwiki.xhtml"
model-entity="SeamPagesDiagramItemOutput"/>
+ <output ID="/wiki.xhtml" NAME="output1"
PATH="/wiki.xhtml"
+ TARGET="#xwiki.xhtml"
model-entity="SeamPagesDiagramItemOutput"/>
+ </item>
+ <item ID="#userList*" NAME="#xuserList*"
PATH="/userList*"
+ SHAPE="448,1105,0,0" TYPE="page"
model-entity="SeamPagesDiagramItem"/>
+ <item ID="#confirmRegistration.xhtml"
+ NAME="#xconfirmRegistration.xhtml"
PATH="/confirmRegistration.xhtml"
+ SHAPE="560,961,0,0" TYPE="page"
model-entity="SeamPagesDiagramItem">
+ <output ID="/wiki.xhtml" NAME="output"
PATH="/wiki.xhtml"
+ TARGET="#xwiki.xhtml"
model-entity="SeamPagesDiagramItemOutput"/>
+ <output ID="/wiki.xhtml" NAME="output1"
PATH="/wiki.xhtml"
+ TARGET="#xwiki.xhtml"
model-entity="SeamPagesDiagramItemOutput"/>
+ </item>
+ <item ID="#*" NAME="#x*" PATH="/*"
SHAPE="304,33,0,0" TYPE="page"
model-entity="SeamPagesDiagramItem">
+ <output ID="/wiki.xhtml" NAME="output"
PATH="/wiki.xhtml"
+ TARGET="#xwiki.xhtml"
model-entity="SeamPagesDiagramItemOutput"/>
+ <output ID="/search_#{skin}.xhtml" NAME="output1"
+ PATH="/search_#{skin}.xhtml" TARGET="#xsearch*"
model-entity="SeamPagesDiagramItemOutput"/>
+ <output ID="/message.xhtml" NAME="output2"
PATH="/message.xhtml"
+ TARGET="#x*" model-entity="SeamPagesDiagramItemOutput"/>
+ </item>
+ <item ID="#docHistory_d.xhtml" NAME="#xdocHistory_d.xhtml"
+ PATH="/docHistory_d.xhtml" SHAPE="656,1121,0,0"
TYPE="page" model-entity="SeamPagesDiagramItem"/>
+ <item ID="#docEdit_d.xhtml" NAME="#xdocEdit_d.xhtml"
+ PATH="/docEdit_d.xhtml" SHAPE="864,1105,0,0" TYPE="page"
model-entity="SeamPagesDiagramItem"/>
+ <item ID="#dirEdit_d.xhtml" NAME="#xdirEdit_d.xhtml"
+ PATH="/dirEdit_d.xhtml" SHAPE="1072,1121,0,0" TYPE="page"
model-entity="SeamPagesDiagramItem"/>
+ <item ID="#fileEdit_d.xhtml" NAME="#xfileEdit_d.xhtml"
+ PATH="/fileEdit_d.xhtml" SHAPE="32,1217,0,0" TYPE="page"
model-entity="SeamPagesDiagramItem"/>
+ <item ID="#search_d.xhtml" NAME="#xsearch_d.xhtml"
+ PATH="/search_d.xhtml" SHAPE="240,1233,0,0" TYPE="page"
model-entity="SeamPagesDiagramItem"/>
+ <item ID="#adminHome_d.xhtml" NAME="#xadminHome_d.xhtml"
+ PATH="/adminHome_d.xhtml" SHAPE="448,1217,0,0"
TYPE="page" model-entity="SeamPagesDiagramItem"/>
+ <item ID="#userRegister_d.xhtml" NAME="#xuserRegister_d.xhtml"
+ PATH="/userRegister_d.xhtml" SHAPE="656,1233,0,0"
TYPE="page" model-entity="SeamPagesDiagramItem"/>
+ <item ID="#userHome_d.xhtml" NAME="#xuserHome_d.xhtml"
+ PATH="/userHome_d.xhtml" SHAPE="864,1217,0,0" TYPE="page"
model-entity="SeamPagesDiagramItem"/>
+ <item ID="#userList_d.xhtml" NAME="#xuserList_d.xhtml"
+ PATH="/userList_d.xhtml" SHAPE="1072,1233,0,0"
TYPE="page" model-entity="SeamPagesDiagramItem"/>
+ <item ID="#docHistory_m.xhtml" NAME="#xdocHistory_m.xhtml"
+ PATH="/docHistory_m.xhtml" SHAPE="32,1329,0,0"
TYPE="page" model-entity="SeamPagesDiagramItem"/>
+ <item ID="#docEdit_m.xhtml" NAME="#xdocEdit_m.xhtml"
+ PATH="/docEdit_m.xhtml" SHAPE="240,1345,0,0" TYPE="page"
model-entity="SeamPagesDiagramItem"/>
+ <item ID="#dirEdit_m.xhtml" NAME="#xdirEdit_m.xhtml"
+ PATH="/dirEdit_m.xhtml" SHAPE="448,1329,0,0" TYPE="page"
model-entity="SeamPagesDiagramItem"/>
+ <item ID="#fileEdit_m.xhtml" NAME="#xfileEdit_m.xhtml"
+ PATH="/fileEdit_m.xhtml" SHAPE="656,1345,0,0" TYPE="page"
model-entity="SeamPagesDiagramItem"/>
+ <item ID="#search_m.xhtml" NAME="#xsearch_m.xhtml"
+ PATH="/search_m.xhtml" SHAPE="864,1329,0,0" TYPE="page"
model-entity="SeamPagesDiagramItem"/>
+ <item ID="#adminHome_m.xhtml" NAME="#xadminHome_m.xhtml"
+ PATH="/adminHome_m.xhtml" SHAPE="1072,1345,0,0"
TYPE="page" model-entity="SeamPagesDiagramItem"/>
+ <item ID="#userRegister_m.xhtml" NAME="#xuserRegister_m.xhtml"
+ PATH="/userRegister_m.xhtml" SHAPE="32,1441,0,0"
TYPE="page" model-entity="SeamPagesDiagramItem"/>
+ <item ID="#userHome_m.xhtml" NAME="#xuserHome_m.xhtml"
+ PATH="/userHome_m.xhtml" SHAPE="240,1457,0,0" TYPE="page"
model-entity="SeamPagesDiagramItem"/>
+ <item ID="#userList_m.xhtml" NAME="#xuserList_m.xhtml"
+ PATH="/userList_m.xhtml" SHAPE="448,1441,0,0" TYPE="page"
model-entity="SeamPagesDiagramItem"/>
+ <item ID="org.jboss.seam.framework.EntityNotFoundException"
+ NAME="org.jboss.seam.framework.EntityNotFoundException"
+ SHAPE="656,1457,0,0" TYPE="exception"
model-entity="SeamPagesDiagramItem"/>
+ <item ID="org.jboss.seam.security.AuthorizationException"
+ NAME="org.jboss.seam.security.AuthorizationException"
+ SHAPE="32,225,0,0" TYPE="exception"
model-entity="SeamPagesDiagramItem">
+ <output ID="/message.xhtml" NAME="output"
PATH="/message.xhtml"
+ TARGET="#x*" model-entity="SeamPagesDiagramItemOutput"/>
+ </item>
+ <item ID="javax.persistence.OptimisticLockException"
+ NAME="javax.persistence.OptimisticLockException"
SHAPE="32,433,0,0"
+ TYPE="exception" model-entity="SeamPagesDiagramItem">
+ <output ID="/message.xhtml" NAME="output"
PATH="/message.xhtml"
+ TARGET="#x*" model-entity="SeamPagesDiagramItemOutput"/>
+ </item>
+ <item SHAPE="32,641,0,0" TYPE="exception"
model-entity="SeamPagesDiagramItem">
+ <output ID="/message.xhtml" NAME="output"
PATH="/message.xhtml"
+ TARGET="#x*" model-entity="SeamPagesDiagramItemOutput"/>
+ </item>
+</diagram>
Added: trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/projects/Test/pages/wiki.xml
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/projects/Test/pages/wiki.xml
(rev 0)
+++
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/projects/Test/pages/wiki.xml 2008-06-09
12:05:31 UTC (rev 8643)
@@ -0,0 +1,360 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<pages
xmlns="http://jboss.com/products/seam/pages"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://jboss.com/products/seam/pages
http://jboss.com/products/seam/pages-2.0.xsd">
+ <page view-id="/wiki.xhtml">
+ <param name="nodeId"
value="#{wikiRequestResolver.nodeId}"/>
+ <param name="areaName"
value="#{wikiRequestResolver.areaName}"/>
+ <param name="nodeName"
value="#{wikiRequestResolver.nodeName}"/>
+ <param name="message"
value="#{wikiRequestResolver.message}"/>
+ <action execute="#{wikiRequestResolver.resolve}"/>
+ <navigation>
+ <rule if-outcome="docDisplay">
+ <raise-event type="DocumentHome.init"/>
+ <render view-id="/docDisplay_#{skin}.xhtml"/>
+ </rule>
+ <rule if-outcome="dirDisplay">
+ <raise-event type="DirectoryHome.init"/>
+ <render view-id="/dirDisplay_#{skin}.xhtml"/>
+ </rule>
+ </navigation>
+ </page>
+
+ <page view-id="/docDisplay*">
+ <param name="documentId"
value="#{documentHome.nodeId}"/>
+ <action execute="#{documentHome.init}"/>
+ <navigation>
+ <rule if-outcome="missingParameters">
+ <end-conversation before-redirect="true"/>
+ <redirect view-id="/wiki.xhtml"/>
+ </rule>
+ </navigation>
+ </page>
+
+ <page view-id="/docHistory*"
no-conversation-view-id="/wiki.xhtml">
+ <param name="nodeId" value="#{nodeHistory.nodeId}"/>
+ <param name="historicalNodeId" value =
"#{nodeHistory.historicalNodeId}"/>
+ <action execute="#{nodeHistory.init}"/>
+ <begin-conversation flush-mode="MANUAL" join="true"/>
+ <navigation>
+ <rule if-outcome="exit">
+ <end-conversation before-redirect="true"/>
+ <redirect view-id="/docDisplay_#{skin}.xhtml">
+ <param name="documentId"
value="#{nodeHistory.currentNode.id}"/>
+ </redirect>
+ </rule>
+ <rule if-outcome="purgedHistory">
+ <end-conversation before-redirect="true"/>
+ <redirect view-id="/wiki.xhtml">
+ <param name="nodeId"
value="#{nodeHistory.currentNode.id}"/>
+ <param name="message"
value="purgedHistory"/>
+ </redirect>
+ </rule>
+
+ <rule if-outcome="missingParameters">
+ <end-conversation/>
+ <redirect view-id="/message.xhtml">
+ <message severity="ERROR">No request parameters
specified.</message>
+ </redirect>
+ </rule>
+ <rule if-outcome="rollback">
+ <redirect view-id="/docEdit_#{skin}.xhtml">
+ <param name="documentId"
value="#{nodeHistory.currentNode.id}"/>
+ <param name="parentDirectoryId"
value="#{nodeHistory.currentNode.parent.id}"/>
+ </redirect>
+ </rule>
+ </navigation>
+ </page>
+
+ <page view-id="/docEdit*"
no-conversation-view-id="/wiki.xhtml">
+ <param name="documentId"
value="#{documentHome.nodeId}"/>
+ <param name="parentDirectoryId"
value="#{documentHome.parentDirectoryId}"/>
+ <action execute="#{documentHome.init}"/>
+ <begin-conversation flush-mode="MANUAL" join="true"/>
+
+ <navigation>
+ <rule if-outcome="missingParameters">
+ <end-conversation before-redirect="true"/>
+ <redirect view-id="/wiki.xhtml"/>
+ </rule>
+ <rule if-outcome="exitManaged">
+ <end-conversation before-redirect="true"/>
+ <redirect view-id="/docDisplay_#{skin}"/>
+ </rule>
+ <rule if-outcome="exitUnmanaged">
+ <end-conversation before-redirect="true"/>
+ <redirect view-id="/dirDisplay_#{skin}.xhtml">
+ <param name="directoryId"
value="#{documentHome.parentDirectoryId}"/>
+ </redirect>
+ </rule>
+ <rule if-outcome="removed">
+ <end-conversation/>
+ <redirect view-id="/dirDisplay_#{skin}.xhtml">
+ <param name="directoryId"
value="#{documentHome.parentDirectoryId}"/>
+ </redirect>
+ </rule>
+ </navigation>
+ </page>
+
+ <page view-id="/dirDisplay*">
+ <param name="directoryId"
value="#{directoryHome.nodeId}"/>
+ <action execute="#{directoryHome.init}"/>
+ <navigation>
+ <rule if-outcome="missingParameters">
+ <end-conversation before-redirect="true"/>
+ <redirect view-id="/wiki.xhtml"/>
+ </rule>
+ </navigation>
+ </page>
+
+ <page view-id="/dirEdit*"
no-conversation-view-id="/wiki.xhtml">
+ <param name="directoryId"
value="#{directoryHome.nodeId}"/>
+ <param name="parentDirectoryId"
value="#{directoryHome.parentDirectoryId}"/>
+ <action execute="#{directoryHome.init}"/>
+ <begin-conversation flush-mode="MANUAL" join="true"/>
+
+ <navigation>
+ <rule if-outcome="missingParameters">
+ <end-conversation before-redirect="true"/>
+ <redirect view-id="/wiki.xhtml"/>
+ </rule>
+ <rule if-outcome="exitManaged">
+ <end-conversation before-redirect="true"/>
+ <redirect view-id="/dirDisplay_#{skin}.xhtml"/>
+ </rule>
+ <rule if-outcome="exitUnmanaged">
+ <end-conversation before-redirect="true"/>
+ <redirect view-id="/dirDisplay_#{skin}.xhtml">
+ <param name="directoryId"
value="#{directoryHome.parentDirectoryId}"/>
+ </redirect>
+ </rule>
+ <rule if-outcome="removed">
+ <end-conversation/>
+ <redirect view-id="/dirDisplay_#{skin}.xhtml">
+ <param name="directoryId"
value="#{directoryHome.parentDirectoryId}"/>
+ </redirect>
+ </rule>
+ </navigation>
+ </page>
+
+ <page view-id="/fileEdit*"
no-conversation-view-id="/wiki.xhtml">
+ <param name="fileId" value="#{fileHome.nodeId}"/>
+ <param name="parentDirectoryId"
value="#{fileHome.parentDirectoryId}"/>
+ <action execute="#{fileHome.init}"/>
+ <begin-conversation flush-mode="MANUAL" join="true"/>
+
+ <navigation>
+ <rule if-outcome="missingParameters">
+ <end-conversation before-redirect="true"/>
+ <redirect view-id="/wiki.xhtml"/>
+ </rule>
+ <rule if-outcome="exit">
+ <end-conversation before-redirect="true"/>
+ <redirect view-id="/dirDisplay_#{skin}.xhtml">
+ <param name="directoryId"
value="#{fileHome.parentDirectoryId}"/>
+ </redirect>
+ </rule>
+ <rule if-outcome="removed">
+ <end-conversation/>
+ <redirect view-id="/dirDisplay_#{skin}.xhtml">
+ <param name="directoryId"
value="#{fileHome.parentDirectoryId}"/>
+ </redirect>
+ </rule>
+ </navigation>
+ </page>
+
+ <page view-id="/tagDisplay*">
+ <param name="tag" value="#{tagHome.tag}"/>
+ </page>
+
+ <page view-id="/search*">
+ <param name="query"
value="#{wikiSearch.simpleQuery}"/>
+ <begin-conversation flush-mode="MANUAL" join="true"/>
+ </page>
+
+ <page view-id="/adminHome*"
no-conversation-view-id="/wiki.xhtml">
+ <restrict>#{s:hasPermission('User', 'isAdmin',
currentUser)}</restrict>
+ <begin-conversation flush-mode="MANUAL" join="true"/>
+ </page>
+
+ <page view-id="/userRegister*"
no-conversation-view-id="/wiki.xhtml">
+ <action execute="#{userHome.init}"/>
+ <begin-conversation flush-mode="MANUAL" join="true"/>
+ <navigation>
+ <rule if-outcome="persisted"
if="#{s:hasPermission('User', 'isAdmin', currentUser)}">
+ <end-conversation before-redirect="true"/>
+ <redirect view-id="/userHome_#{skin}.xhtml">
+ <param name="userId"
value="#{userHome.userId}"/>
+ </redirect>
+ </rule>
+ <rule if-outcome="persisted">
+ <end-conversation before-redirect="true"/>
+ <redirect view-id="/wiki.xhtml">
+ <param name="message"
value="lacewiki.msg.AccountCreatedConfirmationSent"/>
+ </redirect>
+ </rule>
+ </navigation>
+ </page>
+
+ <page view-id="/userHome*"
no-conversation-view-id="/wiki.xhtml">
+ <param name="userId" value="#{userHome.userId}"/>
+ <action execute="#{userHome.init}"/>
+ <begin-conversation flush-mode="MANUAL" join="true"/>
+ <navigation>
+ <rule if-outcome="updatedCurrentCredentials">
+ <end-conversation before-redirect="true"/>
+ <redirect view-id="/wiki.xhtml">
+ <param name="message"
value="lacewiki.msg.UpdatedCurrentCredentials"/>
+ </redirect>
+ </rule>
+ <rule if-outcome="removed">
+ <end-conversation/>
+ <redirect view-id="/wiki.xhtml"/>
+ </rule>
+ </navigation>
+ </page>
+
+ <page view-id="/userList*">
+ <begin-conversation flush-mode="MANUAL" join="true"/>
+ </page>
+
+ <page view-id="/confirmRegistration.xhtml"
action="#{authenticator.activate}">
+ <param name="activationCode"
value="#{authenticator.activationCode}"/>
+ <navigation>
+ <rule if-outcome="activated">
+ <redirect view-id="/wiki.xhtml">
+ <param name="message"
value="lacewiki.msg.AccountActivatedPleaseLogin"/>
+ </redirect>
+ </rule>
+ <rule if-outcome="notFound">
+ <redirect view-id="/wiki.xhtml">
+ <param name="message"
value="lacewiki.msg.InvalidActivationCode"/>
+ </redirect>
+ </rule>
+ </navigation>
+ </page>
+
+ <page view-id="/*">
+
+ <navigation>
+
+ <!-- Go to start page on logout because the session has been invalidated
-->
+ <rule if-outcome="loggedOut">
+ <end-conversation before-redirect="true"/>
+ <redirect view-id="/wiki.xhtml"/>
+ </rule>
+
+ <!-- 'search' is a POST submit, turn it into a bookmarkable GET
-->
+ <rule if-outcome="search">
+ <redirect view-id="/search_#{skin}.xhtml"/>
+ </rule>
+
+ <rule if-outcome="error">
+ <redirect view-id="/message.xhtml">
+ <message
severity="ERROR">#{messages['lacewiki.msg.FatalError']}</message>
+ </redirect>
+ </rule>
+ </navigation>
+
+ </page>
+
+ <!-- Page descriptions don't support wildcards -->
+ <page view-id="/docHistory_d.xhtml">
+
<description>#{messages['lacewiki.label.docHistory.DocumentHistory']}</description>
+ </page>
+ <page view-id="/docEdit_d.xhtml">
+ <description>#{documentHome.idDefined
+ ? messages['lacewiki.label.docEdit.EditDocument']
+ :
messages['lacewiki.label.docEdit.CreateDocument']}</description>
+ </page>
+ <page view-id="/dirEdit_d.xhtml">
+ <description>#{directoryHome.idDefined
+ ? messages['lacewiki.label.dirEdit.EditDirectory']
+ :
messages['lacewiki.label.dirEdit.CreateDirectory']}</description>
+ </page>
+ <page view-id="/fileEdit_d.xhtml">
+ <description>#{fileHome.idDefined
+ ? messages['lacewiki.label.fileEdit.EditFile']
+ :
messages['lacewiki.label.fileEdit.UploadFile']}</description>
+ </page>
+ <page view-id="/search_d.xhtml">
+ <description>#{messages['lacewiki.label.search.Search']}
(#{messages['lacewiki.label.search.Results']}:
#{wikiSearch.searchResult.size})</description>
+ </page>
+ <page view-id="/adminHome_d.xhtml">
+
<description>#{messages['lacewiki.label.adminHome.Administration']}</description>
+ </page>
+ <page view-id="/userRegister_d.xhtml">
+ <description>#{identity.loggedIn
+ ?
messages['lacewiki.label.userRegister.CreateNewAccount']
+ :
messages['lacewiki.label.userRegister.RegisterNewAccount']}</description>
+ </page>
+ <page view-id="/userHome_d.xhtml">
+ <description>#{messages['lacewiki.label.userHome.EditUser']}:
#{userHome.instance.username}</description>
+ </page>
+ <page view-id="/userList_d.xhtml">
+ <description>#{messages['lacewiki.label.userList.MemberList']}
(#{messages['lacewiki.label.userList.Results']}:
#{userSearch.rowCount})</description>
+ </page>
+
+
+ <page view-id="/docHistory_m.xhtml">
+
<description>#{messages['lacewiki.label.docHistory.DocumentHistory']}</description>
+ </page>
+ <page view-id="/docEdit_m.xhtml">
+ <description>#{documentHome.idDefined
+ ? messages['lacewiki.label.docEdit.EditDocument']
+ :
messages['lacewiki.label.docEdit.CreateDocument']}</description>
+ </page>
+ <page view-id="/dirEdit_m.xhtml">
+ <description>#{directoryHome.idDefined
+ ? messages['lacewiki.label.dirEdit.EditDirectory']
+ :
messages['lacewiki.label.dirEdit.CreateDirectory']}</description>
+ </page>
+ <page view-id="/fileEdit_m.xhtml">
+ <description>#{fileHome.idDefined
+ ? messages['lacewiki.label.fileEdit.EditFile']
+ :
messages['lacewiki.label.fileEdit.UploadFile']}</description>
+ </page>
+ <page view-id="/search_m.xhtml">
+ <description>#{messages['lacewiki.label.search.Search']}
(#{messages['lacewiki.label.search.Results']}:
#{wikiSearch.searchResult.size})</description>
+ </page>
+ <page view-id="/adminHome_m.xhtml">
+
<description>#{messages['lacewiki.label.adminHome.Administration']}</description>
+ </page>
+ <page view-id="/userRegister_m.xhtml">
+ <description>#{identity.loggedIn
+ ?
messages['lacewiki.label.userRegister.CreateNewAccount']
+ :
messages['lacewiki.label.userRegister.RegisterNewAccount']}</description>
+ </page>
+ <page view-id="/userHome_m.xhtml">
+ <description>#{messages['lacewiki.label.userHome.EditUser']}:
#{userHome.instance.username}</description>
+ </page>
+ <page view-id="/userList_m.xhtml">
+ <description>#{messages['lacewiki.label.userList.MemberList']}
(#{messages['lacewiki.label.userList.Results']}:
#{userSearch.rowCount})</description>
+ </page>
+
+
+ <exception class="org.jboss.seam.framework.EntityNotFoundException">
+ <end-conversation/>
+ <http-error error-code="404"/>
+ </exception>
+
+ <exception class="org.jboss.seam.security.AuthorizationException">
+ <end-conversation/>
+ <redirect view-id="/message.xhtml">
+ <message
severity="WARN">#{messages['lacewiki.msg.AccessDenied']}:
#{org.jboss.seam.handledException.message}</message>
+ </redirect>
+ </exception>
+
+ <exception class="javax.persistence.OptimisticLockException">
+ <end-conversation/>
+ <redirect view-id="/message.xhtml">
+ <message
severity="ERROR">#{messages['lacewiki.msg.OptimisticLockError']}</message>
+ </redirect>
+ </exception>
+
+ <exception>
+ <redirect view-id="/message.xhtml">
+ <message severity="ERROR">Exception:
#{org.jboss.seam.exception.message}</message>
+ </redirect>
+ </exception>
+
+</pages>
\ No newline at end of file
Added:
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/src/org/jboss/tools/seam/pages/xml/test/SeamPagesXMLAllTests.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/src/org/jboss/tools/seam/pages/xml/test/SeamPagesXMLAllTests.java
(rev 0)
+++
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/src/org/jboss/tools/seam/pages/xml/test/SeamPagesXMLAllTests.java 2008-06-09
12:05:31 UTC (rev 8643)
@@ -0,0 +1,31 @@
+/*******************************************************************************
+ * Copyright (c) 2007 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.seam.pages.xml.test;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+
+/**
+ * @author V.Kabanovich
+ *
+ */
+public class SeamPagesXMLAllTests {
+ public static final String PLUGIN_ID = "org.jboss.tools.seam.pages.xml";
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite();
+ suite.setName("All tests for " + PLUGIN_ID);
+ suite.addTestSuite(SeamPagesXMLModelTest.class);
+
+ return suite;
+ }
+}
\ No newline at end of file
Added:
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/src/org/jboss/tools/seam/pages/xml/test/SeamPagesXMLModelTest.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/src/org/jboss/tools/seam/pages/xml/test/SeamPagesXMLModelTest.java
(rev 0)
+++
trunk/seam/tests/org.jboss.tools.seam.pages.xml.test/src/org/jboss/tools/seam/pages/xml/test/SeamPagesXMLModelTest.java 2008-06-09
12:05:31 UTC (rev 8643)
@@ -0,0 +1,87 @@
+/*******************************************************************************
+ * Copyright (c) 2007 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.seam.pages.xml.test;
+
+import junit.framework.TestCase;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.runtime.NullProgressMonitor;
+import org.eclipse.core.runtime.Path;
+import org.jboss.tools.common.model.XModelObject;
+import org.jboss.tools.common.model.util.EclipseResourceUtil;
+import org.jboss.tools.seam.pages.xml.model.SeamPagesConstants;
+import org.jboss.tools.seam.pages.xml.model.helpers.SeamPagesDiagramHelper;
+import org.jboss.tools.seam.pages.xml.model.helpers.SeamPagesDiagramStructureHelper;
+import org.jboss.tools.seam.pages.xml.model.impl.SeamPagesDiagramImpl;
+import org.jboss.tools.test.util.ResourcesUtils;
+import org.jboss.tools.test.util.xpl.EditorTestHelper;
+
+public class SeamPagesXMLModelTest extends TestCase {
+ IProject project = null;
+
+ public SeamPagesXMLModelTest() {
+ super("Seam Scanner test");
+ }
+
+ protected void setUp() throws Exception {
+ project = ResourcesUtils.importProject(
+ "org.jboss.tools.seam.pages.xml.test","/projects/Test" , new
NullProgressMonitor());
+ project.refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor());
+ EditorTestHelper.joinBackgroundActivities();
+ }
+
+ /**
+ * This test is to check different cases of declaring components in xml.
+ * It does not check interaction of xml declaration with other declarations.
+ */
+ public void testXMLModel() {
+ IFile f = project.getFile(new Path("pages/wiki.xml"));
+ assertNotNull("File pages/wiki.xml is not found in Test project.", f);
+
+ XModelObject fileObject = EclipseResourceUtil.createObjectForResource(f);
+ assertNotNull("Cannot create XModel object for file pages/wiki.xml.",
fileObject);
+
+ String entity = fileObject.getModelEntity().getName();
+ assertEquals("File pages/wiki.xml is incorrectly parsed by XModel.",
SeamPagesConstants.ENT_FILE_SEAM_PAGES_20, entity);
+
+ XModelObject diagramXML =
SeamPagesDiagramStructureHelper.instance.getProcess(fileObject);
+ assertNotNull("Cannot find XModel diagram object for file pages/wiki.xml.",
diagramXML);
+
+ if(!(diagramXML instanceof SeamPagesDiagramImpl)) {
+ fail("XModel diagram object must be instance of SeamPagesDiagramImpl.");
+ }
+
+ SeamPagesDiagramImpl impl = (SeamPagesDiagramImpl)diagramXML;
+ //invoke loading
+ diagramXML.getChildren();
+
+ SeamPagesDiagramHelper h = impl.getHelper();
+
+ checkTargetMatch("/docDisplay#{a}", h, "/docDisplay*");
+ checkTargetMatch("/docDisplay", h, "/docDisplay*");
+ checkTargetMatch("/docDispla", h, "/*");
+
+ //TODO continue test
+ }
+
+ @Override
+ protected void tearDown() throws Exception {
+ EditorTestHelper.joinJobs(1000, 10000, 500);
+ project.delete(true,true, null);
+ }
+
+ private void checkTargetMatch(String targetViewId, SeamPagesDiagramHelper h, String
expectedMatch) {
+ String s = h.findBestMatch(targetViewId);
+ assertEquals("Match for target view id is incorrectly computed.",
expectedMatch, s);
+ }
+}