Polishing
This commit is contained in:
@@ -26,7 +26,7 @@ import static org.junit.Assert.*;
|
||||
* @author Rick Evans
|
||||
* @author Arjen Poutsma
|
||||
*/
|
||||
public final class MapSqlParameterSourceTests {
|
||||
public class MapSqlParameterSourceTests {
|
||||
|
||||
@Test
|
||||
public void nullParameterValuesPassedToCtorIsOk() throws Exception {
|
||||
|
||||
@@ -27,7 +27,7 @@ import static org.junit.Assert.*;
|
||||
* @author Rick Evans
|
||||
* @author Chris Beams
|
||||
*/
|
||||
public final class JndiDataSourceLookupTests {
|
||||
public class JndiDataSourceLookupTests {
|
||||
|
||||
private static final String DATA_SOURCE_NAME = "Love is like a stove, burns you when it's hot";
|
||||
|
||||
@@ -46,7 +46,7 @@ public final class JndiDataSourceLookupTests {
|
||||
assertSame(expectedDataSource, dataSource);
|
||||
}
|
||||
|
||||
@Test(expected=DataSourceLookupFailureException.class)
|
||||
@Test(expected = DataSourceLookupFailureException.class)
|
||||
public void testNoDataSourceAtJndiLocation() throws Exception {
|
||||
JndiDataSourceLookup lookup = new JndiDataSourceLookup() {
|
||||
@Override
|
||||
|
||||
@@ -30,7 +30,7 @@ import static org.junit.Assert.*;
|
||||
* @author Rick Evans
|
||||
* @author Chris Beams
|
||||
*/
|
||||
public final class MapDataSourceLookupTests {
|
||||
public class MapDataSourceLookupTests {
|
||||
|
||||
private static final String DATA_SOURCE_NAME = "dataSource";
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ public class SQLStateSQLExceptionTranslatorTests {
|
||||
private static final String SQL = "select count(0) from t_sheep where over_fence = ... yawn... 1";
|
||||
|
||||
|
||||
@Test(expected=IllegalArgumentException.class)
|
||||
@Test(expected = IllegalArgumentException.class)
|
||||
public void testTranslateNullException() throws Exception {
|
||||
new SQLStateSQLExceptionTranslator().translate("", "", null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user