Project

General

Profile

« Previous | Next » 

Revision 60617880

Added by Andreas Müller over 2 years ago

cleanup

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/taxon/Taxon.java
1390 1390
     * @see			#getHomotypicSynonymyGroups()
1391 1391
     * @see			SynonymType
1392 1392
     * @deprecated as the method currently returns data not matching the original description of the method
1393
     * as an ordered list (according to date of publication) of synonyms with same secundum as <i>this</i> taxon.
1394
     * In future this method will either be removed or semantics may change.
1393
     *    as an ordered list (according to date of publication) of synonyms with same secundum as <i>this</i> taxon.<BR>
1394
     *    In future this method will either be removed or semantics may change.
1395 1395
     */
1396 1396
    @Deprecated
1397 1397
    @Transient
cdmlib-services/src/test/java/eu/etaxonomy/cdm/api/service/TaxonServiceImplBusinessTest.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.cdm.api.service;
11 10

  
12 11
import static org.junit.Assert.assertFalse;
......
64 63
	private INonViralName t1n;
65 64
	private TaxonName s2n;
66 65

  
67
	/**
68
	 * @throws java.lang.Exception
69
	 */
70 66
	@Before
71 67
	public void setUp() throws Exception {
72 68
		//service = new TaxonServiceImpl();
......
206 202
		}
207 203

  
208 204
//		Assert.assertNull("Synonym should not be used in a name anymore", s1.getName());
209

  
210

  
211 205
	}
212 206

  
213 207
	/**
......
244 238
        //UUID s1UUID = service.update(s1);
245 239
        newTaxonUUID = service.save(newTaxon).getUuid();
246 240

  
247

  
248 241
        s2 =(Synonym)service.find(s2.getUuid());
249 242
        newTaxon = (Taxon)service.find(newTaxonUUID);
250 243
        assertNull(s2);
......
253 246
        assertTrue(synonymName.getTaxonBases().contains(newTaxon));
254 247
	}
255 248

  
256

  
257 249
	@Test
258 250
	public void changeHomotypicalGroupOfSynonym(){
259 251

  

Also available in: Unified diff