Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
888 0 0 11 98.8% 3.640 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 806 0 0 11 98.6% 2.228 s
io.jawk.jrt 74 0 0 0 100% 1.410 s
io.jawk.backend 2 0 0 0 100% 0 s
io.jawk.util 6 0 0 0 100% 0.002 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
BSDRandomTest 1 0 0 0 100% 0 s
ConditionPairTest 2 0 0 0 100% 0 s
NextStatementTest 10 0 0 0 100% 0.007 s
ExtensionTest 8 0 0 0 100% 0.006 s
ScriptEngineTest 4 0 0 0 100% 0.009 s
CliOptionTest 49 0 0 0 100% 0.127 s
AwkTest 133 0 0 0 100% 0.682 s
NumericLiteralTest 5 0 0 0 100% 0.019 s
GetlineRedirectionTest 27 0 0 0 100% 0.074 s
ListInputSourceTest 4 0 0 0 100% 0.002 s
JRTTest 28 0 0 2 92.9% 0.027 s
SpecialFileNameTest 21 0 0 0 100% 0.015 s
AwkParserTest 22 0 0 0 100% 0.071 s
JRTConsumeInputTest 5 0 0 0 100% 0.006 s
StreamInputSourceTest 15 0 0 0 100% 0.032 s
AwkTupleOptimizationTest 39 0 0 0 100% 0.020 s
AwkEvalTest 34 0 0 0 100% 0.015 s
PosixConformanceTest 97 0 0 7 92.8% 0.085 s
GawkExtensionTest 91 0 0 0 100% 0.133 s
ExactIntegerArithmeticTest 11 0 0 0 100% 0.271 s
DynamicFieldTest 8 0 0 0 100% 0.007 s
SpawnedProcessStdinTest 3 0 0 0 100% 0.261 s
NumberToStringComparisonTest 5 0 0 0 100% 0.010 s
RegexpTupleAndCachingTest 10 0 0 0 100% 0.205 s
AssocArrayTest 37 0 0 0 100% 0.021 s
PrintfTest 20 0 0 0 100% 0.014 s
InputSourceTest 31 0 0 0 100% 0.010 s
NullDeviceTest 12 0 0 2 83.3% 0.024 s
StrNumSemanticsTest 27 0 0 0 100% 0.016 s
BeginFileEndFileTest 35 0 0 0 100% 0.054 s
StringToNumberTest 7 0 0 0 100% 0.003 s
AvailableExtensionsTest 5 0 0 0 100% 0.002 s

io.jawk.jrt

- Class Tests Errors Failures Skipped Success Rate Time
PrepareReplacementTest 2 0 0 0 100% 0 s
AwkPrintfFloatRoundingTest 6 0 0 0 100% 1.382 s
JRTComparisonNumberTest 11 0 0 0 100% 0.003 s
AwkPrintfTest 48 0 0 0 100% 0.020 s
AssocArrayToLongKeyTest 7 0 0 0 100% 0.005 s

io.jawk.backend

- Class Tests Errors Failures Skipped Success Rate Time
AVMExecuteTuplesSizeTest 2 0 0 0 100% 0 s

io.jawk.util

- Class Tests Errors Failures Skipped Success Rate Time
JawkVersionTest 6 0 0 0 100% 0.002 s

Test Cases

[Summary] [Package List] [Test Cases]

BSDRandomTest

testDeterministicSequence 0 s

PrepareReplacementTest

testPrepareReplacementWithBackreferences 0 s
testPrepareReplacement 0 s

ConditionPairTest

testEdgeTransitions 0 s
test 0 s

NextStatementTest

nextInFunctionSkipsToTheNextRecord 0.001 s
nextInFunctionWorksWithPerFileRules 0 s
nextInFunctionSkipsTheRemainingRules 0 s
nextInBeginFileViaFunctionIsARuntimeError 0 s
nextWithoutMainInputLoopViaFunctionIsARuntimeError 0 s
nextInEndFileViaFunctionIsARuntimeError 0.001 s
nextInEndViaFunctionIsARuntimeError 0 s
nextInFunctionUnwindsNestedCalls 0.001 s
nextInBeginViaFunctionIsARuntimeError 0 s
directNextInBeginAndEndRemainsACompileTimeError 0.001 s

