[seam-commits] Seam SVN: r10041 - in trunk/src/test/ftest: examples and 65 other directories.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Fri Feb 13 04:07:18 EST 2009


Author: jharting
Date: 2009-02-13 04:07:18 -0500 (Fri, 13 Feb 2009)
New Revision: 10041

Added:
   trunk/src/test/ftest/examples/excel/
   trunk/src/test/ftest/examples/excel/build.xml
   trunk/src/test/ftest/examples/excel/jboss.xml
   trunk/src/test/ftest/examples/excel/src/
   trunk/src/test/ftest/examples/excel/src/org/
   trunk/src/test/ftest/examples/excel/src/org/jboss/
   trunk/src/test/ftest/examples/excel/src/org/jboss/seam/
   trunk/src/test/ftest/examples/excel/src/org/jboss/seam/example/
   trunk/src/test/ftest/examples/excel/src/org/jboss/seam/example/excel/
   trunk/src/test/ftest/examples/excel/src/org/jboss/seam/example/excel/test/
   trunk/src/test/ftest/examples/excel/src/org/jboss/seam/example/excel/test/selenium/
   trunk/src/test/ftest/examples/excel/src/org/jboss/seam/example/excel/test/selenium/SeleniumExcelTest.java
   trunk/src/test/ftest/examples/itext/
   trunk/src/test/ftest/examples/itext/build.xml
   trunk/src/test/ftest/examples/itext/jboss.xml
   trunk/src/test/ftest/examples/itext/src/
   trunk/src/test/ftest/examples/itext/src/org/
   trunk/src/test/ftest/examples/itext/src/org/jboss/
   trunk/src/test/ftest/examples/itext/src/org/jboss/seam/
   trunk/src/test/ftest/examples/itext/src/org/jboss/seam/example/
   trunk/src/test/ftest/examples/itext/src/org/jboss/seam/example/itext/
   trunk/src/test/ftest/examples/itext/src/org/jboss/seam/example/itext/test/
   trunk/src/test/ftest/examples/itext/src/org/jboss/seam/example/itext/test/selenium/
   trunk/src/test/ftest/examples/itext/src/org/jboss/seam/example/itext/test/selenium/SeleniumItextTest.java
   trunk/src/test/ftest/examples/mail/
   trunk/src/test/ftest/examples/mail/build.xml
   trunk/src/test/ftest/examples/mail/jboss.xml
   trunk/src/test/ftest/examples/mail/src/
   trunk/src/test/ftest/examples/mail/src/org/
   trunk/src/test/ftest/examples/mail/src/org/jboss/
   trunk/src/test/ftest/examples/mail/src/org/jboss/seam/
   trunk/src/test/ftest/examples/mail/src/org/jboss/seam/example/
   trunk/src/test/ftest/examples/mail/src/org/jboss/seam/example/mail/
   trunk/src/test/ftest/examples/mail/src/org/jboss/seam/example/mail/test/
   trunk/src/test/ftest/examples/mail/src/org/jboss/seam/example/mail/test/selenium/
   trunk/src/test/ftest/examples/mail/src/org/jboss/seam/example/mail/test/selenium/SeleniumMailTest.java
   trunk/src/test/ftest/examples/openid/
   trunk/src/test/ftest/examples/openid/build.xml
   trunk/src/test/ftest/examples/openid/jboss.xml
   trunk/src/test/ftest/examples/openid/src/
   trunk/src/test/ftest/examples/openid/src/org/
   trunk/src/test/ftest/examples/openid/src/org/jboss/
   trunk/src/test/ftest/examples/openid/src/org/jboss/seam/
   trunk/src/test/ftest/examples/openid/src/org/jboss/seam/example/
   trunk/src/test/ftest/examples/openid/src/org/jboss/seam/example/openid/
   trunk/src/test/ftest/examples/openid/src/org/jboss/seam/example/openid/test/
   trunk/src/test/ftest/examples/openid/src/org/jboss/seam/example/openid/test/selenium/
   trunk/src/test/ftest/examples/openid/src/org/jboss/seam/example/openid/test/selenium/SeleniumOpenIdTest.java
   trunk/src/test/ftest/examples/remoting/
   trunk/src/test/ftest/examples/remoting/chatroom/
   trunk/src/test/ftest/examples/remoting/chatroom/build.xml
   trunk/src/test/ftest/examples/remoting/chatroom/jboss.xml
   trunk/src/test/ftest/examples/remoting/chatroom/src/
   trunk/src/test/ftest/examples/remoting/chatroom/src/org/
   trunk/src/test/ftest/examples/remoting/chatroom/src/org/jboss/
   trunk/src/test/ftest/examples/remoting/chatroom/src/org/jboss/seam/
   trunk/src/test/ftest/examples/remoting/chatroom/src/org/jboss/seam/example/
   trunk/src/test/ftest/examples/remoting/chatroom/src/org/jboss/seam/example/remoting/
   trunk/src/test/ftest/examples/remoting/chatroom/src/org/jboss/seam/example/remoting/chatroom/
   trunk/src/test/ftest/examples/remoting/chatroom/src/org/jboss/seam/example/remoting/chatroom/test/
   trunk/src/test/ftest/examples/remoting/chatroom/src/org/jboss/seam/example/remoting/chatroom/test/selenium/
   trunk/src/test/ftest/examples/remoting/chatroom/src/org/jboss/seam/example/remoting/chatroom/test/selenium/SeleniumChatroomTest.java
   trunk/src/test/ftest/examples/rss/
   trunk/src/test/ftest/examples/rss/build.xml
   trunk/src/test/ftest/examples/rss/jboss.xml
   trunk/src/test/ftest/examples/rss/src/
   trunk/src/test/ftest/examples/rss/src/org/
   trunk/src/test/ftest/examples/rss/src/org/jboss/
   trunk/src/test/ftest/examples/rss/src/org/jboss/seam/
   trunk/src/test/ftest/examples/rss/src/org/jboss/seam/example/
   trunk/src/test/ftest/examples/rss/src/org/jboss/seam/example/rss/
   trunk/src/test/ftest/examples/rss/src/org/jboss/seam/example/rss/test/
   trunk/src/test/ftest/examples/rss/src/org/jboss/seam/example/rss/test/selenium/
   trunk/src/test/ftest/examples/rss/src/org/jboss/seam/example/rss/test/selenium/SeleniumRSSTest.java
   trunk/src/test/ftest/examples/ui/
   trunk/src/test/ftest/examples/ui/build.xml
   trunk/src/test/ftest/examples/ui/jboss.xml
   trunk/src/test/ftest/examples/ui/src/
   trunk/src/test/ftest/examples/ui/src/org/
   trunk/src/test/ftest/examples/ui/src/org/jboss/
   trunk/src/test/ftest/examples/ui/src/org/jboss/seam/
   trunk/src/test/ftest/examples/ui/src/org/jboss/seam/example/
   trunk/src/test/ftest/examples/ui/src/org/jboss/seam/example/ui/
   trunk/src/test/ftest/examples/ui/src/org/jboss/seam/example/ui/test/
   trunk/src/test/ftest/examples/ui/src/org/jboss/seam/example/ui/test/selenium/
   trunk/src/test/ftest/examples/ui/src/org/jboss/seam/example/ui/test/selenium/SeleniumUITest.java
