Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
639 0 0 10 98.4% 2.160 s

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
io.jawk 629 0 0 10 98.4% 2.157 s
io.jawk.jrt 10 0 0 0 100% 0.003 s

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

io.jawk

- Class Tests Errors Failures Skipped Success Rate Time
JRTConsumeInputTest 5 0 0 0 100% 0.001 s
PosixConformanceTest 97 0 0 8 91.8% 0.517 s
ExtensionTest 8 0 0 0 100% 0.004 s
ListInputSourceTest 4 0 0 0 100% 0 s
AwkParserTest 22 0 0 0 100% 0.143 s
RegexpTupleAndCachingTest 10 0 0 0 100% 0.020 s
BeginFileEndFileTest 35 0 0 0 100% 0.038 s
StreamInputSourceTest 15 0 0 0 100% 0.044 s
BSDRandomTest 1 0 0 0 100% 0 s
AwkTest 130 0 0 0 100% 0.928 s
AwkTupleOptimizationTest 34 0 0 0 100% 0.009 s
DynamicFieldTest 8 0 0 0 100% 0.005 s
StrNumSemanticsTest 19 0 0 0 100% 0.024 s
AssocArrayTest 25 0 0 0 100% 0.009 s
JRTTest 19 0 0 2 89.5% 0.016 s
AwkEvalTest 34 0 0 0 100% 0.034 s
InputSourceTest 31 0 0 0 100% 0.025 s
CliOptionTest 32 0 0 0 100% 0.109 s
ScriptEngineTest 2 0 0 0 100% 0.016 s
AvailableExtensionsTest 5 0 0 0 100% 0.001 s
GawkExtensionTest 91 0 0 0 100% 0.214 s
ConditionPairTest 2 0 0 0 100% 0 s

io.jawk.jrt

- Class Tests Errors Failures Skipped Success Rate Time
PrepareReplacementTest 2 0 0 0 100% 0 s
JRTComparisonNumberTest 8 0 0 0 100% 0.003 s

Test Cases

[Summary] [Package List] [Test Cases]

JRTConsumeInputTest

testArgcOnlyScriptCanForceStdinTraversal 0 s
testOperandArgcAssignmentAffectsTraversalWithoutArgvOffset 0 s
testVariableAssignmentBetweenFilesDoesNotAdvanceNR 0 s
testOversizedOperandArgcAssignmentDoesNotOverflowTraversal 0 s
testLargeOperandArgcAssignmentStillTraversesBoundedArgvView 0 s

PosixConformanceTest

posix42ExponentiationRightAssociative 0.091 s
posix122BackslashNewlineIgnored 0.006 s
posix102SrandRepeatsSequence 0.008 s
posix89ExitSetsStatus 0.008 s
posix410bPrintInputFieldsVerbatim 0.011 s
posix15EndRunsAfterLastRecord 0.004 s
posix16EmptyProgramExitsZero 0 s
- Empty programs are not yet supported by the CLI -
posix81ElseBindsNearestIf 0.003 s
posix93PrintfPercentCUsesFirstCharacter 0.006 s
posix36AssigningToExistingFieldRecomputesDollarZero 0.005 s
posix22DashVAssignsBeforeBegin 0.002 s
posix14BeginRunsBeforeFirstRecord 0.015 s
posix152NewlineStatementTerminator 0.004 s
posix111MultidimensionalIndexesUseSubsep 0.006 s
posix97CloseReturnsZeroOnSuccess 0.002 s
posix61RegexLiteralMatchesDollarZero 0.003 s
posix106SubstrFunction 0.002 s
posix112InOperatorDoesNotCreateElements 0.003 s
posix49StringConversionUsesConvfmt 0.003 s
posix991PipelineWritesDataToFile 0.015 s
posix13MultipleBeginEndExecuteInOrder 0.002 s
posix44CompoundAssignmentsModifyOnce 0.004 s
posix63StringRegexDoubleEscapes 0 s
posix33FsAsEre 0 s
- Jawk does not yet normalize whitespace when FS is an ERE -
posix17PatternRangesInclusiveAndRepeat 0.004 s
posix62RegexEscapeSlash 0.002 s
posix98FflushReturnsZero 0 s
- fflush() is not available in Jawk -
posix96AppendRedirection 0.003 s
posix95RedirectionTruncatesAndReuses 0.003 s
posix53MatchSetsRstartAndRlength 0.003 s
posix32FsSingleCharacterSplitsEachOccurrence 0.003 s
posix310DynamicFieldSelection 0.003 s
posix151FunctionCallWithoutWhitespace 0.004 s
posix1010SplitDeletesExistingElements 0 s
posix82WhileLoop 0.002 s
posix54OfsAndOrsAffectPrint 0.002 s
posix132UnreadableFileProducesDiagnostic 0 s
- Jawk throws FileNotFoundException instead of reporting a diagnostic -
posix35RsEmptyParagraphMode 0 s
- RS="" paragraph mode is not implemented -
posix121HashIntroducesComment 0 s
posix65RegexCannotMatchRsChar 0.002 s
posix34RsDefaultExcludesNewline 0.002 s
posix101IntTruncatesTowardZero 0.002 s
posix64FsRegexRunsOfDelimiters 0.003 s
posix113DeleteArrayClearsAll 0.002 s
posix91PrintDefaultIsDollarZero 0.002 s
posix1011SprintfFormatting 0.002 s
posix142LocaleNumericInput 0 s
- Locale-aware numeric parsing is not available -
posix99PipelineWriteClose 0.012 s
posix37AssigningToDollarZeroResetsFields 0.001 s
posix23AssignmentsOccurBeforeFollowingFile 0.006 s
posix141DotRecognizedAsDecimalPoint 0.002 s
posix39AssigningFutureFieldExpandsRecord 0.005 s
posix31DefaultFsSkipsBlanks 0 s
posix56NoOperandsReadsStdinWithDashFilename 0.010 s
posix52FilenameUnsetInBegin 0.005 s
posix123OctalEscapesInString 0.003 s
posix48NumericVsStringComparison 0 s
posix46LogicalOperatorsShortCircuit 0 s
posix410aPrintStringConstantsVerbatim 0.003 s
posix85ForInDeleteAll 0.002 s
posix47ConditionalOperatorRightAssociative 0.003 s
posix104LengthOfArray 0.004 s
posix24DashFConcatenatesProgramFiles 0.005 s
posix72RangePatternRestarts 0.003 s
posix87NextSkipsCurrentRecord 0.003 s
posix43ModuloUsesFmod 0.006 s
posix109SubAndGsub 0.002 s
posix411DivisionOperator 0.002 s
posix1015CommandGetlineAndSystem 0.014 s
posix12MissingPatternMatchesAllRecords 0.004 s
posix105IndexFunction 0.005 s
posix131ExitStatusZeroOnSuccess 0.001 s
posix107ToLowerUpper 0.002 s
posix51NrAndFnrCounts 0.004 s
posix410cOfmtNotAppliedToStrings 0 s
posix410PrintUsesOfmt 0.006 s
posix45PrePostIncrementDecrement 0.002 s
posix21DashFDefinesFs 0.005 s
posix71ExpressionPatternTruthiness 0.004 s
posix86BreakAndContinue 0.001 s
posix26DashVSetsRegexFs 0 s
- Jawk does not treat -v FS assignments as regular expressions yet -
posix51FnrCountsGetlineRecordsOnStandardInput 0.002 s
posix1012CloseAndGetlineReuse 0.002 s
posix108MatchFunction 0.002 s
posix41ConcatenationPrecedence 0.002 s
posix94PrintfStarWidthPrecision 0 s
- Dynamic width/precision in printf requires printf4j support -
posix92PrintfBasicConversions 0.002 s
posix51FnrCountsRecordsOnStandardInput 0.001 s
posix84ForLoopClassic 0.002 s
posix88NextfileSkipsRestOfCurrentFile 0.003 s
posix38ReferencingNonexistentFieldIsUninitialized 0.002 s
posix11DefaultActionPrintsRecord 0.002 s
posix55DeletingArgvPreventsOperandProcessing 0.002 s
posix1013GetlineSetsDollarZero 0.002 s
posix83DoWhileLoopExecutesAtLeastOnce 0.002 s
posix1014GetlineVarFromCurrentInput 0.005 s
posix103LengthOnDollarZeroAndString 0 s

