~ubuntu-branches/ubuntu/trusty/c3p0/trusty-proposed

« back to all changes in this revision

Viewing changes to src/classes/com/mchange/v2/c3p0/test/junit/ConnectionPropertiesResetJUnitTestCase.java

  • Committer: Package Import Robot
  • Author(s): tony mancill
  • Date: 2012-04-21 21:28:15 UTC
  • Revision ID: package-import@ubuntu.com-20120421212815-hmp70m5t5a23rsll
Tags: 0.9.1.2-6
* Team upload.
* Remove Michael Koch from Uploaders.  (Closes: #653999)
* Apply patch to enable test suite and tune gcj javac output.
  - Thank you to James Page.  (Closes: #615863)
* Bump Standards-Version to 3.9.3 (no changes).
* Drop needless dependency on JRE.

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
                        cons[i] = cpds.getConnection();
89
89
                        assertFalse( "Connection from pool should not be readOnly!", cons[i].isReadOnly() );
90
90
 
91
 
                        // some drivers return null rather than an empty type map
92
 
                        Map typeMap = cons[i].getTypeMap();
93
 
                        assertTrue( "Connection from pool should have an empty type map!", (typeMap == null ? true : typeMap.isEmpty() ) ); 
94
 
 
95
91
                        assertEquals( "Connection from pool should have default catalog set!", dfltCat, cons[i].getCatalog() );
96
92
                        assertEquals( "Connection from pool should have default txn isolation set!", dflt_txn_isolation, cons[i].getTransactionIsolation() );
97
93
                        cons[i].close();
103
99
                fail( e.getMessage() );
104
100
            }
105
101
    }
106
 
}
 
 
b'\\ No newline at end of file'
 
102
}