Modified:
   trunk/src/test/ftest/build.xml
Log:
JBSEAM-3690 place holders for remaining examples

Modified: trunk/src/test/ftest/build.xml
===================================================================
--- trunk/src/test/ftest/build.xml	2009-02-13 01:01:54 UTC (rev 10040)
+++ trunk/src/test/ftest/build.xml	2009-02-13 09:07:18 UTC (rev 10041)
@@ -55,20 +55,27 @@
 		<testexample name="drools" />
 		<testexample name="dvdstore" />
 		<testexample name="contactlist" />
+		<testexample name="excel" />
 		<testexample name="groovybooking" />
 		<testexample name="hibernate" />
 		<testexample name="icefaces" />
+		<testexample name="itext" />
 		<testexample name="jpa" />
+		<testexample name="mail" />
 		<testexample name="messages" />
 		<testexample name="nestedbooking" />
 		<testexample name="numberguess" />
+		<testexample name="openid" />
 		<testexample name="quartz" />
 		<testexample name="registration" />
+		<testexample name="remoting/chatroom" />
+		<testexample name="rss" />
 		<testexample name="seambay" />
 		<testexample name="seampay" />
 		<testexample name="seamspace" />
 		<testexample name="spring" />
 		<testexample name="todo" />
+		<testexample name="ui" />
 		<testexample name="wicket" />
 		<antcall target="stop.selenium.server" />
 	</target>
@@ -136,21 +143,28 @@
 		<cleanexample name="drools" />
 		<cleanexample name="dvdstore" />
 		<cleanexample name="contactlist" />
+		<cleanexample name="excel" />
 		<cleanexample name="groovybooking" />
 		<cleanexample name="hibernate" />
 		<cleanexample name="icefaces" />
+		<cleanexample name="itext" />
 		<cleanexample name="jee5/booking" />
 		<cleanexample name="jpa" />
+		<cleanexample name="mail" />
 		<cleanexample name="messages" />
 		<cleanexample name="nestedbooking" />
 		<cleanexample name="numberguess" />
+		<cleanexample name="openid" />
 		<cleanexample name="quartz" />
 		<cleanexample name="registration" />
+		<cleanexample name="remoting/chatroom" />
+		<cleanexample name="rss" />
 		<cleanexample name="seambay" />
 		<cleanexample name="seampay" />
 		<cleanexample name="seamspace" />
 		<cleanexample name="spring" />
 		<cleanexample name="todo" />
+		<cleanexample name="ui" />
 		<cleanexample name="wicket" />
 	</target>
 
@@ -161,21 +175,28 @@
 		<undeployexample name="drools" />
 		<undeployexample name="dvdstore" />
 		<undeployexample name="contactlist" />
+		<undeployexample name="excel" />
 		<undeployexample name="groovybooking" />
 		<undeployexample name="hibernate" />
 		<undeployexample name="icefaces" />
+		<undeployexample name="itext" />
 		<undeployexample name="jee5/booking" />
 		<undeployexample name="jpa" />