ExtensionTest

testAnnotatedAssocArrayMustAcceptMap 0.003 s
testVarArgAssocArraySemanticValidation 0 s
testAnnotatedAssocArrayMustNotUseConcreteMapImplementation 0 s
testVarArgAssocArrayInvocation 0 s
testVarArgAssocArrayRuntimeValidation 0 s
testExtension 0.001 s
testIndirectExtension 0.001 s
testAnnotatedExtensionArgumentValidation 0 s

AwkPrintfFloatRoundingTest

testNegativeValuesAndZero 0 s
testPowersAndNeighbors 0.386 s
testSubnormals 0.194 s
testRandomMagnitudes 0.379 s
testHalfwayAdjacentDecimals 0.133 s
testRandomBitPatterns 0.289 s

ScriptEngineTest

factoryReportsPosixAsTheLanguageVersion 0.005 s
factoryReportsTheRunningJawkVersion 0 s
testJawkScriptEngineAcceptsListBinding 0.001 s
testJawkScriptEngine 0.001 s

CliOptionTest

doubleDashEndsOptionProcessing 0.003 s
profileOptionRecordsFunctionThatExitsWithoutReturning 0.009 s
doubleDashPassesRemainingArgumentsToArgv 0.002 s
persistOptionPersistsAssociativeArraysAcrossCliRuns 0.005 s
attachedProgramFileOptionCombinesWithSeparateForm 0.002 s
posixOptionStillAllowsClassicMultidimensionalSubscripts 0.001 s
versionOptionRejectsOtherArguments 0.001 s
persistOptionPersistsUserGlobalsAcrossCliRuns 0.004 s
shortNoOptimizeOptionDisablesOptimization 0 s
blankProgramNameFallsBackToJavaJarInvocation 0 s
attachedProgramFileOptionLoadsScript 0.005 s
versionOptionAndScriptEngineFactoryReportTheSameVersion 0.002 s
attachedUnknownOptionWithoutScriptIsStillRejected 0 s
posixLoadOptionWithoutFilenameReportsMissingArgument 0.001 s
profileOptionRecordsFunctionsUnwoundByNextfile 0.005 s
profileOptionPrintsReportToStderr 0.006 s
versionOptionAfterProgramTextStaysInArgv 0 s
posixOptionRejectsNestedArrays 0.001 s
persistOptionWithoutFilenameReportsMissingArgument 0 s
persistOptionExcludesRuntimeMetaTables 0.007 s
singleDashOperandWorksWithBeginFileRules 0.001 s
singleDashBeforeScriptIsTreatedAsScript 0 s
unreadableFileAfterStdinOperandDoesNotCloseCallerInput 0 s
helpOutputDoesNotAdvertiseUnsupportedOutputOption 0 s
profileOptionWithEmptyFilenameIsRejected 0 s
versionOptionPrintsVersionAndJavaRuntime 0 s
posixOptionRejectsPrecompiledProgramsInEitherOrder 0.006 s
persistOptionWithWrongSerializedTypeThrowsFriendlyError 0.001 s
unknownOptionAfterScriptFileIsPassedToArgv 0.002 s
persistOptionOverridesPersistentMemoryEnvironmentVariable 0.004 s
loadOptionWithWrongSerializedTypeThrowsFriendlyError 0.001 s
helpOutputAdvertisesVersionOption 0.002 s
profileOptionRecordsFunctionsUnwoundByNext 0.003 s
shortVersionOptionPrintsTheSameReport 0 s
helpOutputFallsBackToJavaJarInvocation 0 s
helpOutputUsesLauncherProgramName 0.001 s
profileOptionWriteFailureIsReportedAsIoFailure 0.001 s
longNoOptimizeOptionDisablesOptimization 0 s
singleDashOperandMixesWithRegularFiles 0.002 s
profileOptionRecordsIndirectUserFunctions 0.009 s
posixOptionDisablesArraysOfArrays 0.001 s
singleDashOperandReadsStandardInput 0.002 s
persistOptionFlushesOutputBeforeSaveFailure 0.003 s
profileOptionWithFilenameWritesReportToFile 0.004 s
attachedVariableAssignmentIsApplied 0.001 s
attachedFieldSeparatorIsApplied 0.002 s
attachedOptionArgumentAfterDoubleDashStaysInArgv 0.002 s
unknownOptionWithoutScriptIsRejected 0.001 s
persistentMemoryEnvironmentVariablePersistsUserGlobalsAcrossCliRuns 0.006 s

