Author: ozizka(a)redhat.com
Date: 2009-07-30 15:08:38 -0400 (Thu, 30 Jul 2009)
New Revision: 637
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/RootNodeTest.java
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/EmbJoprTestToolkit.java
Log:
* RootNodeTest - Control tab test disabled.
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/RootNodeTest.java
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/RootNodeTest.java 2009-07-30
18:53:34 UTC (rev 636)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/RootNodeTest.java 2009-07-30
19:08:38 UTC (rev 637)
@@ -86,8 +86,9 @@
/**
* Checks the Manual Autorediscovery feature of the Control tab.
+ * DISABLED: Root (server) node's Control tab is disabled.
*/
- public void testRootNodeControlManualAutodiscovery() throws EmbJoprTestException {
+ public void DISABLEDtestRootNodeControlManualAutodiscovery() throws EmbJoprTestException
{
try{
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/EmbJoprTestToolkit.java
===================================================================
---
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/EmbJoprTestToolkit.java 2009-07-30
18:53:34 UTC (rev 636)
+++
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/EmbJoprTestToolkit.java 2009-07-30
19:08:38 UTC (rev 637)
@@ -7,6 +7,7 @@
import java.net.UnknownHostException;
import java.util.*;
+import java.util.logging.Level;
import javax.management.MalformedObjectNameException;
import javax.naming.NamingException;
import org.jboss.jopr.jsfunit.exceptions.*;
@@ -1900,7 +1901,12 @@
if( msg.getSeverity() == FacesMessage.SEVERITY_INFO ){
log.info( msg.getSummary() +"\n"+ msg.getDetail() );
}else{
- log.warn( warnPrefix + msg.getSummary() +"\n"+ msg.getDetail() );
+ try {
+ this.dumpPage(this.currentTest.getName() + "-logServerMsg.html");
+ } catch (IOException ex) {
+ log.error("Can't dump page: "+ex);
+ }
+ log.error( warnPrefix + msg.getSummary() +"\n"+ msg.getDetail() );
}
}
}
Show replies by date