+		<undeployexample name="mail" />
 		<undeployexample name="messages" />
 		<undeployexample name="nestedbooking" />
 		<undeployexample name="numberguess" />
+		<undeployexample name="openid" />
 		<undeployexample name="quartz" />
 		<undeployexample name="registration" />
+		<undeployexample name="rss" />
+		<undeployexample name="remoting/chatroom" />
 		<undeployexample name="seambay" />
 		<undeployexample name="seampay" />
 		<undeployexample name="seamspace" />
 		<undeployexample name="spring" />
 		<undeployexample name="todo" />
+		<undeployexample name="ui" />
 		<undeployexample name="wicket" />
 	</target>
 

Added: trunk/src/test/ftest/examples/excel/build.xml
===================================================================
--- trunk/src/test/ftest/examples/excel/build.xml	                        (rev 0)
+++ trunk/src/test/ftest/examples/excel/build.xml	2009-02-13 09:07:18 UTC (rev 10041)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+JBoss, Home of Professional Open Source
+Copyright 2008, Red Hat Middleware LLC, and individual contributors
+by the @authors tag. See the copyright.txt in the distribution for a
+full listing of individual contributors.
+
+This is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as
+published by the Free Software Foundation; either version 2.1 of
+the License, or (at your option) any later version.
+
+This software is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this software; if not, write to the Free
+Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+02110-1301 USA, or see the FSF site: http://www.fsf.org.
+-->
+<project name="excel.ftest.build" basedir="." default="build">
+	<property name="example.name" value="excel" />
+	<property name="jboss.example.ready.check.url" value="seam-excel/home.seam" />
+
+	<import file="../build.xml" />
+</project>


Property changes on: trunk/src/test/ftest/examples/excel/build.xml
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/src/test/ftest/examples/excel/jboss.xml
===================================================================
--- trunk/src/test/ftest/examples/excel/jboss.xml	                        (rev 0)
+++ trunk/src/test/ftest/examples/excel/jboss.xml	2009-02-13 09:07:18 UTC (rev 10041)
@@ -0,0 +1,29 @@
+
+	<!--
+		JBoss, Home of Professional Open Source Copyright 2008, Red Hat
+		Middleware LLC, and individual contributors by the @authors tag. See
+		the copyright.txt in the distribution for a full listing of individual
+		contributors. This is free software; you can redistribute it and/or
+		modify it under the terms of the GNU Lesser General Public License as
+		published by the Free Software Foundation; either version 2.1 of the
+		License, or (at your option) any later version. This software is
+		distributed in the hope that it will be useful, but WITHOUT ANY
+		WARRANTY; without even the implied warranty of MERCHANTABILITY or
+		FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+		License for more details. You should have received a copy of the GNU
+		Lesser General Public License along with this software; if not, write
+		to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+		Boston, MA 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+	--> 
+<!DOCTYPE suite SYSTEM "http://beust.com/testng/testng-1.0.dtd" >
+<suite name="Excel example" verbose="2" parallel="false">
+	<test name="excel_jboss">
+		<parameter name="CONTEXT_PATH" value="/seam-excel" />
+		<parameter name="PROPERTY_FILE"
+			value="" />
+		<classes>
+			<class
+				name="org.jboss.seam.example.excel.test.selenium.SeleniumExcelTest" />
+		</classes>
+	</test>
+</suite>


Property changes on: trunk/src/test/ftest/examples/excel/jboss.xml
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + text/plain

Added: trunk/src/test/ftest/examples/excel/src/org/jboss/seam/example/excel/test/selenium/SeleniumExcelTest.java
===================================================================
--- trunk/src/test/ftest/examples/excel/src/org/jboss/seam/example/excel/test/selenium/SeleniumExcelTest.java	                        (rev 0)
+++ trunk/src/test/ftest/examples/excel/src/org/jboss/seam/example/excel/test/selenium/SeleniumExcelTest.java	2009-02-13 09:07:18 UTC (rev 10041)
@@ -0,0 +1,27 @@
+package org.jboss.seam.example.excel.test.selenium;
+
+import org.jboss.seam.example.common.test.selenium.SeamSeleniumTest;
+import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
+import static org.testng.AssertJUnit.assertEquals;
+
+public class SeleniumExcelTest extends SeamSeleniumTest
+{
+   public static final String HOME_PAGE = "/home.seam";
+   public static final String HOME_PAGE_TITLE = "Microsoft® Excel® Export examples";
+   
+   @BeforeMethod
+   @Override
+   public void setUp() {
+      super.setUp();
+      browser.open(CONTEXT_PATH + HOME_PAGE);
+   }
+   
+   /**
+    * Place holder - just verifies that example deploys
+    */
+   @Test
+   public void homePageLoadTest() {
+      assertEquals("Unexpected page title.", HOME_PAGE_TITLE, browser.getTitle());
+   }
+}


