Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Also move SpringContextIT to integration directory Resolves: https://www.pivotaltracker.com/story/show/71010904
- Loading branch information
Andrew Woods
committed
May 9, 2014
1 parent
ab353e5
commit 90f23ba
Showing
6 changed files
with
305 additions
and
0 deletions.
There are no files selected for viewing
61 changes: 61 additions & 0 deletions
61
src/test/java/org/fcrepo/auth/xacml/FedoraPolicyFinderModuleTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
/** | ||
* Copyright 2014 DuraSpace, Inc. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package org.fcrepo.auth.xacml; | ||
|
||
import org.junit.After; | ||
import org.junit.Before; | ||
import org.junit.Test; | ||
|
||
/** | ||
* @author Andrew Woods | ||
* Date: 5/9/14 | ||
*/ | ||
public class FedoraPolicyFinderModuleTest { | ||
@Before | ||
public void setUp() throws Exception { | ||
|
||
} | ||
|
||
@After | ||
public void tearDown() throws Exception { | ||
|
||
} | ||
|
||
@Test | ||
public void testIsRequestSupported() throws Exception { | ||
|
||
} | ||
|
||
@Test | ||
public void testIsIdReferenceSupported() throws Exception { | ||
|
||
} | ||
|
||
@Test | ||
public void testFindPolicy() throws Exception { | ||
|
||
} | ||
|
||
@Test | ||
public void testFindPolicy1() throws Exception { | ||
|
||
} | ||
|
||
@Test | ||
public void testInit() throws Exception { | ||
|
||
} | ||
} |
56 changes: 56 additions & 0 deletions
56
src/test/java/org/fcrepo/auth/xacml/FedoraResourceFinderModuleTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
/** | ||
* Copyright 2014 DuraSpace, Inc. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package org.fcrepo.auth.xacml; | ||
|
||
import org.junit.After; | ||
import org.junit.Before; | ||
import org.junit.Test; | ||
|
||
/** | ||
* @author Andrew Woods | ||
* Date: 5/9/14 | ||
*/ | ||
public class FedoraResourceFinderModuleTest { | ||
@Before | ||
public void setUp() throws Exception { | ||
|
||
} | ||
|
||
@After | ||
public void tearDown() throws Exception { | ||
|
||
} | ||
|
||
@Test | ||
public void testIsChildSupported() throws Exception { | ||
|
||
} | ||
|
||
@Test | ||
public void testIsDescendantSupported() throws Exception { | ||
|
||
} | ||
|
||
@Test | ||
public void testFindChildResources() throws Exception { | ||
|
||
} | ||
|
||
@Test | ||
public void testFindDescendantResources() throws Exception { | ||
|
||
} | ||
} |
66 changes: 66 additions & 0 deletions
66
src/test/java/org/fcrepo/auth/xacml/SparqlResourceAttributeFinderModuleTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
/** | ||
* Copyright 2014 DuraSpace, Inc. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package org.fcrepo.auth.xacml; | ||
|
||
import org.junit.After; | ||
import org.junit.Before; | ||
import org.junit.Test; | ||
|
||
/** | ||
* @author Andrew Woods | ||
* Date: 5/9/14 | ||
*/ | ||
public class SparqlResourceAttributeFinderModuleTest { | ||
@Before | ||
public void setUp() throws Exception { | ||
|
||
} | ||
|
||
@After | ||
public void tearDown() throws Exception { | ||
|
||
} | ||
|
||
@Test | ||
public void testIsDesignatorSupported() throws Exception { | ||
|
||
} | ||
|
||
@Test | ||
public void testIsSelectorSupported() throws Exception { | ||
|
||
} | ||
|
||
@Test | ||
public void testGetSupportedDesignatorTypes() throws Exception { | ||
|
||
} | ||
|
||
@Test | ||
public void testGetSupportedIds() throws Exception { | ||
|
||
} | ||
|
||
@Test | ||
public void testFindAttribute() throws Exception { | ||
|
||
} | ||
|
||
@Test | ||
public void testFindAttribute1() throws Exception { | ||
|
||
} | ||
} |
66 changes: 66 additions & 0 deletions
66
src/test/java/org/fcrepo/auth/xacml/TripleAttributeFinderModuleTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
/** | ||
* Copyright 2014 DuraSpace, Inc. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package org.fcrepo.auth.xacml; | ||
|
||
import org.junit.After; | ||
import org.junit.Before; | ||
import org.junit.Test; | ||
|
||
/** | ||
* @author Andrew Woods | ||
* Date: 5/9/14 | ||
*/ | ||
public class TripleAttributeFinderModuleTest { | ||
@Before | ||
public void setUp() throws Exception { | ||
|
||
} | ||
|
||
@After | ||
public void tearDown() throws Exception { | ||
|
||
} | ||
|
||
@Test | ||
public void testIsDesignatorSupported() throws Exception { | ||
|
||
} | ||
|
||
@Test | ||
public void testIsSelectorSupported() throws Exception { | ||
|
||
} | ||
|
||
@Test | ||
public void testGetSupportedDesignatorTypes() throws Exception { | ||
|
||
} | ||
|
||
@Test | ||
public void testGetSupportedIds() throws Exception { | ||
|
||
} | ||
|
||
@Test | ||
public void testFindAttribute() throws Exception { | ||
|
||
} | ||
|
||
@Test | ||
public void testFindAttribute1() throws Exception { | ||
|
||
} | ||
} |
56 changes: 56 additions & 0 deletions
56
src/test/java/org/fcrepo/auth/xacml/XACMLAuthorizationDelegateTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
/** | ||
* Copyright 2014 DuraSpace, Inc. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package org.fcrepo.auth.xacml; | ||
|
||
import org.junit.After; | ||
import org.junit.Before; | ||
import org.junit.Test; | ||
|
||
/** | ||
* @author Andrew Woods | ||
* Date: 5/9/14 | ||
*/ | ||
public class XACMLAuthorizationDelegateTest { | ||
@Before | ||
public void setUp() throws Exception { | ||
|
||
} | ||
|
||
@After | ||
public void tearDown() throws Exception { | ||
|
||
} | ||
|
||
@Test | ||
public void testInit() throws Exception { | ||
|
||
} | ||
|
||
@Test | ||
public void testSetApplicationContext() throws Exception { | ||
|
||
} | ||
|
||
@Test | ||
public void testHasPermission() throws Exception { | ||
|
||
} | ||
|
||
@Test | ||
public void testResolveUserRoles() throws Exception { | ||
|
||
} | ||
} |
File renamed without changes.