org.silverpeas.admin.domain
Class SQLDomainServiceTest

java.lang.Object
  extended by org.silverpeas.admin.domain.SQLDomainServiceTest

@TransactionConfiguration(transactionManager="jpaTransactionManager")
@PrepareForTest(value={com.stratelia.webactiv.util.FileRepositoryManager.class,com.stratelia.webactiv.beans.admin.DomainDriverManagerFactory.class,com.silverpeas.util.template.SilverpeasTemplateFactory.class})
public class SQLDomainServiceTest
extends Object

Author:
lbertin

Constructor Summary
SQLDomainServiceTest()
           
 
Method Summary
 void cleanTest()
           
 void initTest()
           
 void testCreateDomain()
           
 void testCreateDomainAlreadyInDB()
           
 void testCreateDomainWithPropertiesNameConflicts()
           
 void testGetTechnicalDomainName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLDomainServiceTest

public SQLDomainServiceTest()
Method Detail

initTest

public void initTest()
              throws Exception
Throws:
Exception

cleanTest

public void cleanTest()
               throws Exception
Throws:
Exception

testGetTechnicalDomainName

public void testGetTechnicalDomainName()

testCreateDomain

@Transactional
public void testCreateDomain()
                      throws Exception
Throws:
Exception

testCreateDomainAlreadyInDB

@Transactional
public void testCreateDomainAlreadyInDB()
                                 throws Exception
Throws:
Exception

testCreateDomainWithPropertiesNameConflicts

@Transactional
public void testCreateDomainWithPropertiesNameConflicts()
                                                 throws Exception
Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.