Property changes on: trunk/src/test/ftest/examples/excel/src/org/jboss/seam/example/excel/test/selenium/SeleniumExcelTest.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/src/test/ftest/examples/itext/build.xml
===================================================================
--- trunk/src/test/ftest/examples/itext/build.xml	                        (rev 0)
+++ trunk/src/test/ftest/examples/itext/build.xml	2009-02-13 09:07:18 UTC (rev 10041)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+JBoss, Home of Professional Open Source
+Copyright 2008, Red Hat Middleware LLC, and individual contributors
+by the @authors tag. See the copyright.txt in the distribution for a
+full listing of individual contributors.
+
+This is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as
+published by the Free Software Foundation; either version 2.1 of
+the License, or (at your option) any later version.
+
+This software is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this software; if not, write to the Free
+Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+02110-1301 USA, or see the FSF site: http://www.fsf.org.
+-->
+<project name="itext.ftest.build" basedir="." default="build">
+	<property name="example.name" value="itext" />
+	<property name="jboss.example.ready.check.url" value="seam-itext/index.seam" />
+
+	<import file="../build.xml" />
+</project>


Property changes on: trunk/src/test/ftest/examples/itext/build.xml
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/src/test/ftest/examples/itext/jboss.xml
===================================================================
--- trunk/src/test/ftest/examples/itext/jboss.xml	                        (rev 0)
+++ trunk/src/test/ftest/examples/itext/jboss.xml	2009-02-13 09:07:18 UTC (rev 10041)
@@ -0,0 +1,27 @@
+
+	<!--
+		JBoss, Home of Professional Open Source Copyright 2008, Red Hat
+		Middleware LLC, and individual contributors by the @authors tag. See
+		the copyright.txt in the distribution for a full listing of individual
+		contributors. This is free software; you can redistribute it and/or
+		modify it under the terms of the GNU Lesser General Public License as
+		published by the Free Software Foundation; either version 2.1 of the
+		License, or (at your option) any later version. This software is
+		distributed in the hope that it will be useful, but WITHOUT ANY
+		WARRANTY; without even the implied warranty of MERCHANTABILITY or
+		FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+		License for more details. You should have received a copy of the GNU
+		Lesser General Public License along with this software; if not, write
+		to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+		Boston, MA 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+	--> 
+<!DOCTYPE suite SYSTEM "http://beust.com/testng/testng-1.0.dtd" >
+<suite name="Itext example" verbose="2" parallel="false">
+	<test name="itext_jboss">
+		<parameter name="CONTEXT_PATH" value="/seam-itext" />
+		<parameter name="PROPERTY_FILE" value="" />
+		<classes>
+			<class name="org.jboss.seam.example.itext.test.selenium.SeleniumItextTest" />
+		</classes>
+	</test>
+</suite>


Property changes on: trunk/src/test/ftest/examples/itext/jboss.xml
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + text/plain

Added: trunk/src/test/ftest/examples/itext/src/org/jboss/seam/example/itext/test/selenium/SeleniumItextTest.java
===================================================================
--- trunk/src/test/ftest/examples/itext/src/org/jboss/seam/example/itext/test/selenium/SeleniumItextTest.java	                        (rev 0)
+++ trunk/src/test/ftest/examples/itext/src/org/jboss/seam/example/itext/test/selenium/SeleniumItextTest.java	2009-02-13 09:07:18 UTC (rev 10041)
@@ -0,0 +1,28 @@
+package org.jboss.seam.example.itext.test.selenium;
+
+import static org.testng.AssertJUnit.assertEquals;
+
+import org.jboss.seam.example.common.test.selenium.SeamSeleniumTest;
+import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
+
+public class SeleniumItextTest extends SeamSeleniumTest
+{
+   public static final String HOME_PAGE = "/index.seam";
+   public static final String HOME_PAGE_TITLE = "Seam PDF";
+   
+   @BeforeMethod
+   @Override
+   public void setUp() {
+      super.setUp();
+      browser.open(CONTEXT_PATH + HOME_PAGE);
+   }
+   
+   /**
+    * Place holder - just verifies that example deploys
+    */
+   @Test
+   public void homePageLoadTest() {
+      assertEquals("Unexpected page title.", HOME_PAGE_TITLE, browser.getTitle());
+   }
+}


Property changes on: trunk/src/test/ftest/examples/itext/src/org/jboss/seam/example/itext/test/selenium/SeleniumItextTest.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/src/test/ftest/examples/mail/build.xml
===================================================================
--- trunk/src/test/ftest/examples/mail/build.xml	                        (rev 0)
+++ trunk/src/test/ftest/examples/mail/build.xml	2009-02-13 09:07:18 UTC (rev 10041)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+JBoss, Home of Professional Open Source
+Copyright 2008, Red Hat Middleware LLC, and individual contributors
+by the @authors tag. See the copyright.txt in the distribution for a
+full listing of individual contributors.
+
+This is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as
+published by the Free Software Foundation; either version 2.1 of
+the License, or (at your option) any later version.
+
+This software is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this software; if not, write to the Free
+Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+02110-1301 USA, or see the FSF site: http://www.fsf.org.
+-->
+<project name="mail.ftest.build" basedir="." default="build">
+	<property name="example.name" value="mail" />
+	<property name="jboss.example.ready.check.url" value="seam-mail/index.seam" />
+
+	<import file="../build.xml" />
+</project>


