From a771fcaf1dc80a6c7ea29bde04adba0179f420d8 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 24 Nov 2014 07:54:47 +0000
Subject: [PATCH] AutoRefactor: sanitizing annotations
---
opendj-server/src/test/java/org/forgerock/opendj/server/setup/model/ModelTestCase.java | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/opendj-server/src/test/java/org/forgerock/opendj/server/setup/model/ModelTestCase.java b/opendj-server/src/test/java/org/forgerock/opendj/server/setup/model/ModelTestCase.java
index 4a26887..425ea16 100644
--- a/opendj-server/src/test/java/org/forgerock/opendj/server/setup/model/ModelTestCase.java
+++ b/opendj-server/src/test/java/org/forgerock/opendj/server/setup/model/ModelTestCase.java
@@ -51,7 +51,7 @@
*
* @throws ConfigException
*/
- @Test()
+ @Test
public void testCreateDefaultDS() throws ConfigException {
final Model ds = new DataStoreModel();
@@ -170,7 +170,7 @@
* @throws IOException
* If an error occurred when the temporary file is created.
*/
- @Test()
+ @Test
public void testIsValidDSAllowsPasswordFile() throws ConfigException, IOException {
final Model ds = new DataStoreModel();
File passwordFile = null;
@@ -189,14 +189,14 @@
ds.validate();
}
- @Test()
+ @Test
public void testCreateDSAllowsNullCertificate() throws ConfigException {
final Model ds = new DataStoreModel();
ds.getListenerSettings().setCertificate(null);
assertFalse(ds.isSecure());
}
- @Test()
+ @Test
public void testCreateSecureDS() throws ConfigException {
final Model ds = new DataStoreModel();
final Certificate cert = new Certificate();
@@ -361,7 +361,7 @@
* @throws ConfigException
* If a configuration exception occurs.
*/
- @Test()
+ @Test
public void testCreateDSFirstInTopology() throws ConfigException {
final Model ds = new DataStoreModel();
ds.getListenerSettings().setPassword("password");
@@ -388,7 +388,7 @@
* @throws ConfigException
* If a configuration exception occurs.
*/
- @Test()
+ @Test
public void testCreateDefaultDSWithLicense() throws ConfigException {
final Model ds = new DataStoreModel();
final String license = "This is a CDDL License";
--
Gitblit v1.10.0