Project

General

Profile

Revision 5285b7d3

ID5285b7d3dc8e3ccbde4d30f0471e9d7286b90a58
Parent 7eaa859b
Child 19344567

Added by Andreas Müller 2 months ago

cleanup

View differences:

.gitattributes
191 191
eu.etaxonomy.taxeditor.cdmlib/lib/hibernate-search-analyzers-4.2.0.Final.jar -text
192 192
eu.etaxonomy.taxeditor.cdmlib/lib/hibernate-search-engine-4.2.0.Final.jar -text
193 193
eu.etaxonomy.taxeditor.cdmlib/lib/hibernate-search-orm-4.2.0.Final.jar -text
194
eu.etaxonomy.taxeditor.cdmlib/lib/hsqldb-1.8.0.10.jar -text
195 194
eu.etaxonomy.taxeditor.cdmlib/lib/icu4j-2.6.1.jar -text
196 195
eu.etaxonomy.taxeditor.cdmlib/lib/identificationKeyAPI-1.0-SNAPSHOT-sources.jar -text
197 196
eu.etaxonomy.taxeditor.cdmlib/lib/identificationKeyAPI-1.0-SNAPSHOT.jar -text
eu.etaxonomy.taxeditor.store/src/main/resources/eu/etaxonomy/cdm/editorApplicationContext.xml
3 3
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 4
  xmlns:context="http://www.springframework.org/schema/context"
5 5
  xmlns:tx="http://www.springframework.org/schema/tx"
6
  xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
7
    http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
8
    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd">
6
  xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.3.xsd
7
    http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.3.xsd
8
    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.3.xsd">
9 9

  
10 10
  <!-- Local application context and term initializer -->
11 11
  <import resource="classpath:/eu/etaxonomy/cdm/localApplicationContext.xml"/>
eu.etaxonomy.taxeditor.store/src/test/java/eu/etaxonomy/taxeditor/store/NameProtectTitleCacheTest.java
6 6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7 7
* See LICENSE.TXT at the top of this package for the full license terms.
8 8
*/
9

  
10 9
package eu.etaxonomy.taxeditor.store;
11 10

  
12

  
13 11
import org.junit.Assert;
14 12
import org.junit.Before;
15 13
import org.junit.Test;
......
29 27

  
30 28
//	@SpringBeanByType
31 29
	@SuppressWarnings("unused")
32
	private CdmStore cdmStore;// = CdmStore.getDefault();
33
	
30
	private CdmStore cdmStore;// = CdmStore.getDefault();	
34 31
	
35 32
	@SuppressWarnings("unused")
36 33
	private ConversationHolder conversation;
37 34

  
38 35
	private INonViralName name;
39
	
40
	/**
41
	 * @throws java.lang.Exception
42
	 */
36

  
43 37
	@Before
44 38
	public void setUp() throws Exception {
45 39
		
......
51 45
		name.setSpecificEpithet("mama");
52 46
	}
53 47
	
54
	/**
55
	 * 
56
	 */
57 48
	@Test
58 49
	public void testProtectTitleCache(){
59 50
		Assert.assertTrue(name.isProtectedTitleCache() == false);
eu.etaxonomy.taxeditor.store/src/test/java/eu/etaxonomy/taxeditor/store/operations/AbstractTaxeditorOperationTestBase.java
6 6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7 7
* See LICENSE.TXT at the top of this package for the full license terms.
8 8
*/
9

  
10 9
package eu.etaxonomy.taxeditor.store.operations;
11 10

  
12 11
import org.eclipse.core.commands.operations.IUndoContext;
......
21 20
/**
22 21
 * @author n.hoffmann
23 22
 * @created 15.04.2009
24
 * @version 1.0
25 23
 */
26 24
public abstract class AbstractTaxeditorOperationTestBase {
27 25

  
......
34 32

  
35 33
	protected static AbstractPostTaxonOperation operation;
36 34
	protected static Taxon taxon;
37
}
35
}
eu.etaxonomy.taxeditor.store/src/test/java/eu/etaxonomy/taxeditor/store/operations/RemotingTestUpdateOperation.java
63 63
        }
64 64
        return null;
65 65
    }
66

  
67 66
}
eu.etaxonomy.taxeditor.store/src/test/java/eu/etaxonomy/taxeditor/store/utility/AbstractUtilityTest.java
55 55
        check(orderedTerms, Arrays.asList(TermType.values()));
56 56
    }
57 57

  
58
    /**
59
     * @param orderedTerms
60
     * @param expectedTerms
61
     */
62 58
    private void check(LinkedHashMap<? extends IEnumTerm<?>, String> orderedTerms, Collection<? extends IEnumTerm<?>> expectedTerms) {
63 59
        assertFalse("Ordered term list is empty!", orderedTerms.isEmpty());
64 60
        assertEquals("Some terms got lost while ordering.", expectedTerms.size(), orderedTerms.size());

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)