Property changes on: trunk/src/test/ftest/examples/mail/build.xml
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/src/test/ftest/examples/mail/jboss.xml
===================================================================
--- trunk/src/test/ftest/examples/mail/jboss.xml	                        (rev 0)
+++ trunk/src/test/ftest/examples/mail/jboss.xml	2009-02-13 09:07:18 UTC (rev 10041)
@@ -0,0 +1,27 @@
+
+	<!--
+		JBoss, Home of Professional Open Source Copyright 2008, Red Hat
+		Middleware LLC, and individual contributors by the @authors tag. See
+		the copyright.txt in the distribution for a full listing of individual
+		contributors. This is free software; you can redistribute it and/or
+		modify it under the terms of the GNU Lesser General Public License as
+		published by the Free Software Foundation; either version 2.1 of the
+		License, or (at your option) any later version. This software is
+		distributed in the hope that it will be useful, but WITHOUT ANY
+		WARRANTY; without even the implied warranty of MERCHANTABILITY or
+		FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+		License for more details. You should have received a copy of the GNU
+		Lesser General Public License along with this software; if not, write
+		to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+		Boston, MA 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+	--> 
+<!DOCTYPE suite SYSTEM "http://beust.com/testng/testng-1.0.dtd" >
+<suite name="Mail example" verbose="2" parallel="false">
+	<test name="mail_jboss">
+		<parameter name="CONTEXT_PATH" value="/seam-mail" />
+		<parameter name="PROPERTY_FILE" value="" />
+		<classes>
+			<class name="org.jboss.seam.example.mail.test.selenium.SeleniumMailTest" />
+		</classes>
+	</test>
+</suite>


Property changes on: trunk/src/test/ftest/examples/mail/jboss.xml
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + text/plain

Added: trunk/src/test/ftest/examples/mail/src/org/jboss/seam/example/mail/test/selenium/SeleniumMailTest.java
===================================================================
--- trunk/src/test/ftest/examples/mail/src/org/jboss/seam/example/mail/test/selenium/SeleniumMailTest.java	                        (rev 0)
+++ trunk/src/test/ftest/examples/mail/src/org/jboss/seam/example/mail/test/selenium/SeleniumMailTest.java	2009-02-13 09:07:18 UTC (rev 10041)
@@ -0,0 +1,29 @@
+package org.jboss.seam.example.mail.test.selenium;
+
+import org.jboss.seam.example.common.test.selenium.SeamSeleniumTest;
+import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
+import static org.testng.AssertJUnit.assertEquals;
+
+public class SeleniumMailTest extends SeamSeleniumTest
+{
+   public static final String HOME_PAGE = "/index.seam";
+   public static final String HOME_PAGE_TITLE = "Seam Mail";
+
+   @BeforeMethod
+   @Override
+   public void setUp()
+   {
+      super.setUp();
+      browser.open(CONTEXT_PATH + HOME_PAGE);
+   }
+
+   /**
+    * Place holder - just verifies that example deploys
+    */
+   @Test
+   public void homePageLoadTest()
+   {
+      assertEquals("Unexpected page title.", HOME_PAGE_TITLE, browser.getTitle());
+   }
+}


Property changes on: trunk/src/test/ftest/examples/mail/src/org/jboss/seam/example/mail/test/selenium/SeleniumMailTest.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/src/test/ftest/examples/openid/build.xml
===================================================================
--- trunk/src/test/ftest/examples/openid/build.xml	                        (rev 0)
+++ trunk/src/test/ftest/examples/openid/build.xml	2009-02-13 09:07:18 UTC (rev 10041)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+JBoss, Home of Professional Open Source
+Copyright 2008, Red Hat Middleware LLC, and individual contributors
+by the @authors tag. See the copyright.txt in the distribution for a
+full listing of individual contributors.
+
+This is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as
+published by the Free Software Foundation; either version 2.1 of
+the License, or (at your option) any later version.
+
+This software is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this software; if not, write to the Free
+Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+02110-1301 USA, or see the FSF site: http://www.fsf.org.
+-->
+<project name="openid.ftest.build" basedir="." default="build">
+	<property name="example.name" value="openid" />
+	<property name="jboss.example.ready.check.url" value="seam-openid" />
+
+	<import file="../build.xml" />
+</project>


Property changes on: trunk/src/test/ftest/examples/openid/build.xml
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/src/test/ftest/examples/openid/jboss.xml
===================================================================
--- trunk/src/test/ftest/examples/openid/jboss.xml	                        (rev 0)
+++ trunk/src/test/ftest/examples/openid/jboss.xml	2009-02-13 09:07:18 UTC (rev 10041)
@@ -0,0 +1,27 @@
+
+	<!--
+		JBoss, Home of Professional Open Source Copyright 2008, Red Hat
+		Middleware LLC, and individual contributors by the @authors tag. See
+		the copyright.txt in the distribution for a full listing of individual
+		contributors. This is free software; you can redistribute it and/or
+		modify it under the terms of the GNU Lesser General Public License as
+		published by the Free Software Foundation; either version 2.1 of the
+		License, or (at your option) any later version. This software is
+		distributed in the hope that it will be useful, but WITHOUT ANY
+		WARRANTY; without even the implied warranty of MERCHANTABILITY or
+		FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+		License for more details. You should have received a copy of the GNU
+		Lesser General Public License along with this software; if not, write
+		to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+		Boston, MA 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+	--> 
+<!DOCTYPE suite SYSTEM "http://beust.com/testng/testng-1.0.dtd" >
+<suite name="OpenId example" verbose="2" parallel="false">
+	<test name="openid_jboss">
+		<parameter name="CONTEXT_PATH" value="/seam-openid" />
+		<parameter name="PROPERTY_FILE" value="" />
+		<classes>
+			<class name="org.jboss.seam.example.openid.test.selenium.SeleniumOpenIdTest" />
+		</classes>
+	</test>
+</suite>


