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:
Tuna Aksoy
2012-12-06 10:09:50 +00:00
parent 8b784834bc
commit 5871dabbe6
2 changed files with 59 additions and 5 deletions

View File

@@ -21,6 +21,7 @@ package org.alfresco.module.org_alfresco_module_rm.test;
import junit.framework.Test;
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.DispositionServiceImplTest;
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
*
*
* @author Roy Wetherall
*/
public class ServicesTestSuite extends TestSuite
{
/**
* Creates the test suite
*
*
* @return the test suite
*/
public static Test suite()
public static Test suite()
{
TestSuite suite = new TestSuite();
suite.addTestSuite(ExtendedSecurityServiceImplTest.class);
@@ -64,6 +65,7 @@ public class ServicesTestSuite extends TestSuite
suite.addTestSuite(DataSetServiceImplTest.class);
suite.addTestSuite(FreezeServiceImplTest.class);
suite.addTestSuite(RecordServiceImplTest.class);
suite.addTestSuite(CapabilityServiceImplTest.class);
return suite;
}
}

View File

@@ -16,7 +16,7 @@
* You should have received a copy of the GNU Lesser General Public License
* 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;
@@ -32,8 +32,60 @@ import org.alfresco.module.org_alfresco_module_rm.test.util.BaseRMTestCase;
* @author Tuna Aksoy
* @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
{
doTestInTransaction(new Test<Void>()