AwkTest

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

AVMExecuteTuplesSizeTest

testExecuteTuplesStaysUnderHugeMethodLimit 0 s
testParserSeesPlausibleMethodSizes 0 s

NumericLiteralTest

testExponentLiterals 0.006 s
testIntegralValuesBeyondLongRangePrintAllDigits 0.002 s
testLiteralsBeyondTheLongRangeAreFloatingPointConstants 0 s
testBareEAfterNumberIsAnIdentifier 0 s
testExponentBindsTighterThanConcatenation 0.005 s

GetlineRedirectionTest

getlineIntoRecordFromMissingFileReturnsMinusOne 0.002 s
fieldIndexOfFieldTargetIsEvaluatedWhenNothingIsRead 0 s
commandGetlineIntoFieldAssignsTheField 0.006 s
commandGetlineVarSetsOnlyTheVariable 0.013 s
getlineIntoRecordAtEndOfInputLeavesRecordUntouched 0 s
getlineVarAtEndOfInputLeavesVariableUntouched 0.004 s
negativeFieldTargetIsRejectedEvenWhenNothingIsRead 0.001 s
getlineIntoRecordFromFileSetsOnlyRecordAndNF 0.008 s
emptyCommandIsFatal 0 s
getlineFromFileInBeginLeavesNrAndFilenameAlone 0 s
commandGetlineIntoRecordAtEndOfInputLeavesRecordUntouched 0.006 s
getlineVarFromFileYieldsAStringOfNumbersComparableAsNumber 0 s
commandGetlineVarAtEndOfInputLeavesVariableUntouched 0.007 s
getlineIntoFieldAtEndOfInputLeavesFieldsUntouched 0.003 s
emptyFileNameIsFatal 0 s
unredirectedGetlineVarAtEndOfInputLeavesVariableUntouched 0.008 s
getlineIntoFieldBeyondNFExtendsTheRecord 0 s
unredirectedGetlineIntoFieldAssignsTheField 0 s
commandGetlineIntoRecordLeavesCountersAndFilenameAlone 0.003 s
getlineIntoFieldFromFileAssignsTheField 0.003 s
getlineIntoArrayElementAtEndOfInputLeavesElementUntouched 0 s
getlineFromMissingFileReturnsMinusOneAndSetsErrno 0.003 s
failedOpenIsRetriedOnceTheFileAppears 0 s
getlineFromDirectoryReturnsMinusOneWithIsADirectory 0 s
subscriptOfArrayTargetIsEvaluatedWhenNothingIsRead 0.006 s
getlineVarFromFileSetsOnlyTheVariable 0 s
getlineAtEndOfInputLeavesErrnoAlone 0 s

JawkVersionTest

unknownIsReportedWhenNeitherSourceHasAVersion 0 s
theJawkOwnedDescriptorWinsOverTheEnclosingManifest 0 s
versionIsEitherBuildMetadataOrTheUnknownFallback 0 s
theManifestIsUsedWhenTheDescriptorIsAbsent 0 s
versionIsStableAcrossCalls 0 s
versionIsNotTheStaleHardCodedStringItReplaced 0 s

ListInputSourceTest

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

JRTTest