Property changes on: trunk/src/test/ftest/examples/openid/jboss.xml
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + text/plain

Added: trunk/src/test/ftest/examples/openid/src/org/jboss/seam/example/openid/test/selenium/SeleniumOpenIdTest.java
===================================================================
--- trunk/src/test/ftest/examples/openid/src/org/jboss/seam/example/openid/test/selenium/SeleniumOpenIdTest.java	                        (rev 0)
+++ trunk/src/test/ftest/examples/openid/src/org/jboss/seam/example/openid/test/selenium/SeleniumOpenIdTest.java	2009-02-13 09:07:18 UTC (rev 10041)
@@ -0,0 +1,29 @@
+package org.jboss.seam.example.openid.test.selenium;
+
+import static org.testng.AssertJUnit.assertEquals;
+
+import org.jboss.seam.example.common.test.selenium.SeamSeleniumTest;
+import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
+
+public class SeleniumOpenIdTest extends SeamSeleniumTest
+{
+   public static final String HOME_PAGE_TITLE = "OpenID Wall";
+
+   @BeforeMethod
+   @Override
+   public void setUp()
+   {
+      super.setUp();
+      browser.open(CONTEXT_PATH);
+   }
+
+   /**
+    * Place holder - just verifies that example deploys
+    */
+   @Test
+   public void homePageLoadTest()
+   {
+      assertEquals("Unexpected page title.", HOME_PAGE_TITLE, browser.getTitle());
+   }
+}


Property changes on: trunk/src/test/ftest/examples/openid/src/org/jboss/seam/example/openid/test/selenium/SeleniumOpenIdTest.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/src/test/ftest/examples/remoting/chatroom/build.xml
===================================================================
--- trunk/src/test/ftest/examples/remoting/chatroom/build.xml	                        (rev 0)
+++ trunk/src/test/ftest/examples/remoting/chatroom/build.xml	2009-02-13 09:07:18 UTC (rev 10041)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+JBoss, Home of Professional Open Source
+Copyright 2008, Red Hat Middleware LLC, and individual contributors
+by the @authors tag. See the copyright.txt in the distribution for a
+full listing of individual contributors.
+
+This is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as
+published by the Free Software Foundation; either version 2.1 of
+the License, or (at your option) any later version.
+
+This software is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this software; if not, write to the Free
+Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+02110-1301 USA, or see the FSF site: http://www.fsf.org.
+-->
+<project name="chatroom.ftest.build" basedir="." default="build">
+	<property name="example.name" value="remoting/chatroom" />
+	<property name="jboss.example.ready.check.url" value="seam-chatroom/chatroom.seam" />
+
+	<import file="../../build.xml" />
+</project>


Property changes on: trunk/src/test/ftest/examples/remoting/chatroom/build.xml
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/src/test/ftest/examples/remoting/chatroom/jboss.xml
===================================================================
--- trunk/src/test/ftest/examples/remoting/chatroom/jboss.xml	                        (rev 0)
+++ trunk/src/test/ftest/examples/remoting/chatroom/jboss.xml	2009-02-13 09:07:18 UTC (rev 10041)
@@ -0,0 +1,29 @@
+
+	<!--
+		JBoss, Home of Professional Open Source Copyright 2008, Red Hat
+		Middleware LLC, and individual contributors by the @authors tag. See
+		the copyright.txt in the distribution for a full listing of individual
+		contributors. This is free software; you can redistribute it and/or
+		modify it under the terms of the GNU Lesser General Public License as
+		published by the Free Software Foundation; either version 2.1 of the
+		License, or (at your option) any later version. This software is
+		distributed in the hope that it will be useful, but WITHOUT ANY
+		WARRANTY; without even the implied warranty of MERCHANTABILITY or
+		FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+		License for more details. You should have received a copy of the GNU
+		Lesser General Public License along with this software; if not, write
+		to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+		Boston, MA 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+	--> 
+<!DOCTYPE suite SYSTEM "http://beust.com/testng/testng-1.0.dtd" >
+<suite name="Chatroom example" verbose="2" parallel="false">
+	<test name="chatroom_jboss">
+		<parameter name="CONTEXT_PATH" value="/seam-chatroom" />
+		<parameter name="PROPERTY_FILE"
+			value="" />
+		<classes>
+			<class
+				name="org.jboss.seam.example.remoting.chatroom.test.selenium.SeleniumChatroomTest" />
+		</classes>
+	</test>
+</suite>


Property changes on: trunk/src/test/ftest/examples/remoting/chatroom/jboss.xml
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + text/plain

