mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Added CapabilityServiceImplTest to the ServicesTestSuite
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44407 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -21,6 +21,7 @@ package org.alfresco.module.org_alfresco_module_rm.test;
|
|||||||
import junit.framework.Test;
|
import junit.framework.Test;
|
||||||
import junit.framework.TestSuite;
|
import junit.framework.TestSuite;
|
||||||
|
|
||||||
|
import org.alfresco.module.org_alfresco_module_rm.test.service.CapabilityServiceImplTest;
|
||||||
import org.alfresco.module.org_alfresco_module_rm.test.service.DataSetServiceImplTest;
|
import org.alfresco.module.org_alfresco_module_rm.test.service.DataSetServiceImplTest;
|
||||||
import org.alfresco.module.org_alfresco_module_rm.test.service.DispositionServiceImplTest;
|
import org.alfresco.module.org_alfresco_module_rm.test.service.DispositionServiceImplTest;
|
||||||
import org.alfresco.module.org_alfresco_module_rm.test.service.ExtendedSecurityServiceImplTest;
|
import org.alfresco.module.org_alfresco_module_rm.test.service.ExtendedSecurityServiceImplTest;
|
||||||
@@ -37,17 +38,17 @@ import org.alfresco.module.org_alfresco_module_rm.test.service.VitalRecordServic
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* RM test suite
|
* RM test suite
|
||||||
*
|
*
|
||||||
* @author Roy Wetherall
|
* @author Roy Wetherall
|
||||||
*/
|
*/
|
||||||
public class ServicesTestSuite extends TestSuite
|
public class ServicesTestSuite extends TestSuite
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Creates the test suite
|
* Creates the test suite
|
||||||
*
|
*
|
||||||
* @return the test suite
|
* @return the test suite
|
||||||
*/
|
*/
|
||||||
public static Test suite()
|
public static Test suite()
|
||||||
{
|
{
|
||||||
TestSuite suite = new TestSuite();
|
TestSuite suite = new TestSuite();
|
||||||
suite.addTestSuite(ExtendedSecurityServiceImplTest.class);
|
suite.addTestSuite(ExtendedSecurityServiceImplTest.class);
|
||||||
@@ -64,6 +65,7 @@ public class ServicesTestSuite extends TestSuite
|
|||||||
suite.addTestSuite(DataSetServiceImplTest.class);
|
suite.addTestSuite(DataSetServiceImplTest.class);
|
||||||
suite.addTestSuite(FreezeServiceImplTest.class);
|
suite.addTestSuite(FreezeServiceImplTest.class);
|
||||||
suite.addTestSuite(RecordServiceImplTest.class);
|
suite.addTestSuite(RecordServiceImplTest.class);
|
||||||
|
suite.addTestSuite(CapabilityServiceImplTest.class);
|
||||||
return suite;
|
return suite;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
* You should have received a copy of the GNU Lesser General Public License
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package org.alfresco.module.org_alfresco_module_rm.test.capabilities;
|
package org.alfresco.module.org_alfresco_module_rm.test.service;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@@ -32,8 +32,60 @@ import org.alfresco.module.org_alfresco_module_rm.test.util.BaseRMTestCase;
|
|||||||
* @author Tuna Aksoy
|
* @author Tuna Aksoy
|
||||||
* @since 2.1
|
* @since 2.1
|
||||||
*/
|
*/
|
||||||
public class CapabilityServiceTest extends BaseRMTestCase
|
public class CapabilityServiceImplTest extends BaseRMTestCase
|
||||||
{
|
{
|
||||||
|
public void testGetCapability() throws Exception
|
||||||
|
{
|
||||||
|
doTestInTransaction(new Test<Void>()
|
||||||
|
{
|
||||||
|
@Override
|
||||||
|
public Void run() throws Exception
|
||||||
|
{
|
||||||
|
// FIXME
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
public void testGetCapabilities() throws Exception
|
||||||
|
{
|
||||||
|
doTestInTransaction(new Test<Void>()
|
||||||
|
{
|
||||||
|
@Override
|
||||||
|
public Void run() throws Exception
|
||||||
|
{
|
||||||
|
// FIXME
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
public void testGetCapabilityAccessState() throws Exception
|
||||||
|
{
|
||||||
|
doTestInTransaction(new Test<Void>()
|
||||||
|
{
|
||||||
|
@Override
|
||||||
|
public Void run() throws Exception
|
||||||
|
{
|
||||||
|
// FIXME
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
public void testGetCapabilitiesAccessState() throws Exception
|
||||||
|
{
|
||||||
|
doTestInTransaction(new Test<Void>()
|
||||||
|
{
|
||||||
|
@Override
|
||||||
|
public Void run() throws Exception
|
||||||
|
{
|
||||||
|
// FIXME
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
public void testGetAddRemoveGroups() throws Exception
|
public void testGetAddRemoveGroups() throws Exception
|
||||||
{
|
{
|
||||||
doTestInTransaction(new Test<Void>()
|
doTestInTransaction(new Test<Void>()
|
Reference in New Issue
Block a user