PrepareReplacementTest

testPrepareReplacementWithBackreferences 0 s
testPrepareReplacement 0 s

ExtensionTest

testAnnotatedAssocArrayMustAcceptMap 0 s
testVarArgAssocArraySemanticValidation 0 s
testAnnotatedAssocArrayMustNotUseConcreteMapImplementation 0 s
testVarArgAssocArrayInvocation 0 s
testVarArgAssocArrayRuntimeValidation 0 s
testExtension 0 s
testIndirectExtension 0.004 s
testAnnotatedExtensionArgumentValidation 0 s

ListInputSourceTest

testGetFieldsReturnsSnapshotOfCurrentRow 0 s
testIsFromFilenameListAlwaysFalse 0 s
testNextRecordReturnsExpectedSequence 0 s
testGetRecordUsesConfiguredSeparator 0 s

AwkParserTest

testPrintMembershipAfterParenthesizedGroup 0.006 s
testPow 0 s
testGron 0.061 s
testArraysOfArraysCanBeDisabled 0.003 s
testNamespaces 0.012 s
testRegExpConstant 0.005 s
testTernaryIdentifiersAdjacentToColon 0.003 s
testOperatorPrecedence 0.002 s
testMultiLineStatement 0.004 s
testPrintParenthesizedExpressionList 0.006 s
testAtSyntaxCanBeDisabled 0.002 s
testPowAssignment 0.001 s
testCommaGroupOnlyValidBeforeIn 0.008 s
testIncludeDirective 0.007 s
testUnsupportedAtDirective 0 s
testTernaryAfterPrintParentheses 0.001 s
testNestedTernaryExpression 0 s
testStringParsing 0.004 s
testTernaryExpression 0 s
testIncludeCanonicalizesSymlinkAliases 0.001 s
testIndirectFunctionCalls 0.008 s
testUnaryPlus 0 s

RegexpTupleAndCachingTest

userFunctionRegexpArgumentReceivesBooleanMatchValue 0.002 s
threeArgumentGensubUsesCurrentRecordAsTarget 0 s
gensubRegexpArgumentRemainsRegexpConstant 0.001 s
literalRegexpEmitsPrecompiledPattern 0.001 s
serializedEvalTuplesPreserveSetNumGlobalsOptimization 0.005 s
serializedTuplesPreservePrecompiledPattern 0.006 s
standardRegexpConstantExpressionMatchesCurrentRecord 0.001 s
variableRegexpCompilesAtRuntime 0.002 s
builtinRegexpArgumentsRemainRegexpConstants 0 s
regexpRightHandSideOfMatchOperatorRemainsRegexp 0 s

BeginFileEndFileTest