Added: trunk/src/test/ftest/examples/remoting/chatroom/src/org/jboss/seam/example/remoting/chatroom/test/selenium/SeleniumChatroomTest.java
===================================================================
--- trunk/src/test/ftest/examples/remoting/chatroom/src/org/jboss/seam/example/remoting/chatroom/test/selenium/SeleniumChatroomTest.java	                        (rev 0)
+++ trunk/src/test/ftest/examples/remoting/chatroom/src/org/jboss/seam/example/remoting/chatroom/test/selenium/SeleniumChatroomTest.java	2009-02-13 09:07:18 UTC (rev 10041)
@@ -0,0 +1,25 @@
+package org.jboss.seam.example.remoting.chatroom.test.selenium;
+
+import org.jboss.seam.example.common.test.selenium.SeamSeleniumTest;
+import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
+import static org.testng.AssertJUnit.assertEquals;
+
+public class SeleniumChatroomTest extends SeamSeleniumTest
+{
+   public static final String HOME_PAGE = "/chatroom.seam";
+   public static final String HOME_PAGE_TITLE = "Chat Room Example";
+   
+   @BeforeMethod
+   @Override
+   public void setUp() {
+      super.setUp();
+      browser.open(CONTEXT_PATH + HOME_PAGE);
+   }
+   
+   @Test // place holder - should be replaced by better tests as soon as JBSEAM-3944 is resolved
+   public void homePageLoadTest() {
+      assertEquals("Unexpected page title.", HOME_PAGE_TITLE, browser.getTitle());
+   }
+
+}


Property changes on: trunk/src/test/ftest/examples/remoting/chatroom/src/org/jboss/seam/example/remoting/chatroom/test/selenium/SeleniumChatroomTest.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/src/test/ftest/examples/rss/build.xml
===================================================================
--- trunk/src/test/ftest/examples/rss/build.xml	                        (rev 0)
+++ trunk/src/test/ftest/examples/rss/build.xml	2009-02-13 09:07:18 UTC (rev 10041)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+JBoss, Home of Professional Open Source
+Copyright 2008, Red Hat Middleware LLC, and individual contributors
+by the @authors tag. See the copyright.txt in the distribution for a
+full listing of individual contributors.
+
+This is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as
+published by the Free Software Foundation; either version 2.1 of
+the License, or (at your option) any later version.
+
+This software is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this software; if not, write to the Free
+Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+02110-1301 USA, or see the FSF site: http://www.fsf.org.
+-->
+<project name="rss.ftest.build" basedir="." default="build">
+	<property name="example.name" value="rss" />
+	<property name="jboss.example.ready.check.url" value="seam-rss/rss.seam" />
+
+	<import file="../build.xml" />
+</project>


Property changes on: trunk/src/test/ftest/examples/rss/build.xml
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/src/test/ftest/examples/rss/jboss.xml
===================================================================
--- trunk/src/test/ftest/examples/rss/jboss.xml	                        (rev 0)
+++ trunk/src/test/ftest/examples/rss/jboss.xml	2009-02-13 09:07:18 UTC (rev 10041)
@@ -0,0 +1,27 @@
+
+	<!--
+		JBoss, Home of Professional Open Source Copyright 2008, Red Hat
+		Middleware LLC, and individual contributors by the @authors tag. See
+		the copyright.txt in the distribution for a full listing of individual
+		contributors. This is free software; you can redistribute it and/or
+		modify it under the terms of the GNU Lesser General Public License as
+		published by the Free Software Foundation; either version 2.1 of the
+		License, or (at your option) any later version. This software is
+		distributed in the hope that it will be useful, but WITHOUT ANY
+		WARRANTY; without even the implied warranty of MERCHANTABILITY or
+		FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+		License for more details. You should have received a copy of the GNU
+		Lesser General Public License along with this software; if not, write
+		to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+		Boston, MA 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+	--> 
+<!DOCTYPE suite SYSTEM "http://beust.com/testng/testng-1.0.dtd" >
+<suite name="RSS example" verbose="2" parallel="false">
+	<test name="rss_jboss">
+		<parameter name="CONTEXT_PATH" value="/seam-rss" />
+		<parameter name="PROPERTY_FILE" value="" />
+		<classes>
+			<class name="org.jboss.seam.example.rss.test.selenium.SeleniumRSSTest" />
+		</classes>
+	</test>
+</suite>


Property changes on: trunk/src/test/ftest/examples/rss/jboss.xml
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + text/plain

