Seam SVN: r14789 - in branches/enterprise/WFK-2_0/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-28 09:08:29 -0400 (Mon, 28 May 2012)
New Revision: 14789
Added:
branches/enterprise/WFK-2_0/examples-ee6/messages/messages-web/src/main/webapp/messages.xhtml
Removed:
branches/enterprise/WFK-2_0/examples-ee6/messages/messages-web/src/main/webapp/messages.jsp
Modified:
branches/enterprise/WFK-2_0/examples-ee6/messages/messages-web/src/main/webapp/WEB-INF/web.xml
Log:
JBSEAM-4967 migrated to facelets from JSP template
Signed-off-by: Marek Novotn?\195?\189 <hotmana76(a)gmail.com>
Modified: branches/enterprise/WFK-2_0/examples-ee6/messages/messages-web/src/main/webapp/WEB-INF/web.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/messages/messages-web/src/main/webapp/WEB-INF/web.xml 2012-05-28 13:08:07 UTC (rev 14788)
+++ branches/enterprise/WFK-2_0/examples-ee6/messages/messages-web/src/main/webapp/WEB-INF/web.xml 2012-05-28 13:08:29 UTC (rev 14789)
@@ -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/enterprise/WFK-2_0/examples-ee6/messages/messages-web/src/main/webapp/messages.jsp
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/messages/messages-web/src/main/webapp/messages.jsp 2012-05-28 13:08:07 UTC (rev 14788)
+++ branches/enterprise/WFK-2_0/examples-ee6/messages/messages-web/src/main/webapp/messages.jsp 2012-05-28 13:08:29 UTC (rev 14789)
@@ -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/enterprise/WFK-2_0/examples-ee6/messages/messages-web/src/main/webapp/messages.xhtml (from rev 14788, branches/enterprise/WFK-2_0/examples-ee6/messages/messages-web/src/main/webapp/messages.jsp)
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/messages/messages-web/src/main/webapp/messages.xhtml (rev 0)
+++ branches/enterprise/WFK-2_0/examples-ee6/messages/messages-web/src/main/webapp/messages.xhtml 2012-05-28 13:08:29 UTC (rev 14789)
@@ -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, 3 months
Seam SVN: r14788 - in branches/enterprise/WFK-2_0: examples-ee6/drools/drools-tests and 31 other directories.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-05-28 09:08:07 -0400 (Mon, 28 May 2012)
New Revision: 14788
Modified:
branches/enterprise/WFK-2_0/examples-ee6/blog/blog-tests/pom.xml
branches/enterprise/WFK-2_0/examples-ee6/drools/drools-tests/pom.xml
branches/enterprise/WFK-2_0/examples-ee6/excel/excel-tests/pom.xml
branches/enterprise/WFK-2_0/examples-ee6/groovybooking/groovybooking-tests/pom.xml
branches/enterprise/WFK-2_0/examples-ee6/hibernate/hibernate-tests/pom.xml
branches/enterprise/WFK-2_0/examples-ee6/itext/itext-tests/pom.xml
branches/enterprise/WFK-2_0/examples-ee6/mail/mail-tests/pom.xml
branches/enterprise/WFK-2_0/examples-ee6/messages/messages-tests/pom.xml
branches/enterprise/WFK-2_0/examples-ee6/messages/messages-web/src/main/webapp/messages.jsp
branches/enterprise/WFK-2_0/examples-ee6/metawidget/groovybooking/groovybooking-tests/pom.xml
branches/enterprise/WFK-2_0/examples-ee6/nestedbooking/nestedbooking-tests/pom.xml
branches/enterprise/WFK-2_0/examples-ee6/numberguess/numberguess-tests/pom.xml
branches/enterprise/WFK-2_0/examples-ee6/openid/openid-tests/pom.xml
branches/enterprise/WFK-2_0/examples-ee6/quartz/quartz-tests/pom.xml
branches/enterprise/WFK-2_0/examples-ee6/registration/registration-tests/pom.xml
branches/enterprise/WFK-2_0/examples-ee6/remoting/chatroom/chatroom-tests/pom.xml
branches/enterprise/WFK-2_0/examples-ee6/remoting/gwt/gwt-tests/pom.xml
branches/enterprise/WFK-2_0/examples-ee6/remoting/helloworld/helloworld-tests/pom.xml
branches/enterprise/WFK-2_0/examples-ee6/restbay/restbay-tests/pom.xml
branches/enterprise/WFK-2_0/examples-ee6/rss/rss-tests/pom.xml
branches/enterprise/WFK-2_0/examples-ee6/seambay/seambay-tests/pom.xml
branches/enterprise/WFK-2_0/examples-ee6/seampay/seampay-tests/pom.xml
branches/enterprise/WFK-2_0/examples-ee6/seamspace/seamspace-tests/pom.xml
branches/enterprise/WFK-2_0/examples-ee6/spring/spring-tests/pom.xml
branches/enterprise/WFK-2_0/examples-ee6/tasks/tasks-tests/pom.xml
branches/enterprise/WFK-2_0/examples-ee6/todo/todo-tests/pom.xml
branches/enterprise/WFK-2_0/examples-ee6/ui/ui-tests/pom.xml
branches/enterprise/WFK-2_0/examples-ee6/wicket/wicket-tests/pom.xml
branches/enterprise/WFK-2_0/functional-tests/pom.xml
branches/enterprise/WFK-2_0/jboss-seam-excel/pom.xml
branches/enterprise/WFK-2_0/jboss-seam-mail/pom.xml
branches/enterprise/WFK-2_0/jboss-seam-remoting/pom.xml
branches/enterprise/WFK-2_0/jboss-seam-resteasy/pom.xml
Log:
fixed removing of testng classifier
Signed-off-by: Marek Novotn?\195?\189 <hotmana76(a)gmail.com>
Modified: branches/enterprise/WFK-2_0/examples-ee6/blog/blog-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/blog/blog-tests/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/examples-ee6/blog/blog-tests/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -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/enterprise/WFK-2_0/examples-ee6/drools/drools-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/drools/drools-tests/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/examples-ee6/drools/drools-tests/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -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/enterprise/WFK-2_0/examples-ee6/excel/excel-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/excel/excel-tests/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/examples-ee6/excel/excel-tests/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -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/enterprise/WFK-2_0/examples-ee6/groovybooking/groovybooking-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/groovybooking/groovybooking-tests/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/examples-ee6/groovybooking/groovybooking-tests/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -19,7 +19,6 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
</dependency>
<dependency>
<groupId>org.jboss.seam</groupId>
Modified: branches/enterprise/WFK-2_0/examples-ee6/hibernate/hibernate-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/hibernate/hibernate-tests/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/examples-ee6/hibernate/hibernate-tests/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -19,7 +19,6 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
</dependency>
<dependency>
<groupId>org.jboss.el</groupId>
Modified: branches/enterprise/WFK-2_0/examples-ee6/itext/itext-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/itext/itext-tests/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/examples-ee6/itext/itext-tests/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -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/enterprise/WFK-2_0/examples-ee6/mail/mail-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/mail/mail-tests/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/examples-ee6/mail/mail-tests/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -72,7 +72,6 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
</dependency>
<dependency>
Modified: branches/enterprise/WFK-2_0/examples-ee6/messages/messages-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/messages/messages-tests/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/examples-ee6/messages/messages-tests/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -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/enterprise/WFK-2_0/examples-ee6/messages/messages-web/src/main/webapp/messages.jsp
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/messages/messages-web/src/main/webapp/messages.jsp 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/examples-ee6/messages/messages-web/src/main/webapp/messages.jsp 2012-05-28 13:08:07 UTC (rev 14788)
@@ -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/enterprise/WFK-2_0/examples-ee6/metawidget/groovybooking/groovybooking-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/metawidget/groovybooking/groovybooking-tests/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/examples-ee6/metawidget/groovybooking/groovybooking-tests/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -17,7 +17,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam</groupId>
Modified: branches/enterprise/WFK-2_0/examples-ee6/nestedbooking/nestedbooking-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/nestedbooking/nestedbooking-tests/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/examples-ee6/nestedbooking/nestedbooking-tests/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -37,7 +37,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
Modified: branches/enterprise/WFK-2_0/examples-ee6/numberguess/numberguess-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/numberguess/numberguess-tests/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/examples-ee6/numberguess/numberguess-tests/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -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/enterprise/WFK-2_0/examples-ee6/openid/openid-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/openid/openid-tests/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/examples-ee6/openid/openid-tests/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -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/enterprise/WFK-2_0/examples-ee6/quartz/quartz-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/quartz/quartz-tests/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/examples-ee6/quartz/quartz-tests/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -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/enterprise/WFK-2_0/examples-ee6/registration/registration-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/registration/registration-tests/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/examples-ee6/registration/registration-tests/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -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/enterprise/WFK-2_0/examples-ee6/remoting/chatroom/chatroom-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/remoting/chatroom/chatroom-tests/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/examples-ee6/remoting/chatroom/chatroom-tests/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -16,7 +16,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
Modified: branches/enterprise/WFK-2_0/examples-ee6/remoting/gwt/gwt-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/remoting/gwt/gwt-tests/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/examples-ee6/remoting/gwt/gwt-tests/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -16,7 +16,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
Modified: branches/enterprise/WFK-2_0/examples-ee6/remoting/helloworld/helloworld-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/remoting/helloworld/helloworld-tests/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/examples-ee6/remoting/helloworld/helloworld-tests/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -16,7 +16,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
Modified: branches/enterprise/WFK-2_0/examples-ee6/restbay/restbay-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/restbay/restbay-tests/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/examples-ee6/restbay/restbay-tests/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -26,7 +26,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
Modified: branches/enterprise/WFK-2_0/examples-ee6/rss/rss-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/rss/rss-tests/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/examples-ee6/rss/rss-tests/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -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/enterprise/WFK-2_0/examples-ee6/seambay/seambay-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/seambay/seambay-tests/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/examples-ee6/seambay/seambay-tests/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -37,7 +37,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
Modified: branches/enterprise/WFK-2_0/examples-ee6/seampay/seampay-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/seampay/seampay-tests/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/examples-ee6/seampay/seampay-tests/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -37,7 +37,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
Modified: branches/enterprise/WFK-2_0/examples-ee6/seamspace/seamspace-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/seamspace/seamspace-tests/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/examples-ee6/seamspace/seamspace-tests/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -37,7 +37,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>javax.mail</groupId>
Modified: branches/enterprise/WFK-2_0/examples-ee6/spring/spring-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/spring/spring-tests/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/examples-ee6/spring/spring-tests/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -16,7 +16,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.jboss.seam</groupId>
Modified: branches/enterprise/WFK-2_0/examples-ee6/tasks/tasks-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/tasks/tasks-tests/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/examples-ee6/tasks/tasks-tests/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -42,7 +42,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
Modified: branches/enterprise/WFK-2_0/examples-ee6/todo/todo-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/todo/todo-tests/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/examples-ee6/todo/todo-tests/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -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/enterprise/WFK-2_0/examples-ee6/ui/ui-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/ui/ui-tests/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/examples-ee6/ui/ui-tests/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -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/enterprise/WFK-2_0/examples-ee6/wicket/wicket-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/wicket/wicket-tests/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/examples-ee6/wicket/wicket-tests/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -16,7 +16,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
Modified: branches/enterprise/WFK-2_0/functional-tests/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/functional-tests/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/functional-tests/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -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/enterprise/WFK-2_0/jboss-seam-excel/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/jboss-seam-excel/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/jboss-seam-excel/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -59,7 +59,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
<optional>true</optional>
<exclusions>
<exclusion>
Modified: branches/enterprise/WFK-2_0/jboss-seam-mail/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/jboss-seam-mail/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/jboss-seam-mail/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -57,7 +57,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
<scope>test</scope>
</dependency>
Modified: branches/enterprise/WFK-2_0/jboss-seam-remoting/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/jboss-seam-remoting/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/jboss-seam-remoting/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -65,7 +65,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
<scope>test</scope>
</dependency>
Modified: branches/enterprise/WFK-2_0/jboss-seam-resteasy/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/jboss-seam-resteasy/pom.xml 2012-05-28 13:07:00 UTC (rev 14787)
+++ branches/enterprise/WFK-2_0/jboss-seam-resteasy/pom.xml 2012-05-28 13:08:07 UTC (rev 14788)
@@ -66,7 +66,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
+
<scope>test</scope>
<exclusions>
<exclusion>
12 years, 3 months
Seam SVN: r14786 - branches/enterprise/WFK-2_0/jboss-seam-pdf/src/main/java/org/jboss/seam/pdf/ui.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-05-28 09:06:48 -0400 (Mon, 28 May 2012)
New Revision: 14786
Modified:
branches/enterprise/WFK-2_0/jboss-seam-pdf/src/main/java/org/jboss/seam/pdf/ui/UIChart.java
Log:
JBSEAM-4899 back ported fix for multipie datasets
Signed-off-by: Marek Novotn?\195?\189 <hotmana76(a)gmail.com>
Modified: branches/enterprise/WFK-2_0/jboss-seam-pdf/src/main/java/org/jboss/seam/pdf/ui/UIChart.java
===================================================================
--- branches/enterprise/WFK-2_0/jboss-seam-pdf/src/main/java/org/jboss/seam/pdf/ui/UIChart.java 2012-05-28 13:06:36 UTC (rev 14785)
+++ branches/enterprise/WFK-2_0/jboss-seam-pdf/src/main/java/org/jboss/seam/pdf/ui/UIChart.java 2012-05-28 13:06:48 UTC (rev 14786)
@@ -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, 3 months
Seam SVN: r14785 - in branches/enterprise/WFK-2_0: jboss-seam-ui and 1 other directory.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-05-28 09:06:36 -0400 (Mon, 28 May 2012)
New Revision: 14785
Modified:
branches/enterprise/WFK-2_0/jboss-seam-ui/pom.xml
branches/enterprise/WFK-2_0/jboss-seam/pom.xml
Log:
moved javadoc from profile distribution to default build
Signed-off-by: Marek Novotn?\195?\189 <hotmana76(a)gmail.com>
Modified: branches/enterprise/WFK-2_0/jboss-seam/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/jboss-seam/pom.xml 2012-05-28 13:06:28 UTC (rev 14784)
+++ branches/enterprise/WFK-2_0/jboss-seam/pom.xml 2012-05-28 13:06:36 UTC (rev 14785)
@@ -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/enterprise/WFK-2_0/jboss-seam-ui/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/jboss-seam-ui/pom.xml 2012-05-28 13:06:28 UTC (rev 14784)
+++ branches/enterprise/WFK-2_0/jboss-seam-ui/pom.xml 2012-05-28 13:06:36 UTC (rev 14785)
@@ -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, 3 months
Seam SVN: r14784 - branches/enterprise/WFK-2_0/seam-integration-tests/src/test/java/org/jboss/seam/test/integration.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-05-28 09:06:28 -0400 (Mon, 28 May 2012)
New Revision: 14784
Modified:
branches/enterprise/WFK-2_0/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/ConversationTest.java
Log:
JBSEAM-4913 enabled again disabled conversationList test
Signed-off-by: Marek Novotn?\195?\189 <hotmana76(a)gmail.com>
Modified: branches/enterprise/WFK-2_0/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/ConversationTest.java
===================================================================
--- branches/enterprise/WFK-2_0/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/ConversationTest.java 2012-05-28 13:06:16 UTC (rev 14783)
+++ branches/enterprise/WFK-2_0/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/ConversationTest.java 2012-05-28 13:06:28 UTC (rev 14784)
@@ -141,7 +141,7 @@
}.run();
}
- //@Test
+ @Test
public void conversationList()
throws Exception
{
12 years, 3 months
Seam SVN: r14783 - branches/enterprise/WFK-2_0/jboss-seam/src/test/java/org/jboss/seam/test/unit.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-05-28 09:06:16 -0400 (Mon, 28 May 2012)
New Revision: 14783
Removed:
branches/enterprise/WFK-2_0/jboss-seam/src/test/java/org/jboss/seam/test/unit/MailTest.java
Log:
deleted duplicated MailTest
Signed-off-by: Marek Novotn?\195?\189 <hotmana76(a)gmail.com>
Deleted: branches/enterprise/WFK-2_0/jboss-seam/src/test/java/org/jboss/seam/test/unit/MailTest.java
===================================================================
--- branches/enterprise/WFK-2_0/jboss-seam/src/test/java/org/jboss/seam/test/unit/MailTest.java 2012-05-28 13:06:03 UTC (rev 14782)
+++ branches/enterprise/WFK-2_0/jboss-seam/src/test/java/org/jboss/seam/test/unit/MailTest.java 2012-05-28 13:06:16 UTC (rev 14783)
@@ -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, 3 months
Seam SVN: r14782 - in branches/enterprise/WFK-2_0: jboss-seam and 1 other directories.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-05-28 09:06:03 -0400 (Mon, 28 May 2012)
New Revision: 14782
Modified:
branches/enterprise/WFK-2_0/jboss-seam/pom.xml
branches/enterprise/WFK-2_0/jboss-seam/src/test/java/org/jboss/seam/test/unit/PhaseListenerTest.java
branches/enterprise/WFK-2_0/jboss-seam/src/test/java/org/jboss/seam/test/unit/testng.xml
branches/enterprise/WFK-2_0/pom.xml
Log:
JBSEAM-4911 changed order in launching tests - move up PhaseListenerTest tests
Signed-off-by: Marek Novotn?\195?\189 <hotmana76(a)gmail.com>
Modified: branches/enterprise/WFK-2_0/jboss-seam/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/jboss-seam/pom.xml 2012-05-28 13:05:50 UTC (rev 14781)
+++ branches/enterprise/WFK-2_0/jboss-seam/pom.xml 2012-05-28 13:06:03 UTC (rev 14782)
@@ -34,6 +34,15 @@
</executions>
</plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <suiteXmlFiles>
+ <suiteXmlFile>${basedir}/src/test/java/org/jboss/seam/test/unit/testng.xml</suiteXmlFile>
+ </suiteXmlFiles>
+ </configuration>
+
+ </plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
@@ -308,7 +317,6 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <classifier>jdk15</classifier>
</dependency>
<dependency>
Modified: branches/enterprise/WFK-2_0/jboss-seam/src/test/java/org/jboss/seam/test/unit/PhaseListenerTest.java
===================================================================
--- branches/enterprise/WFK-2_0/jboss-seam/src/test/java/org/jboss/seam/test/unit/PhaseListenerTest.java 2012-05-28 13:05:50 UTC (rev 14781)
+++ branches/enterprise/WFK-2_0/jboss-seam/src/test/java/org/jboss/seam/test/unit/PhaseListenerTest.java 2012-05-28 13:06:03 UTC (rev 14782)
@@ -41,6 +41,7 @@
public class PhaseListenerTest
{
+
private void installComponents(Context appContext)
{
Init init = new Init();
@@ -76,7 +77,7 @@
return facesContext;
}
- //@Test
+ @Test
public void testSeamPhaseListener()
{
MockFacesContext facesContext = createFacesContext();
@@ -138,7 +139,7 @@
}
@SuppressWarnings("serial")
- //@Test
+ @Test
public void testSeamPhaseListenerLongRunning()
{
MockFacesContext facesContext = createFacesContext();
@@ -210,7 +211,7 @@
return facesContext.getViewRoot().getViewMap();
}
- //@Test
+ @Test
public void testSeamPhaseListenerNewLongRunning()
{
MockFacesContext facesContext = createFacesContext();
@@ -268,7 +269,7 @@
assert !Contexts.isConversationContextActive();
}
- //@Test
+ @Test
public void testSeamPhaseListenerRedirect()
{
MockFacesContext facesContext = createFacesContext();
@@ -309,7 +310,8 @@
assert !Contexts.isApplicationContextActive();
assert !Contexts.isConversationContextActive();
}
- //@Test
+
+ @Test
public void testSeamPhaseListenerNonFacesRequest()
{
MockFacesContext facesContext = createFacesContext();
Modified: branches/enterprise/WFK-2_0/jboss-seam/src/test/java/org/jboss/seam/test/unit/testng.xml
===================================================================
--- branches/enterprise/WFK-2_0/jboss-seam/src/test/java/org/jboss/seam/test/unit/testng.xml 2012-05-28 13:05:50 UTC (rev 14781)
+++ branches/enterprise/WFK-2_0/jboss-seam/src/test/java/org/jboss/seam/test/unit/testng.xml 2012-05-28 13:06:03 UTC (rev 14782)
@@ -28,6 +28,12 @@
</classes>
</test>
+ <test name="Seam Unit Tests JSF integration">
+ <classes>
+ <class name="org.jboss.seam.test.unit.PhaseListenerTest"/>
+ </classes>
+ </test>
+
<test name="Seam Unit Tests Pages dot xml">
<classes>
<class name="org.jboss.seam.test.unit.PageActionsTest" />
@@ -36,12 +42,6 @@
</classes>
</test>
- <test name="Seam Unit Tests JSF integration">
- <classes>
- <class name="org.jboss.seam.test.unit.PhaseListenerTest"/>
- </classes>
- </test>
-
<test name="Seam Unit Tests Password Hash">
<classes>
<class name="org.jboss.seam.test.unit.PasswordHashTest"/>
Modified: branches/enterprise/WFK-2_0/pom.xml
===================================================================
--- branches/enterprise/WFK-2_0/pom.xml 2012-05-28 13:05:50 UTC (rev 14781)
+++ branches/enterprise/WFK-2_0/pom.xml 2012-05-28 13:06:03 UTC (rev 14782)
@@ -47,7 +47,7 @@
<version.arquillian_core>1.0.0.Final</version.arquillian_core>
<version.wicket>1.4.14</version.wicket>
<version.drools>5.1.1</version.drools>
- <version.testng>5.10</version.testng>
+ <version.testng>5.14.10</version.testng>
<version.resteasy>2.0.1.GA</version.resteasy>
<version.jbossembedded>beta3.SP15</version.jbossembedded>
<version.jbossas7>7.1.1.Final</version.jbossas7>
@@ -339,7 +339,6 @@
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>${version.testng}</version>
- <classifier>jdk15</classifier>
</dependency>
<dependency>
12 years, 3 months
Seam SVN: r14781 - branches/enterprise/WFK-2_0/examples-ee6/quartz/quartz-web/src/main/webapp.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-05-28 09:05:50 -0400 (Mon, 28 May 2012)
New Revision: 14781
Modified:
branches/enterprise/WFK-2_0/examples-ee6/quartz/quartz-web/src/main/webapp/search.xhtml
Log:
quartz example, workaround s:convertEnum tag
Signed-off-by: Marek Novotn?\195?\189 <hotmana76(a)gmail.com>
Modified: branches/enterprise/WFK-2_0/examples-ee6/quartz/quartz-web/src/main/webapp/search.xhtml
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/quartz/quartz-web/src/main/webapp/search.xhtml 2012-05-28 13:05:40 UTC (rev 14780)
+++ branches/enterprise/WFK-2_0/examples-ee6/quartz/quartz-web/src/main/webapp/search.xhtml 2012-05-28 13:05:50 UTC (rev 14781)
@@ -154,7 +154,8 @@
<h:selectOneRadio id="radioList"
layout="lineDirection"
value="#{newPayment.paymentFrequency}">
- <s:convertEnum />
+ <f:converter converterId="org.jboss.seam.ui.EnumConverter" />
+ <!-- <s:convertEnum />-->
<s:enumItem enumValue="ONCE" label="Only Once" />
<s:enumItem enumValue="EVERY_MINUTE" label="Every Minute (testing)" />
<s:enumItem enumValue="HOURLY" label="Every Hour (testing)" />
12 years, 3 months
Seam SVN: r14780 - branches/enterprise/WFK-2_0/examples-ee6/metawidget/booking/booking-tests/src/test/resources.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-05-28 09:05:40 -0400 (Mon, 28 May 2012)
New Revision: 14780
Modified:
branches/enterprise/WFK-2_0/examples-ee6/metawidget/booking/booking-tests/src/test/resources/metawidget-booking.properties
Log:
update metawidget booking ftest
Signed-off-by: Marek Novotn?\195?\189 <hotmana76(a)gmail.com>
Modified: branches/enterprise/WFK-2_0/examples-ee6/metawidget/booking/booking-tests/src/test/resources/metawidget-booking.properties
===================================================================
--- branches/enterprise/WFK-2_0/examples-ee6/metawidget/booking/booking-tests/src/test/resources/metawidget-booking.properties 2012-05-28 13:05:30 UTC (rev 14779)
+++ branches/enterprise/WFK-2_0/examples-ee6/metawidget/booking/booking-tests/src/test/resources/metawidget-booking.properties 2012-05-28 13:05:40 UTC (rev 14780)
@@ -29,7 +29,7 @@
PASSWORD_UPDATED_MESSAGE Password updated
PASSWORD_REENTER_MESSAGE Re-enter new password
PASSWORD_VALUE_REQUIRED_MESSAGE //span[text() = 'value is required']
-PASSWORD_LENGTH_MESSAGE length must be between
+PASSWORD_LENGTH_MESSAGE size must be between
PASSWORD_PASSWORD id=setpassword:PasswordDecorate:password
PASSWORD_VERIFY id=setpassword:VerifyDecorate:verify
PASSWORD_SUBMIT id=setpassword:change
@@ -66,7 +66,7 @@
REGISTRATION_VERIFY_MESSAGE id=registration:verifyDecorate:message
REGISTRATION_SUBMIT id=registration:register
REGISTRATION_REENTER_MESSAGE Re-enter your password
-REGISTRATION_LENGTH_MESSAGE length must be between
+REGISTRATION_LENGTH_MESSAGE size must be between
REGISTRATION_SUCCESSFUL_MESSAGE Successfully registered as {0}
REGISTRATION_USER_EXISTS_MESSAGE Username {0} already exists
NOT_LOGGED_IN_MESSAGE Please log in first
@@ -81,4 +81,4 @@
WORKSPACE_VIEW_TEXT View hotel: {0}
WORKSPACE_TABLE_LINK_BY_ID id=ConversationListForm:ConversationListDataTable:{0}:EntryDescriptionLink
WORKSPACE_TABLE_ROW_COUNT = //table[@id='ConversationListForm:ConversationListDataTable']/tbody/tr
-SPINNER id\=searchCriteria\:SpinnerGif
\ No newline at end of file
+SPINNER id\=searchCriteria\:SpinnerGif
12 years, 3 months