db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From olegn...@apache.org
Subject cvs commit: jakarta-ojb/src/test/org/apache/ojb/broker/metadata MetadataTest.java
Date Thu, 09 Jan 2003 23:58:34 GMT
olegnitz    2003/01/09 15:58:34

  Modified:    src/test/org/apache/ojb/broker/metadata MetadataTest.java
  Log:
  Changed the test data: default-connection must be "false", otherwise we get incorrect repository.xml
  
  Revision  Changes    Path
  1.2       +3 -2      jakarta-ojb/src/test/org/apache/ojb/broker/metadata/MetadataTest.java
  
  Index: MetadataTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/src/test/org/apache/ojb/broker/metadata/MetadataTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MetadataTest.java	9 Jan 2003 17:20:15 -0000	1.1
  +++ MetadataTest.java	9 Jan 2003 23:58:34 -0000	1.2
  @@ -53,7 +53,7 @@
   
           <jdbc-connection-descriptor
           jcd-alias="testConnection"
  -        default-connection="true"
  +        default-connection="false"
           platform="Oracle"
           jdbc-level="1.0"
           driver="a driver"
  @@ -90,7 +90,8 @@
           </sequence-manager>
       </jdbc-connection-descriptor>
           */
  -        assertEquals(true, jcd.isDefaultConnection());
  +	// don't set it to true!!! This may break everything (2 default connections)
  +        assertEquals(false, jcd.isDefaultConnection()); 
   
           assertNotNull(jcd.getDbms());
           assertEquals("Oracle", jcd.getDbms());
  
  
  

Mime
View raw message