errnoIsClearedWhenMainInputReadsStandardInput 0 s
nextfileWorksFromUserDefinedFunction 0.001 s
nextfileInBeginFileRunsEndFileForReadableFile 0.001 s
errnoIsClearedWhenMainInputOpensAFile 0.001 s
nextIsRejectedInsideEndFile 0.001 s
nextfileIsRejectedInsideEndFile 0.002 s
exitInsideBeginFileRunsEndRules 0 s
endFileRunsForEmptyFiles 0.001 s
nextfileInEndViaFunctionIsARuntimeError 0 s
redirectedGetlineIsAllowedInsideBeginFile 0.002 s
regexpBracketExpressionMayContainSlash 0.002 s
regexpBracketExpressionMayContainSlashAfterCharacterClass 0 s
nextfileSkipsRestOfCurrentFile 0.001 s
nextfileIsRejectedInsideBeginAndEnd 0.001 s
nextfileWithoutBeginFileOrEndFileRules 0.001 s
argindTracksTheArgvIndexOfTheCurrentFile 0.002 s
getlineInActionStillCrossesFilesWithoutHooks 0.001 s
beginFileIsUsableAsVariableInPosixMode 0.001 s
beginFileIsNotSpecialInPosixMode 0 s
beginFileAndEndFileFireForStandardInput 0 s
nextIsRejectedInsideBeginFile 0.001 s
argindIsNotUpdatedAtFileBoundariesInPosixMode 0.003 s
errnoAllowsSkippingUnreadableFile 0 s
nonRedirectedGetlineIsRejectedInsideBeginFile 0 s
nonRedirectedGetlineIsRejectedInsideEndFile 0.001 s
unreadableFileIsFatalWhenBeginFileDoesNotSkipIt 0 s
nonRedirectedGetlineIsFatalInsideEndFileViaFunction 0.001 s
errnoAndArgindAreOrdinaryVariablesInPosixMode 0.001 s
nonRedirectedGetlineIsFatalInsideBeginFileViaFunction 0.001 s
errnoIsAnAssignableSpecialVariable 0.001 s
assignmentOperandsDoNotConsumeRecordsInPerFileLoop 0.001 s
getlineInActionStopsAtFileBoundaryWhenHooksArePresent 0.001 s
errnoIsAssignableThroughDashVInPosixMode 0.001 s
beginFileSeesFilenameAndClearedRecord 0.001 s
beginFileAndEndFileFireOncePerFile 0.002 s

JRTComparisonNumberTest

testIsParseableNumberAcceptsDecimalForms 0 s
testIsParseableNumberUsesLocaleDecimalSeparator 0 s
testIsParseableNumberRejectsInvalidDecimalForms 0 s
testPlainStringForcesStringComparison 0 s
testStrNumComparesNumericallyAgainstNumber 0 s
testUninitializedEqualsNumericZeroStrNum 0.003 s
testNonNumericStrNumFallsBackToStringComparison 0 s
testIsParseableNumberRejectsHexadecimal 0 s

StreamInputSourceTest

testExpressionEvalThroughStreamInputSource 0 s
testMultipleFilesWithFnrReset 0 s
testStdinReadsThroughStreamInputSource 0 s
testNrCountsRecordsFromStdin 0 s
testFsSplittingWorksWithStreamInputSource 0 s
testEndCanReadLastRecordAfterFinalEofProbe 0.005 s
testEmptyStdinRunsBeginAndEnd 0.001 s
testGetlineFromStdin 0.003 s
testMissingArgvFilePropagatesFileNotFoundException 0.002 s
testRsChangeAppliedToStreamInputSource 0 s
testVariableAssignmentInArgv 0.004 s
testFileInputThroughArgv 0.004 s
testVariableAssignmentBetweenFilesDoesNotConsumeARecord 0 s
testFileInputThroughInjectedIntegerKeyArgvMap 0.006 s
testFileInputThroughInjectedLongKeyArgvMap 0.005 s

BSDRandomTest

testDeterministicSequence 0 s

AwkTest

