| Branch: | Tag: | Revision:

cdmlib / cdmlib-services / src / test / java / eu / etaxonomy / cdm / api @ bba9e555

# Date Author Comment
bba9e555 12/16/2014 03:11 PM Patrick Plitzner
  • fixed deep delete recursion bug
    • fixed tests
88b4ec59 12/16/2014 10:32 AM Patrick Plitzner
  • extracted deepDelete tests to own java class
    • reduced exception logged in DeleteResult
4cc85da1 12/15/2014 01:52 PM Andreas Müller

add original label info to specimen facade #4218, #4565

5188d906 12/15/2014 01:00 PM Patrick Plitzner
  • fully implemented deep delete (child derivates)
    • added tests
6c288cd5 12/12/2014 02:17 PM Andreas Müller

added unit test for derived unit facade with parent but no field unit #4532

c36bd929 12/12/2014 09:41 AM Patrick Plitzner
  • implemented isDeletable() and delete()
    • fixed test XML files and tests
3214df3b 12/12/2014 12:50 AM Andreas Müller

fix Occurrence test

68ee041d 12/11/2014 09:32 PM Patrick Plitzner
  • change visibility of createTestDataSet to public
1b2e403a 12/11/2014 04:07 PM Patrick Plitzner
  • organized imports
59048086 12/10/2014 09:46 PM Andreas Müller

conflict fiexes after merging trunk

c9d7b4eb 12/10/2014 04:25 PM Patrick Plitzner

merge-update from trunk

d06ba760 12/10/2014 03:27 PM Patrick Plitzner
  • added abstract method createTestData() to CdmIntegrationalTest
    • method should be used for generatin test XML data sets
    • making it abstract and enforcing implementation in sub classes ensures that the same structure is used thus making it easier for the developer to find similar examples....
e54c04b0 12/10/2014 11:49 AM Patrick Plitzner
  • fixed testLoadData()
    • the field unit element in the XML needed to have the derivedFrom parameter
af1cc31c 12/09/2014 10:56 PM Andreas Müller

preliminary set OccurrenceServie.loadData test to ignore, as data is not loading correctly

1686096f 12/09/2014 10:55 PM Andreas Müller

preliminary set OccurrenceServie.loadData test to ignore, as data is not loading correctly

a491689c 12/09/2014 05:33 PM Andreas Müller

some bugfixes to new Amplification modelling #4541

fcab75e4 12/09/2014 05:09 PM Andreas Müller

some adaptations after trunk merge to 3.4.1

af283637 12/09/2014 05:03 PM Patrick Plitzner

merge-update from trunk

395ccc97 12/09/2014 04:44 PM Andreas Müller

separate Amplification and #4541

404c0036 12/04/2014 04:00 PM Patrick Plitzner
  • added service method to get descriptions which have a specimen set as describedSpecimen
    • added test which fails because the XML is loaded incorrectly
96274f18 12/04/2014 09:44 AM Patrick Plitzner
  • changed service method to retrieve the directly related objects
    • adapted tests
73cac0e8 12/03/2014 05:07 PM Patrick Plitzner
  • commented unused field from SpecimenDeleteConfigurator
    • added TODOs for deletion checking for specimens
    • added emtpy isDeletable() method
5ddc7eb3 12/03/2014 01:49 PM Katja Luther

isDeletable returns DeleteResult

ec352541 12/03/2014 01:22 PM Patrick Plitzner

merge-update from trunk

ccf1f2f1 12/03/2014 10:03 AM Andreas Müller

merge PresenceTerm and AbsenceTerm #4521

a84f8263 12/03/2014 09:36 AM Patrick Plitzner
  • added isDeleteFromIndividualsAssociation and isDeleteFromTypeDesignation to SpecimenDeleteConfigurator
    • implemented deletion for above mentioned flags
    • added more information to delete result when deleting specimens
    • added tests for above mentioned flags...
0e88fd5d 12/02/2014 11:17 AM Patrick Plitzner
  • added loadStrategy=CleanSweepInsertLoadStrategy.class to tests to fix test failure
b82a6bfc 12/02/2014 09:55 AM Patrick Plitzner
  • added DISTINCT to HQL query for associated taxa
    • created and used XML data source in occurrence service test
d1fcc861 12/01/2014 02:48 PM Patrick Plitzner
  • added xml resources for tests
06d8cd12 12/01/2014 10:24 AM Patrick Plitzner
  • added occurrence service methods to retrieve all taxa that are associated with a specimen:
    • via IndividualsAssociation
    • via TypeDesignation
    • added test
73e694a1 11/26/2014 12:47 PM Patrick Plitzner
  • removed BlankDataSet form test
a6e9cd03 11/26/2014 12:06 PM Patrick Plitzner
  • implemented service method (and test for it) to get all taxa associated with a single specimen