Added: trunk/src/test/ftest/examples/rss/src/org/jboss/seam/example/rss/test/selenium/SeleniumRSSTest.java
===================================================================
--- trunk/src/test/ftest/examples/rss/src/org/jboss/seam/example/rss/test/selenium/SeleniumRSSTest.java	                        (rev 0)
+++ trunk/src/test/ftest/examples/rss/src/org/jboss/seam/example/rss/test/selenium/SeleniumRSSTest.java	2009-02-13 09:07:18 UTC (rev 10041)
@@ -0,0 +1,30 @@
+package org.jboss.seam.example.rss.test.selenium;
+
+import static org.testng.AssertJUnit.assertEquals;
+
+import org.jboss.seam.example.common.test.selenium.SeamSeleniumTest;
+import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
+
+public class SeleniumRSSTest extends SeamSeleniumTest
+{
+   public static final String HOME_PAGE = "/rss.seam";
+   public static final String HOME_PAGE_TITLE = "Title Feed";
+
+   @BeforeMethod
+   @Override
+   public void setUp()
+   {
+      super.setUp();
+      browser.open(CONTEXT_PATH + HOME_PAGE);
+   }
+
+   /**
+    * Place holder - just verifies that example deploys
+    */
+   @Test
+   public void homePageLoadTest()
+   {
+      assertEquals("Unexpected page title.", HOME_PAGE_TITLE, browser.getTitle());
+   }
+}


Property changes on: trunk/src/test/ftest/examples/rss/src/org/jboss/seam/example/rss/test/selenium/SeleniumRSSTest.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/src/test/ftest/examples/ui/build.xml
===================================================================
--- trunk/src/test/ftest/examples/ui/build.xml	                        (rev 0)
+++ trunk/src/test/ftest/examples/ui/build.xml	2009-02-13 09:07:18 UTC (rev 10041)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+JBoss, Home of Professional Open Source
+Copyright 2008, Red Hat Middleware LLC, and individual contributors
+by the @authors tag. See the copyright.txt in the distribution for a
+full listing of individual contributors.
+
+This is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as
+published by the Free Software Foundation; either version 2.1 of
+the License, or (at your option) any later version.
+
+This software is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this software; if not, write to the Free
+Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+02110-1301 USA, or see the FSF site: http://www.fsf.org.
+-->
+<project name="ui.ftest.build" basedir="." default="build">
+	<property name="example.name" value="ui" />
+	<property name="jboss.example.ready.check.url" value="seam-ui/index.seam" />
+
+	<import file="../build.xml" />
+</project>


Property changes on: trunk/src/test/ftest/examples/ui/build.xml
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/src/test/ftest/examples/ui/jboss.xml
===================================================================
--- trunk/src/test/ftest/examples/ui/jboss.xml	                        (rev 0)
+++ trunk/src/test/ftest/examples/ui/jboss.xml	2009-02-13 09:07:18 UTC (rev 10041)
@@ -0,0 +1,27 @@
+
+	<!--
+		JBoss, Home of Professional Open Source Copyright 2008, Red Hat
+		Middleware LLC, and individual contributors by the @authors tag. See
+		the copyright.txt in the distribution for a full listing of individual
+		contributors. This is free software; you can redistribute it and/or
+		modify it under the terms of the GNU Lesser General Public License as
+		published by the Free Software Foundation; either version 2.1 of the
+		License, or (at your option) any later version. This software is
+		distributed in the hope that it will be useful, but WITHOUT ANY
+		WARRANTY; without even the implied warranty of MERCHANTABILITY or
+		FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+		License for more details. You should have received a copy of the GNU
+		Lesser General Public License along with this software; if not, write
+		to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+		Boston, MA 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+	--> 
+<!DOCTYPE suite SYSTEM "http://beust.com/testng/testng-1.0.dtd" >
+<suite name="UI example" verbose="2" parallel="false">
+	<test name="ui_jboss">
+		<parameter name="CONTEXT_PATH" value="/seam-ui" />
+		<parameter name="PROPERTY_FILE" value="" />
+		<classes>
+			<class name="org.jboss.seam.example.ui.test.selenium.SeleniumUITest" />
+		</classes>
+	</test>
+</suite>


Property changes on: trunk/src/test/ftest/examples/ui/jboss.xml
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + text/plain

Added: trunk/src/test/ftest/examples/ui/src/org/jboss/seam/example/ui/test/selenium/SeleniumUITest.java
===================================================================
--- trunk/src/test/ftest/examples/ui/src/org/jboss/seam/example/ui/test/selenium/SeleniumUITest.java	                        (rev 0)
+++ trunk/src/test/ftest/examples/ui/src/org/jboss/seam/example/ui/test/selenium/SeleniumUITest.java	2009-02-13 09:07:18 UTC (rev 10041)
@@ -0,0 +1,30 @@
+package org.jboss.seam.example.ui.test.selenium;
+
+import static org.testng.AssertJUnit.assertEquals;
+
+import org.jboss.seam.example.common.test.selenium.SeamSeleniumTest;
+import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
+
+public class SeleniumUITest extends SeamSeleniumTest
+{
+      public static final String HOME_PAGE = "/index.seam";
+      public static final String HOME_PAGE_TITLE = "UI Example:";
+
+      @BeforeMethod
+      @Override
+      public void setUp()
+      {
+         super.setUp();
+         browser.open(CONTEXT_PATH + HOME_PAGE);
+      }
+
+      /**
+       * Place holder - just verifies that example deploys
+       */
+      @Test
+      public void homePageLoadTest()
+      {
+         assertEquals("Unexpected page title.", HOME_PAGE_TITLE, browser.getTitle());
+      }
+}


Property changes on: trunk/src/test/ftest/examples/ui/src/org/jboss/seam/example/ui/test/selenium/SeleniumUITest.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain




More information about the seam-commits mailing list