testBinaryExpressionLeftAssociativity 0.002 s
testAtan2ArgumentsLeftAssociativity 0.001 s
testSubsepChangeAfterIndexCreation 0.002 s
testArraysOfArraysMembershipDeleteAndIteration 0.003 s
testSpecialScalarRejectsArrayOnlyContexts 0.005 s
publicRunSuppressesZeroExitCode 0.001 s
testArraysOfArraysReportLineNumberWhenArrayUsedAsScalarSubscript 0 s
testEvalFailsStatement 0.002 s
testChainedComparisonLeftAssociativity 0 s
testUntypedScalarParameterKeepsCallTimeValue 0 s
testArrayParameterDefersUntypedActualUntilArrayUse 0 s
testArraysOfArraysSupportsSplitIntoSubarray 0 s
executePersistingGlobalsIgnoresRuntimeArgumentAssignmentsWithCustomInput 0.002 s
testTwoRules 0.005 s
testChainedAdditionsAndSubtractionsLeftAssociativity 0.001 s
testMultiDimensionalArrayWithSubsep 0.002 s
sandboxSkipsArgcAndArgvOffsetsWhenUnreferenced 0.003 s
testUninitializedVarible2 0.005 s
zeroLengthRegexRecordSeparatorConsumesWholeInput 0 s
testDontPanic 0.001 s
testArraysOfArraysSupportsNestedIncrement 0.001 s
testArraysOfArraysReportLineNumberWhenScalarUsedAsArray 0.001 s
testChainedLogicalAndLeftAssociativity 0 s
executeWithSinkCapturesStructuredPrintArguments 0.001 s
testConcatenationLeftAssociativity 0 s
testEvalNumericExpression 0.001 s
sandboxRejectsSystemFunction 0.001 s
testUninitializedVarible 0.003 s
testNot 0.002 s
testSubArray 0.002 s
executePersistingGlobalsRejectedBaselineFunctionNameDoesNotNormalizeMapValue 0.002 s
testScalarParameterRejectsCallerArrayTransition 0.002 s
testDiscardedArrayExpressionRejectsScalarContext 0.001 s
executePersistingGlobalsPersistsSeededCompiledAndUncompiledUserGlobals 0.001 s
testPrintComparison 0.004 s
testMailListLiList 0.001 s
testArraysOfArraysInDoesNotAutovivifyMissingSubarray 0.002 s
testExit 0.005 s
systemStderrGoesToExplicitErrorStream 0.004 s
loadSerializedProgram 0.026 s
executeToOutputStream 0.001 s
executeDefaultOrsIsNewline 0.001 s
testLengthParameterObservesCallerArrayTransition 0.002 s
rejectsInvalidVariableName 0.001 s
testArraysOfArraysHandlesNestedLengthIterationAndMutation 0.003 s
testArraysOfArraysRejectArrayAsScalarSubscript 0 s
testAssignedBlankRejectsMembershipArrayContext 0.001 s
testPrintfC 0 s
compileFromReader 0.001 s
compileFromString 0.001 s
testSubVariable 0 s
sandboxRejectsArgcAssignment 0 s
testDavideBrini 0.003 s
testArraysOfArraysPostfixOperatorsUseNumericOldValue 0.001 s
testAssignmentRightToLeft 0 s
testArraysOfArraysSupportsSubOnNestedElement 0 s
compileTuplesRequiresFilename 0 s
sandboxRejectsOutputRedirectionDuringCompile 0 s
testComparisonArgumentsLeftAssociativity 0 s
executeToAppendable 0 s
testSubReplaceWithMatchReference 0.004 s
testComplexExpressionLeftAssociativity 0 s
localeAffectsCapturedOutput 0.003 s
testElementArgumentTrackingStaysLinear 0.668 s
compileRejectsEmptyParenthesizedPrintStatements 0.001 s
testReinsertedUntypedSubarrayParameterRemainsDetached 0.001 s
testArraysOfArraysReadAutovivifiesMissingParentSubarray 0.002 s
systemStderrMergesIntoOutputByDefault 0.002 s
executePersistingGlobalsRetainsGlobalsAcrossRepeatedRunsOfSameProgram 0.001 s
persistentMemorySnapshotRestoresGlobalsIntoAnotherAvm 0.003 s
executePersistingGlobalsReappliesBaselineVariablesBeforeBegin 0.002 s
existingExecuteDoesNotPersistGlobals 0 s
compileRejectsPrintfWithoutArguments 0.001 s
testArraysOfArraysAssignmentAndLookup 0.001 s
crlfInputFileProducesCleanRecords 0.002 s
testArraysOfArraysSupportsGetlineIntoSubarray 0.001 s
testArrayParameterRejectsAlreadyScalarActualAtRuntime 0.001 s
test1 0.002 s
testEmptyPattern 0.001 s
testGetlineDefaultVariable 0.001 s
testArrayParameterDefersUntypedActualUntilScalarUse 0.001 s
testArraysOfArraysSupportsDeletingPassedSubarrays 0.002 s
perExecutionSinkOverridesDefault 0 s
testAssignedBlankRejectsForInArrayContext 0.002 s
awkTestSupportCanExecuteScriptFromPath 0.001 s
testSubDollarZero 0.004 s
sandboxRejectsRedirectionAtRuntime 0.001 s
testPrintParenthesizedExpressionConcatenation 0.003 s
testArraysOfArraysRejectScalarAsArray 0 s
sandboxAllowsReadingArgc 0.001 s
sandboxAllowsReadingArgv 0.001 s
captureCollectsOutput 0.001 s
testUntypedScalarParameterScalarizesUnchangedCaller 0.001 s
testArraysOfArraysForInDoesNotAutovivifyMissingSubarray 0 s
testChainedLogicalOrLeftAssociativity 0.001 s
testArrayStringKey2 0.002 s
executePersistingGlobalsAcceptsListSeedForArrayGlobal 0.001 s
testArrayStringKey 0.003 s
testSubDollarReference 0.001 s
avmCanReuseSameRuntimeAcrossProgramRunsWithPerExecutionOutput 0.001 s
sandboxRejectsSourceInclusionDuringCompile 0 s
testDontPanicAdvice 0.002 s
executePersistingGlobalsImportsGlobalsFromPreviousExecute 0.001 s
clearPersistentGlobalsRemovesOnlyPersistentUserGlobals 0.001 s
testEvalNF 0 s
testIncDec 0.005 s
testChainedExponentiationRightAssociativity 0 s
executePersistingGlobalsDoesNotPersistBuiltInsAndKeepsArraysOnlyForGlobals 0.003 s
testChainedMultiplicationsAndDivisionsLeftAssociativity 0 s
executePersistingGlobalsRejectedOverrideFunctionNameDoesNotNormalizeMapValue 0.002 s
testChainedStringConcatenationLeftAssociativity 0 s
testArraysOfArraysSupportsFunctionArrayParameters 0 s
compileTuplesViaCLI 0.007 s
testRanges 0.011 s
testPrintParenthesizedExpressionOperators 0.006 s
testSubstr 0.001 s
testUntypedScalarParameterRejectsChangedSubarrayElement 0.001 s
testFunctionArgumentsLeftAssociativity 0.001 s
testFunctionResultCannotOverwriteSubarray 0.001 s
testUntypedScalarParameterPreservesChangedArrayElement 0.001 s
testEvalFieldExtraction 0.001 s
cliEnablesSandboxMode 0 s
testArraysOfArraysSupportsMixedCommaSubscripts 0 s
testSpecialScalarRejectsArrayElementAssignment 0.001 s
appendableSinkHandlesSplitMultiByteUtf8 0 s
sandboxRejectsInputRedirectionDuringCompile 0.001 s
testDeletedUntypedSubarrayParameterRemainsDetached 0.001 s
executePersistingGlobalsSharesUserGlobalsAcrossPrograms 0.001 s
executePersistingGlobalsPersistsMutationsBeforeExitAndIoFailure 0.002 s
invokeWithExplicitExtensions 0.002 s

