Class DatasetUpdateSummaryValueObjectTest
java.lang.Object
ubic.gemma.rest.DatasetUpdateSummaryValueObjectTest
Pure-data tests for the
lastUpdate label vocabulary — no Spring, no database.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidNothing in the hierarchy is mapped for these, so the label restates the class name.voidvoidThe map covers every event class a dataset's trail can carry today, so the inheritance path is exercised here with a subclass that does not exist yet — which is the case it is for.voidvoidvoid🛑 The regression this file exists for.voidvoidvoidvoid🛑action='C'means the dataset was loaded into Gemma.
-
Constructor Details
-
DatasetUpdateSummaryValueObjectTest
public DatasetUpdateSummaryValueObjectTest()
-
-
Method Details
-
labelsTheEventTypeThatDominatesRecentUpdates
@Test public void labelsTheEventTypeThatDominatesRecentUpdates() -
labelsADifferentialExpressionAnalysis
@Test public void labelsADifferentialExpressionAnalysis() -
failedAnalysisEventsNameTheAnalysisRatherThanTheAttentionFlagTheySet
@Test public void failedAnalysisEventsNameTheAnalysisRatherThanTheAttentionFlagTheySet()🛑 The regression this file exists for. EveryFailed*analysis event extendsNeedsAttentionEvent, NOT its success counterpart, so a superclass walk with no explicit entry labels a failed PCA run "Flagged as needing attention" — a true statement about the side effect that says nothing about what actually failed, and reads identically for all seven of them. -
aSubclassAddedLaterInheritsItsNearestMappedAncestor
@Test public void aSubclassAddedLaterInheritsItsNearestMappedAncestor()The map covers every event class a dataset's trail can carry today, so the inheritance path is exercised here with a subclass that does not exist yet — which is the case it is for. A type added later must inherit its parent's wording rather than falling off the map. -
tagEventsAreNotFlattenedIntoTheirAnnotationParent
@Test public void tagEventsAreNotFlattenedIntoTheirAnnotationParent() -
anEntirelyUnmappedTypeFallsBackToItsClassName
@Test public void anEntirelyUnmappedTypeFallsBackToItsClassName()Nothing in the hierarchy is mapped for these, so the label restates the class name. Dull, but it cannot assert something that did not happen. -
derivedLabelsKeepAcronymsAndDropTheEventSuffix
@Test public void derivedLabelsKeepAcronymsAndDropTheEventSuffix() -
theCreationFallbackSaysLoadedNotPublished
@Test public void theCreationFallbackSaysLoadedNotPublished()🛑action='C'means the dataset was loaded into Gemma. It is NOT a visibility change, and the fallback label must not imply one. -
aSummaryCarriesTheEventsDatePerformerAndTypeName
@Test public void aSummaryCarriesTheEventsDatePerformerAndTypeName() -
anEventWithNoPerformerIsSummarizedAnyway
@Test public void anEventWithNoPerformerIsSummarizedAnyway()
-