Unit Test Results.

Designed for use with JUnit and Ant.

Class cruise.umple.compiler.PythonSnippetTranslatorTest

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
PythonSnippetTranslatorTest610000.7652026-12-01T12:57:16cruise

Tests

NameStatusTypeTime(s)
parametersAndLocalsGetPythonNamesSuccess0.007
generatedSettersMatchTheTemplatesSuccess0.008
modelObjectsAndEnumerationsCompareByIdentitySuccess0.007
diagnosticsHaveTheLocationAndASlotSpecificSuggestionSuccess0.008
unsupportedStringMethodsReportTheLimitationBeforeArgumentTypesSuccess0.007
nonDecimalIntegerLiteralsTakeJavasSignedValueSuccess0.006
concatenationShowsNullForNoneValuesSuccess0.008
listDefaultsAreModelDataSuccess0.006
runsConcatenationAndPrintingSuccess0.033
constantsAreQualifiedInMethodsAndBareInTheClassBodySuccess0.010
shortCircuitAndTernaryBranchesKeepTheirEffectsSuccess0.007
callsResolveToMemberMethodsAndStaticMethodsUseTheirClassSuccess0.007
runsStringMethodsWithJavaResultsSuccess0.035
modelObjectsAreCreatedAndImportedInsideTheFunctionSuccess0.012
shiftWidthSurvivesIntegralExpressionsSuccess0.011
integerExpressionStoredInAFloatIsConvertedSuccess0.007
runsSignedDivisionAndRemainderSuccess0.033
runtimeExceptionsAreRaisedSuccess0.007
printingSuccess0.007
returnAndEmptySnippetsSuccess0.007
runsElseIfWhoseConditionNeedsStatementsSuccess0.021
integerDivisionAndRemainderTruncateTowardZeroSuccess0.010
receiverChainsFollowTheModelReturnTypesSuccess0.012
incrementsInsideExpressionsKeepTheirValueSuccess0.009
anImmutableEndHasNoMutatorInPythonSuccess0.008
operatorsKeepJavaPrecedenceSuccess0.006
shiftDistancesUseThePromotedLeftOperandSuccess0.008
runsJavaLibraryCallsWithJavasResultsSuccess0.083
ifElseChainsBecomeElifSuccess0.008
castsToNumbersSuccess0.007
argumentsComeBeforeTheCallOfAnObjectThatMayBeNullSuccess0.008
loopsSuccess0.007
staticMembersThroughAnObjectUseTheirClassSuccess0.008
runsContinueWithTheUpdateOfTheLoopHeaderSuccess0.022
aSortedEndHasNoComparatorInPythonSuccess0.009
nonNullArgumentsExcludeIncompatibleReferenceOverloadsSuccess0.010
runsIncrementsInJavaOrderSuccess0.020
overloadsAreChosenByTheirArgumentsSuccess0.010
uncertainShiftWidthsAcceptOnlySharedLiteralDistancesSuccess0.015
rejectedConstructsNameTheReasonSuccess0.010
runsLoopsWithContinueAndIncrementConditionsSuccess0.024
commentsStayBeforeTheirStatementsSuccess0.007
resolutionFollowsJavaOrderSuccess0.007
failingArgumentsComeBeforeTheNullReceiverCheckSuccess0.008
localDeclarationsSuccess0.007
overloadShiftWidthsFollowDispatchOrderSuccess0.011
runsCompoundAssignmentOnOneReceiverSuccess0.019
attributesAssociationsAndStateMachinesAreAssignedThroughTheirFieldsSuccess0.011
enumerationsBelongToTheirOwnerSuccess0.009
generatedMethodsFollowThePythonApiSuccess0.009
literalsSuccess0.007
unknownIntegralWidthsRejectUnsafeShiftsWithoutLosingDivisionSuccess0.009
enhancedForGoesThroughModelCollectionsSuccess0.007
inheritedMembersAndConstantsSuccess0.007
runsShortCircuitsAndTernariesSuccess0.022
compoundAssignmentEvaluatesItsTargetOnceSuccess0.007
generatedQueriesMatchTheTemplatesSuccess0.009
stringConcatenationConvertsTheOtherOperandSuccess0.007
runsAssignmentToAnObjectFirstEvaluatingTheObjectSuccess0.026
staticCodeUsesClassesAndRejectsTheObjectSuccess0.009
derivedAndDefaultExpressionsSuccess0.008
Properties »