AwkTupleOptimizationTest

foldsLabeledTernaryFieldAccessesInFullScript 0 s
keepsArgcSynchronizedForPreIncrement 0 s
retainsRecursiveFunctionBodies 0 s
foldsLabeledTernaryLiteralBranchesInFullScript 0 s
preservesRuntimeFailureForFoldedNegativeFieldInScriptBranch 0 s
removesTrailingPlaceholderNop 0 s
optimizeSkipsPostProcessingWhenPointersPersist 0 s
retargetsBranchesAwayFromPlaceholderTuples 0 s
foldsScalarAssignmentPopIntoNonPushingAssignment 0 s
emitsArgcOffsetButNotArgvOffsetWhenUnreferenced 0 s
doesNotFoldNumericConcatenation 0 s
emitsArgcAndArgvOffsetsWhenArgvReferenced 0 s
keepsScalarAssignmentPushWhenResultIsUsed 0 s
removesGotoImmediatelyBeforeFunctionReturn 0 s
rejectsNegativeLiteralFieldIndex 0 s
compilesLiteralInputFieldWithoutPush 0 s
foldsLiteralComparison 0 s
keepsConcatRunWhenFirstConcatIsBranchTarget 0 s
compilesGetlineIntoVariableWithDedicatedTargetOpcode 0 s
foldsChainedLiteralStringConcatenation 0 s
compilesDollarZeroWithConstOpcode 0 s
foldsLiteralUnaryArithmetic 0 s
removesInstructionsAfterExit 0 s
optimizesChainedStringConcatenationAsSingleMultiConcat 0 s
foldsNestedLiteralArithmetic 0 s
skipsOptimizationWhenDisabled 0 s
foldsLiteralStringConcatenation 0 s
keepsParserConcatenationBinaryWhenOptimizationDisabled 0 s
keepsAssignmentPopWhenPopIsBranchTarget 0 s
emitsArgcOffsetWhenArgcReferencedOnly 0 s
compilesExpressionBasedFieldWithConstOpcode 0.002 s
foldsLiteralBinaryArithmetic 0.001 s
consumesFileOperandsWithoutArgvOffset 0.002 s
removesUnconditionalRuleWrapperAndLeadingGoto 0.001 s

DynamicFieldTest

testNumericStringFieldIndex 0 s
testNegativeFieldIndex 0 s
testEmptyStringFieldIndex 0 s
testFloatStringFieldIndex 0 s
testFloatVariableFieldIndex 0 s
testExponentStringFieldIndex 0 s
testUninitializedVariableFieldIndex 0.003 s
testNonNumericFieldIndex 0 s

StrNumSemanticsTest

testStdinExtensionInputUsesStrNumAttribute 0 s
testSplitCreatesNumericStringElements 0 s
testAssignedDollarZeroPreservesAssignedAttribute 0 s
testNumericOperationProducesNumber 0 s
testInputComparisonsUseStrNumAttribute 0.004 s
testStringLiteralsArePlainStrings 0 s
testArgvValuesAreInputDerived 0.002 s
testCommandLineVariableAssignmentsAreInputDerived 0 s
testAssigningDollarZeroCreatesNumericStringFields 0 s
testFieldAssignmentPreservesAssignedAttribute 0.003 s
testAssignedDollarZeroRemainsPlainString 0.002 s
testFilelistVariableAssignmentsAreInputDerived 0.001 s
testAssignmentPreservesStrNumAttribute 0 s
testNumericStrNumTruthinessUsesNumericValue 0 s
testUninitializedEqualsNumericZeroStrNum 0.001 s
testArithmeticKeepsNumericPrefixConversion 0.003 s
testStrNumComparisonUsesRuntimeLocale 0.001 s
testProgrammaticStringPreassignmentIsInputDerived 0.001 s
testStringOperationProducesPlainString 0.001 s

AssocArrayTest

