[jboss-cvs] jboss-seam/examples/wiki/src/test ...

Christian Bauer christian at hibernate.org
Fri Aug 17 09:00:27 EDT 2007


  User: cbauer  
  Date: 07/08/17 09:00:27

  Modified:    examples/wiki/src/test    AllTests.tng.xml
  Added:       examples/wiki/src/test    commons-logging.properties
                        log4j.xml
  Log:
  Major refactoring of core data schema and some new features
  
  Revision  Changes    Path
  1.3       +31 -3     jboss-seam/examples/wiki/src/test/AllTests.tng.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: AllTests.tng.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/test/AllTests.tng.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- AllTests.tng.xml	11 Jul 2007 16:17:46 -0000	1.2
  +++ AllTests.tng.xml	17 Aug 2007 13:00:27 -0000	1.3
  @@ -1,15 +1,43 @@
   <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
   
  -<suite name="AllTests" verbose="1">
  +<suite name="Lacewiki - Core" verbose="1">
   
  -    <test name="Documents">
  +    <test name="Browsing">
   
           <parameter name="datasourceJndiName" value="java:/wikiTestDatasource"/>
   
           <packages>
  -            <package name="org.jboss.seam.wiki.test.documents"/>
  +            <package name="org.jboss.seam.wiki.test.browse"/>
           </packages>
   
       </test>
   
  +    <test name="Editing">
  +
  +        <parameter name="datasourceJndiName" value="java:/wikiTestDatasource"/>
  +
  +        <packages>
  +            <package name="org.jboss.seam.wiki.test.editing"/>
  +        </packages>
  +
  +    </test>
  +
  +    <test name="NestedSet">
  +
  +        <parameter name="datasourceJndiName" value="java:/wikiTestDatasource"/>
  +
  +        <packages>
  +            <package name="org.jboss.seam.wiki.test.nestedset"/>
  +        </packages>
  +    </test>
  +
  +    <!--
  +    <test name="Misc">
  +
  +        <packages>
  +            <package name="org.jboss.seam.wiki.test.misc"/>
  +        </packages>
  +    </test>
  +    -->
  +
   </suite>
  \ No newline at end of file
  
  
  
  1.1      date: 2007/08/17 13:00:27;  author: cbauer;  state: Exp;jboss-seam/examples/wiki/src/test/commons-logging.properties
  
  Index: commons-logging.properties
  ===================================================================
  # The Sun JSF RI bundles and wraps commons-logging, which, for unknown reasons, disables any other
  # commons-logging (my guess: the LogFactoryImpl detection routine is broken). This configuration
  # file makes it work again (also for unknown reasons).
  org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImpl
  org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
  
  
  1.1      date: 2007/08/17 13:00:27;  author: cbauer;  state: Exp;jboss-seam/examples/wiki/src/test/log4j.xml
  
  Index: log4j.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
  
  <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
  
      <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
          <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
          <param name="Target" value="System.out"/>
          <layout class="org.apache.log4j.PatternLayout">
              <!-- The default pattern: Date Priority [Category] Message\n -->
              <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
          </layout>
      </appender>
  
      <!-- ############### Wiki logging #################  -->
      <category name="org.jboss.seam.wiki">
          <priority value="TRACE"/>
      </category>
      <category name="org.jboss.seam.wiki.test">
          <priority value="TRACE"/>
      </category>
  
      <!-- ############### Embedded JBoss AS #################  -->
      <category name="org.jboss">
          <priority value="ERROR"/>
      </category>
      <category name="com.arjuna">
          <priority value="ERROR"/>
      </category>
  
      <!-- ############### Hibernate logging ################# -->
  
      <category name="org.hibernate">
          <priority value="WARN"/>
      </category>
  
      <category name="org.hibernate.SQL">
          <priority value="TRACE"/>
      </category>
      <category name="org.hibernate.type">
          <priority value="TRACE"/>
      </category>
  
      <!--
      <category name="org.hibernate.SQL">
          <priority value="TRACE"/>
      </category>
      <category name="org.hibernate.type">
          <priority value="TRACE"/>
      </category>
      <category name="org.hibernate.loader">
          <priority value="TRACE"/>
      </category>
      <category name="org.hibernate.cache">
          <priority value="TRACE"/>
      </category>
      -->
  
      <!-- ############### Seam logging ################### -->
      <category name="org.jboss.seam">
          <priority value="TRACE"/>
      </category>
  
      <!-- These things are too noisy
      -->
      <category name="org.jboss.seam.jsf.SeamVariableResolver">
          <priority value="INFO"/>
      </category>
      <category name="org.jboss.seam.contexts.Contexts">
          <priority value="INFO"/>
      </category>
      <category name="org.jboss.seam.Component">
          <priority value="INFO"/>
      </category>
      <category name="org.jboss.seam.deployment.Scanner">
          <priority value="INFO"/>
      </category>
      <category name="org.jboss.seam.util.Naming">
          <priority value="INFO"/>
      </category>
      <category name="org.jboss.seam.debug.hot">
          <priority value="INFO"/>
      </category>
      <category name="org.jboss.seam.core.Events">
          <priority value="INFO"/>
      </category>
  
      <!-- Debugging conversations and persistence contexts
      <category name="org.jboss.seam.core.Manager">
          <priority value="DEBUG"/>
      </category>
      <category name="org.jboss.seam.core.ManagedPersistenceContext">
          <priority value="DEBUG"/>
      </category>
      <category name="org.jboss.seam.jsf.AbstractSeamPhaseListener">
          <priority value="DEBUG"/>
      </category>
      <category name="org.jboss.seam.interceptors.ConversationInterceptor">
          <priority value="DEBUG"/>
      </category>
      <category name="org.jboss.seam.contexts.Lifecycle">
          <priority value="DEBUG"/>
      </category>
      <category name="org.hibernate.impl.SessionImpl">
          <priority value="DEBUG"/>
      </category>
      <category name="org.hibernate.event.def.AbstractFlushingEventListener">
          <priority value="DEBUG"/>
      </category>
      -->
  
      <root>
          <priority value="INFO"/>
          <appender-ref ref="CONSOLE"/>
      </root>
  
  </log4j:configuration>
  
  
  



More information about the jboss-cvs-commits mailing list