aebfd8da 11/26/2014 09:53 AM Patrick Plitzner
  • added listAssociatedTaxa() method to occurrence service (non functional)
1cc6bcd1 11/18/2014 02:44 PM Patrick Plitzner
  • when moving derivate also set "derivedFrom" to the new DerivationEvent
03aae089 11/18/2014 09:52 AM Cherian Mathew

ICdmCacher, DefaultTermInitializer : added comments
CdmCacher : added code to disallow null values in cache and moved term initialisation code to specific subclass
CdmDaoCacher : replaced with specialised CdmTermCacher
defaultApplicationContext : removed remoting exception

5117a754 11/12/2014 11:28 AM Patrick Plitzner
  • used blank data set for test
2554cb27 11/11/2014 09:33 AM Patrick Plitzner
  • added delete configurator to occurence service
5b62196b 10/28/2014 02:09 PM Katja Luther

fix #4450

2f4fd039 10/27/2014 09:09 AM Patrick Plitzner
  • added service method deleteDerivateHierarchy()
9b4b53df 10/20/2014 02:23 PM Patrick Plitzner
  • extended test
42c84aab 10/20/2014 02:15 PM Patrick Plitzner
  • fixed service method and extended test
f89911d1 10/17/2014 08:53 PM Andreas Müller

rename Reference.authorTeam -> authorship #4432

aea80021 10/17/2014 08:10 PM Andreas Müller


c52b7e11 10/02/2014 01:00 PM Katja Luther

adapted tcs rdf and xml import, using apache jena for rdf import
tcs import for caryophylales

2529ae12 09/17/2014 06:13 PM Cherian Mathew / HandlingCdmEntitiesTest.xml : Added new test to describe save, update, merge of cdm entities (mimicking remoting)
cdmlib-remote-servlet.xml : added commented option to expose remoting : added comment on how to disable transactional behaviour in tests

ad414651 09/15/2014 02:41 PM Katja Luther

fix delete taxon nodes with children

75b69afd 09/10/2014 02:52 PM Patrick Plitzner
  • removed @Cascade for country in GatheringEvent because DefinedTerms should not be cascaded
    • added new service method to occurence service to find all CDM entities that are not saved via cascading
    • added tests for new method
    • added test for concurrent session saving of terms...
100aec39 09/10/2014 12:43 PM Andreas Müller


343833a4 08/21/2014 02:23 PM Katja Luther

fix the test

b26b6c51 08/07/2014 06:25 PM Andreas Müller

move vocabulary tests to vocabulary service and fix @Ignore, remove deprecated methods from INameService

25a82b70 08/07/2014 05:44 PM Andreas Müller


0841e22d 08/07/2014 05:38 PM Andreas Müller


08d62c6f 07/30/2014 02:05 PM Katja Luther

return value of delete methods are DeleteResults

9aa01c88 07/09/2014 06:42 PM Cherian Mathew

increased storage capacity of mock cdm cachers

1aa19623 06/26/2014 05:03 PM Cherian Mathew

IService, ServiceBase : added method findWithoutFlush
CdmCacher, CdmDaoCacher : split CdmCacher class to sub class which uses dao to access the data
MockCdmCacher : added mock cdm cacher for tests
TaxonNodeServiceImplTest, FeatureNodeServiceImplTest : removed duplicate @SpringApplicationContext annotation...

30d813bb 06/25/2014 07:20 PM Cherian Mathew

temporarily ignoring failing tests to ensure compilation (see ticket 4276)

1072d7b4 06/25/2014 04:48 PM Cherian Mathew

adding initial basic tests for cdm caching api

bdda7874 05/21/2014 12:41 PM Andreas Müller

use doubtful parameter in included taxon service

1288c4d6 05/20/2014 06:50 PM Andreas Müller

update listIncludedTaxa #4045

419acab0 05/20/2014 06:18 PM Andreas Müller

implement listIncludedTaxa first version #4045

fdf9eec2 05/20/2014 12:11 PM Andreas Müller

better use of generics in service layer and persistence list methods

0541e2f6 05/14/2014 10:08 AM Patrick Plitzner
  • made move methods session-safe by reloading the cdm entities
    • enhanced/added test
1995f802 05/05/2014 02:59 PM Katja Luther

if deletion of an object fails the method does not throw an exception but returns a message

8640593e 03/31/2014 12:25 PM Katja Luther

add tests for treeIndex and deletion of nodes

f5d25c32 03/31/2014 11:52 AM Patrick Plitzner
  • bundled services for molecular data in one package
    • added more tests
92b43465 03/31/2014 10:08 AM Patrick Plitzner
  • added IAmplificationService and ISequenceService
    • added service methods to move derivates from one to another
    • added test for move method
dfab8a93 03/17/2014 08:50 AM Patrick Plitzner
  • added test for baseUnit() method
