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
/
security
/
authorization
/
DefaultOperationRegistryTest.java
diff --git
a/security/src/test/java/org/wamblee/security/authorization/DefaultOperationRegistryTest.java
b/security/src/test/java/org/wamblee/security/authorization/DefaultOperationRegistryTest.java
index d33b65d79af26f3fe00b22d8de3f92d99c5af25e..30c171054fbcff637d6393daef42a1aee1bd01a0 100644
(file)
--- a/
security/src/test/java/org/wamblee/security/authorization/DefaultOperationRegistryTest.java
+++ b/
security/src/test/java/org/wamblee/security/authorization/DefaultOperationRegistryTest.java
@@
-17,33
+17,24
@@
package org.wamblee.security.authorization;
import junit.framework.TestCase;
import junit.framework.TestCase;
-
/**
* Test of the operation registry.
/**
* Test of the operation registry.
- *
+ *
* @author Erik Brakkee
*/
public class DefaultOperationRegistryTest extends TestCase {
* @author Erik Brakkee
*/
public class DefaultOperationRegistryTest extends TestCase {
- /**
- * DOCUMENT ME!
- */
private OperationRegistry registry;
private OperationRegistry registry;
- /* (non-Javadoc)
+ /*
+ * (non-Javadoc)
+ *
* @see junit.framework.TestCase#setUp()
*/
* @see junit.framework.TestCase#setUp()
*/
- /**
- * DOCUMENT ME!
- *
- * @throws Exception DOCUMENT ME!
- */
@Override
protected void setUp() throws Exception {
registry = new DefaultOperationRegistry(new Operation[] {
@Override
protected void setUp() throws Exception {
registry = new DefaultOperationRegistry(new Operation[] {
- new AllOperation(), new ReadOperation(),
- new WriteOperation(), new DeleteOperation(),
- new CreateOperation()
- });
+ new AllOperation(), new ReadOperation(), new WriteOperation(),
+ new DeleteOperation(), new CreateOperation() });
}
/**
}
/**
@@
-58,9
+49,8
@@
public class DefaultOperationRegistryTest extends TestCase {
* Verifies that encoding of operations into a string works.
*/
public void testEncode() {
* Verifies that encoding of operations into a string works.
*/
public void testEncode() {
- assertEquals("read,write",
- registry.encode(
- new Operation[] { new ReadOperation(), new WriteOperation() }));
+ assertEquals("read,write", registry.encode(new Operation[] {
+ new ReadOperation(), new WriteOperation() }));
}
/**
}
/**
@@
-73,8
+63,8
@@
public class DefaultOperationRegistryTest extends TestCase {
}
/**
}
/**
- * Verifies that an IllegalArgumentException occurs when attempting
- *
to
decode an operation that is not known.
+ * Verifies that an IllegalArgumentException occurs when attempting
to
+ * decode an operation that is not known.
*/
public void testDecodeUnknownOperation() {
try {
*/
public void testDecodeUnknownOperation() {
try {