Seam SVN: r14758 - branches/community/Seam_2_3/jboss-seam/src/test/java/org/jboss/seam/test/unit.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-05-28 07:11:50 -0400 (Mon, 28 May 2012)
New Revision: 14758
Modified:
branches/community/Seam_2_3/jboss-seam/src/test/java/org/jboss/seam/test/unit/testng.xml
Log:
removed MailTest from test suite testng.xml
Modified: branches/community/Seam_2_3/jboss-seam/src/test/java/org/jboss/seam/test/unit/testng.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam/src/test/java/org/jboss/seam/test/unit/testng.xml 2012-05-28 09:01:35 UTC (rev 14757)
+++ branches/community/Seam_2_3/jboss-seam/src/test/java/org/jboss/seam/test/unit/testng.xml 2012-05-28 11:11:50 UTC (rev 14758)
@@ -13,12 +13,6 @@
</classes>
</test>
- <test name="Seam Unit Tests Mail">
- <classes>
- <class name="org.jboss.seam.test.unit.MailTest"/>
- </classes>
- </test>
-
<test name="Seam Unit Tests BPM and Pageflow">
<classes>
<class name="org.jboss.seam.test.unit.bpm.ActorTest" />
12 years, 7 months
Seam SVN: r14757 - branches/community/Seam_2_3/bom.
by seam-commits@lists.jboss.org
Author: maschmid
Date: 2012-05-28 05:01:35 -0400 (Mon, 28 May 2012)
New Revision: 14757
Modified:
branches/community/Seam_2_3/bom/pom.xml
Log:
fix testng dependency
Modified: branches/community/Seam_2_3/bom/pom.xml
===================================================================
--- branches/community/Seam_2_3/bom/pom.xml 2012-05-26 19:55:52 UTC (rev 14756)
+++ branches/community/Seam_2_3/bom/pom.xml 2012-05-28 09:01:35 UTC (rev 14757)
@@ -945,7 +945,6 @@
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>${version.testng}</version>
- <classifier>jdk15</classifier>
</dependency>
<dependency>
12 years, 7 months
Seam SVN: r14756 - branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-05-26 15:55:52 -0400 (Sat, 26 May 2012)
New Revision: 14756
Modified:
branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Remoting.xml
Log:
JBSEAM-4954
Modified: branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Remoting.xml
===================================================================
--- branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Remoting.xml 2012-05-26 19:55:42 UTC (rev 14755)
+++ branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Remoting.xml 2012-05-26 19:55:52 UTC (rev 14756)
@@ -73,21 +73,16 @@
<programlisting role="JAVA"><![CDATA[@Stateless
@Name("helloAction")
-public class HelloAction implements HelloLocal {
+public class HelloAction {
+ @WebRemote
public String sayHello(String name) {
return "Hello, " + name;
}
}]]></programlisting>
- <para>You also need to create a local interface for our new component - take special note of the
+ <para>Take special note of the
<literal>@WebRemote</literal> annotation, as it's required to make our method accessible via remoting:</para>
- <programlisting role="JAVA"><![CDATA[@Local
-public interface HelloLocal {
- @WebRemote
- public String sayHello(String name);
-}]]></programlisting>
-
<para> That's all the server-side code we need to write.</para>
<note>
12 years, 7 months
Seam SVN: r14755 - in branches/community/Seam_2_3/examples-ee6/messages/messages-web/src/main/webapp: WEB-INF and 1 other directory.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-05-26 15:55:42 -0400 (Sat, 26 May 2012)
New Revision: 14755
Added:
branches/community/Seam_2_3/examples-ee6/messages/messages-web/src/main/webapp/messages.xhtml
Removed:
branches/community/Seam_2_3/examples-ee6/messages/messages-web/src/main/webapp/messages.jsp
Modified:
branches/community/Seam_2_3/examples-ee6/messages/messages-web/src/main/webapp/WEB-INF/web.xml
Log:
JBSEAM-4967 migrated to facelets from JSP template
Modified: branches/community/Seam_2_3/examples-ee6/messages/messages-web/src/main/webapp/WEB-INF/web.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/messages/messages-web/src/main/webapp/WEB-INF/web.xml 2012-05-26 19:55:10 UTC (rev 14754)
+++ branches/community/Seam_2_3/examples-ee6/messages/messages-web/src/main/webapp/WEB-INF/web.xml 2012-05-26 19:55:42 UTC (rev 14755)
@@ -11,6 +11,10 @@
<listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
</listener>
+ <context-param>
+ <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+ <param-value>.xhtml</param-value>
+ </context-param>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
Deleted: branches/community/Seam_2_3/examples-ee6/messages/messages-web/src/main/webapp/messages.jsp
===================================================================
--- branches/community/Seam_2_3/examples-ee6/messages/messages-web/src/main/webapp/messages.jsp 2012-05-26 19:55:10 UTC (rev 14754)
+++ branches/community/Seam_2_3/examples-ee6/messages/messages-web/src/main/webapp/messages.jsp 2012-05-26 19:55:42 UTC (rev 14755)
@@ -1,41 +0,0 @@
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://http://www.jboss.org/schema/seam/taglib" prefix="s" %>
-<html>
- <head>
- <title>Messages</title>
- </head>
- <body>
- <f:view>
- <h2>Message List</h2>
- <h:outputText id="noMessages" value="No messages to display" rendered="#{messageList.rowCount==0}"/>
- <h:dataTable id="messages" var="msg" value="#{messageList}" rendered="#{messageList.rowCount>0}">
- <h:column>
- <f:facet name="header">
- <h:outputText value="Read"/>
- </f:facet>
- <h:selectBooleanCheckbox id="read" value="#{msg.read}" disabled="true"/>
- </h:column>
- <h:column>
- <f:facet name="header">
- <h:outputText value="Title"/>
- </f:facet>
- <s:link id="link" value="#{msg.title}" action="#{messageManager.select}"/>
- </h:column>
- <h:column>
- <f:facet name="header">
- <h:outputText value="Date/Time"/>
- </f:facet>
- <h:outputText id="date" value="#{msg.datetime}">
- <f:convertDateTime type="both" dateStyle="medium" timeStyle="short"/>
- </h:outputText>
- </h:column>
- <h:column>
- <s:button id="delete" value="Delete" action="#{messageManager.delete}"/>
- </h:column>
- </h:dataTable>
- <h3><h:outputText id="title" value="#{message.title}"/></h3>
- <div><h:outputText id="text" value="#{message.text}"/></div>
- </f:view>
- </body>
-</html>
Copied: branches/community/Seam_2_3/examples-ee6/messages/messages-web/src/main/webapp/messages.xhtml (from rev 14754, branches/community/Seam_2_3/examples-ee6/messages/messages-web/src/main/webapp/messages.jsp)
===================================================================
--- branches/community/Seam_2_3/examples-ee6/messages/messages-web/src/main/webapp/messages.xhtml (rev 0)
+++ branches/community/Seam_2_3/examples-ee6/messages/messages-web/src/main/webapp/messages.xhtml 2012-05-26 19:55:42 UTC (rev 14755)
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.org/schema/seam/taglib"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core">
+ <head>
+ <title>Messages</title>
+ </head>
+ <body>
+ <f:view>
+ <h2>Message List</h2>
+ <h:outputText id="noMessages" value="No messages to display" rendered="#{messageList.rowCount==0}"/>
+ <h:dataTable id="messages" var="msg" value="#{messageList}" rendered="#{messageList.rowCount>0}">
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Read"/>
+ </f:facet>
+ <h:selectBooleanCheckbox id="read" value="#{msg.read}" disabled="true"/>
+ </h:column>
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Title"/>
+ </f:facet>
+ <s:link id="link" value="#{msg.title}" action="#{messageManager.select}"/>
+ </h:column>
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Date/Time"/>
+ </f:facet>
+ <h:outputText id="date" value="#{msg.datetime}">
+ <f:convertDateTime type="both" dateStyle="medium" timeStyle="short"/>
+ </h:outputText>
+ </h:column>
+ <h:column>
+ <s:button id="delete" value="Delete" action="#{messageManager.delete}"/>
+ </h:column>
+ </h:dataTable>
+ <h3><h:outputText id="title" value="#{message.title}"/></h3>
+ <div><h:outputText id="text" value="#{message.text}"/></div>
+ </f:view>
+ </body>
+</html>
12 years, 7 months
Seam SVN: r14754 - in branches/community/Seam_2_3: examples/blog/blog-tests and 69 other directories.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-05-26 15:55:10 -0400 (Sat, 26 May 2012)
New Revision: 14754
Modified:
branches/community/Seam_2_3/examples-ee6/blog/blog-tests/pom.xml
branches/community/Seam_2_3/examples-ee6/drools/drools-tests/pom.xml
branches/community/Seam_2_3/examples-ee6/excel/excel-tests/pom.xml
branches/community/Seam_2_3/examples-ee6/groovybooking/groovybooking-tests/pom.xml
branches/community/Seam_2_3/examples-ee6/hibernate/hibernate-tests/pom.xml
branches/community/Seam_2_3/examples-ee6/itext/itext-tests/pom.xml
branches/community/Seam_2_3/examples-ee6/mail/mail-tests/pom.xml
branches/community/Seam_2_3/examples-ee6/messages/messages-tests/pom.xml
branches/community/Seam_2_3/examples-ee6/messages/messages-web/src/main/webapp/messages.jsp
branches/community/Seam_2_3/examples-ee6/metawidget/groovybooking/groovybooking-tests/pom.xml
branches/community/Seam_2_3/examples-ee6/nestedbooking/nestedbooking-tests/pom.xml
branches/community/Seam_2_3/examples-ee6/numberguess/numberguess-tests/pom.xml
branches/community/Seam_2_3/examples-ee6/openid/openid-tests/pom.xml
branches/community/Seam_2_3/examples-ee6/quartz/quartz-tests/pom.xml
branches/community/Seam_2_3/examples-ee6/registration/registration-tests/pom.xml
branches/community/Seam_2_3/examples-ee6/remoting/chatroom/chatroom-tests/pom.xml
branches/community/Seam_2_3/examples-ee6/remoting/gwt/gwt-tests/pom.xml
branches/community/Seam_2_3/examples-ee6/remoting/helloworld/helloworld-tests/pom.xml
branches/community/Seam_2_3/examples-ee6/restbay/restbay-tests/pom.xml
branches/community/Seam_2_3/examples-ee6/rss/rss-tests/pom.xml
branches/community/Seam_2_3/examples-ee6/seambay/seambay-tests/pom.xml
branches/community/Seam_2_3/examples-ee6/seampay/seampay-tests/pom.xml
branches/community/Seam_2_3/examples-ee6/seamspace/seamspace-tests/pom.xml
branches/community/Seam_2_3/examples-ee6/spring/spring-tests/pom.xml
branches/community/Seam_2_3/examples-ee6/tasks/tasks-tests/pom.xml
branches/community/Seam_2_3/examples-ee6/todo/todo-tests/pom.xml
branches/community/Seam_2_3/examples-ee6/ui/ui-tests/pom.xml
branches/community/Seam_2_3/examples-ee6/wicket/wicket-tests/pom.xml
branches/community/Seam_2_3/examples/blog/blog-tests/pom.xml
branches/community/Seam_2_3/examples/booking/booking-tests/pom.xml
branches/community/Seam_2_3/examples/contactlist/contactlist-tests/pom.xml
branches/community/Seam_2_3/examples/drools/drools-tests/pom.xml
branches/community/Seam_2_3/examples/dvdstore/dvdstore-tests/pom.xml
branches/community/Seam_2_3/examples/excel/excel-tests/pom.xml
branches/community/Seam_2_3/examples/groovybooking/groovybooking-tests/pom.xml
branches/community/Seam_2_3/examples/guice/guice-tests/pom.xml
branches/community/Seam_2_3/examples/hibernate/hibernate-tests/pom.xml
branches/community/Seam_2_3/examples/icefaces/icefaces-tests/pom.xml
branches/community/Seam_2_3/examples/itext/itext-tests/pom.xml
branches/community/Seam_2_3/examples/jee5/booking/booking-tests/pom.xml
branches/community/Seam_2_3/examples/jpa/jpa-tests/pom.xml
branches/community/Seam_2_3/examples/mail/mail-tests/pom.xml
branches/community/Seam_2_3/examples/messages/messages-tests/pom.xml
branches/community/Seam_2_3/examples/metawidget/booking/booking-tests/pom.xml
branches/community/Seam_2_3/examples/metawidget/dvdstore/dvdstore-tests/pom.xml
branches/community/Seam_2_3/examples/metawidget/groovybooking/groovybooking-tests/pom.xml
branches/community/Seam_2_3/examples/nestedbooking/nestedbooking-tests/pom.xml
branches/community/Seam_2_3/examples/numberguess/numberguess-tests/pom.xml
branches/community/Seam_2_3/examples/openid/openid-tests/pom.xml
branches/community/Seam_2_3/examples/pom.xml
branches/community/Seam_2_3/examples/quartz/quartz-tests/pom.xml
branches/community/Seam_2_3/examples/registration/registration-tests/pom.xml
branches/community/Seam_2_3/examples/remoting/chatroom/chatroom-tests/pom.xml
branches/community/Seam_2_3/examples/remoting/gwt/gwt-tests/pom.xml
branches/community/Seam_2_3/examples/remoting/helloworld/helloworld-tests/pom.xml
branches/community/Seam_2_3/examples/restbay/restbay-tests/pom.xml
branches/community/Seam_2_3/examples/rss/rss-tests/pom.xml
branches/community/Seam_2_3/examples/seambay/seambay-tests/pom.xml
branches/community/Seam_2_3/examples/seamdiscs/seamdiscs-tests/pom.xml
branches/community/Seam_2_3/examples/seampay/seampay-tests/pom.xml
branches/community/Seam_2_3/examples/seamspace/seamspace-tests/pom.xml
branches/community/Seam_2_3/examples/spring/spring-tests/pom.xml
branches/community/Seam_2_3/examples/tasks/tasks-tests/pom.xml
branches/community/Seam_2_3/examples/todo/todo-tests/pom.xml
branches/community/Seam_2_3/examples/ui/ui-tests/pom.xml
branches/community/Seam_2_3/examples/wicket/wicket-tests/pom.xml
branches/community/Seam_2_3/functional-tests/pom.xml
branches/community/Seam_2_3/jboss-seam-excel/pom.xml
branches/community/Seam_2_3/jboss-seam-mail/pom.xml
branches/community/Seam_2_3/jboss-seam-remoting/pom.xml
branches/community/Seam_2_3/jboss-seam-resteasy/pom.xml
Log:
fixed removing of testng classifier
Modified: branches/community/Seam_2_3/examples/blog/blog-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/blog/blog-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/blog/blog-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples</groupId>
Modified: branches/community/Seam_2_3/examples/booking/booking-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/booking/booking-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/booking/booking-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples</groupId>
Modified: branches/community/Seam_2_3/examples/contactlist/contactlist-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/contactlist/contactlist-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/contactlist/contactlist-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples</groupId>
Modified: branches/community/Seam_2_3/examples/drools/drools-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/drools/drools-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/drools/drools-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples</groupId>
Modified: branches/community/Seam_2_3/examples/dvdstore/dvdstore-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/dvdstore/dvdstore-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/dvdstore/dvdstore-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples</groupId>
Modified: branches/community/Seam_2_3/examples/excel/excel-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/excel/excel-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/excel/excel-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples</groupId>
Modified: branches/community/Seam_2_3/examples/groovybooking/groovybooking-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/groovybooking/groovybooking-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/groovybooking/groovybooking-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam</groupId>
Modified: branches/community/Seam_2_3/examples/guice/guice-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/guice/guice-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/guice/guice-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples</groupId>
Modified: branches/community/Seam_2_3/examples/hibernate/hibernate-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/hibernate/hibernate-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/hibernate/hibernate-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam</groupId>
Modified: branches/community/Seam_2_3/examples/icefaces/icefaces-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/icefaces/icefaces-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/icefaces/icefaces-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples</groupId>
Modified: branches/community/Seam_2_3/examples/itext/itext-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/itext/itext-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/itext/itext-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples</groupId>
Modified: branches/community/Seam_2_3/examples/jee5/booking/booking-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/jee5/booking/booking-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/jee5/booking/booking-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples.jee5</groupId>
Modified: branches/community/Seam_2_3/examples/jpa/jpa-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/jpa/jpa-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/jpa/jpa-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -39,7 +39,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam</groupId>
Modified: branches/community/Seam_2_3/examples/mail/mail-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/mail/mail-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/mail/mail-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples</groupId>
Modified: branches/community/Seam_2_3/examples/messages/messages-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/messages/messages-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/messages/messages-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples</groupId>
Modified: branches/community/Seam_2_3/examples/metawidget/booking/booking-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/metawidget/booking/booking-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/metawidget/booking/booking-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples.metawidget</groupId>
Modified: branches/community/Seam_2_3/examples/metawidget/dvdstore/dvdstore-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/metawidget/dvdstore/dvdstore-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/metawidget/dvdstore/dvdstore-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples.metawidget</groupId>
Modified: branches/community/Seam_2_3/examples/metawidget/groovybooking/groovybooking-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/metawidget/groovybooking/groovybooking-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/metawidget/groovybooking/groovybooking-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam</groupId>
Modified: branches/community/Seam_2_3/examples/nestedbooking/nestedbooking-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/nestedbooking/nestedbooking-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/nestedbooking/nestedbooking-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples</groupId>
Modified: branches/community/Seam_2_3/examples/numberguess/numberguess-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/numberguess/numberguess-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/numberguess/numberguess-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples</groupId>
Modified: branches/community/Seam_2_3/examples/openid/openid-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/openid/openid-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/openid/openid-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples</groupId>
Modified: branches/community/Seam_2_3/examples/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -285,7 +285,7 @@
<version>5.10</version>
<type>jar</type>
<scope>test</scope>
- <classifier>jdk15</classifier>
+
<exclusions>
<exclusion>
<groupId>org.junit</groupId>
Modified: branches/community/Seam_2_3/examples/quartz/quartz-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/quartz/quartz-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/quartz/quartz-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples</groupId>
Modified: branches/community/Seam_2_3/examples/registration/registration-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/registration/registration-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/registration/registration-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples</groupId>
Modified: branches/community/Seam_2_3/examples/remoting/chatroom/chatroom-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/remoting/chatroom/chatroom-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/remoting/chatroom/chatroom-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples.remoting</groupId>
Modified: branches/community/Seam_2_3/examples/remoting/gwt/gwt-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/remoting/gwt/gwt-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/remoting/gwt/gwt-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples.remoting</groupId>
Modified: branches/community/Seam_2_3/examples/remoting/helloworld/helloworld-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/remoting/helloworld/helloworld-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/remoting/helloworld/helloworld-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples.remoting</groupId>
Modified: branches/community/Seam_2_3/examples/restbay/restbay-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/restbay/restbay-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/restbay/restbay-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples</groupId>
Modified: branches/community/Seam_2_3/examples/rss/rss-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/rss/rss-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/rss/rss-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -16,7 +16,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples</groupId>
Modified: branches/community/Seam_2_3/examples/seambay/seambay-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/seambay/seambay-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/seambay/seambay-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples</groupId>
Modified: branches/community/Seam_2_3/examples/seamdiscs/seamdiscs-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/seamdiscs/seamdiscs-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/seamdiscs/seamdiscs-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples</groupId>
Modified: branches/community/Seam_2_3/examples/seampay/seampay-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/seampay/seampay-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/seampay/seampay-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples</groupId>
Modified: branches/community/Seam_2_3/examples/seamspace/seamspace-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/seamspace/seamspace-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/seamspace/seamspace-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples</groupId>
Modified: branches/community/Seam_2_3/examples/spring/spring-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/spring/spring-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/spring/spring-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam</groupId>
Modified: branches/community/Seam_2_3/examples/tasks/tasks-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/tasks/tasks-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/tasks/tasks-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples</groupId>
Modified: branches/community/Seam_2_3/examples/todo/todo-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/todo/todo-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/todo/todo-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples</groupId>
Modified: branches/community/Seam_2_3/examples/ui/ui-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/ui/ui-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/ui/ui-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -16,7 +16,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples</groupId>
Modified: branches/community/Seam_2_3/examples/wicket/wicket-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/wicket/wicket-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples/wicket/wicket-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -16,7 +16,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium.server</groupId>
Modified: branches/community/Seam_2_3/examples-ee6/blog/blog-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/blog/blog-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples-ee6/blog/blog-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -65,8 +65,13 @@
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
-
+
<dependency>
+ <groupId>org.testng</groupId>
+ <artifactId>testng</artifactId>
+ </dependency>
+
+ <dependency>
<groupId>org.jboss.arquillian.junit</groupId>
<artifactId>arquillian-junit-container</artifactId>
<scope>test</scope>
Modified: branches/community/Seam_2_3/examples-ee6/drools/drools-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/drools/drools-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples-ee6/drools/drools-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -17,7 +17,6 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
</dependency>
<dependency>
<groupId>org.jboss.seam.examples-ee6.drools</groupId>
Modified: branches/community/Seam_2_3/examples-ee6/excel/excel-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/excel/excel-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples-ee6/excel/excel-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -16,7 +16,6 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
</dependency>
<dependency>
<groupId>org.jboss.seam.examples-ee6.excel</groupId>
Modified: branches/community/Seam_2_3/examples-ee6/groovybooking/groovybooking-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/groovybooking/groovybooking-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples-ee6/groovybooking/groovybooking-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -19,7 +19,6 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
</dependency>
<dependency>
<groupId>org.jboss.seam</groupId>
Modified: branches/community/Seam_2_3/examples-ee6/hibernate/hibernate-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/hibernate/hibernate-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples-ee6/hibernate/hibernate-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -19,7 +19,6 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
</dependency>
<dependency>
<groupId>org.jboss.el</groupId>
Modified: branches/community/Seam_2_3/examples-ee6/itext/itext-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/itext/itext-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples-ee6/itext/itext-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -16,7 +16,6 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
</dependency>
<dependency>
<groupId>org.jboss.seam.examples-ee6.itext</groupId>
Modified: branches/community/Seam_2_3/examples-ee6/mail/mail-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/mail/mail-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples-ee6/mail/mail-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -72,7 +72,6 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
</dependency>
<dependency>
Modified: branches/community/Seam_2_3/examples-ee6/messages/messages-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/messages/messages-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples-ee6/messages/messages-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -16,8 +16,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
- </dependency>
+ </dependency>
<dependency>
<groupId>org.jboss.seam.examples-ee6.messages</groupId>
<artifactId>messages-ejb</artifactId>
Modified: branches/community/Seam_2_3/examples-ee6/messages/messages-web/src/main/webapp/messages.jsp
===================================================================
--- branches/community/Seam_2_3/examples-ee6/messages/messages-web/src/main/webapp/messages.jsp 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples-ee6/messages/messages-web/src/main/webapp/messages.jsp 2012-05-26 19:55:10 UTC (rev 14754)
@@ -1,6 +1,6 @@
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://jboss.com/products/seam/taglib" prefix="s" %>
+<%@ taglib uri="http://http://www.jboss.org/schema/seam/taglib" prefix="s" %>
<html>
<head>
<title>Messages</title>
Modified: branches/community/Seam_2_3/examples-ee6/metawidget/groovybooking/groovybooking-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/metawidget/groovybooking/groovybooking-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples-ee6/metawidget/groovybooking/groovybooking-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -17,7 +17,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam</groupId>
Modified: branches/community/Seam_2_3/examples-ee6/nestedbooking/nestedbooking-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/nestedbooking/nestedbooking-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples-ee6/nestedbooking/nestedbooking-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -37,7 +37,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
Modified: branches/community/Seam_2_3/examples-ee6/numberguess/numberguess-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/numberguess/numberguess-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples-ee6/numberguess/numberguess-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium.server</groupId>
Modified: branches/community/Seam_2_3/examples-ee6/openid/openid-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/openid/openid-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples-ee6/openid/openid-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -16,7 +16,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples-ee6.openid</groupId>
Modified: branches/community/Seam_2_3/examples-ee6/quartz/quartz-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/quartz/quartz-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples-ee6/quartz/quartz-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -16,7 +16,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples-ee6.quartz</groupId>
Modified: branches/community/Seam_2_3/examples-ee6/registration/registration-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/registration/registration-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples-ee6/registration/registration-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -16,7 +16,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples-ee6.registration</groupId>
Modified: branches/community/Seam_2_3/examples-ee6/remoting/chatroom/chatroom-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/remoting/chatroom/chatroom-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples-ee6/remoting/chatroom/chatroom-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -16,7 +16,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
Modified: branches/community/Seam_2_3/examples-ee6/remoting/gwt/gwt-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/remoting/gwt/gwt-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples-ee6/remoting/gwt/gwt-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -16,7 +16,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
Modified: branches/community/Seam_2_3/examples-ee6/remoting/helloworld/helloworld-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/remoting/helloworld/helloworld-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples-ee6/remoting/helloworld/helloworld-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -16,7 +16,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
Modified: branches/community/Seam_2_3/examples-ee6/restbay/restbay-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/restbay/restbay-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples-ee6/restbay/restbay-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -26,7 +26,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
Modified: branches/community/Seam_2_3/examples-ee6/rss/rss-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/rss/rss-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples-ee6/rss/rss-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -16,7 +16,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples-ee6.rss</groupId>
Modified: branches/community/Seam_2_3/examples-ee6/seambay/seambay-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/seambay/seambay-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples-ee6/seambay/seambay-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -37,7 +37,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
Modified: branches/community/Seam_2_3/examples-ee6/seampay/seampay-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/seampay/seampay-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples-ee6/seampay/seampay-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -37,7 +37,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
Modified: branches/community/Seam_2_3/examples-ee6/seamspace/seamspace-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/seamspace/seamspace-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples-ee6/seamspace/seamspace-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -37,7 +37,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>javax.mail</groupId>
Modified: branches/community/Seam_2_3/examples-ee6/spring/spring-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/spring/spring-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples-ee6/spring/spring-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -16,7 +16,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam</groupId>
Modified: branches/community/Seam_2_3/examples-ee6/tasks/tasks-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/tasks/tasks-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples-ee6/tasks/tasks-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -42,7 +42,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
Modified: branches/community/Seam_2_3/examples-ee6/todo/todo-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/todo/todo-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples-ee6/todo/todo-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -16,7 +16,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples-ee6.todo</groupId>
Modified: branches/community/Seam_2_3/examples-ee6/ui/ui-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/ui/ui-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples-ee6/ui/ui-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -16,7 +16,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam.examples-ee6.ui</groupId>
Modified: branches/community/Seam_2_3/examples-ee6/wicket/wicket-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/wicket/wicket-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/examples-ee6/wicket/wicket-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -16,7 +16,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
Modified: branches/community/Seam_2_3/functional-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/functional-tests/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/functional-tests/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -7,14 +7,12 @@
</parent>
<modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.seam</groupId>
<artifactId>functional-tests</artifactId>
<name>Seam Functional Tests</name>
<dependencies>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
Modified: branches/community/Seam_2_3/jboss-seam-excel/pom.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-excel/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/jboss-seam-excel/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -59,7 +59,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
<optional>true</optional>
<exclusions>
<exclusion>
Modified: branches/community/Seam_2_3/jboss-seam-mail/pom.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-mail/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/jboss-seam-mail/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -57,7 +57,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
<scope>test</scope>
</dependency>
Modified: branches/community/Seam_2_3/jboss-seam-remoting/pom.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-remoting/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/jboss-seam-remoting/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -65,7 +65,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
<scope>test</scope>
</dependency>
Modified: branches/community/Seam_2_3/jboss-seam-resteasy/pom.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-resteasy/pom.xml 2012-05-26 19:52:56 UTC (rev 14753)
+++ branches/community/Seam_2_3/jboss-seam-resteasy/pom.xml 2012-05-26 19:55:10 UTC (rev 14754)
@@ -66,7 +66,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
<scope>test</scope>
<exclusions>
<exclusion>
12 years, 7 months
Seam SVN: r14752 - branches/community/Seam_2_3/jboss-seam-pdf/src/main/java/org/jboss/seam/pdf/ui.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-05-26 15:52:46 -0400 (Sat, 26 May 2012)
New Revision: 14752
Modified:
branches/community/Seam_2_3/jboss-seam-pdf/src/main/java/org/jboss/seam/pdf/ui/UIChart.java
Log:
JBSEAM-4899 back ported fix for multipie datasets
Modified: branches/community/Seam_2_3/jboss-seam-pdf/src/main/java/org/jboss/seam/pdf/ui/UIChart.java
===================================================================
--- branches/community/Seam_2_3/jboss-seam-pdf/src/main/java/org/jboss/seam/pdf/ui/UIChart.java 2012-05-26 19:52:34 UTC (rev 14751)
+++ branches/community/Seam_2_3/jboss-seam-pdf/src/main/java/org/jboss/seam/pdf/ui/UIChart.java 2012-05-26 19:52:46 UTC (rev 14752)
@@ -343,11 +343,8 @@
@Override
public void encodeBegin(FacesContext context) throws IOException {
- dataset = getDataset();
// bypass super to avoid createITextObject() before the chart is ready
- if (dataset == null) {
- dataset = createDataset();
- }
+ dataset = createDataset();
chart = getChart();
if (chart == null) {
12 years, 7 months
Seam SVN: r14751 - in branches/community/Seam_2_3: jboss-seam-ui and 1 other directory.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-05-26 15:52:34 -0400 (Sat, 26 May 2012)
New Revision: 14751
Modified:
branches/community/Seam_2_3/jboss-seam-ui/pom.xml
branches/community/Seam_2_3/jboss-seam/pom.xml
Log:
moved javadoc from profile distribution to default build
Modified: branches/community/Seam_2_3/jboss-seam/pom.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam/pom.xml 2012-05-26 17:23:16 UTC (rev 14750)
+++ branches/community/Seam_2_3/jboss-seam/pom.xml 2012-05-26 19:52:34 UTC (rev 14751)
@@ -41,9 +41,29 @@
<suiteXmlFile>${basedir}/src/test/java/org/jboss/seam/test/unit/testng.xml</suiteXmlFile>
</suiteXmlFiles>
</configuration>
-
</plugin>
-
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <links>
+ <link>http://docs.oracle.com/javase/6/docs/api/</link>
+ </links>
+ <keywords>true</keywords>
+ <author>true</author>
+ <stylesheetfile>jdstyle.css</stylesheetfile>
+ <doctitle>JBoss Seam ${project.name} API ${project.version}</doctitle> <!-- Used by javadoc:javadoc goal -->
+ <detectOfflineLinks>false</detectOfflineLinks>
+ </configuration>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <phase>package</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<!-- <version>1.6</version> -->
@@ -447,29 +467,7 @@
</execution>
</executions>
</plugin>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.7</version>
- <configuration>
- <links>
- <link>http://docs.oracle.com/javase/6/docs/api/</link>
- </links>
- <keywords>true</keywords>
- <author>true</author>
- <stylesheetfile>jdstyle.css</stylesheetfile>
- <doctitle>JBoss Seam ${project.name} API ${project.version}</doctitle> <!-- Used by javadoc:javadoc goal -->
- <detectOfflineLinks>false</detectOfflineLinks>
- </configuration>
- <executions>
- <execution>
- <id>attach-javadocs</id>
- <phase>package</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin></plugins>
+ </plugins>
</build>
</profile>
</profiles>
Modified: branches/community/Seam_2_3/jboss-seam-ui/pom.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-ui/pom.xml 2012-05-26 17:23:16 UTC (rev 14750)
+++ branches/community/Seam_2_3/jboss-seam-ui/pom.xml 2012-05-26 19:52:34 UTC (rev 14751)
@@ -40,8 +40,29 @@
</library>
</configuration>
</plugin>
-
-
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <links>
+ <link>http://docs.oracle.com/javase/6/docs/api/</link>
+ </links>
+ <keywords>true</keywords>
+ <author>true</author>
+ <stylesheetfile>jdstyle.css</stylesheetfile>
+ <doctitle>JBoss Seam ${project.name} API ${project.version}</doctitle>
+ <!-- Used by javadoc:javadoc goal -->
+ <detectOfflineLinks>false</detectOfflineLinks>
+ </configuration>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <phase>package</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
@@ -153,7 +174,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
<scope>test</scope>
</dependency>
</dependencies>
@@ -205,30 +226,6 @@
</execution>
</executions>
</plugin>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.7</version>
- <configuration>
- <links>
- <link>http://docs.oracle.com/javase/6/docs/api/</link>
- </links>
- <keywords>true</keywords>
- <author>true</author>
- <stylesheetfile>jdstyle.css</stylesheetfile>
- <doctitle>JBoss Seam ${project.name} API ${project.version}</doctitle>
- <!-- Used by javadoc:javadoc goal -->
- <detectOfflineLinks>false</detectOfflineLinks>
- </configuration>
- <executions>
- <execution>
- <id>attach-javadocs</id>
- <phase>package</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>
</profile>
12 years, 7 months
Seam SVN: r14750 - branches/community/Seam_2_3/seam-integration-tests/src/test/java/org/jboss/seam/test/integration.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-05-26 13:23:16 -0400 (Sat, 26 May 2012)
New Revision: 14750
Modified:
branches/community/Seam_2_3/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/ConversationTest.java
Log:
JBSEAM-4913 enabled again disabled conversationList test
Modified: branches/community/Seam_2_3/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/ConversationTest.java
===================================================================
--- branches/community/Seam_2_3/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/ConversationTest.java 2012-05-26 17:23:04 UTC (rev 14749)
+++ branches/community/Seam_2_3/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/ConversationTest.java 2012-05-26 17:23:16 UTC (rev 14750)
@@ -141,7 +141,7 @@
}.run();
}
- //@Test
+ @Test
public void conversationList()
throws Exception
{
12 years, 7 months
Seam SVN: r14749 - branches/community/Seam_2_3/jboss-seam/src/test/java/org/jboss/seam/test/unit.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-05-26 13:23:04 -0400 (Sat, 26 May 2012)
New Revision: 14749
Removed:
branches/community/Seam_2_3/jboss-seam/src/test/java/org/jboss/seam/test/unit/MailTest.java
Log:
deleted duplicated MailTest
Deleted: branches/community/Seam_2_3/jboss-seam/src/test/java/org/jboss/seam/test/unit/MailTest.java
===================================================================
--- branches/community/Seam_2_3/jboss-seam/src/test/java/org/jboss/seam/test/unit/MailTest.java 2012-05-26 16:57:58 UTC (rev 14748)
+++ branches/community/Seam_2_3/jboss-seam/src/test/java/org/jboss/seam/test/unit/MailTest.java 2012-05-26 17:23:04 UTC (rev 14749)
@@ -1,367 +0,0 @@
-package org.jboss.seam.test.unit;
-
-import javax.mail.NoSuchProviderException;
-import javax.mail.Session;
-import javax.naming.NamingException;
-
-import org.jboss.seam.mail.MailSession;
-import org.testng.annotations.Test;
-
-import com.sun.mail.smtp.SMTPSSLTransport;
-import com.sun.mail.smtp.SMTPTransport;
-
-public class MailTest
-{
-
- private static final String HOST = "smtp.jboss.org";
-
- private static final String DEFAULT_HOST = "localhost";
-
- private static final int PORT = 666;
-
- private static final int DEFAULT_PORT = 25;
-
- private static final int DEFAULT_SSL_PORT = 465;
-
- private static final String USERNAME = "pmuir";
-
- private static final String PASSWORD = "letmein";
-
- private static final String EMAIL = "pete.muir(a)jboss.org";
-
- @Test
- public void testBasicMailSession()
- {
-
- MailSession mailSession = new MailSession();
-
- mailSession.create();
-
- Session session = null;
-
- try
- {
- session = mailSession.getSession();
- }
- catch (NamingException e)
- {
- assert false;
- // Naming exception can't occur if we aren't getting the Session from
- // JNDI
- }
-
- assert DEFAULT_HOST.equals(session.getProperty("mail.smtp.host"));
-
- int port = 0;
-
- try
- {
- port = Integer.parseInt(session.getProperty("mail.smtp.port"));
- }
- catch (NumberFormatException e)
- {
- assert false;
- }
-
- assert port == DEFAULT_PORT;
-
- assert "smtp".equals(session.getProperty("mail.transport.protocol"));
-
- SMTPTransport transport = null;
-
- try
- {
- assert session.getTransport() instanceof SMTPTransport;
- transport = (SMTPTransport) session.getTransport();
- }
- catch (NoSuchProviderException e)
- {
- assert false;
- }
-
- assert !session.getDebug();
-
- assert transport.getStartTLS();
-
- }
-
- @Test
- public void testMailSession()
- {
-
- MailSession mailSession = new MailSession();
- mailSession.setHost(HOST);
- mailSession.setPort(PORT);
- mailSession.setDebug(true);
-
- mailSession.create();
-
- Session session = null;
-
- try
- {
- session = mailSession.getSession();
- }
- catch (NamingException e)
- {
- assert false;
- // Naming exception can't occur if we aren't getting the Session from
- // JNDI
- }
-
- assert HOST.equals(session.getProperty("mail.smtp.host"));
-
- int port = 0;
-
- try
- {
- port = Integer.parseInt(session.getProperty("mail.smtp.port"));
- }
- catch (NumberFormatException e)
- {
- assert false;
- }
-
- assert port == PORT;
-
- try
- {
- assert session.getTransport() instanceof SMTPTransport;
- }
- catch (NoSuchProviderException e)
- {
- assert false;
- }
-
- assert session.getDebug();
-
- }
-
- @Test
- public void testAuthenticatedMailSession()
- {
- MailSession mailSession = new MailSession();
- mailSession.setUsername(USERNAME);
- mailSession.setPassword(PASSWORD);
-
- mailSession.create();
-
- Session session = null;
-
- try
- {
- session = mailSession.getSession();
- }
- catch (NamingException e)
- {
- assert false;
- // Naming exception can't occur if we aren't getting the Session from
- // JNDI
- }
-
- assert Boolean.parseBoolean(session.getProperty("mail.smtp.auth"));
-
- // TODO Check authentication
-
- }
-
- @Test
- public void testMissingPasswordMailSession()
- {
- MailSession mailSession = new MailSession();
- mailSession.setUsername(USERNAME);
-
- mailSession.create();
-
- Session session = null;
-
- try
- {
- session = mailSession.getSession();
- }
- catch (NamingException e)
- {
- assert false;
- // Naming exception can't occur if we aren't getting the Session from
- // JNDI
- }
-
- assert null == session.getProperty("mail.smtp.auth");
-
- }
-
- @Test
- public void testMissingUsernameMailSession()
- {
- MailSession mailSession = new MailSession();
- mailSession.setPassword(PASSWORD);
-
- mailSession.create();
-
- Session session = null;
-
- try
- {
- session = mailSession.getSession();
- }
- catch (NamingException e)
- {
- assert false;
- // Naming exception can't occur if we aren't getting the Session from
- // JNDI
- }
-
- assert null == session.getProperty("mail.smtp.auth");
-
- }
-
- @Test
- public void testBasicSslMailSession()
- {
- MailSession mailSession = new MailSession();
-
- mailSession.setSsl(true);
-
- mailSession.create();
-
- Session session = null;
-
- try
- {
- session = mailSession.getSession();
- }
- catch (NamingException e)
- {
- assert false;
- // Naming exception can't occur if we aren't getting the Session from
- // JNDI
- }
-
- assert "smtps".equals(session.getProperty("mail.transport.protocol"));
-
- SMTPSSLTransport transport = null;
-
- try
- {
- assert session.getTransport() instanceof SMTPSSLTransport;
- transport = (SMTPSSLTransport) session.getTransport();
- }
- catch (NoSuchProviderException e)
- {
- assert false;
- }
-
- int port = 0;
-
- try
- {
- port = Integer.parseInt(session.getProperty("mail.smtps.port"));
- }
- catch (NumberFormatException e)
- {
- assert false;
- }
-
- assert port == DEFAULT_SSL_PORT;
-
- assert DEFAULT_HOST.equals(session.getProperty("mail.smtps.host"));
-
- assert !session.getDebug();
-
- // TLS not used over SSL
- assert !transport.getStartTLS();
-
- }
-
- @Test
- public void testSslMailSession()
- {
- MailSession mailSession = new MailSession();
- mailSession.setHost(HOST);
- mailSession.setSsl(true);
- mailSession.setPort(PORT);
-
- mailSession.create();
-
- Session session = null;
-
- try
- {
- session = mailSession.getSession();
- }
- catch (NamingException e)
- {
- assert false;
- // Naming exception can't occur if we aren't getting the Session from
- // JNDI
- }
-
- int port = 0;
-
- try
- {
- port = Integer.parseInt(session.getProperty("mail.smtps.port"));
- }
- catch (NumberFormatException e)
- {
- assert false;
- }
-
- assert port == PORT;
-
- }
-
- @Test
- public void testAuthenticatedSslMailSession()
- {
- MailSession mailSession = new MailSession();
- mailSession.setUsername(USERNAME);
- mailSession.setPassword(PASSWORD);
- mailSession.setSsl(true);
-
- mailSession.create();
-
- Session session = null;
-
- try
- {
- session = mailSession.getSession();
- }
- catch (NamingException e)
- {
- assert false;
- // Naming exception can't occur if we aren't getting the Session from
- // JNDI
- }
-
- assert Boolean.parseBoolean(session.getProperty("mail.smtps.auth"));
- assert session.getProperty("mail.smtp.auth") == null;
-
- // TODO Check authentication
-
- }
-
- @Test
- public void testJndiMailSession()
- {
- MailSession mailSession = new MailSession();
- mailSession.setSessionJndiName("java:/Mail");
-
- mailSession.create();
-
- boolean failure = false;
-
- // We can't get a Session from JNDI without a full container.
- try
- {
- mailSession.getSession();
- }
- catch (Exception e)
- {
- failure = true;
- }
-
- assert failure;
- }
-
-}
12 years, 7 months