testInjectMapVariableMutatesOriginalMap 0 s
testRemoveNumericStringKey 0 s
testMissingInjectedMapElementDoesNotReturnRawNull 0 s
testInjectLinkedListVariableUsesZeroBasedIndexes 0 s
testInjectAssocArrayIterateForIn 0 s
testDeleteArrayClearsInjectedMap 0 s
testInjectListVariableUsesZeroBasedIndexes 0 s
testInOperatorWithNullKey 0 s
testIgnoredVariableAssignmentDoesNotNormalizeMapValue 0.006 s
testUninitializedIndexUsesEmptyString 0 s
testInOperatorWithNumericAndStringKeys 0 s
testRemoveNumericKeyFromString 0 s
testRemoveMissingKey 0 s
testInjectAssocArrayVariable 0 s
testInjectImmutableMapOfListVariableThrowsClearException 0 s
testInjectScalarIntoArrayVariableThrows 0 s
testInjectMapOfListVariable 0 s
testInjectListOfMapVariable 0 s
testDeleteArrayKeepsInjectedMapBoundForLaterWrites 0 s
testRejectedFunctionNameAssignmentDoesNotNormalizeMapValue 0.001 s
testInjectMapVariableDoesNotNormalizeKeys 0 s
testCreateAssocArrayFromListUsesZeroBasedIndexes 0 s
testNormalizeMapValueKeepsMapAndConvertsNestedList 0.001 s
testSplitMutatesInjectedMapDirectly 0 s
testInjectMapVariable 0.001 s

JRTTest

testPrintfSpecialCharacters 0 s
testInputDerivedDollarZeroScalarIsCachedUntilRecordChanges 0 s
testSpawnProcessMore 0 s
- got: <false>, expected: is <true> -
testRegexFsKeepsLeadingAndTrailingSeparators 0 s
testSpawnProcessCat 0.004 s
testToDouble 0 s
testSystemPipeWindows 0 s
- got: <false>, expected: is <true> -
testCompare2PlainStrings 0 s
testCompare2MixedNumberAndString 0 s
testSplitSetsFieldZero 0 s
testSystemPipe 0.008 s
testCompare2NumericOperands 0 s
testCompare2FallsBackToStringComparison 0 s
testSplitRegexWhitespace 0 s
testCompare2Uninitialized 0.001 s
testFilenamePreservesScalarAttribute 0 s
testGetAwkStringEntryReadsOptionalSettings 0 s
testToLong 0.001 s
testSplitUsesLongIndexesForPlainMap 0 s

AwkEvalTest

testDirectAvmEvalLeavesBoundInputSourceOpenUntilClose 0 s
testCompileExpressionTernaryFoldsLabeledBinaryLiteralBranch 0 s
testPrepareForEvalClosesPreviousCloseableInputSourceWhenRebinding 0 s
testEvalHonorsSettingsChangesBetweenCalls 0 s
testPrepareForEvalCanAdvanceAcrossRecordsOnSameSource 0 s
testCompileExpressionNegativeFieldBranchStillFailsOnlyAtRuntime 0 s
testReusedAvmEvalUsesPreparedRuntimeSetup 0.001 s
testCompileExpressionTernaryExpressionStartsWithoutGoto 0.001 s
testCompileExpressionOmitsSetNumGlobalsForFieldOnlyExpression 0 s
testCompileExpressionStatefulGlobalExpressionStartsWithoutGoto 0.001 s
testStatefulEvalUsesFreshAvmPerInvocation 0 s
testVariableOverridesDoNotLeakAcrossReusedAvmEvalCalls 0 s
testPrepareEvalRejectsDifferentStatefulTupleLayoutsWithoutReprepare 0.003 s
testEvalSourceAliasesStructuredInputEvaluation 0 s
testPrepareEvalClosesSourceWhenPreparationThrows 0.001 s
testEvalStringInputRepresentsSingleRecord 0.001 s
testPrepareEvalIntentionallyCarriesJrtStateAcrossExpressions 0.001 s
testInterpretClosesPreviousCloseableInputSourceWhenRebinding 0.001 s
testPrepareEvalRejectsExhaustedSource 0.002 s
testBeforeStartHooksAreSafeInFrameOptimizedEvalStreams 0.004 s
testAwkEvalClosesStructuredInputSourceAfterOneShotEval 0.001 s
testOptimizeRemainsIdempotentForEvalTuples 0 s
testFieldOnlyEvalUsesFreshAvmPerInvocation 0.002 s
testPreparedAvmCanCloseBoundInputSource 0 s
testCompileExpressionTernaryFoldsAllLiteralFieldAccessesIncludingLabeledEntries 0 s
testPrepareEvalIntentionallyCarriesStateAcrossRepeatedTupleRuns 0 s
testReusedAvmPreparesStatefulExecutionOnEachRun 0.003 s
testReusableEvalResetsStructuredInputStateBetweenRuns 0.001 s
testCompileExpressionUnoptimizedTernaryExpressionResolvesBranchTargets 0 s
testCompileExpressionSimpleFieldExpressionFoldsToConstFieldAccess 0.001 s
testPrepareEvalReusesOneStringRecordAcrossSeveralExpressions 0 s
testPrepareEvalReusesOneStructuredRecordAcrossSeveralExpressions 0 s
testReusableEvalResetsStringInputStateBetweenRuns 0.001 s
testCompileExpressionKeepsSetNumGlobalsWhenGlobalMetadataIsNeeded 0.003 s

InputSourceTest

