Project

General

Profile

« Previous | Next » 

Revision df390232

Added by Cherian Mathew almost 9 years ago

RemotingSessionAwareTest : added new class which handles pre-config of test classes which require a session
*Test.java : set super class to RemotingSessionAwareTest
*.xml : removed DefinedTermBase entites from datasets so that the terms are not deleted
ServiceInterceptorTest : correction

View differences:

eu.etaxonomy.taxeditor.test/src/test/java/eu/etaxonomy/taxeditor/lazyloading/AbstractLazyInitializerTest.java
14 14
import java.util.Set;
15 15
import java.util.UUID;
16 16

  
17
import org.apache.log4j.Level;
18 17
import org.apache.log4j.Logger;
19 18
import org.junit.Assert;
20 19
import org.junit.BeforeClass;
......
44 43
 * Class to test the {@link CdmApplicationRemoteController}
45 44
 *
46 45
 */
46
// FIXME:Remoting need to create a proper dataset for this test
47
//       Could be combined with RemotePersistentCollectionTest
48
@Ignore
47 49
@DataSet
48 50
public class AbstractLazyInitializerTest extends BaseRemotingTest {
49 51
    private static final Logger logger = Logger.getLogger(AbstractLazyInitializerTest.class);
......
58 60

  
59 61

  
60 62
    @BeforeClass
61
    public void initializeRemoteLazyLoading() {
62

  
63
        Logger.getRootLogger().setLevel(Level.DEBUG);
63
    public static void initializeRemoteLazyLoading() {
64 64

  
65 65
        taxonService = getRemoteApplicationController().getTaxonService();
66 66
        classificationService= getRemoteApplicationController().getClassificationService();

Also available in: Unified diff