Class BusinessKeyTest
java.lang.Object
ubic.gemma.persistence.util.BusinessKeyTest
Pure unit tests for the validator portion of
BusinessKey added during the Phase 3
persister retirement. The matches(...) and find(Session, ...) methods require
a live JPA Criteria session and are exercised by integration tests against gemdtest in a
separate pass.- Author:
- phase3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
BusinessKeyTest
public BusinessKeyTest()
-
-
Method Details
-
checkValidKeyChromosome_happyPath
@Test public void checkValidKeyChromosome_happyPath() -
checkValidKeyChromosome_blankNameRejected
@Test public void checkValidKeyChromosome_blankNameRejected() -
checkKeyQuantitationType_happyPath
@Test public void checkKeyQuantitationType_happyPath() -
checkKeyQuantitationType_blankNameRejected
@Test public void checkKeyQuantitationType_blankNameRejected() -
checkKeyQuantitationType_nullRejected
@Test public void checkKeyQuantitationType_nullRejected() -
checkKeyBioAssayDimension_happyPath
@Test public void checkKeyBioAssayDimension_happyPath() -
checkKeyBioAssayDimension_emptyRejected
@Test public void checkKeyBioAssayDimension_emptyRejected() -
checkKeyBioAssayDimension_transientBioAssayRejected
@Test public void checkKeyBioAssayDimension_transientBioAssayRejected()
-