testPrintfSpecialCharacters 0 s
testInputDerivedDollarZeroScalarIsCachedUntilRecordChanges 0 s
testSpawnProcessMore 0 s
- got: <false>, expected: is <true> -
testToDoubleSignedInfinityAndNaN 0 s
testToLongConvertsEveryInRangeIntegerExactly 0 s
testRegexFsKeepsLeadingAndTrailingSeparators 0 s
testSpawnProcessCat 0.014 s
testToDouble 0 s
testSystemPipeWindows 0 s
- got: <false>, expected: is <true> -
testCompare2PlainStrings 0 s
testToLongUsesTheSameNumericConversionAsToDouble 0 s
testCompare2MixedNumberAndString 0 s
testExactIntegralArithmeticOverflowFallsBackToDouble 0 s
testToDoubleNumericPrefix 0 s
testSplitSetsFieldZero 0 s
testNonIntegralArithmeticStaysInFloatingPoint 0 s
testSystemPipe 0.005 s
testCompare2NumericOperands 0 s
testCompare2ExactIntegralOperands 0 s
testCompare2FallsBackToStringComparison 0 s
testSplitRegexWhitespace 0 s
testCompare2Uninitialized 0 s
testFilenamePreservesScalarAttribute 0 s
testGetAwkStringEntryReadsOptionalSettings 0 s
testToDoubleKeepsAllDigitsOfLongNumericStrings 0 s
testToLong 0 s
testExactIntegralArithmetic 0 s
testSplitUsesLongIndexesForPlainMap 0 s

SpecialFileNameTest

getlineFromDevStdinReadsStandardInput 0.004 s
closingDevStderrLeavesItUsable 0 s
devStdinReadsTheCliStandardInput 0 s
closingDevStdinReportsTheOpenRedirection 0 s
devStdoutAndDevStderrShareOneRedirectedStream 0 s
getlineFromDevStdinSplitsFields 0 s
printToDevStderrGoesToStandardError 0 s
getlineFromDevFd0ReadsStandardInput 0.001 s
printToDevStdoutSharesTheDefaultOutput 0 s
readingDevStdinAfterCloseReportsEndOfInputNotAnError 0 s
printToDevFd2GoesToStandardError 0 s
devStdinFollowsTheInputSourceOfEachExecution 0 s
printToDevStdoutIsNotTruncatedBetweenWrites 0.002 s
printToDevFd1SharesTheDefaultOutput 0 s
partialRecordsWrittenToDevStderrAreFlushed 0 s
closingDevStdoutLeavesItUsable 0 s
sandboxRejectsInputRedirectionFromSpecialFileNames 0 s
writesToDevStderrInterleaveWithRuntimeDiagnostics 0 s
sandboxRejectsOutputRedirectionToSpecialFileNames 0 s
getlineFromDevStdinIsIndependentOfTheMainInputFile 0.003 s
closingAnUnusedSpecialFileNameFails 0 s

JRTComparisonNumberTest

testIsParseableNumberAcceptsDecimalForms 0 s
testIsParseableNumberRejectsBlankOnlyAndInternalBlanks 0 s
testBlankPaddedStrNumParsesAndComparesNumerically 0 s
testIsParseableNumberIgnoresSurroundingBlanks 0 s
testIsParseableNumberUsesLocaleDecimalSeparator 0 s
testIsParseableNumberRejectsInvalidDecimalForms 0 s
testPlainStringForcesStringComparison 0 s
testStrNumComparesNumericallyAgainstNumber 0.002 s
testUninitializedEqualsNumericZeroStrNum 0 s
testNonNumericStrNumFallsBackToStringComparison 0 s
testIsParseableNumberRejectsHexadecimal 0 s

AwkParserTest

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

JRTConsumeInputTest

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

StreamInputSourceTest

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

AwkTupleOptimizationTest

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

AwkEvalTest

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

PosixConformanceTest