testTextOnlyInputSourceUsesFsActiveWhenRecordWasRead 0 s
testFieldsOnlyInputSourceSupportsBareRegexpRules 0.003 s
testGetlineIntoVariableMaterializesCurrentRecordBeforeAdvance 0 s
testBasicFieldAccess 0 s
testGetlineSynthesizesDollarZeroWithSanitizedNullFields 0.002 s
testEvalWithInputSourceNoInput 0.001 s
testDynamicFieldAccessAvoidsRecordTextLookup 0.001 s
testFieldsOnlyInputSourceRegexpUsesCurrentDollarZeroAfterFieldMutation 0.001 s
testFieldModificationRebuildsDollarZero 0 s
testEvalWithTextOnlyInputSourceAndFieldParsing 0.001 s
testNrCountsRecordsFromInputSource 0 s
testOfsUsedWhenDollarZeroIsRebuilt 0.002 s
testEvalWithInputSourcePreSplitFields 0 s
testFieldsOnlyInputSourceSupportsFieldAccessWithoutRecordText 0.003 s
testDollarZeroAccessAvoidsFieldLookup 0 s
testDeprecatedGetRecordCompatibilityStillWorks 0 s
testRedirectedGetlineDoesNotReuseInputSourceFields 0.001 s
testNfModificationTruncatesRecord 0.001 s
testFnrFollowsIsFromFilenameListContract 0 s
testGetlineConsumesNextRecord 0.001 s
testFileListVariableAssignmentsAreIgnoredWithInputSource 0.003 s
testDollarZeroUsesInputSourceRecord 0 s
testEvalWithInputSourceFieldAccess 0 s
testFieldOnlyAccessAvoidsRecordTextLookup 0 s
testEvalWithPrecompiledTuplesAndInputSource 0 s
testEmptyInputSourceRunsBeginAndEndOnly 0.001 s
testNfReflectsInputRowSize 0.001 s
testFieldsOnlyInputSourceSynthesizesDollarZeroUsingLiteralFs 0 s
testGetlineUsesPreSplitFieldsWhenProvided 0.002 s
testEvalWithInputSourceAndSettingsFieldSeparator 0 s
testNullFieldsFallsBackToFsSplitting 0.001 s

CliOptionTest

doubleDashEndsOptionProcessing 0.004 s
profileOptionRecordsFunctionThatExitsWithoutReturning 0.010 s
doubleDashPassesRemainingArgumentsToArgv 0.002 s
persistOptionPersistsAssociativeArraysAcrossCliRuns 0.004 s
posixOptionStillAllowsClassicMultidimensionalSubscripts 0.001 s
persistOptionPersistsUserGlobalsAcrossCliRuns 0.004 s
shortNoOptimizeOptionDisablesOptimization 0 s
posixLoadOptionWithoutFilenameReportsMissingArgument 0.001 s
profileOptionPrintsReportToStderr 0.004 s
posixOptionRejectsNestedArrays 0.001 s
persistOptionWithoutFilenameReportsMissingArgument 0.001 s
persistOptionExcludesRuntimeMetaTables 0.009 s
singleDashOperandWorksWithBeginFileRules 0.003 s
singleDashBeforeScriptIsTreatedAsScript 0 s
unreadableFileAfterStdinOperandDoesNotCloseCallerInput 0 s
helpOutputDoesNotAdvertiseUnsupportedOutputOption 0.003 s
profileOptionWithEmptyFilenameIsRejected 0 s
posixOptionRejectsPrecompiledProgramsInEitherOrder 0.012 s
persistOptionWithWrongSerializedTypeThrowsFriendlyError 0.003 s
unknownOptionAfterScriptFileIsPassedToArgv 0 s
persistOptionOverridesPersistentMemoryEnvironmentVariable 0.005 s
loadOptionWithWrongSerializedTypeThrowsFriendlyError 0.002 s
profileOptionWriteFailureIsReportedAsIoFailure 0.004 s
longNoOptimizeOptionDisablesOptimization 0 s
singleDashOperandMixesWithRegularFiles 0.002 s
profileOptionRecordsIndirectUserFunctions 0.014 s
posixOptionDisablesArraysOfArrays 0 s
singleDashOperandReadsStandardInput 0.001 s
persistOptionFlushesOutputBeforeSaveFailure 0.002 s
profileOptionWithFilenameWritesReportToFile 0.005 s
unknownOptionWithoutScriptIsRejected 0.001 s
persistentMemoryEnvironmentVariablePersistsUserGlobalsAcrossCliRuns 0.002 s

ScriptEngineTest

testJawkScriptEngineAcceptsListBinding 0.012 s
testJawkScriptEngine 0.004 s

AvailableExtensionsTest

testExtensionKeywords 0 s
testExtensionNames 0 s
testListAvailableExtensions 0 s
testResolveReturnsFreshInstancesForBuiltins 0 s
testDuplicateExtensionInstancesAreRejected 0 s

GawkExtensionTest

