Unit Test Results.

Designed for use with JUnit and Ant.

Class cruise.umple.compiler.PythonSnippetTranslatorTest

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
PythonSnippetTranslatorTest610000.7422026-11-18T01:31:24cruise

Tests

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