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/httpinvoker/CdmRemoteSourceTest.java
8 8
*/
9 9
package eu.etaxonomy.taxeditor.httpinvoker;
10 10

  
11
import org.apache.log4j.Level;
12 11
import org.apache.log4j.Logger;
13 12
import org.junit.Assert;
14
import org.junit.BeforeClass;
15 13
import org.junit.Test;
16 14
import org.springframework.remoting.RemoteAccessException;
17 15

  
......
24 22
	private static final Logger logger = Logger.getLogger(RemotePersistentCollectionTest.class);
25 23

  
26 24

  
27
	@BeforeClass
28
	public static void initialize() {
29

  
30
		Logger.getRootLogger().setLevel(Level.INFO);
31

  
32
	}
33

  
34 25
	@Test
35 26
	public void whenConnectingToInactiveServerThenFailToConnect() {
36 27
		// check if non-active server throws the right exception

Also available in: Unified diff