Class ObsoleteTermCorrectionServiceTest
java.lang.Object
ubic.gemma.core.ontology.ObsoleteTermCorrectionServiceTest
The correction path writes to production annotations, so what is pinned here is mostly what it must NOT do:
not touch a term a curator has to decide, not sweep up a deferred term, not write anything on a dry run, and
not lose a curator's existing supportingEvidence.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ObsoleteTermCorrectionServiceTest
public ObsoleteTermCorrectionServiceTest()
-
-
Method Details
-
setUp
@BeforeEach public void setUp() -
testDryRunWritesNothing
- Throws:
TimeoutException
-
testTermNeedingAJudgementIsNeverTouched
- Throws:
TimeoutException
-
testDeferredTermIsSkippedByABlanketRun
- Throws:
TimeoutException
-
testDeferredTermIsActedOnWhenNamedExplicitly
- Throws:
TimeoutException
-
testEverySlotIsRewrittenNotJustTheSubject
- Throws:
TimeoutException
-
testProvenanceRecordsWhatAssertedTheReplacement
- Throws:
TimeoutException
-
testExistingCuratorEvidenceSurvives
- Throws:
TimeoutException
-
testUnparseableEvidenceIsPreservedRatherThanDiscarded
- Throws:
TimeoutException
-