posix42ExponentiationRightAssociative 0 s
posix122BackslashNewlineIgnored 0 s
posix102SrandRepeatsSequence 0 s
posix89ExitSetsStatus 0 s
posix410bPrintInputFieldsVerbatim 0 s
posix15EndRunsAfterLastRecord 0 s
posix16EmptyProgramExitsZero 0 s
- Empty programs are not yet supported by the CLI -
posix81ElseBindsNearestIf 0 s
posix93PrintfPercentCUsesFirstCharacter 0.001 s
posix36AssigningToExistingFieldRecomputesDollarZero 0.001 s
posix22DashVAssignsBeforeBegin 0.001 s
posix14BeginRunsBeforeFirstRecord 0.001 s
posix152NewlineStatementTerminator 0.001 s
posix111MultidimensionalIndexesUseSubsep 0.001 s
posix97CloseReturnsZeroOnSuccess 0.001 s
posix61RegexLiteralMatchesDollarZero 0.001 s
posix106SubstrFunction 0 s
posix112InOperatorDoesNotCreateElements 0.001 s
posix49StringConversionUsesConvfmt 0.001 s
posix991PipelineWritesDataToFile 0.009 s
posix13MultipleBeginEndExecuteInOrder 0 s
posix44CompoundAssignmentsModifyOnce 0 s
posix63StringRegexDoubleEscapes 0 s
posix33FsAsEre 0 s
- Jawk does not yet normalize whitespace when FS is an ERE -
posix17PatternRangesInclusiveAndRepeat 0 s
posix62RegexEscapeSlash 0 s
posix98FflushReturnsZero 0 s
- fflush() is not available in Jawk -
posix96AppendRedirection 0.001 s
posix95RedirectionTruncatesAndReuses 0.001 s
posix53MatchSetsRstartAndRlength 0.001 s
posix32FsSingleCharacterSplitsEachOccurrence 0 s
posix310DynamicFieldSelection 0.001 s
posix151FunctionCallWithoutWhitespace 0.005 s
posix1010SplitDeletesExistingElements 0 s
posix82WhileLoop 0 s
posix54OfsAndOrsAffectPrint 0 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 s
posix34RsDefaultExcludesNewline 0 s
posix101IntTruncatesTowardZero 0 s
posix64FsRegexRunsOfDelimiters 0 s
posix113DeleteArrayClearsAll 0 s
posix91PrintDefaultIsDollarZero 0.002 s
posix1011SprintfFormatting 0 s
posix142LocaleNumericInput 0 s
- Locale-aware numeric parsing is not available -
posix99PipelineWriteClose 0.004 s
posix37AssigningToDollarZeroResetsFields 0.003 s
posix23AssignmentsOccurBeforeFollowingFile 0 s
posix141DotRecognizedAsDecimalPoint 0.003 s
posix39AssigningFutureFieldExpandsRecord 0 s
posix31DefaultFsSkipsBlanks 0 s
posix56NoOperandsReadsStdinWithDashFilename 0 s
posix52FilenameUnsetInBegin 0.001 s
posix123OctalEscapesInString 0 s
posix48NumericVsStringComparison 0.004 s
posix46LogicalOperatorsShortCircuit 0 s
posix410aPrintStringConstantsVerbatim 0 s
posix85ForInDeleteAll 0 s
posix47ConditionalOperatorRightAssociative 0.001 s
posix104LengthOfArray 0 s
posix24DashFConcatenatesProgramFiles 0.001 s
posix72RangePatternRestarts 0.004 s
posix87NextSkipsCurrentRecord 0 s
posix43ModuloUsesFmod 0 s
posix109SubAndGsub 0 s
posix411DivisionOperator 0 s
posix1015CommandGetlineAndSystem 0.007 s
posix12MissingPatternMatchesAllRecords 0.001 s
posix105IndexFunction 0 s
posix131ExitStatusZeroOnSuccess 0 s
posix107ToLowerUpper 0.003 s
posix51NrAndFnrCounts 0 s
posix410cOfmtNotAppliedToStrings 0 s
posix410PrintUsesOfmt 0 s
posix45PrePostIncrementDecrement 0.001 s
posix21DashFDefinesFs 0.001 s
posix71ExpressionPatternTruthiness 0 s
posix86BreakAndContinue 0 s
posix26DashVSetsRegexFs 0 s
- Jawk does not treat -v FS assignments as regular expressions yet -
posix51FnrCountsGetlineRecordsOnStandardInput 0 s
posix1012CloseAndGetlineReuse 0 s
posix108MatchFunction 0 s
posix41ConcatenationPrecedence 0 s
posix94PrintfStarWidthPrecision 0.001 s
posix92PrintfBasicConversions 0 s
posix51FnrCountsRecordsOnStandardInput 0.002 s
posix84ForLoopClassic 0 s
posix88NextfileSkipsRestOfCurrentFile 0.001 s
posix38ReferencingNonexistentFieldIsUninitialized 0.003 s
posix11DefaultActionPrintsRecord 0 s
posix55DeletingArgvPreventsOperandProcessing 0 s
posix1013GetlineSetsDollarZero 0 s
posix83DoWhileLoopExecutesAtLeastOnce 0.001 s
posix1014GetlineVarFromCurrentInput 0 s
posix103LengthOnDollarZeroAndString 0.001 s

