Class ValidateInventoryItemSaveDtoImplTest
java.lang.Object
org.xbricks.inventories.inventory.validation.ValidateInventoryItemSaveDtoImplTest
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
setup()
-
Constructor Details
-
ValidateInventoryItemSaveDtoImplTest
public ValidateInventoryItemSaveDtoImplTest()
-
-
Method Details
-
setup
public void setup() -
isValid_fail_isEmpty
public void isValid_fail_isEmpty() -
isValid_success_isOwnedByPureSolution
public void isValid_success_isOwnedByPureSolution() -
isValid_success_isNotOwnedByPureSolution
public void isValid_success_isNotOwnedByPureSolution() -
isInventoryItemTypeValid_fail_isNull
public void isInventoryItemTypeValid_fail_isNull() -
isInventoryItemTypeValid_fail_isNotInRepository
public void isInventoryItemTypeValid_fail_isNotInRepository() -
isInventoryItemTypeValid_success
public void isInventoryItemTypeValid_success() -
isManufacturerValid_fail_isNull
public void isManufacturerValid_fail_isNull() -
isManufacturerValid_fail_isNotInRepository
public void isManufacturerValid_fail_isNotInRepository() -
isManufacturerValid_success
public void isManufacturerValid_success() -
isDeliveryValid_fail_prerequisiteIsInvalid
public void isDeliveryValid_fail_prerequisiteIsInvalid() -
isDeliveryValid_fail_ownerIsPureSolutionAndIsNotSet
public void isDeliveryValid_fail_ownerIsPureSolutionAndIsNotSet() -
isDeliveryValid_fail_ownerIsPureSolutionAndIsNotInRepository
public void isDeliveryValid_fail_ownerIsPureSolutionAndIsNotInRepository() -
isDeliveryValid_success_ownerIsPureSolution
public void isDeliveryValid_success_ownerIsPureSolution() -
isDeliveryValid_success_ownerIsNotPureSolutionAndIsSet
public void isDeliveryValid_success_ownerIsNotPureSolutionAndIsSet() -
isDeliveryValid_success_ownerIsNotPureSolutionAndNotSet
public void isDeliveryValid_success_ownerIsNotPureSolutionAndNotSet() -
isDepotValid_fail_isNull
public void isDepotValid_fail_isNull() -
isDepotValid_fail_isNotInRepository
public void isDepotValid_fail_isNotInRepository() -
isDepotValid_success
public void isDepotValid_success() -
isDepotValid_fail_hasInvalidParent
public void isDepotValid_fail_hasInvalidParent() -
isDepotValid_fail_parentHasNotSameDepot
public void isDepotValid_fail_parentHasNotSameDepot() -
isDepotValid_success_parentHasSameDepot
public void isDepotValid_success_parentHasSameDepot() -
isOwnerValid_fail_isNull
public void isOwnerValid_fail_isNull() -
isOwnerValid_fail_isNotInRepository
public void isOwnerValid_fail_isNotInRepository() -
isOwnerValid_success
public void isOwnerValid_success() -
isCommentValid_fail_isTooLong
public void isCommentValid_fail_isTooLong() -
isCommentValid_success_isOptional
public void isCommentValid_success_isOptional() -
isCommentValid_success
public void isCommentValid_success() -
isInventoryNumberValid_fail_prerequisiteIsInvalid
public void isInventoryNumberValid_fail_prerequisiteIsInvalid() -
isInventoryNumberValid_fail_isNotOwnedByPureSolution
public void isInventoryNumberValid_fail_isNotOwnedByPureSolution() -
isInventoryNumberValid_success_isNotOwnedByPureSolutionAndIsNotSet
public void isInventoryNumberValid_success_isNotOwnedByPureSolutionAndIsNotSet() -
isInventoryNumberValid_success_isNotOwnedByPureSolutionAndIsEmpty
public void isInventoryNumberValid_success_isNotOwnedByPureSolutionAndIsEmpty() -
isInventoryNumberValid_fail_isOwnedByPureSolutionAndIsNull
public void isInventoryNumberValid_fail_isOwnedByPureSolutionAndIsNull() -
isInventoryNumberValid_fail_isOwnedByPureSolutionAndIsEmpty
public void isInventoryNumberValid_fail_isOwnedByPureSolutionAndIsEmpty() -
isInventoryNumberValid_fail_isOwnedByPureSolutionAndHasWrongFormat
public void isInventoryNumberValid_fail_isOwnedByPureSolutionAndHasWrongFormat() -
isInventoryNumberValid_fail_isOwnedByPureSolutionAndIsNewAndIsNotUnique
public void isInventoryNumberValid_fail_isOwnedByPureSolutionAndIsNewAndIsNotUnique() -
isInventoryNumberValid_fail_isOwnedByPureSolutionAndExistsAndIsNotUnique
public void isInventoryNumberValid_fail_isOwnedByPureSolutionAndExistsAndIsNotUnique() -
isInventoryNumberValid_success_isOwnedByPureSolutionAndExistsAndFindsItself
public void isInventoryNumberValid_success_isOwnedByPureSolutionAndExistsAndFindsItself() -
isInventoryNumberValid_success_isOwnedByPureSolutionAndExistsAndIsUnique
public void isInventoryNumberValid_success_isOwnedByPureSolutionAndExistsAndIsUnique() -
areTagsValid_success_hasNoTags
public void areTagsValid_success_hasNoTags() -
areTagsValid_fail_tagTypeIsNotSet
public void areTagsValid_fail_tagTypeIsNotSet() -
areTagsValid_fail_tagTypeIsEmpty
public void areTagsValid_fail_tagTypeIsEmpty() -
areTagsValid_success_hasValidTag
public void areTagsValid_success_hasValidTag() -
areTagsValid_fail_valueIsNotSet
public void areTagsValid_fail_valueIsNotSet() -
areTagsValid_fail_valueIsEmpty
public void areTagsValid_fail_valueIsEmpty() -
areTagsValid_fail_tagTypeNameIsNotUnique
public void areTagsValid_fail_tagTypeNameIsNotUnique()
-