symtabRoundTripsSpecialVariables 0.006 s
perRunVariablesAreVisibleToSymtabAndExtensions 0.006 s
symtabSeesRuntimeManagedGlobals 0.002 s
gettextFunctionsRejectInvalidLocaleCategories 0.002 s
rawValueExtensionsUnwrapForwardedUntypedArguments 0.001 s
symtabAndFunctabExposeRealNames 0.006 s
patsplitAdvancesByCodePoints 0.004 s
timeFunctionsHonorEnvironTz 0.047 s
functabListsBuiltinAndExtensionFunctions 0.002 s
extraFunctionArgumentsAreEvaluatedForSideEffects 0.001 s
gensubHonorsIgnoreCase 0.002 s
symtabReadsAndWritesRuntimeValuesLive 0.009 s
metaTablesCannotBeUsedAsScalars 0.009 s
bindtextdomainTracksDirectoryBindings 0 s
isarrayOnMissingElementCreatesItLikeGawk 0.001 s
ignoreCasePreassignedOnCommandLineAffectsSorting 0.001 s
indexNumberModeBreaksTiesAsText 0.003 s
rawValueExtensionsObserveCallerScalarization 0 s
sortedInChangesApplyMidExecution 0.001 s
invalidSortModeIsFatal 0.001 s
symtabCannotReplaceArrayGlobalsWithScalars 0.005 s
strftimeFormatsUtcTimestamps 0.002 s
gensubSelectorUsesAwkNumericCoercion 0.003 s
strtonumConvertsNonDecimalStrings 0 s
timeFunctionsUseProlepticGregorianDates 0.003 s
defaultExtensionSetIsPerEngine 0 s
emptyEnvironTzMeansUtc 0.002 s
mktimeConvertsUtcDatespecs 0.001 s
strftimeSupportsGnuFlagsAndWidths 0 s
ignoreCaseAppliesToComparisonsAndIndex 0 s
symtabIterationHonorsSortedArrayKeys 0.004 s
gensubTreatsAnyGPrefixedSelectorAsGlobal 0.001 s
symtabCannotBeDeleted 0.010 s
ignoreCaseIsLiveForMatchAndReadable 0 s
typeofOnMissingElementCreatesItLikeGawk 0 s
gensubWarningGoesToErrorStreamNotOutput 0 s
forInHonorsProcinfoSortedIn 0 s
asortiSortsByIndex 0 s
ignoreCaseAppliesToRegexpConstants 0.001 s
fsOperandAssignmentAppliesBetweenFiles 0.001 s
mkboolUsesAwkTruthiness 0.001 s
ignoreCaseOperandAssignmentAppliesBetweenFiles 0.002 s
symtabAndFunctabAreNotMaterializedInPosixMode 0 s
runtimeManagedGlobalsAreMaterializedOnlyWhenNeeded 0.001 s
asortWithDestinationLeavesSourceUntouched 0.001 s
symtabEntrySetExposesLiveValues 0.004 s
asortReplacementKeepsElementArgumentsDetached 0.006 s
mkboolCreatesBooleanTypedNumbers 0 s
systimeReturnsCurrentEpochSeconds 0 s
gensubMissingBackreferenceExpandsToEmpty 0 s
symtabExcludesTheMetaTablesThemselves 0.001 s
gettextFunctionsReturnUntranslatedText 0.003 s
emptySortModeMeansDefault 0 s
explicitEmptyExtensionListReclaimsBuiltinNames 0 s
isarrayDistinguishesArraysFromScalars 0 s
patsplitHonorsIgnoreCase 0 s
patsplitRejectsEmptyFieldPatterns 0.001 s
mktimeResolvesOverlapToStandardTime 0.003 s
asortSortsValuesAndRenumbersIndices 0.001 s
typeofReturnsGawkCategories 0.001 s
valueStringModeComparesAllValuesAsText 0.001 s
valueNumberModeCoercesStringsAndBreaksTiesAsText 0.001 s
patsplitRejectsAliasedDestinationArrays 0.001 s
gensubReplacesOnlyRequestedOccurrence 0.001 s
ignoreCaseUsesAwkTruthiness 0 s
environTzFollowsJavaZoneSemantics 0.002 s
extensionCallsAcceptSpaceBeforeArguments 0.001 s
incrementAndDecrementWorkOnSpecialVariables 0.001 s
mktimeDstHintSelectsTheOverlapOccurrence 0.001 s
asortiDefaultsToStringIndexOrder 0.001 s
rawValueExtensionsObserveCallerArrayTransitions 0.001 s
mktimeRejectsMalformedDatespecs 0.001 s
symtabReflectsInitialVariablesAndOperandAssignments 0.003 s
strtonumResolvesNumericInputFieldsAsDecimal 0 s
functabIsReadOnly 0.002 s
patsplitSplitsByContent 0.002 s
symtabCannotReplaceScalarGlobalsWithArrays 0.003 s
indirectTypeofPreservesUntypedVariables 0.001 s
everySpecialVariableNameIsAnsweredByGetVariable 0 s
asortiWritesIndicesAsStrings 0.001 s
argvWorksWithoutReferencingArgc 0 s
unsortedModeKeepsNaturalTraversalOrder 0.002 s
symtabIterationUsesItsMaterializedKeysAndLiveValues 0.003 s
typeofReportsStrnumForNumericInputFields 0.001 s
splitAndFieldSplittingHonorIgnoreCase 0.001 s
rawValueExtensionCallsWorkInEvalExpressions 0.001 s
strftimeDefaultFormatComesFromProcinfo 0.001 s
patsplitDefaultsToFpat 0.001 s
misspelledUnsortedModeIsFatal 0.001 s
extraFunctionArgumentWarningGoesToErrorStreamNotOutput 0 s
asortHonorsPredefinedDescendingMode 0 s

ConditionPairTest

testEdgeTransitions 0 s
test 0 s

Failure Details

[Summary] [Package List] [Test Cases]


posix16EmptyProgramExitsZero
- skipped: Empty programs are not yet supported by the CLI
posix33FsAsEre
- skipped: Jawk does not yet normalize whitespace when FS is an ERE
posix98FflushReturnsZero
- skipped: fflush() is not available in Jawk
posix132UnreadableFileProducesDiagnostic
- skipped: Jawk throws FileNotFoundException instead of reporting a diagnostic
posix35RsEmptyParagraphMode
- skipped: RS="" paragraph mode is not implemented
posix142LocaleNumericInput
- skipped: Locale-aware numeric parsing is not available
posix26DashVSetsRegexFs
- skipped: Jawk does not treat -v FS assignments as regular expressions yet
posix94PrintfStarWidthPrecision
- skipped: Dynamic width/precision in printf requires printf4j support
testSpawnProcessMore
- skipped: got: <false>, expected: is <true>
testSystemPipeWindows
- skipped: got: <false>, expected: is <true>

awk
Searching...
No results.