GawkExtensionTest

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

ExactIntegerArithmeticTest

testComparisonsOfExactIntegersAreExact 0.002 s
testCompoundAssignmentsAndSteppingStayExact 0.006 s
testFieldArithmeticStaysExact 0.005 s
testOverflowFallsBackToFloatingPoint 0.002 s
testUninitializedAccumulatorsStayExact 0.002 s
testUnaryOperatorsStayExact 0 s
testRecordRebuildConvertsNumericFieldsWithConvfmt 0.004 s
testIntegralResultsStayExactBeyondDoublePrecision 0.002 s
testConstantFoldingMatchesRuntimeSemantics 0.002 s
testNonIntegralArithmeticIsUnchanged 0.002 s
testTightLoopAccumulationIsExact 0.242 s

DynamicFieldTest

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

SpawnedProcessStdinTest

systemChildReadsJawkStandardInput 0.142 s
commandInputPipeChildReadsJawkStandardInput 0.115 s
embeddedExecutionKeepsChildStandardInputClosed 0.004 s

NumberToStringComparisonTest

testNonIntegralValuesStillUseConvfmt 0.004 s
testComputedIntegerMatchesItsDigits 0 s
testComputedIntegerComparesEqualToItsDigits 0.003 s
testEveryArithmeticOperatorIsCovered 0.003 s
testNumericComparisonDoesNotEvaluateConvfmt 0 s

RegexpTupleAndCachingTest

userFunctionRegexpArgumentReceivesBooleanMatchValue 0.083 s
threeArgumentGensubUsesCurrentRecordAsTarget 0.012 s
gensubRegexpArgumentRemainsRegexpConstant 0.004 s
literalRegexpEmitsPrecompiledPattern 0.009 s
serializedEvalTuplesPreserveSetNumGlobalsOptimization 0.019 s
serializedTuplesPreservePrecompiledPattern 0.006 s
standardRegexpConstantExpressionMatchesCurrentRecord 0.007 s
variableRegexpCompilesAtRuntime 0 s
builtinRegexpArgumentsRemainRegexpConstants 0.003 s
regexpRightHandSideOfMatchOperatorRemainsRegexp 0.002 s

AssocArrayTest

