niclas      2004/03/17 19:16:05

  Modified:    .        project.xml
               datasource/src/test/org/apache/avalon/excalibur/datasource/ids/test
                        TableIdGeneratorJdbcTestCase.java
                        TableIdGeneratorJdbcTestCase.xtest
  Added:       datasource maven.xml
  Log:
  Fixed the Datasource testcase.
  
  Revision  Changes    Path
  1.16      +5 -4      avalon-excalibur/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/avalon-excalibur/project.xml,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- project.xml       5 Mar 2004 01:02:41 -0000       1.15
  +++ project.xml       18 Mar 2004 03:16:05 -0000      1.16
  @@ -175,12 +175,13 @@
               <include>**/*.dtd</include>
               <include>**/*.properties</include>
               <include>**/*.xinfo</include>
  +            <include>**/*.xtest</include>
               <include>**/*.xtype</include>
               <include>**/*.xprofile</include>
               <include>**/*.xconfig</include>
               <include>**/*.xml</include>
  -           <include>**/*.xservice</include>
  -           <include>**/*.rng</include>
  +            <include>**/*.xservice</include>
  +            <include>**/*.rng</include>
             </includes>
           </resource>
         </resources>
  @@ -199,8 +200,8 @@
             <include>**/*.xprofile</include>
             <include>**/*.xconfig</include>
             <include>**/*.xml</include>
  -         <include>**/*.xservice</include>
  -         <include>**/*.rng</include>
  +          <include>**/*.xservice</include>
  +          <include>**/*.rng</include>
           </includes>
         </resource>
         <resource>
  
  
  
  1.1                  avalon-excalibur/datasource/maven.xml
  
  Index: maven.xml
  ===================================================================
  <project 
    default="jar:jar" 
    xmlns:maven="jelly:maven" 
    xmlns:j="jelly:core" 
    xmlns:util="jelly:util" 
    xmlns:ant="jelly:ant">
  
    <postGoal name="test:compile">
  
      <ant:copy toDir="${basedir}/target/test-classes/" >
          <ant:fileset dir="${basedir}/src/test/">
              <ant:includes include="**/*.xtest" />
          </ant:fileset>
      </ant:copy>
    </postGoal>
    
  </project>
  
  
  
  1.5       +1 -1      
avalon-excalibur/datasource/src/test/org/apache/avalon/excalibur/datasource/ids/test/TableIdGeneratorJdbcTestCase.java
  
  Index: TableIdGeneratorJdbcTestCase.java
  ===================================================================
  RCS file: 
/home/cvs/avalon-excalibur/datasource/src/test/org/apache/avalon/excalibur/datasource/ids/test/TableIdGeneratorJdbcTestCase.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TableIdGeneratorJdbcTestCase.java 28 Feb 2004 11:47:31 -0000      1.4
  +++ TableIdGeneratorJdbcTestCase.java 18 Mar 2004 03:16:05 -0000      1.5
  @@ -56,7 +56,7 @@
       public void setUp() throws Exception
       {
           super.setUp();
  -
  +System.out.println( "Niclas" );        
           // Get a reference to a data source
           m_dbSelector = (ComponentSelector)manager.lookup( DataSourceComponent.ROLE 
+ "Selector" );
           m_dataSource = (DataSourceComponent)m_dbSelector.select( "test-db" );
  
  
  
  1.2       +5 -0      
avalon-excalibur/datasource/src/test/org/apache/avalon/excalibur/datasource/ids/test/TableIdGeneratorJdbcTestCase.xtest
  
  Index: TableIdGeneratorJdbcTestCase.xtest
  ===================================================================
  RCS file: 
/home/cvs/avalon-excalibur/datasource/src/test/org/apache/avalon/excalibur/datasource/ids/test/TableIdGeneratorJdbcTestCase.xtest,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TableIdGeneratorJdbcTestCase.xtest        9 Nov 2003 14:13:58 -0000       1.1
  +++ TableIdGeneratorJdbcTestCase.xtest        18 Mar 2004 03:16:05 -0000      1.2
  @@ -36,6 +36,11 @@
           </targets>
           
           <categories>
  +            <category name="" log-level="DEBUG">
  +                <log-target id-ref="console"/>
  +                <log-target id-ref="file"/>
  +            </category>
  +            
               <category name="jdbc" log-level="INFO">
                   <log-target id-ref="console"/>
                   <log-target id-ref="file"/>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to