37e7c06b 03/13/2014 06:05 PM Andreas Kohlbecker

adapting tests for #4081 (TaxonNodeServiceImpl.makeTaxonNodeASynonymOfAnotherTaxonNode() requires TAXONNAMEBASE.[UPDATE])

b1073d98 03/13/2014 01:22 PM Andreas Kohlbecker

implementing test and fixing bugs 2 regarding #4081 (TaxonNodeServiceImpl.makeTaxonNodeASynonymOfAnotherTaxonNode() requires TAXONNAMEBASE.[UPDATE])

3d03a83f 03/13/2014 01:22 PM Andreas Kohlbecker

implementing test and fixing bugs regarding #4081 (TaxonNodeServiceImpl.makeTaxonNodeASynonymOfAnotherTaxonNode() requires TAXONNAMEBASE.[UPDATE])

4f9dab69 03/04/2014 07:10 PM Andreas Müller


73473a77 03/04/2014 07:09 PM Andreas Müller


0ad365ec 02/28/2014 11:45 AM Andreas Kohlbecker

implementing #4082 (implement default permission groups)

a9164750 02/26/2014 10:45 AM Andreas Kohlbecker

CdmPermissionClasses for names and references, tests implemented, bug in CdmPermissionClass.from() fixed - #4055 (action enablement adapts to the users granted authorities)

881468a0 02/14/2014 11:45 AM Andreas Müller

fix setting of DerivedUnitFacade.type #4057 and some cleaning up

d0a75c57 02/12/2014 11:14 AM Katja Luther

cdmlib fix for deleting groups in bulkeditor #4054

bcaf1d59 02/11/2014 10:26 AM Katja Luther

move taxon to homotypical synonym fixed

9233b7ac 02/10/2014 01:11 PM Katja Luther
26023986 02/10/2014 12:26 PM Katja Luther

fix changeTaxonToSynonym with homotypic Synonyms

e477386c 02/06/2014 03:21 PM Andreas Kohlbecker

part 1 of fixing #2414 (Group updating doesn't work) by using CascaseType.REFRESH and test method extended

c423c274 02/06/2014 03:21 PM Andreas Kohlbecker

fixing and implementing test for #3782 (Security Context is not updated after editing GrantedAuthorities of a Group)

ad8d0610 02/06/2014 03:20 PM Andreas Kohlbecker

completely reworking UserServiceImplTest and also renaming it to UserAndGroupServiceImplTest

bb4429d3 02/05/2014 02:42 PM Andreas Müller

use unit in range.toString #4035

4ac1a923 02/03/2014 11:50 AM Katja Luther

fix bug in change accepted taxa to synonym with taxonrelations

5a845253 01/31/2014 04:59 PM Andreas Kohlbecker

implementing global PUBLISH role, also introducing the interface IPublishable; solves #3980 (Implement PUBLISH role into cdmlib security)

955457ed 01/28/2014 02:06 PM Andreas Kohlbecker

correcting documentation and adapting test - #3904 (EuroMed: Implement filtering rules for Distributions)

e976ec34 01/28/2014 12:35 PM Andreas Kohlbecker

corecting documentation, removing obsolete rule and adapting test accordingly - #3904 (EuroMed: Implement filtering rules for Distributions)

4f2bda54 01/28/2014 10:51 AM Andreas Kohlbecker

implementing test for #3904 (EuroMed: Implement filtering rules for Distributions) and a little bugfix

ed5a46f7 01/14/2014 07:36 PM Andreas Müller

fix taxon service search test

5a271454 01/14/2014 07:19 PM Andreas Müller

fixing 2 tests for the new classification structure

c93bf342 01/14/2014 03:47 PM Katja Luther

rootNode adaption for classification

b0485dd8 01/14/2014 01:25 PM Katja Luther

#3948 first step, if a taxon is used in a polytomous key, the taxonNode will be deleted, but the taxon will not be removed.

cc9764b1 01/06/2014 01:01 PM Katja Luther

added a test for removeTaxonBase in testChangeSynonymToRelatedTaxon()

cb03e48f 11/28/2013 11:33 AM Katja Luther

add try-catch ReferencedObjectUndeletableException to all delete calls

b3297dcf 11/27/2013 12:44 PM Katja Luther
32021aea 11/27/2013 12:34 PM Katja Luther

delete terms

7e0d1701 11/26/2013 05:12 PM Andreas Kohlbecker

finalizing test - see #3730 (Taxon.removeTaxonRelation() raises error on update)

599a680e 11/20/2013 11:23 AM Katja Luther


d6540dba 11/20/2013 10:41 AM Katja Luther

add deletion of polytomouskeynodes

00b4c9c9 11/18/2013 02:38 PM Lorna Morris

Merged from trunk to statistics branch

Add picture from clipboard (Maximum size: 40 MB)