testInjectMapVariableMutatesOriginalMap 0 s
testRemoveNumericStringKey 0 s
testSubscriptKeyUsesConvfmtInEffectAtCreation 0 s
testOutOfLongRangeIntegralSubscriptKeysAsExactDigits 0 s
testDeleteConvertsKeyWithCurrentConvfmt 0 s
testMissingInjectedMapElementDoesNotReturnRawNull 0 s
testInjectLinkedListVariableUsesZeroBasedIndexes 0 s
testInjectAssocArrayIterateForIn 0 s
testInjectMapVariableKeepsIntegralDoubleKeys 0 s
testInOperatorConvertsKeyWithCurrentConvfmt 0 s
testIsIntegralNumberKey 0 s
testDeleteArrayClearsInjectedMap 0 s
testIntegralSubscriptsUnaffectedByConvfmt 0.001 s
testInjectListVariableUsesZeroBasedIndexes 0 s
testInOperatorWithNullKey 0 s
testIgnoredVariableAssignmentDoesNotNormalizeMapValue 0 s
testInOperatorConvertsKeyAfterArrayOperandEvaluation 0 s
testUninitializedIndexUsesEmptyString 0 s
testInOperatorWithNumericAndStringKeys 0 s
testRemoveNumericKeyFromString 0 s
testRemoveMissingKey 0 s
testInOperatorJoinsMultidimKeyAfterArrayOperandEvaluation 0 s
testInjectAssocArrayVariable 0.001 s
testInjectImmutableMapOfListVariableThrowsClearException 0.001 s
testInjectScalarIntoArrayVariableThrows 0 s
testInjectMapOfListVariable 0 s
testInjectListOfMapVariable 0 s
testDeleteArrayKeepsInjectedMapBoundForLaterWrites 0.003 s
testRejectedFunctionNameAssignmentDoesNotNormalizeMapValue 0 s
testNonIntegralFloatSubscriptConvertsAtCreation 0 s
testSingleDimensionSubscriptKeyFixedAtCreationTime 0 s
testInjectMapVariableDoesNotNormalizeKeys 0 s
testCreateAssocArrayFromListUsesZeroBasedIndexes 0 s
testNormalizeMapValueKeepsMapAndConvertsNestedList 0 s
testMultiDimensionSubscriptKeyFixedAtCreationTime 0.004 s
testSplitMutatesInjectedMapDirectly 0 s
testInjectMapVariable 0 s

PrintfTest

testSprintfRoundHalfEven 0 s
testCharConversionOfNumericField 0 s
testCharConversionOfNumericValue 0 s
testJavaStringFormatSink 0 s
testDynamicPrecision 0.003 s
testUnterminatedStarPositionIsFatal 0 s
testUnknownSpecifierPrintsVerbatim 0 s
testExtraArgumentsAreIgnored 0 s
testOutOfRangeIntegerConversions 0 s
testMixedPositionalSpecifiersAreFatal 0 s
testPositionalSpecifiers 0 s
testPrintfToFileHonorsConvfmt 0.001 s
testIntegerConversions 0 s
testGroupingFlag 0 s
testPrintOfHugeIntegralValues 0 s
testOfmtDoesNotAffectPrintf 0 s
testNotEnoughArgumentsIsFatal 0 s
testStringConversionOfIntegralDouble 0 s
testStringConversionHonorsConvfmt 0 s
testNonFiniteValues 0 s

AwkPrintfTest

testPaddingHash20 0 s
testStringConversionUsesAwkNumberToStringRules 0 s
testLocaleDecimalSeparator 0 s
testToDouble 0 s
testUnknownSpecifiersDoNotConsumeArguments 0 s
testBlank 0 s
testFloat 0.004 s
testMinus 0 s
testTypes 0 s
testWidth 0 s
testChar 0 s
testHash 0 s
testMisc 0 s
testPlus 0 s
testZero 0 s
testPadding20 0 s
testSpecifier 0.001 s
testPaddingNegativeNumbers 0 s
testDynamicWidthAndPrecision 0 s
testUnknown 0 s
testExtraArgumentsAreIgnored 0 s
testToAwkString 0 s
testZeroMinus20 0 s
testAwkSinkSprintf 0 s
testOutOfRangeIntegerConversions 0 s
testPositionalSpecifiers 0 s
testErrorPrecedenceMatchesSequentialProcessing 0 s
testHexFloat 0 s
testPaddingPrecision20 0 s
testCharConversion 0 s
testOutOfRangeFallbackKeepsSignFlagsAndPrecision 0 s
testMinus20 0 s
testStringLength 0 s
testWidth20 0 s
testGroupingFlag 0 s
testPaddingNegativeFloat 0 s
testPaddingHashZero20 0 s
testFormatCacheReuseAndEviction 0.007 s
testNotEnoughArgumentsIsFatal 0 s
testWidthStar20 0 s
testLength 0 s
testPadding20Dot5 0 s
testZeroPrecisionZeroValue 0 s
testIntegerTruncationAndConversion 0 s
testToChar 0 s
testToLong 0 s
testAlternateFormKeepsDecimalPoint 0 s
testNonFiniteValues 0 s

InputSourceTest

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

AssocArrayToLongKeyTest

