git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed DOCUMENT ME comments that were generated and applied source code
[utils]
/
security
/
src
/
test
/
java
/
org
/
wamblee
/
usermgt
/
InMemoryGroupSetTest.java
diff --git
a/security/src/test/java/org/wamblee/usermgt/InMemoryGroupSetTest.java
b/security/src/test/java/org/wamblee/usermgt/InMemoryGroupSetTest.java
index e71b3e315485aa033201609469558b19761f02ea..56091f0018d7266c696266ba151d4a3cfa5828d5 100644
(file)
--- a/
security/src/test/java/org/wamblee/usermgt/InMemoryGroupSetTest.java
+++ b/
security/src/test/java/org/wamblee/usermgt/InMemoryGroupSetTest.java
@@
-21,34
+21,27
@@
import java.sql.SQLException;
import java.util.Set;
import java.util.Set;
-
/**
* Tests the inmemory group set. Intended to be subclassed for other
* implementations of group set.
*/
public class InMemoryGroupSetTest extends TestCase {
/**
* Tests the inmemory group set. Intended to be subclassed for other
* implementations of group set.
*/
public class InMemoryGroupSetTest extends TestCase {
- /**
- * DOCUMENT ME!
- */
protected GroupSet groups;
/**
* This method must be overriden in subclasses.
protected GroupSet groups;
/**
* This method must be overriden in subclasses.
- *
+ *
* @return New group set object.
*/
protected GroupSet createGroupSet() {
return new InMemoryGroupSet();
}
* @return New group set object.
*/
protected GroupSet createGroupSet() {
return new InMemoryGroupSet();
}
- /* (non-Javadoc)
+ /*
+ * (non-Javadoc)
+ *
* @see org.wamblee.test.SpringTestCase#setUp()
*/
* @see org.wamblee.test.SpringTestCase#setUp()
*/
- /**
- * DOCUMENT ME!
- *
- * @throws Exception DOCUMENT ME!
- */
@Override
protected void setUp() throws Exception {
super.setUp();
@Override
protected void setUp() throws Exception {
super.setUp();
@@
-58,10
+51,10
@@
public class InMemoryGroupSetTest extends TestCase {
/**
* Additional check to be implemented by a subclass.
/**
* Additional check to be implemented by a subclass.
- *
- * @param aGroup
Group to check for existence.
- *
- *
@throws SQLException DOCUMENT ME!
+ *
+ * @param aGroup
+ *
Group to check for existence.
+ *
*/
protected void checkGroupExists(String aGroup) throws SQLException {
// Empty
*/
protected void checkGroupExists(String aGroup) throws SQLException {
// Empty
@@
-69,10
+62,10
@@
public class InMemoryGroupSetTest extends TestCase {
/**
* Additional check to be implemented by a subclass.
/**
* Additional check to be implemented by a subclass.
- *
- * @param aGroup
Group to check for non-existence.
- *
- *
@throws SQLException DOCUMENT ME!
+ *
+ * @param aGroup
+ *
Group to check for non-existence.
+ *
*/
protected void checkGroupNotExists(String aGroup) throws SQLException {
// Empty
*/
protected void checkGroupNotExists(String aGroup) throws SQLException {
// Empty
@@
-80,20
+73,19
@@
public class InMemoryGroupSetTest extends TestCase {
/**
* Additional check to be implemented by a subclass.
/**
* Additional check to be implemented by a subclass.
- *
- * @param aSize
Expected number of groups.
- *
- *
@throws SQLException DOCUMENT ME!
+ *
+ * @param aSize
+ *
Expected number of groups.
+ *
*/
protected void checkGroupCount(int aSize) throws SQLException {
assertEquals(aSize, groups.size());
}
/**
*/
protected void checkGroupCount(int aSize) throws SQLException {
assertEquals(aSize, groups.size());
}
/**
- * Adds a group and verifies that the group is added using find(),
- * list(), and contains().
- *
- * @throws SQLException DOCUMENT ME!
+ * Adds a group and verifies that the group is added using find(), list(),
+ * and contains().
+ *
*/
public void testAdd() throws SQLException {
Group group = new Group("group1");
*/
public void testAdd() throws SQLException {
Group group = new Group("group1");
@@
-111,10
+103,8
@@
public class InMemoryGroupSetTest extends TestCase {
}
/**
}
/**
- * Tries to find a non-existing group. Verifies that null is
- * returned.
- *
- * @throws SQLException DOCUMENT ME!
+ * Tries to find a non-existing group. Verifies that null is returned.
+ *
*/
public void testFindUnknownGroup() throws SQLException {
Group group1 = new Group("group1");
*/
public void testFindUnknownGroup() throws SQLException {
Group group1 = new Group("group1");
@@
-129,10
+119,8
@@
public class InMemoryGroupSetTest extends TestCase {
}
/**
}
/**
- * Adds duplicate group. Verifies that the existing group is left
- * untouched.
- *
- * @throws SQLException DOCUMENT ME!
+ * Adds duplicate group. Verifies that the existing group is left untouched.
+ *
*/
public void testAddDuplicateGroup() throws SQLException {
Group group1 = new Group("group1");
*/
public void testAddDuplicateGroup() throws SQLException {
Group group1 = new Group("group1");
@@
-149,10
+137,9
@@
public class InMemoryGroupSetTest extends TestCase {
}
/**
}
/**
- * Removes a group. Verifies that the group is removed and the
- * return value is true.
- *
- * @throws SQLException DOCUMENT ME!
+ * Removes a group. Verifies that the group is removed and the return value
+ * is true.
+ *
*/
public void testRemoveGroup() throws SQLException {
Group group1 = new Group("group1");
*/
public void testRemoveGroup() throws SQLException {
Group group1 = new Group("group1");
@@
-168,10
+155,9
@@
public class InMemoryGroupSetTest extends TestCase {
}
/**
}
/**
- * Removes a non-existing group. Verifies that no groups are
- * removed an that the return value is true.
- *
- * @throws SQLException DOCUMENT ME!
+ * Removes a non-existing group. Verifies that no groups are removed an that
+ * the return value is true.
+ *
*/
public void testRemoveNonExistingGroup() throws SQLException {
Group group1 = new Group("group1");
*/
public void testRemoveNonExistingGroup() throws SQLException {
Group group1 = new Group("group1");
@@
-188,10
+174,9
@@
public class InMemoryGroupSetTest extends TestCase {
}
/**
}
/**
- * Adds a number of groups to the set and verifies that list()
- * returns them all.
- *
- * @throws SQLException DOCUMENT ME!
+ * Adds a number of groups to the set and verifies that list() returns them
+ * all.
+ *
*/
public void testList() throws SQLException {
Group group1 = new Group("group1");
*/
public void testList() throws SQLException {
Group group1 = new Group("group1");