testReturnsNullWhenKeyToStringThrows 0 s
testAcceptsNonStringKeys 0 s
testReturnsNullWhenKeyToStringReturnsNull 0 s
testAcceptsIntegerForms 0 s
testRejectsNonIntegerForms 0 s
testMatchesLongParseLongExactly 0 s
testRejectsOutOfRangeValues 0 s

NullDeviceTest

devNullAsAnOperandDoesNotInterruptTheFileList 0.003 s
getlineFromDevNullIntoDollarZeroReportsEndOfInput 0.003 s
devNullAsAnOperandRunsBeginFileAndEndFileWithoutError 0.001 s
printToDevNullDiscardsTheOutput 0.005 s
getlineFromDevNullReportsEndOfInput 0 s
closingDevNullSucceedsAndTheNameStaysUsable 0 s
writingToDevNullCreatesNoRegularFile 0.001 s
appendToDevNullDiscardsTheOutput 0.001 s
nulIsTheNullDeviceInRedirectionsOnWindows 0 s
- Windows environment required for the native NUL spelling discards output and reads as empty -
outputWrittenToDevNullCannotBeReadBack 0 s
nulAsAnOperandReadsAsAnEmptyFileOnWindows 0 s
- Windows environment required for the native NUL spelling is a readable empty file in the file list -
devNullAsAnOperandReadsAsAnEmptyFile 0.001 s

StrNumSemanticsTest

testSplitCreatesNumericStringElements 0.001 s
testAssignedDollarZeroPreservesAssignedAttribute 0 s
testNumericOperationProducesNumber 0.001 s
testInputComparisonsUseStrNumAttribute 0 s
testBlankOnlyRecordIsNotNumeric 0 s
testBlankPaddedSplitElementIsNumericString 0 s
testBlankPaddedRecordIsNumericString 0 s
testBlankPaddedRecordWithNonNumericTextStaysString 0 s
testExtensionInputUsesStrNumAttribute 0 s
testStringLiteralsArePlainStrings 0.001 s
testArgvValuesAreInputDerived 0 s
testCommandLineVariableAssignmentsAreInputDerived 0.003 s
testBlankPaddedPreassignmentIsNumericString 0 s
testBlankPaddedRecordTruthinessUsesNumericValue 0 s
testAssigningDollarZeroCreatesNumericStringFields 0 s
testFieldAssignmentPreservesAssignedAttribute 0 s
testAssignedDollarZeroRemainsPlainString 0 s
testBlankPaddedStringConstantStaysString 0.003 s
testFilelistVariableAssignmentsAreInputDerived 0 s
testAssignmentPreservesStrNumAttribute 0 s
testNumericStrNumTruthinessUsesNumericValue 0 s
testUninitializedEqualsNumericZeroStrNum 0 s
testBlankPaddedGetlineVarIsNumericString 0 s
testArithmeticKeepsNumericPrefixConversion 0 s
testStrNumComparisonUsesRuntimeLocale 0 s
testProgrammaticStringPreassignmentIsInputDerived 0 s
testStringOperationProducesPlainString 0 s

BeginFileEndFileTest

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

StringToNumberTest

testJavaOnlyNumberFormsAreNotAccepted 0 s
testLongNumericStringsKeepAllTheirDigits 0 s
testNumericPrefixConversion 0 s
testSignedInfinityAndNaN 0 s
testIncrementUsesTheNumericPrefix 0.001 s
testSubstrLengthAcceptsEveryNumericForm 0.001 s
testInputFieldsStillCompareAsNumericStrings 0 s

AvailableExtensionsTest

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

Failure Details

[Summary] [Package List] [Test Cases]


testSpawnProcessMore
- skipped: got: <false>, expected: is <true>
testSystemPipeWindows
- skipped: got: <false>, expected: is <true>
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
nulIsTheNullDeviceInRedirectionsOnWindows
- skipped: Windows environment required for the native NUL spelling discards output and reads as empty
nulAsAnOperandReadsAsAnEmptyFileOnWindows
- skipped: Windows environment required for the native NUL spelling is a readable empty file in the file list

awk
Searching...
No results.