@everyonesoftware/common 12.0.0 → 14.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/outputs/sources/ANSIStyles.d.ts +10 -0
- package/outputs/sources/ANSIStyles.d.ts.map +1 -0
- package/outputs/sources/ANSIStyles.js +23 -0
- package/outputs/sources/ANSIStyles.js.map +1 -0
- package/outputs/sources/CharacterTable.d.ts +11 -0
- package/outputs/sources/CharacterTable.d.ts.map +1 -0
- package/outputs/sources/CharacterTable.js +28 -0
- package/outputs/sources/CharacterTable.js.map +1 -0
- package/outputs/sources/Clock.d.ts +12 -0
- package/outputs/sources/Clock.d.ts.map +1 -0
- package/outputs/sources/Clock.js +10 -0
- package/outputs/sources/Clock.js.map +1 -0
- package/outputs/sources/FetchError.d.ts +7 -0
- package/outputs/sources/FetchError.d.ts.map +1 -0
- package/outputs/sources/FetchError.js +20 -0
- package/outputs/sources/FetchError.js.map +1 -0
- package/outputs/sources/HttpRequestHandler.d.ts +8 -0
- package/outputs/sources/HttpRequestHandler.d.ts.map +1 -0
- package/outputs/sources/HttpRequestHandler.js +2 -0
- package/outputs/sources/HttpRequestHandler.js.map +1 -0
- package/outputs/sources/IndentedCharacterWriteStream.d.ts +21 -0
- package/outputs/sources/IndentedCharacterWriteStream.d.ts.map +1 -0
- package/outputs/sources/IndentedCharacterWriteStream.js +110 -0
- package/outputs/sources/IndentedCharacterWriteStream.js.map +1 -0
- package/outputs/sources/Indexable.d.ts +51 -0
- package/outputs/sources/Indexable.d.ts.map +1 -0
- package/outputs/sources/Indexable.js +122 -0
- package/outputs/sources/Indexable.js.map +1 -0
- package/outputs/sources/MutableIndexable.d.ts +51 -0
- package/outputs/sources/MutableIndexable.d.ts.map +1 -0
- package/outputs/sources/MutableIndexable.js +96 -0
- package/outputs/sources/MutableIndexable.js.map +1 -0
- package/outputs/sources/NodeJSHttpOutgoingResponse.d.ts +25 -0
- package/outputs/sources/NodeJSHttpOutgoingResponse.d.ts.map +1 -0
- package/outputs/sources/NodeJSHttpOutgoingResponse.js +77 -0
- package/outputs/sources/NodeJSHttpOutgoingResponse.js.map +1 -0
- package/outputs/sources/RealClock.d.ts +11 -0
- package/outputs/sources/RealClock.d.ts.map +1 -0
- package/outputs/sources/RealClock.js +15 -0
- package/outputs/sources/RealClock.js.map +1 -0
- package/outputs/sources/Token.d.ts +31 -0
- package/outputs/sources/Token.d.ts.map +1 -0
- package/outputs/sources/Token.js +80 -0
- package/outputs/sources/Token.js.map +1 -0
- package/outputs/sources/TokenType.d.ts +19 -0
- package/outputs/sources/TokenType.d.ts.map +1 -0
- package/outputs/sources/TokenType.js +27 -0
- package/outputs/sources/TokenType.js.map +1 -0
- package/outputs/sources/Tokenizer.d.ts +37 -0
- package/outputs/sources/Tokenizer.d.ts.map +1 -0
- package/outputs/sources/Tokenizer.js +163 -0
- package/outputs/sources/Tokenizer.js.map +1 -0
- package/outputs/sources/assertMessageParameters.d.ts +22 -0
- package/outputs/sources/assertMessageParameters.d.ts.map +1 -0
- package/outputs/sources/assertMessageParameters.js +2 -0
- package/outputs/sources/assertMessageParameters.js.map +1 -0
- package/outputs/sources/asyncIterator.d.ts +155 -0
- package/outputs/sources/asyncIterator.d.ts.map +1 -0
- package/outputs/sources/asyncIterator.js +303 -0
- package/outputs/sources/asyncIterator.js.map +1 -0
- package/outputs/sources/asyncIteratorToJavascriptAsyncIteratorAdapter.d.ts +13 -0
- package/outputs/sources/asyncIteratorToJavascriptAsyncIteratorAdapter.d.ts.map +1 -0
- package/outputs/sources/asyncIteratorToJavascriptAsyncIteratorAdapter.js +34 -0
- package/outputs/sources/asyncIteratorToJavascriptAsyncIteratorAdapter.js.map +1 -0
- package/outputs/sources/asyncResult.d.ts +73 -0
- package/outputs/sources/asyncResult.d.ts.map +1 -0
- package/outputs/sources/asyncResult.js +33 -0
- package/outputs/sources/asyncResult.js.map +1 -0
- package/outputs/sources/basicDisposable.d.ts +21 -0
- package/outputs/sources/basicDisposable.d.ts.map +1 -0
- package/outputs/sources/basicDisposable.js +42 -0
- package/outputs/sources/basicDisposable.js.map +1 -0
- package/outputs/sources/byteList.d.ts +43 -0
- package/outputs/sources/byteList.d.ts.map +1 -0
- package/outputs/sources/byteList.js +128 -0
- package/outputs/sources/byteList.js.map +1 -0
- package/outputs/sources/byteListStream.d.ts +20 -0
- package/outputs/sources/byteListStream.d.ts.map +1 -0
- package/outputs/sources/byteListStream.js +84 -0
- package/outputs/sources/byteListStream.js.map +1 -0
- package/outputs/sources/byteReadStream.d.ts +23 -0
- package/outputs/sources/byteReadStream.d.ts.map +1 -0
- package/outputs/sources/byteReadStream.js +6 -0
- package/outputs/sources/byteReadStream.js.map +1 -0
- package/outputs/sources/byteWriteStream.d.ts +15 -0
- package/outputs/sources/byteWriteStream.d.ts.map +1 -0
- package/outputs/sources/byteWriteStream.js +6 -0
- package/outputs/sources/byteWriteStream.js.map +1 -0
- package/outputs/sources/bytes.d.ts +20 -0
- package/outputs/sources/bytes.d.ts.map +1 -0
- package/outputs/sources/bytes.js +22 -0
- package/outputs/sources/bytes.js.map +1 -0
- package/outputs/sources/characterList.d.ts +39 -0
- package/outputs/sources/characterList.d.ts.map +1 -0
- package/outputs/sources/characterList.js +122 -0
- package/outputs/sources/characterList.js.map +1 -0
- package/outputs/sources/characterListStream.d.ts +27 -0
- package/outputs/sources/characterListStream.d.ts.map +1 -0
- package/outputs/sources/characterListStream.js +103 -0
- package/outputs/sources/characterListStream.js.map +1 -0
- package/outputs/sources/characterReadStream.d.ts +25 -0
- package/outputs/sources/characterReadStream.d.ts.map +1 -0
- package/outputs/sources/characterReadStream.js +57 -0
- package/outputs/sources/characterReadStream.js.map +1 -0
- package/outputs/sources/characterReadStreamIterator.d.ts +31 -0
- package/outputs/sources/characterReadStreamIterator.d.ts.map +1 -0
- package/outputs/sources/characterReadStreamIterator.js +79 -0
- package/outputs/sources/characterReadStreamIterator.js.map +1 -0
- package/outputs/sources/characterWriteStream.d.ts +18 -0
- package/outputs/sources/characterWriteStream.d.ts.map +1 -0
- package/outputs/sources/characterWriteStream.js +27 -0
- package/outputs/sources/characterWriteStream.js.map +1 -0
- package/outputs/sources/commandLineParameter.d.ts +30 -0
- package/outputs/sources/commandLineParameter.d.ts.map +1 -0
- package/outputs/sources/commandLineParameter.js +73 -0
- package/outputs/sources/commandLineParameter.js.map +1 -0
- package/outputs/sources/commandLineParameters.d.ts +23 -0
- package/outputs/sources/commandLineParameters.d.ts.map +1 -0
- package/outputs/sources/commandLineParameters.js +82 -0
- package/outputs/sources/commandLineParameters.js.map +1 -0
- package/outputs/sources/comparable.d.ts +79 -0
- package/outputs/sources/comparable.d.ts.map +1 -0
- package/outputs/sources/comparable.js +106 -0
- package/outputs/sources/comparable.js.map +1 -0
- package/outputs/sources/comparer.d.ts +62 -0
- package/outputs/sources/comparer.d.ts.map +1 -0
- package/outputs/sources/comparer.js +102 -0
- package/outputs/sources/comparer.js.map +1 -0
- package/outputs/sources/comparison.d.ts +18 -0
- package/outputs/sources/comparison.d.ts.map +1 -0
- package/outputs/sources/comparison.js +19 -0
- package/outputs/sources/comparison.js.map +1 -0
- package/outputs/sources/concatenateIterable.d.ts +28 -0
- package/outputs/sources/concatenateIterable.d.ts.map +1 -0
- package/outputs/sources/concatenateIterable.js +74 -0
- package/outputs/sources/concatenateIterable.js.map +1 -0
- package/outputs/sources/concatenateIterator.d.ts +30 -0
- package/outputs/sources/concatenateIterator.d.ts.map +1 -0
- package/outputs/sources/concatenateIterator.js +104 -0
- package/outputs/sources/concatenateIterator.js.map +1 -0
- package/outputs/sources/condition.d.ts +248 -0
- package/outputs/sources/condition.d.ts.map +1 -0
- package/outputs/sources/condition.js +166 -0
- package/outputs/sources/condition.js.map +1 -0
- package/outputs/sources/currentProcess.d.ts +31 -0
- package/outputs/sources/currentProcess.d.ts.map +1 -0
- package/outputs/sources/currentProcess.js +106 -0
- package/outputs/sources/currentProcess.js.map +1 -0
- package/outputs/sources/dateTime.d.ts +44 -0
- package/outputs/sources/dateTime.d.ts.map +1 -0
- package/outputs/sources/dateTime.js +76 -0
- package/outputs/sources/dateTime.js.map +1 -0
- package/outputs/sources/depthFirstSearch.d.ts +9 -0
- package/outputs/sources/depthFirstSearch.d.ts.map +1 -0
- package/outputs/sources/depthFirstSearch.js +148 -0
- package/outputs/sources/depthFirstSearch.js.map +1 -0
- package/outputs/sources/disposable.d.ts +25 -0
- package/outputs/sources/disposable.d.ts.map +1 -0
- package/outputs/sources/disposable.js +16 -0
- package/outputs/sources/disposable.js.map +1 -0
- package/outputs/sources/emptyError.d.ts +7 -0
- package/outputs/sources/emptyError.d.ts.map +1 -0
- package/outputs/sources/emptyError.js +9 -0
- package/outputs/sources/emptyError.js.map +1 -0
- package/outputs/sources/english.d.ts +4 -0
- package/outputs/sources/english.d.ts.map +1 -0
- package/outputs/sources/english.js +33 -0
- package/outputs/sources/english.js.map +1 -0
- package/outputs/sources/equalFunctions.d.ts +18 -0
- package/outputs/sources/equalFunctions.d.ts.map +1 -0
- package/outputs/sources/equalFunctions.js +88 -0
- package/outputs/sources/equalFunctions.js.map +1 -0
- package/outputs/sources/fetchHttpClient.d.ts +16 -0
- package/outputs/sources/fetchHttpClient.d.ts.map +1 -0
- package/outputs/sources/fetchHttpClient.js +86 -0
- package/outputs/sources/fetchHttpClient.js.map +1 -0
- package/outputs/sources/fetchHttpResponse.d.ts +19 -0
- package/outputs/sources/fetchHttpResponse.d.ts.map +1 -0
- package/outputs/sources/fetchHttpResponse.js +72 -0
- package/outputs/sources/fetchHttpResponse.js.map +1 -0
- package/outputs/sources/flatMapIterable.d.ts +29 -0
- package/outputs/sources/flatMapIterable.d.ts.map +1 -0
- package/outputs/sources/flatMapIterable.js +61 -0
- package/outputs/sources/flatMapIterable.js.map +1 -0
- package/outputs/sources/flatMapIterator.d.ts +33 -0
- package/outputs/sources/flatMapIterator.d.ts.map +1 -0
- package/outputs/sources/flatMapIterator.js +95 -0
- package/outputs/sources/flatMapIterator.js.map +1 -0
- package/outputs/sources/generator.d.ts +55 -0
- package/outputs/sources/generator.d.ts.map +1 -0
- package/outputs/sources/generator.js +139 -0
- package/outputs/sources/generator.js.map +1 -0
- package/outputs/sources/httpClient.d.ts +21 -0
- package/outputs/sources/httpClient.d.ts.map +1 -0
- package/outputs/sources/httpClient.js +22 -0
- package/outputs/sources/httpClient.js.map +1 -0
- package/outputs/sources/httpHeader.d.ts +10 -0
- package/outputs/sources/httpHeader.d.ts.map +1 -0
- package/outputs/sources/httpHeader.js +25 -0
- package/outputs/sources/httpHeader.js.map +1 -0
- package/outputs/sources/httpHeaders.d.ts +68 -0
- package/outputs/sources/httpHeaders.d.ts.map +1 -0
- package/outputs/sources/httpHeaders.js +122 -0
- package/outputs/sources/httpHeaders.js.map +1 -0
- package/outputs/sources/httpIncomingRequest.d.ts +40 -0
- package/outputs/sources/httpIncomingRequest.d.ts.map +1 -0
- package/outputs/sources/httpIncomingRequest.js +6 -0
- package/outputs/sources/httpIncomingRequest.js.map +1 -0
- package/outputs/sources/httpIncomingResponse.d.ts +28 -0
- package/outputs/sources/httpIncomingResponse.d.ts.map +1 -0
- package/outputs/sources/httpIncomingResponse.js +6 -0
- package/outputs/sources/httpIncomingResponse.js.map +1 -0
- package/outputs/sources/httpMethod.d.ts +62 -0
- package/outputs/sources/httpMethod.d.ts.map +1 -0
- package/outputs/sources/httpMethod.js +136 -0
- package/outputs/sources/httpMethod.js.map +1 -0
- package/outputs/sources/httpOutgoingRequest.d.ts +50 -0
- package/outputs/sources/httpOutgoingRequest.d.ts.map +1 -0
- package/outputs/sources/httpOutgoingRequest.js +84 -0
- package/outputs/sources/httpOutgoingRequest.js.map +1 -0
- package/outputs/sources/httpOutgoingResponse.d.ts +46 -0
- package/outputs/sources/httpOutgoingResponse.d.ts.map +1 -0
- package/outputs/sources/httpOutgoingResponse.js +6 -0
- package/outputs/sources/httpOutgoingResponse.js.map +1 -0
- package/outputs/sources/httpServer.d.ts +29 -0
- package/outputs/sources/httpServer.d.ts.map +1 -0
- package/outputs/sources/httpServer.js +3 -0
- package/outputs/sources/httpServer.js.map +1 -0
- package/outputs/sources/inMemoryCharacterWriteStream.d.ts +15 -0
- package/outputs/sources/inMemoryCharacterWriteStream.d.ts.map +1 -0
- package/outputs/sources/inMemoryCharacterWriteStream.js +52 -0
- package/outputs/sources/inMemoryCharacterWriteStream.js.map +1 -0
- package/outputs/sources/index.d.ts +111 -0
- package/outputs/sources/index.d.ts.map +1 -0
- package/outputs/sources/index.js +111 -0
- package/outputs/sources/index.js.map +1 -0
- package/outputs/sources/iterable.d.ts +132 -0
- package/outputs/sources/iterable.d.ts.map +1 -0
- package/outputs/sources/iterable.js +251 -0
- package/outputs/sources/iterable.js.map +1 -0
- package/outputs/sources/iterator.d.ts +163 -0
- package/outputs/sources/iterator.d.ts.map +1 -0
- package/outputs/sources/iterator.js +332 -0
- package/outputs/sources/iterator.js.map +1 -0
- package/outputs/sources/iteratorToJavascriptIteratorAdapter.d.ts +13 -0
- package/outputs/sources/iteratorToJavascriptIteratorAdapter.d.ts.map +1 -0
- package/outputs/sources/iteratorToJavascriptIteratorAdapter.js +34 -0
- package/outputs/sources/iteratorToJavascriptIteratorAdapter.js.map +1 -0
- package/outputs/sources/javascript.d.ts +51 -0
- package/outputs/sources/javascript.d.ts.map +1 -0
- package/outputs/sources/javascript.js +8 -0
- package/outputs/sources/javascript.js.map +1 -0
- package/outputs/sources/javascriptArrayList.d.ts +39 -0
- package/outputs/sources/javascriptArrayList.d.ts.map +1 -0
- package/outputs/sources/javascriptArrayList.js +104 -0
- package/outputs/sources/javascriptArrayList.js.map +1 -0
- package/outputs/sources/javascriptAsyncIteratorToAsyncIteratorAdapter.d.ts +29 -0
- package/outputs/sources/javascriptAsyncIteratorToAsyncIteratorAdapter.d.ts.map +1 -0
- package/outputs/sources/javascriptAsyncIteratorToAsyncIteratorAdapter.js +77 -0
- package/outputs/sources/javascriptAsyncIteratorToAsyncIteratorAdapter.js.map +1 -0
- package/outputs/sources/javascriptIteratorToIteratorAdapter.d.ts +31 -0
- package/outputs/sources/javascriptIteratorToIteratorAdapter.d.ts.map +1 -0
- package/outputs/sources/javascriptIteratorToIteratorAdapter.js +83 -0
- package/outputs/sources/javascriptIteratorToIteratorAdapter.js.map +1 -0
- package/outputs/sources/javascriptMapMap.d.ts +37 -0
- package/outputs/sources/javascriptMapMap.d.ts.map +1 -0
- package/outputs/sources/javascriptMapMap.js +88 -0
- package/outputs/sources/javascriptMapMap.js.map +1 -0
- package/outputs/sources/javascriptSetSet.d.ts +33 -0
- package/outputs/sources/javascriptSetSet.d.ts.map +1 -0
- package/outputs/sources/javascriptSetSet.js +84 -0
- package/outputs/sources/javascriptSetSet.js.map +1 -0
- package/outputs/sources/list.d.ts +106 -0
- package/outputs/sources/list.d.ts.map +1 -0
- package/outputs/sources/list.js +211 -0
- package/outputs/sources/list.js.map +1 -0
- package/outputs/sources/listQueue.d.ts +16 -0
- package/outputs/sources/listQueue.d.ts.map +1 -0
- package/outputs/sources/listQueue.js +39 -0
- package/outputs/sources/listQueue.js.map +1 -0
- package/outputs/sources/listStack.d.ts +17 -0
- package/outputs/sources/listStack.d.ts.map +1 -0
- package/outputs/sources/listStack.js +42 -0
- package/outputs/sources/listStack.js.map +1 -0
- package/outputs/sources/luxonDateTime.d.ts +26 -0
- package/outputs/sources/luxonDateTime.d.ts.map +1 -0
- package/outputs/sources/luxonDateTime.js +70 -0
- package/outputs/sources/luxonDateTime.js.map +1 -0
- package/outputs/sources/map.d.ts +105 -0
- package/outputs/sources/map.d.ts.map +1 -0
- package/outputs/sources/map.js +185 -0
- package/outputs/sources/map.js.map +1 -0
- package/outputs/sources/mapAsyncIterator.d.ts +34 -0
- package/outputs/sources/mapAsyncIterator.d.ts.map +1 -0
- package/outputs/sources/mapAsyncIterator.js +91 -0
- package/outputs/sources/mapAsyncIterator.js.map +1 -0
- package/outputs/sources/mapIterable.d.ts +31 -0
- package/outputs/sources/mapIterable.d.ts.map +1 -0
- package/outputs/sources/mapIterable.js +64 -0
- package/outputs/sources/mapIterable.js.map +1 -0
- package/outputs/sources/mapIterator.d.ts +35 -0
- package/outputs/sources/mapIterator.d.ts.map +1 -0
- package/outputs/sources/mapIterator.js +93 -0
- package/outputs/sources/mapIterator.js.map +1 -0
- package/outputs/sources/mutableCondition.d.ts +99 -0
- package/outputs/sources/mutableCondition.d.ts.map +1 -0
- package/outputs/sources/mutableCondition.js +334 -0
- package/outputs/sources/mutableCondition.js.map +1 -0
- package/outputs/sources/mutableHttpHeaders.d.ts +44 -0
- package/outputs/sources/mutableHttpHeaders.d.ts.map +1 -0
- package/outputs/sources/mutableHttpHeaders.js +125 -0
- package/outputs/sources/mutableHttpHeaders.js.map +1 -0
- package/outputs/sources/mutableMap.d.ts +125 -0
- package/outputs/sources/mutableMap.d.ts.map +1 -0
- package/outputs/sources/mutableMap.js +179 -0
- package/outputs/sources/mutableMap.js.map +1 -0
- package/outputs/sources/network.d.ts +16 -0
- package/outputs/sources/network.d.ts.map +1 -0
- package/outputs/sources/network.js +6 -0
- package/outputs/sources/network.js.map +1 -0
- package/outputs/sources/node.d.ts +11 -0
- package/outputs/sources/node.d.ts.map +1 -0
- package/outputs/sources/node.js +24 -0
- package/outputs/sources/node.js.map +1 -0
- package/outputs/sources/nodeJSCharacterWriteStream.d.ts +9 -0
- package/outputs/sources/nodeJSCharacterWriteStream.d.ts.map +1 -0
- package/outputs/sources/nodeJSCharacterWriteStream.js +28 -0
- package/outputs/sources/nodeJSCharacterWriteStream.js.map +1 -0
- package/outputs/sources/nodeJSHttpIncomingRequest.d.ts +21 -0
- package/outputs/sources/nodeJSHttpIncomingRequest.d.ts.map +1 -0
- package/outputs/sources/nodeJSHttpIncomingRequest.js +88 -0
- package/outputs/sources/nodeJSHttpIncomingRequest.js.map +1 -0
- package/outputs/sources/nodeJSHttpServer.d.ts +21 -0
- package/outputs/sources/nodeJSHttpServer.d.ts.map +1 -0
- package/outputs/sources/nodeJSHttpServer.js +83 -0
- package/outputs/sources/nodeJSHttpServer.js.map +1 -0
- package/outputs/sources/notFoundError.d.ts +7 -0
- package/outputs/sources/notFoundError.d.ts.map +1 -0
- package/outputs/sources/notFoundError.js +10 -0
- package/outputs/sources/notFoundError.js.map +1 -0
- package/outputs/sources/postCondition.d.ts +186 -0
- package/outputs/sources/postCondition.d.ts.map +1 -0
- package/outputs/sources/postCondition.js +224 -0
- package/outputs/sources/postCondition.js.map +1 -0
- package/outputs/sources/postConditionError.d.ts +7 -0
- package/outputs/sources/postConditionError.d.ts.map +1 -0
- package/outputs/sources/postConditionError.js +10 -0
- package/outputs/sources/postConditionError.js.map +1 -0
- package/outputs/sources/preCondition.d.ts +186 -0
- package/outputs/sources/preCondition.d.ts.map +1 -0
- package/outputs/sources/preCondition.js +224 -0
- package/outputs/sources/preCondition.js.map +1 -0
- package/outputs/sources/preConditionError.d.ts +7 -0
- package/outputs/sources/preConditionError.d.ts.map +1 -0
- package/outputs/sources/preConditionError.js +10 -0
- package/outputs/sources/preConditionError.js.map +1 -0
- package/outputs/sources/promiseAsyncResult.d.ts +22 -0
- package/outputs/sources/promiseAsyncResult.d.ts.map +1 -0
- package/outputs/sources/promiseAsyncResult.js +131 -0
- package/outputs/sources/promiseAsyncResult.js.map +1 -0
- package/outputs/sources/property.d.ts +15 -0
- package/outputs/sources/property.d.ts.map +1 -0
- package/outputs/sources/property.js +44 -0
- package/outputs/sources/property.js.map +1 -0
- package/outputs/sources/queue.d.ts +39 -0
- package/outputs/sources/queue.d.ts.map +1 -0
- package/outputs/sources/queue.js +14 -0
- package/outputs/sources/queue.js.map +1 -0
- package/outputs/sources/realNetwork.d.ts +10 -0
- package/outputs/sources/realNetwork.d.ts.map +1 -0
- package/outputs/sources/realNetwork.js +18 -0
- package/outputs/sources/realNetwork.js.map +1 -0
- package/outputs/sources/recreationDotGovClient.d.ts +79 -0
- package/outputs/sources/recreationDotGovClient.d.ts.map +1 -0
- package/outputs/sources/recreationDotGovClient.js +130 -0
- package/outputs/sources/recreationDotGovClient.js.map +1 -0
- package/outputs/sources/searchControl.d.ts +36 -0
- package/outputs/sources/searchControl.d.ts.map +1 -0
- package/outputs/sources/searchControl.js +6 -0
- package/outputs/sources/searchControl.js.map +1 -0
- package/outputs/sources/set.d.ts +62 -0
- package/outputs/sources/set.d.ts.map +1 -0
- package/outputs/sources/set.js +145 -0
- package/outputs/sources/set.js.map +1 -0
- package/outputs/sources/skipAsyncIterator.d.ts +34 -0
- package/outputs/sources/skipAsyncIterator.d.ts.map +1 -0
- package/outputs/sources/skipAsyncIterator.js +94 -0
- package/outputs/sources/skipAsyncIterator.js.map +1 -0
- package/outputs/sources/skipIterator.d.ts +36 -0
- package/outputs/sources/skipIterator.d.ts.map +1 -0
- package/outputs/sources/skipIterator.js +100 -0
- package/outputs/sources/skipIterator.js.map +1 -0
- package/outputs/sources/stack.d.ts +43 -0
- package/outputs/sources/stack.d.ts.map +1 -0
- package/outputs/sources/stack.js +14 -0
- package/outputs/sources/stack.js.map +1 -0
- package/outputs/sources/stringComparer.d.ts +12 -0
- package/outputs/sources/stringComparer.d.ts.map +1 -0
- package/outputs/sources/stringComparer.js +24 -0
- package/outputs/sources/stringComparer.js.map +1 -0
- package/outputs/sources/stringIterator.d.ts +36 -0
- package/outputs/sources/stringIterator.d.ts.map +1 -0
- package/outputs/sources/stringIterator.js +94 -0
- package/outputs/sources/stringIterator.js.map +1 -0
- package/outputs/sources/strings.d.ts +78 -0
- package/outputs/sources/strings.d.ts.map +1 -0
- package/outputs/sources/strings.js +218 -0
- package/outputs/sources/strings.js.map +1 -0
- package/outputs/sources/syncResult.d.ts +32 -0
- package/outputs/sources/syncResult.d.ts.map +1 -0
- package/outputs/sources/syncResult.js +200 -0
- package/outputs/sources/syncResult.js.map +1 -0
- package/outputs/sources/takeAsyncIterator.d.ts +34 -0
- package/outputs/sources/takeAsyncIterator.d.ts.map +1 -0
- package/outputs/sources/takeAsyncIterator.js +92 -0
- package/outputs/sources/takeAsyncIterator.js.map +1 -0
- package/outputs/sources/takeIterator.d.ts +36 -0
- package/outputs/sources/takeIterator.d.ts.map +1 -0
- package/outputs/sources/takeIterator.js +98 -0
- package/outputs/sources/takeIterator.js.map +1 -0
- package/outputs/sources/toStringFunctions.d.ts +21 -0
- package/outputs/sources/toStringFunctions.d.ts.map +1 -0
- package/outputs/sources/toStringFunctions.js +130 -0
- package/outputs/sources/toStringFunctions.js.map +1 -0
- package/outputs/sources/types.d.ts +194 -0
- package/outputs/sources/types.d.ts.map +1 -0
- package/outputs/sources/types.js +277 -0
- package/outputs/sources/types.js.map +1 -0
- package/outputs/sources/whereAsyncIterator.d.ts +33 -0
- package/outputs/sources/whereAsyncIterator.d.ts.map +1 -0
- package/outputs/sources/whereAsyncIterator.js +91 -0
- package/outputs/sources/whereAsyncIterator.js.map +1 -0
- package/outputs/sources/whereIterable.d.ts +32 -0
- package/outputs/sources/whereIterable.d.ts.map +1 -0
- package/outputs/sources/whereIterable.js +65 -0
- package/outputs/sources/whereIterable.js.map +1 -0
- package/outputs/sources/whereIterator.d.ts +35 -0
- package/outputs/sources/whereIterator.d.ts.map +1 -0
- package/outputs/sources/whereIterator.js +102 -0
- package/outputs/sources/whereIterator.js.map +1 -0
- package/outputs/sources/wonderlandTrailClient.d.ts +202 -0
- package/outputs/sources/wonderlandTrailClient.d.ts.map +1 -0
- package/outputs/sources/wonderlandTrailClient.js +1094 -0
- package/outputs/sources/wonderlandTrailClient.js.map +1 -0
- package/outputs/tests/AssertTestCreator.d.ts +11 -0
- package/outputs/tests/AssertTestCreator.d.ts.map +1 -0
- package/outputs/tests/AssertTestCreator.js +15 -0
- package/outputs/tests/AssertTestCreator.js.map +1 -0
- package/outputs/tests/BasicTestError.d.ts +14 -0
- package/outputs/tests/BasicTestError.d.ts.map +1 -0
- package/outputs/tests/BasicTestError.js +94 -0
- package/outputs/tests/BasicTestError.js.map +1 -0
- package/outputs/tests/BasicTestErrorCreator.d.ts +11 -0
- package/outputs/tests/BasicTestErrorCreator.d.ts.map +1 -0
- package/outputs/tests/BasicTestErrorCreator.js +15 -0
- package/outputs/tests/BasicTestErrorCreator.js.map +1 -0
- package/outputs/tests/BasicTestErrorTests.d.ts +3 -0
- package/outputs/tests/BasicTestErrorTests.d.ts.map +1 -0
- package/outputs/tests/BasicTestErrorTests.js +236 -0
- package/outputs/tests/BasicTestErrorTests.js.map +1 -0
- package/outputs/tests/CharacterTableTests.d.ts +3 -0
- package/outputs/tests/CharacterTableTests.d.ts.map +1 -0
- package/outputs/tests/CharacterTableTests.js +24 -0
- package/outputs/tests/CharacterTableTests.js.map +1 -0
- package/outputs/tests/ClockTests.d.ts +5 -0
- package/outputs/tests/ClockTests.d.ts.map +1 -0
- package/outputs/tests/ClockTests.js +23 -0
- package/outputs/tests/ClockTests.js.map +1 -0
- package/outputs/tests/CommandLineParametersTests.d.ts +3 -0
- package/outputs/tests/CommandLineParametersTests.d.ts.map +1 -0
- package/outputs/tests/CommandLineParametersTests.js +58 -0
- package/outputs/tests/CommandLineParametersTests.js.map +1 -0
- package/outputs/tests/ConsoleTestRunnerUI.d.ts +49 -0
- package/outputs/tests/ConsoleTestRunnerUI.d.ts.map +1 -0
- package/outputs/tests/ConsoleTestRunnerUI.js +213 -0
- package/outputs/tests/ConsoleTestRunnerUI.js.map +1 -0
- package/outputs/tests/ConsoleTestRunnerUITests.d.ts +5 -0
- package/outputs/tests/ConsoleTestRunnerUITests.d.ts.map +1 -0
- package/outputs/tests/ConsoleTestRunnerUITests.js +26 -0
- package/outputs/tests/ConsoleTestRunnerUITests.js.map +1 -0
- package/outputs/tests/FakeClock.d.ts +16 -0
- package/outputs/tests/FakeClock.d.ts.map +1 -0
- package/outputs/tests/FakeClock.js +27 -0
- package/outputs/tests/FakeClock.js.map +1 -0
- package/outputs/tests/IndentedCharacterWriteStreamTests.d.ts +3 -0
- package/outputs/tests/IndentedCharacterWriteStreamTests.d.ts.map +1 -0
- package/outputs/tests/IndentedCharacterWriteStreamTests.js +269 -0
- package/outputs/tests/IndentedCharacterWriteStreamTests.js.map +1 -0
- package/outputs/tests/IndexableTests.d.ts +5 -0
- package/outputs/tests/IndexableTests.d.ts.map +1 -0
- package/outputs/tests/IndexableTests.js +46 -0
- package/outputs/tests/IndexableTests.js.map +1 -0
- package/outputs/tests/MutableIndexableTests.d.ts +5 -0
- package/outputs/tests/MutableIndexableTests.d.ts.map +1 -0
- package/outputs/tests/MutableIndexableTests.js +33 -0
- package/outputs/tests/MutableIndexableTests.js.map +1 -0
- package/outputs/tests/TestCreator.d.ts +15 -0
- package/outputs/tests/TestCreator.d.ts.map +1 -0
- package/outputs/tests/TestCreator.js +13 -0
- package/outputs/tests/TestCreator.js.map +1 -0
- package/outputs/tests/TestError.d.ts +31 -0
- package/outputs/tests/TestError.d.ts.map +1 -0
- package/outputs/tests/TestError.js +5 -0
- package/outputs/tests/TestError.js.map +1 -0
- package/outputs/tests/TestErrorCreator.d.ts +6 -0
- package/outputs/tests/TestErrorCreator.d.ts.map +1 -0
- package/outputs/tests/TestErrorCreator.js +7 -0
- package/outputs/tests/TestErrorCreator.js.map +1 -0
- package/outputs/tests/TokenizerTests.d.ts +3 -0
- package/outputs/tests/TokenizerTests.d.ts.map +1 -0
- package/outputs/tests/TokenizerTests.js +100 -0
- package/outputs/tests/TokenizerTests.js.map +1 -0
- package/outputs/tests/assertTest.d.ts +32 -0
- package/outputs/tests/assertTest.d.ts.map +1 -0
- package/outputs/tests/assertTest.js +75 -0
- package/outputs/tests/assertTest.js.map +1 -0
- package/outputs/tests/assertTestTests.d.ts +3 -0
- package/outputs/tests/assertTestTests.d.ts.map +1 -0
- package/outputs/tests/assertTestTests.js +49 -0
- package/outputs/tests/assertTestTests.js.map +1 -0
- package/outputs/tests/basicTestSkip.d.ts +20 -0
- package/outputs/tests/basicTestSkip.d.ts.map +1 -0
- package/outputs/tests/basicTestSkip.js +36 -0
- package/outputs/tests/basicTestSkip.js.map +1 -0
- package/outputs/tests/byteListStreamTests.d.ts +3 -0
- package/outputs/tests/byteListStreamTests.d.ts.map +1 -0
- package/outputs/tests/byteListStreamTests.js +247 -0
- package/outputs/tests/byteListStreamTests.js.map +1 -0
- package/outputs/tests/byteListTests.d.ts +3 -0
- package/outputs/tests/byteListTests.d.ts.map +1 -0
- package/outputs/tests/byteListTests.js +5 -0
- package/outputs/tests/byteListTests.js.map +1 -0
- package/outputs/tests/bytesTests.d.ts +3 -0
- package/outputs/tests/bytesTests.d.ts.map +1 -0
- package/outputs/tests/bytesTests.js +30 -0
- package/outputs/tests/bytesTests.js.map +1 -0
- package/outputs/tests/characterListStreamTests.d.ts +3 -0
- package/outputs/tests/characterListStreamTests.d.ts.map +1 -0
- package/outputs/tests/characterListStreamTests.js +247 -0
- package/outputs/tests/characterListStreamTests.js.map +1 -0
- package/outputs/tests/characterListTests.d.ts +3 -0
- package/outputs/tests/characterListTests.d.ts.map +1 -0
- package/outputs/tests/characterListTests.js +159 -0
- package/outputs/tests/characterListTests.js.map +1 -0
- package/outputs/tests/characterWriteStreamTests.d.ts +4 -0
- package/outputs/tests/characterWriteStreamTests.d.ts.map +1 -0
- package/outputs/tests/characterWriteStreamTests.js +7 -0
- package/outputs/tests/characterWriteStreamTests.js.map +1 -0
- package/outputs/tests/comparerTests.d.ts +3 -0
- package/outputs/tests/comparerTests.d.ts.map +1 -0
- package/outputs/tests/comparerTests.js +67 -0
- package/outputs/tests/comparerTests.js.map +1 -0
- package/outputs/tests/conditionTests.d.ts +3 -0
- package/outputs/tests/conditionTests.d.ts.map +1 -0
- package/outputs/tests/conditionTests.js +602 -0
- package/outputs/tests/conditionTests.js.map +1 -0
- package/outputs/tests/consoleTestRunner.d.ts +95 -0
- package/outputs/tests/consoleTestRunner.d.ts.map +1 -0
- package/outputs/tests/consoleTestRunner.js +351 -0
- package/outputs/tests/consoleTestRunner.js.map +1 -0
- package/outputs/tests/consoleTestRunnerTests.d.ts +3 -0
- package/outputs/tests/consoleTestRunnerTests.d.ts.map +1 -0
- package/outputs/tests/consoleTestRunnerTests.js +537 -0
- package/outputs/tests/consoleTestRunnerTests.js.map +1 -0
- package/outputs/tests/dateTimeTests.d.ts +3 -0
- package/outputs/tests/dateTimeTests.d.ts.map +1 -0
- package/outputs/tests/dateTimeTests.js +24 -0
- package/outputs/tests/dateTimeTests.js.map +1 -0
- package/outputs/tests/depthFirstSearchTests.d.ts +3 -0
- package/outputs/tests/depthFirstSearchTests.d.ts.map +1 -0
- package/outputs/tests/depthFirstSearchTests.js +61 -0
- package/outputs/tests/depthFirstSearchTests.js.map +1 -0
- package/outputs/tests/disposableTests.d.ts +3 -0
- package/outputs/tests/disposableTests.d.ts.map +1 -0
- package/outputs/tests/disposableTests.js +81 -0
- package/outputs/tests/disposableTests.js.map +1 -0
- package/outputs/tests/englishTests.d.ts +3 -0
- package/outputs/tests/englishTests.d.ts.map +1 -0
- package/outputs/tests/englishTests.js +68 -0
- package/outputs/tests/englishTests.js.map +1 -0
- package/outputs/tests/equalFunctionsTests.d.ts +3 -0
- package/outputs/tests/equalFunctionsTests.d.ts.map +1 -0
- package/outputs/tests/equalFunctionsTests.js +187 -0
- package/outputs/tests/equalFunctionsTests.js.map +1 -0
- package/outputs/tests/failedTest.d.ts +11 -0
- package/outputs/tests/failedTest.d.ts.map +1 -0
- package/outputs/tests/failedTest.js +21 -0
- package/outputs/tests/failedTest.js.map +1 -0
- package/outputs/tests/fetchHttpClientTests.d.ts +3 -0
- package/outputs/tests/fetchHttpClientTests.d.ts.map +1 -0
- package/outputs/tests/fetchHttpClientTests.js +21 -0
- package/outputs/tests/fetchHttpClientTests.js.map +1 -0
- package/outputs/tests/generatorTests.d.ts +3 -0
- package/outputs/tests/generatorTests.d.ts.map +1 -0
- package/outputs/tests/generatorTests.js +55 -0
- package/outputs/tests/generatorTests.js.map +1 -0
- package/outputs/tests/httpClientTests.d.ts +3 -0
- package/outputs/tests/httpClientTests.d.ts.map +1 -0
- package/outputs/tests/httpClientTests.js +12 -0
- package/outputs/tests/httpClientTests.js.map +1 -0
- package/outputs/tests/inMemoryCharacterWriteStreamTests.d.ts +3 -0
- package/outputs/tests/inMemoryCharacterWriteStreamTests.d.ts.map +1 -0
- package/outputs/tests/inMemoryCharacterWriteStreamTests.js +84 -0
- package/outputs/tests/inMemoryCharacterWriteStreamTests.js.map +1 -0
- package/outputs/tests/index.d.ts +12 -0
- package/outputs/tests/index.d.ts.map +1 -0
- package/outputs/tests/index.js +12 -0
- package/outputs/tests/index.js.map +1 -0
- package/outputs/tests/iterableTests.d.ts +5 -0
- package/outputs/tests/iterableTests.d.ts.map +1 -0
- package/outputs/tests/iterableTests.js +155 -0
- package/outputs/tests/iterableTests.js.map +1 -0
- package/outputs/tests/iteratorTests.d.ts +5 -0
- package/outputs/tests/iteratorTests.d.ts.map +1 -0
- package/outputs/tests/iteratorTests.js +728 -0
- package/outputs/tests/iteratorTests.js.map +1 -0
- package/outputs/tests/javascriptMapMapTests.d.ts +3 -0
- package/outputs/tests/javascriptMapMapTests.d.ts.map +1 -0
- package/outputs/tests/javascriptMapMapTests.js +14 -0
- package/outputs/tests/javascriptMapMapTests.js.map +1 -0
- package/outputs/tests/listTests.d.ts +3 -0
- package/outputs/tests/listTests.d.ts.map +1 -0
- package/outputs/tests/listTests.js +202 -0
- package/outputs/tests/listTests.js.map +1 -0
- package/outputs/tests/mapIteratorTests.d.ts +3 -0
- package/outputs/tests/mapIteratorTests.d.ts.map +1 -0
- package/outputs/tests/mapIteratorTests.js +27 -0
- package/outputs/tests/mapIteratorTests.js.map +1 -0
- package/outputs/tests/mapTests.d.ts +5 -0
- package/outputs/tests/mapTests.d.ts.map +1 -0
- package/outputs/tests/mapTests.js +64 -0
- package/outputs/tests/mapTests.js.map +1 -0
- package/outputs/tests/mutableConditionTests.d.ts +3 -0
- package/outputs/tests/mutableConditionTests.d.ts.map +1 -0
- package/outputs/tests/mutableConditionTests.js +174 -0
- package/outputs/tests/mutableConditionTests.js.map +1 -0
- package/outputs/tests/mutableMapTests.d.ts +5 -0
- package/outputs/tests/mutableMapTests.d.ts.map +1 -0
- package/outputs/tests/mutableMapTests.js +102 -0
- package/outputs/tests/mutableMapTests.js.map +1 -0
- package/outputs/tests/nodeJSHttpServerTests.d.ts +3 -0
- package/outputs/tests/nodeJSHttpServerTests.d.ts.map +1 -0
- package/outputs/tests/nodeJSHttpServerTests.js +50 -0
- package/outputs/tests/nodeJSHttpServerTests.js.map +1 -0
- package/outputs/tests/notFoundErrorTests.d.ts +3 -0
- package/outputs/tests/notFoundErrorTests.d.ts.map +1 -0
- package/outputs/tests/notFoundErrorTests.js +17 -0
- package/outputs/tests/notFoundErrorTests.js.map +1 -0
- package/outputs/tests/postConditionErrorTests.d.ts +3 -0
- package/outputs/tests/postConditionErrorTests.d.ts.map +1 -0
- package/outputs/tests/postConditionErrorTests.js +17 -0
- package/outputs/tests/postConditionErrorTests.js.map +1 -0
- package/outputs/tests/preConditionErrorTests.d.ts +3 -0
- package/outputs/tests/preConditionErrorTests.d.ts.map +1 -0
- package/outputs/tests/preConditionErrorTests.js +17 -0
- package/outputs/tests/preConditionErrorTests.js.map +1 -0
- package/outputs/tests/promiseAsyncResultTests.d.ts +3 -0
- package/outputs/tests/promiseAsyncResultTests.d.ts.map +1 -0
- package/outputs/tests/promiseAsyncResultTests.js +487 -0
- package/outputs/tests/promiseAsyncResultTests.js.map +1 -0
- package/outputs/tests/propertyTests.d.ts +3 -0
- package/outputs/tests/propertyTests.d.ts.map +1 -0
- package/outputs/tests/propertyTests.js +41 -0
- package/outputs/tests/propertyTests.js.map +1 -0
- package/outputs/tests/queueTests.d.ts +3 -0
- package/outputs/tests/queueTests.d.ts.map +1 -0
- package/outputs/tests/queueTests.js +20 -0
- package/outputs/tests/queueTests.js.map +1 -0
- package/outputs/tests/recreationDotGovClientTests.d.ts +3 -0
- package/outputs/tests/recreationDotGovClientTests.d.ts.map +1 -0
- package/outputs/tests/recreationDotGovClientTests.js +111 -0
- package/outputs/tests/recreationDotGovClientTests.js.map +1 -0
- package/outputs/tests/setTests.d.ts +3 -0
- package/outputs/tests/setTests.d.ts.map +1 -0
- package/outputs/tests/setTests.js +92 -0
- package/outputs/tests/setTests.js.map +1 -0
- package/outputs/tests/skippedTest.d.ts +11 -0
- package/outputs/tests/skippedTest.d.ts.map +1 -0
- package/outputs/tests/skippedTest.js +21 -0
- package/outputs/tests/skippedTest.js.map +1 -0
- package/outputs/tests/stackTests.d.ts +3 -0
- package/outputs/tests/stackTests.d.ts.map +1 -0
- package/outputs/tests/stackTests.js +45 -0
- package/outputs/tests/stackTests.js.map +1 -0
- package/outputs/tests/stringComparerTests.d.ts +3 -0
- package/outputs/tests/stringComparerTests.d.ts.map +1 -0
- package/outputs/tests/stringComparerTests.js +47 -0
- package/outputs/tests/stringComparerTests.js.map +1 -0
- package/outputs/tests/stringIteratorTests.d.ts +3 -0
- package/outputs/tests/stringIteratorTests.d.ts.map +1 -0
- package/outputs/tests/stringIteratorTests.js +81 -0
- package/outputs/tests/stringIteratorTests.js.map +1 -0
- package/outputs/tests/stringsTests.d.ts +3 -0
- package/outputs/tests/stringsTests.d.ts.map +1 -0
- package/outputs/tests/stringsTests.js +384 -0
- package/outputs/tests/stringsTests.js.map +1 -0
- package/outputs/tests/syncResultTests.d.ts +3 -0
- package/outputs/tests/syncResultTests.d.ts.map +1 -0
- package/outputs/tests/syncResultTests.js +900 -0
- package/outputs/tests/syncResultTests.js.map +1 -0
- package/outputs/tests/test.d.ts +144 -0
- package/outputs/tests/test.d.ts.map +1 -0
- package/outputs/tests/test.js +145 -0
- package/outputs/tests/test.js.map +1 -0
- package/outputs/tests/testAction.d.ts +22 -0
- package/outputs/tests/testAction.d.ts.map +1 -0
- package/outputs/tests/testAction.js +56 -0
- package/outputs/tests/testAction.js.map +1 -0
- package/outputs/tests/testActionTests.d.ts +3 -0
- package/outputs/tests/testActionTests.d.ts.map +1 -0
- package/outputs/tests/testActionTests.js +56 -0
- package/outputs/tests/testActionTests.js.map +1 -0
- package/outputs/tests/testFailureTests.d.ts +3 -0
- package/outputs/tests/testFailureTests.d.ts.map +1 -0
- package/outputs/tests/testFailureTests.js +7 -0
- package/outputs/tests/testFailureTests.js.map +1 -0
- package/outputs/tests/testRunner.d.ts +107 -0
- package/outputs/tests/testRunner.d.ts.map +1 -0
- package/outputs/tests/testRunner.js +63 -0
- package/outputs/tests/testRunner.js.map +1 -0
- package/outputs/tests/testRunnerTests.d.ts +4 -0
- package/outputs/tests/testRunnerTests.d.ts.map +1 -0
- package/outputs/tests/testRunnerTests.js +258 -0
- package/outputs/tests/testRunnerTests.js.map +1 -0
- package/outputs/tests/testSkip.d.ts +24 -0
- package/outputs/tests/testSkip.d.ts.map +1 -0
- package/outputs/tests/testSkip.js +19 -0
- package/outputs/tests/testSkip.js.map +1 -0
- package/outputs/tests/tests.d.ts +2 -0
- package/outputs/tests/tests.d.ts.map +1 -0
- package/outputs/tests/tests.js +115 -0
- package/outputs/tests/tests.js.map +1 -0
- package/outputs/tests/toStringFunctionsTests.d.ts +3 -0
- package/outputs/tests/toStringFunctionsTests.d.ts.map +1 -0
- package/outputs/tests/toStringFunctionsTests.js +43 -0
- package/outputs/tests/toStringFunctionsTests.js.map +1 -0
- package/outputs/tests/typesTests.d.ts +3 -0
- package/outputs/tests/typesTests.d.ts.map +1 -0
- package/outputs/tests/typesTests.js +194 -0
- package/outputs/tests/typesTests.js.map +1 -0
- package/outputs/tests/whereIteratorTests.d.ts +3 -0
- package/outputs/tests/whereIteratorTests.d.ts.map +1 -0
- package/outputs/tests/whereIteratorTests.js +30 -0
- package/outputs/tests/whereIteratorTests.js.map +1 -0
- package/outputs/tests/wonderlandTrailClientTests.d.ts +3 -0
- package/outputs/tests/wonderlandTrailClientTests.d.ts.map +1 -0
- package/outputs/tests/wonderlandTrailClientTests.js +272 -0
- package/outputs/tests/wonderlandTrailClientTests.js.map +1 -0
- package/package.json +48 -48
- package/outputs/characterWriteStream-CzPcNOCD.d.cts +0 -845
- package/outputs/characterWriteStream-CzPcNOCD.d.ts +0 -845
- package/outputs/chunk-FZ3WRQ7B.js +0 -1199
- package/outputs/chunk-FZ3WRQ7B.js.map +0 -1
- package/outputs/chunk-MHMLVX2O.js +0 -9590
- package/outputs/chunk-MHMLVX2O.js.map +0 -1
- package/outputs/sourceIndex.cjs +0 -9790
- package/outputs/sourceIndex.cjs.map +0 -1
- package/outputs/sourceIndex.d.cts +0 -3532
- package/outputs/sourceIndex.d.ts +0 -3532
- package/outputs/sourceIndex.js +0 -349
- package/outputs/sourceIndex.js.map +0 -1
- package/outputs/testIndex.cjs +0 -7046
- package/outputs/testIndex.cjs.map +0 -1
- package/outputs/testIndex.d.cts +0 -544
- package/outputs/testIndex.d.ts +0 -544
- package/outputs/testIndex.js +0 -55
- package/outputs/testIndex.js.map +0 -1
- package/outputs/tests.cjs +0 -19372
- package/outputs/tests.cjs.map +0 -1
- package/outputs/tests.d.cts +0 -3
- package/outputs/tests.d.ts +0 -3
- package/outputs/tests.js +0 -10017
- package/outputs/tests.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClockTests.js","sourceRoot":"","sources":["../../tests/ClockTests.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAY,MAAM,qBAAqB,CAAC;AAItD,MAAM,UAAU,IAAI,CAAC,MAAkB;IAEnC,MAAM,CAAC,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE;QAE7B,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,GAAG,EAAE;YAE1B,MAAM,CAAC,YAAY,CAAC,UAAU,EAAE,CAAC,IAAU,EAAE,EAAE;gBAE3C,MAAM,KAAK,GAAU,KAAK,CAAC,MAAM,EAAE,CAAC;gBACpC,IAAI,CAAC,4BAA4B,CAAC,KAAK,CAAC,CAAC;YAC7C,CAAC,CAAC,CAAC;YAEH,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QACpC,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC;AAED,MAAM,UAAU,SAAS,CAAC,MAAkB,EAAE,OAAoB;IAE9D,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,GAAG,EAAE;QAE1B,MAAM,CAAC,YAAY,CAAC,OAAO,EAAE,CAAC,IAAU,EAAE,EAAE;YAExC,MAAM,KAAK,GAAU,OAAO,EAAE,CAAC;YAC/B,IAAI,CAAC,4BAA4B,CAAC,KAAK,CAAC,CAAC;YAEzC,MAAM,GAAG,GAAa,KAAK,CAAC,GAAG,EAAE,CAAC;YAClC,IAAI,CAAC,4BAA4B,CAAC,GAAG,CAAC,CAAC;QAC3C,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommandLineParametersTests.d.ts","sourceRoot":"","sources":["../../tests/CommandLineParametersTests.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,wBAAgB,IAAI,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,CA0G7C"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { CommandLineParameters, Iterable, PreConditionError } from "../sources/index.js";
|
|
2
|
+
export function test(runner) {
|
|
3
|
+
runner.testFile("commandLineParameters.ts", () => {
|
|
4
|
+
runner.testType("CommandLineParameters", () => {
|
|
5
|
+
runner.testFunction("create()", () => {
|
|
6
|
+
function createErrorTest(argv, expected) {
|
|
7
|
+
runner.test(`with ${runner.toString(argv)}`, (test) => {
|
|
8
|
+
test.assertThrows(() => CommandLineParameters.create(argv), expected);
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
createErrorTest(undefined, new PreConditionError("Expression: argv", "Expected: not undefined and not null", "Actual: undefined"));
|
|
12
|
+
createErrorTest(null, new PreConditionError("Expression: argv", "Expected: not undefined and not null", "Actual: null"));
|
|
13
|
+
function createTest(argv) {
|
|
14
|
+
runner.test(`with ${runner.toString(argv)}`, (test) => {
|
|
15
|
+
const parameters = CommandLineParameters.create(argv);
|
|
16
|
+
test.assertNotUndefinedAndNotNull(parameters);
|
|
17
|
+
test.assertEqual(parameters.getArguments(), Iterable.create(argv));
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
createTest([]);
|
|
21
|
+
createTest(["a"]);
|
|
22
|
+
});
|
|
23
|
+
runner.testFunction("getArgumentName()", () => {
|
|
24
|
+
function getArgumentNameTest(arg, expected) {
|
|
25
|
+
runner.test(`with ${runner.toString(arg)}`, (test) => {
|
|
26
|
+
test.assertEqual(CommandLineParameters.getArgumentName(arg), expected);
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
getArgumentNameTest("", undefined);
|
|
30
|
+
getArgumentNameTest(" ", undefined);
|
|
31
|
+
getArgumentNameTest("abc", undefined);
|
|
32
|
+
getArgumentNameTest("-", "");
|
|
33
|
+
getArgumentNameTest("--", "");
|
|
34
|
+
getArgumentNameTest("-a", "a");
|
|
35
|
+
getArgumentNameTest("--b", "b");
|
|
36
|
+
getArgumentNameTest("-apples", "apples");
|
|
37
|
+
getArgumentNameTest("--bananas", "bananas");
|
|
38
|
+
getArgumentNameTest("---cat", "-cat");
|
|
39
|
+
});
|
|
40
|
+
runner.testFunction("getNamedArgumentStringValue()", () => {
|
|
41
|
+
function getNamedArgumentStringValueErrorTest(args, nameOrNames, expected) {
|
|
42
|
+
runner.test(`with ${runner.andList([args, nameOrNames])}`, (test) => {
|
|
43
|
+
const parameters = CommandLineParameters.create(args);
|
|
44
|
+
test.assertThrows(() => parameters.getNamedArgumentStringValue(nameOrNames).await(), expected);
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
getNamedArgumentStringValueErrorTest([], undefined, new PreConditionError("Expression: nameOrNames", "Expected: not undefined and not null", "Actual: undefined"));
|
|
48
|
+
getNamedArgumentStringValueErrorTest([], null, new PreConditionError("Expression: nameOrNames", "Expected: not undefined and not null", "Actual: null"));
|
|
49
|
+
getNamedArgumentStringValueErrorTest([], "", new PreConditionError("Expression: nameOrNames", "Expected: not empty", "Actual: \"\""));
|
|
50
|
+
getNamedArgumentStringValueErrorTest([], [], new PreConditionError("Expression: nameOrNames", "Expected: not empty", "Actual: []"));
|
|
51
|
+
getNamedArgumentStringValueErrorTest([], "a", new PreConditionError("No argument found that matches \"a\"."));
|
|
52
|
+
getNamedArgumentStringValueErrorTest([], ["a", "b"], new PreConditionError("No argument found that matches \"a\" or \"b\"."));
|
|
53
|
+
getNamedArgumentStringValueErrorTest([], ["a", "b", "c"], new PreConditionError("No argument found that matches \"a\", \"b\", or \"c\"."));
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=CommandLineParametersTests.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommandLineParametersTests.js","sourceRoot":"","sources":["../../tests/CommandLineParametersTests.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,QAAQ,EAAsB,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAI7G,MAAM,UAAU,IAAI,CAAC,MAAkB;IAEnC,MAAM,CAAC,QAAQ,CAAC,0BAA0B,EAAE,GAAG,EAAE;QAE7C,MAAM,CAAC,QAAQ,CAAC,uBAAuB,EAAE,GAAG,EAAE;YAE1C,MAAM,CAAC,YAAY,CAAC,UAAU,EAAE,GAAG,EAAE;gBAEjC,SAAS,eAAe,CAAC,IAAgC,EAAE,QAAe;oBAEtE,MAAM,CAAC,IAAI,CAAC,QAAQ,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,IAAU,EAAE,EAAE;wBAExD,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,CAAC;oBAC1E,CAAC,CAAC,CAAC;gBACP,CAAC;gBAED,eAAe,CAAC,SAAU,EAAE,IAAI,iBAAiB,CAC7C,kBAAkB,EAClB,sCAAsC,EACtC,mBAAmB,C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,yBAAyB,EACzB,qBAAqB,EACrB,YAAY,CACf,CAAC,CAAC;gBACH,oCAAoC,CAAC,EAAE,EAAE,GAAG,EAAE,IAAI,iBAAiB,CAC/D,uCAAuC,CAC1C,CAAC,CAAC;gBACH,oCAAoC,CAAC,EAAE,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,IAAI,iBAAiB,CACtE,gDAAgD,CACnD,CAAC,CAAC;gBACH,oCAAoC,CAAC,EAAE,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,IAAI,iBAAiB,CAC3E,wDAAwD,CAC3D,CAAC,CAAC;YACP,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Iterable, AsyncResult, CharacterWriteStream } from "../sources/index.js";
|
|
2
|
+
import { FailedTest } from "./failedTest.js";
|
|
3
|
+
import { SkippedTest } from "./skippedTest.js";
|
|
4
|
+
import { TestAction, TestActionType } from "./testAction.js";
|
|
5
|
+
import { GetErrorStringOptions, TestError } from "./TestError.js";
|
|
6
|
+
import { TestSkip } from "./testSkip.js";
|
|
7
|
+
export type ConsoleTestRunnerStyle = TestActionType | "passed" | "skipped" | "failed";
|
|
8
|
+
export declare abstract class ConsoleTestRunnerUI {
|
|
9
|
+
private writeStream?;
|
|
10
|
+
private readonly styles;
|
|
11
|
+
private getErrorStringOptions?;
|
|
12
|
+
protected constructor();
|
|
13
|
+
static flat(): FlatConsoleTestRunnerUI;
|
|
14
|
+
static tree(): TreeConsoleTestRunnerUI;
|
|
15
|
+
setWriteStream(writeStream: CharacterWriteStream): this;
|
|
16
|
+
setStyle(style: ConsoleTestRunnerStyle, styleFunction: (text: string) => string): this;
|
|
17
|
+
setStyles(styles: Partial<Record<ConsoleTestRunnerStyle, (text: string) => string>>): this;
|
|
18
|
+
private applyStyle;
|
|
19
|
+
protected addIndentation(): void;
|
|
20
|
+
protected removeIndentation(): void;
|
|
21
|
+
protected indent(action: () => number | void | PromiseLike<number | void>): AsyncResult<number>;
|
|
22
|
+
protected writeString(text: string): AsyncResult<number>;
|
|
23
|
+
protected writeLine(text?: string): AsyncResult<number>;
|
|
24
|
+
protected writeTestActionName(testAction: TestAction): AsyncResult<number>;
|
|
25
|
+
protected writeFullTestActionName(testAction: TestAction): AsyncResult<number>;
|
|
26
|
+
setGetErrorStringOptions(options: GetErrorStringOptions | undefined): this;
|
|
27
|
+
beforeTestGroup(testGroup: TestAction): AsyncResult<void>;
|
|
28
|
+
afterTestGroup(testGroup: TestAction): AsyncResult<void>;
|
|
29
|
+
beforeTest(testAction: TestAction): AsyncResult<void>;
|
|
30
|
+
afterPassedTest(testAction: TestAction): AsyncResult<void>;
|
|
31
|
+
afterSkippedTest(testAction: TestAction, skip: TestSkip): AsyncResult<void>;
|
|
32
|
+
afterFailedTest(currentTestAction: TestAction, error: TestError): AsyncResult<void>;
|
|
33
|
+
writeSummary(passedTestCount: number, skippedTests: Iterable<SkippedTest>, failedTests: Iterable<FailedTest>): AsyncResult<void>;
|
|
34
|
+
}
|
|
35
|
+
export declare class FlatConsoleTestRunnerUI extends ConsoleTestRunnerUI {
|
|
36
|
+
protected constructor();
|
|
37
|
+
static create(): FlatConsoleTestRunnerUI;
|
|
38
|
+
beforeTest(testAction: TestAction): AsyncResult<void>;
|
|
39
|
+
}
|
|
40
|
+
export declare class TreeConsoleTestRunnerUI extends ConsoleTestRunnerUI {
|
|
41
|
+
private testActions;
|
|
42
|
+
private testActionWrittenDepth;
|
|
43
|
+
protected constructor();
|
|
44
|
+
static create(): TreeConsoleTestRunnerUI;
|
|
45
|
+
beforeTestGroup(testGroup: TestAction): AsyncResult<void>;
|
|
46
|
+
afterTestGroup(testGroup: TestAction): AsyncResult<void>;
|
|
47
|
+
beforeTest(testAction: TestAction): AsyncResult<void>;
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=ConsoleTestRunnerUI.d.ts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AED,qBAAa,uBAAwB,SAAQ,mBAAmB;IAE5D,SAAS,eAGR;IAED,OAAc,MAAM,IAAI,uBAAuB,CAG9C;IAEM,UAAU,CAAC,UAAU,EAAE,UAAU,GAAG,WAAW,CAAC,IAAI,CAAC,CAM3D;CACJ;AAED,qBAAa,uBAAwB,SAAQ,mBAAmB;IAE5D,OAAO,CAAC,WAAW,CAAmB;IACtC,OAAO,CAAC,sBAAsB,CAAS;IAEvC,SAAS,eAMR;IAED,OAAc,MAAM,IAAI,uBAAuB,CAG9C;IAEM,eAAe,CAAC,SAAS,EAAE,UAAU,GAAG,WAAW,CAAC,IAAI,CAAC,CAM/D;IAEM,cAAc,CAAC,SAAS,EAAE,UAAU,GAAG,WAAW,CAAC,IAAI,CAAC,CAe9D;IAEM,UAAU,CAAC,UAAU,EAAE,UAAU,GAAG,WAAW,CAAC,IAAI,CAAC,CAkB3D;CACJ"}
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import { AsyncResult, IndentedCharacterWriteStream, List, Map, NotFoundError, PreCondition, Stack } from "../sources/index.js";
|
|
2
|
+
export class ConsoleTestRunnerUI {
|
|
3
|
+
writeStream;
|
|
4
|
+
styles;
|
|
5
|
+
getErrorStringOptions;
|
|
6
|
+
constructor() {
|
|
7
|
+
this.styles = Map.create();
|
|
8
|
+
}
|
|
9
|
+
static flat() {
|
|
10
|
+
return FlatConsoleTestRunnerUI.create();
|
|
11
|
+
}
|
|
12
|
+
static tree() {
|
|
13
|
+
return TreeConsoleTestRunnerUI.create();
|
|
14
|
+
}
|
|
15
|
+
setWriteStream(writeStream) {
|
|
16
|
+
PreCondition.assertNotUndefinedAndNotNull(writeStream, "writeStream");
|
|
17
|
+
this.writeStream = IndentedCharacterWriteStream.create(writeStream);
|
|
18
|
+
return this;
|
|
19
|
+
}
|
|
20
|
+
setStyle(style, styleFunction) {
|
|
21
|
+
PreCondition.assertNotEmpty(style, "style");
|
|
22
|
+
PreCondition.assertNotUndefinedAndNotNull(styleFunction, "styleFunction");
|
|
23
|
+
this.styles.set(style, styleFunction);
|
|
24
|
+
return this;
|
|
25
|
+
}
|
|
26
|
+
setStyles(styles) {
|
|
27
|
+
PreCondition.assertNotUndefinedAndNotNull(styles, "styles");
|
|
28
|
+
for (const entry of Object.entries(styles)) {
|
|
29
|
+
this.setStyle(entry[0], entry[1]);
|
|
30
|
+
}
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
applyStyle(style, text) {
|
|
34
|
+
PreCondition.assertNotEmpty(style, "style");
|
|
35
|
+
PreCondition.assertNotUndefinedAndNotNull(text, "text");
|
|
36
|
+
const styleFunction = this.styles
|
|
37
|
+
.get(style)
|
|
38
|
+
.catch(NotFoundError, () => { return (text) => text; })
|
|
39
|
+
.await();
|
|
40
|
+
return styleFunction(text);
|
|
41
|
+
}
|
|
42
|
+
addIndentation() {
|
|
43
|
+
this.writeStream?.addIndentation();
|
|
44
|
+
}
|
|
45
|
+
removeIndentation() {
|
|
46
|
+
this.writeStream?.removeIndentation();
|
|
47
|
+
}
|
|
48
|
+
indent(action) {
|
|
49
|
+
return this.writeStream?.indent(action) ?? AsyncResult.value(0);
|
|
50
|
+
}
|
|
51
|
+
writeString(text) {
|
|
52
|
+
return this.writeStream?.writeString(text) ?? AsyncResult.value(0);
|
|
53
|
+
}
|
|
54
|
+
writeLine(text) {
|
|
55
|
+
return this.writeStream?.writeLine(text) ?? AsyncResult.value(0);
|
|
56
|
+
}
|
|
57
|
+
writeTestActionName(testAction) {
|
|
58
|
+
return this.writeString(this.applyStyle(testAction.getType(), testAction.getName()));
|
|
59
|
+
}
|
|
60
|
+
writeFullTestActionName(testAction) {
|
|
61
|
+
return AsyncResult.create(async () => {
|
|
62
|
+
let result = 0;
|
|
63
|
+
const testActionStack = Stack.create();
|
|
64
|
+
let currentTestAction = testAction;
|
|
65
|
+
while (currentTestAction) {
|
|
66
|
+
testActionStack.add(currentTestAction);
|
|
67
|
+
currentTestAction = currentTestAction.getParent();
|
|
68
|
+
}
|
|
69
|
+
while (await testActionStack.any()) {
|
|
70
|
+
currentTestAction = await testActionStack.remove();
|
|
71
|
+
if (currentTestAction.getParent()) {
|
|
72
|
+
result += await this.writeString(" ");
|
|
73
|
+
}
|
|
74
|
+
result += await this.writeTestActionName(currentTestAction);
|
|
75
|
+
}
|
|
76
|
+
return result;
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
setGetErrorStringOptions(options) {
|
|
80
|
+
this.getErrorStringOptions = options;
|
|
81
|
+
return this;
|
|
82
|
+
}
|
|
83
|
+
beforeTestGroup(testGroup) {
|
|
84
|
+
PreCondition.assertNotUndefinedAndNotNull(testGroup, "testGroup");
|
|
85
|
+
return AsyncResult.empty();
|
|
86
|
+
}
|
|
87
|
+
afterTestGroup(testGroup) {
|
|
88
|
+
PreCondition.assertNotUndefinedAndNotNull(testGroup, "testGroup");
|
|
89
|
+
return AsyncResult.empty();
|
|
90
|
+
}
|
|
91
|
+
beforeTest(testAction) {
|
|
92
|
+
return AsyncResult.empty();
|
|
93
|
+
}
|
|
94
|
+
afterPassedTest(testAction) {
|
|
95
|
+
return AsyncResult.create(async () => {
|
|
96
|
+
await this.writeLine(` - ${this.applyStyle("passed", "Passed")}`);
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
afterSkippedTest(testAction, skip) {
|
|
100
|
+
PreCondition.assertNotUndefinedAndNotNull(testAction, "testAction");
|
|
101
|
+
PreCondition.assertNotUndefinedAndNotNull(skip, "skip");
|
|
102
|
+
return AsyncResult.create(async () => {
|
|
103
|
+
await this.writeLine(` - ${this.applyStyle("skipped", "Skipped")}`);
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
afterFailedTest(currentTestAction, error) {
|
|
107
|
+
PreCondition.assertNotUndefinedAndNotNull(currentTestAction, "currentTestAction");
|
|
108
|
+
PreCondition.assertNotUndefinedAndNotNull(error, "error");
|
|
109
|
+
return AsyncResult.create(async () => {
|
|
110
|
+
await this.writeLine(` - ${this.applyStyle("failed", "Failed")}`);
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
writeSummary(passedTestCount, skippedTests, failedTests) {
|
|
114
|
+
PreCondition.assertGreaterThanOrEqualTo(passedTestCount, 0, "passedTestCount");
|
|
115
|
+
PreCondition.assertNotUndefinedAndNotNull(skippedTests, "skippedTests");
|
|
116
|
+
PreCondition.assertNotUndefinedAndNotNull(failedTests, "failedTests");
|
|
117
|
+
return AsyncResult.create(async () => {
|
|
118
|
+
await this.writeLine();
|
|
119
|
+
if (await skippedTests.any()) {
|
|
120
|
+
await this.writeLine(`${this.applyStyle("skipped", "Skipped Tests")}:`);
|
|
121
|
+
let counter = 0;
|
|
122
|
+
for (const skippedTest of skippedTests) {
|
|
123
|
+
await this.writeString(`${++counter}) `);
|
|
124
|
+
await this.writeFullTestActionName(skippedTest.getTestAction());
|
|
125
|
+
await this.writeLine();
|
|
126
|
+
const skipMessage = skippedTest.getSkipMessage();
|
|
127
|
+
if (skipMessage) {
|
|
128
|
+
await this.indent(() => this.writeLine(skipMessage));
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
await this.writeLine();
|
|
132
|
+
}
|
|
133
|
+
if (await failedTests.any()) {
|
|
134
|
+
await this.writeLine(`${this.applyStyle("failed", "Failed Tests")}:`);
|
|
135
|
+
let counter = 0;
|
|
136
|
+
for (const failedTest of failedTests) {
|
|
137
|
+
await this.writeString(`${++counter}) `);
|
|
138
|
+
await this.writeFullTestActionName(failedTest.getTestAction());
|
|
139
|
+
await this.writeLine();
|
|
140
|
+
const testError = failedTest.getTestError();
|
|
141
|
+
await this.indent(() => this.writeLine(testError.getErrorString(this.getErrorStringOptions)));
|
|
142
|
+
await this.writeLine();
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
if (passedTestCount > 0) {
|
|
146
|
+
await this.writeLine(`${this.applyStyle("passed", "Passed")}: ${passedTestCount}`);
|
|
147
|
+
}
|
|
148
|
+
if (await skippedTests.any()) {
|
|
149
|
+
await this.writeLine(`${this.applyStyle("skipped", "Skipped")}: ${skippedTests.getCount().await()}`);
|
|
150
|
+
}
|
|
151
|
+
if (await failedTests.any()) {
|
|
152
|
+
await this.writeLine(`${this.applyStyle("failed", "Failed")}: ${failedTests.getCount().await()}`);
|
|
153
|
+
}
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
export class FlatConsoleTestRunnerUI extends ConsoleTestRunnerUI {
|
|
158
|
+
constructor() {
|
|
159
|
+
super();
|
|
160
|
+
}
|
|
161
|
+
static create() {
|
|
162
|
+
return new FlatConsoleTestRunnerUI();
|
|
163
|
+
}
|
|
164
|
+
beforeTest(testAction) {
|
|
165
|
+
return AsyncResult.create(async () => {
|
|
166
|
+
await this.writeFullTestActionName(testAction);
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
export class TreeConsoleTestRunnerUI extends ConsoleTestRunnerUI {
|
|
171
|
+
testActions;
|
|
172
|
+
testActionWrittenDepth;
|
|
173
|
+
constructor() {
|
|
174
|
+
super();
|
|
175
|
+
this.testActions = List.create();
|
|
176
|
+
this.testActionWrittenDepth = 0;
|
|
177
|
+
}
|
|
178
|
+
static create() {
|
|
179
|
+
return new TreeConsoleTestRunnerUI();
|
|
180
|
+
}
|
|
181
|
+
beforeTestGroup(testGroup) {
|
|
182
|
+
return AsyncResult.create(() => {
|
|
183
|
+
this.testActions.add(testGroup);
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
afterTestGroup(testGroup) {
|
|
187
|
+
PreCondition.assertNotUndefinedAndNotNull(testGroup, "testGroup");
|
|
188
|
+
PreCondition.assertTrue(this.testActions.any().await(), "this.testActions.any().await()");
|
|
189
|
+
return AsyncResult.create(() => {
|
|
190
|
+
this.testActions.removeLast().await();
|
|
191
|
+
const testActionCount = this.testActions.getCount().await();
|
|
192
|
+
if (this.testActionWrittenDepth > testActionCount) {
|
|
193
|
+
this.testActionWrittenDepth--;
|
|
194
|
+
this.removeIndentation();
|
|
195
|
+
}
|
|
196
|
+
});
|
|
197
|
+
}
|
|
198
|
+
beforeTest(testAction) {
|
|
199
|
+
PreCondition.assertNotUndefinedAndNotNull(testAction, "testAction");
|
|
200
|
+
return AsyncResult.create(async () => {
|
|
201
|
+
const testActionCount = this.testActions.getCount().await();
|
|
202
|
+
while (this.testActionWrittenDepth < testActionCount) {
|
|
203
|
+
const testGroup = this.testActions.get(this.testActionWrittenDepth).await();
|
|
204
|
+
await this.writeTestActionName(testGroup);
|
|
205
|
+
await this.writeLine();
|
|
206
|
+
this.addIndentation();
|
|
207
|
+
this.testActionWrittenDepth++;
|
|
208
|
+
}
|
|
209
|
+
await this.writeTestActionName(testAction);
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
//# sourceMappingURL=ConsoleTestRunnerUI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConsoleTestRunnerUI.js","sourceRoot":"","sources":["../../tests/ConsoleTestRunnerUI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,WAAW,EAAwB,4BAA4B,EAAE,IAAI,EAAE,GAAG,EAAc,aAAa,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAS3K,MAAM,OAAgB,mBAAmB;IAE7B,WAAW,CAAgC;IAClC,MAAM,CAA+D;IAC9E,qBAAqB,CAAyB;IAEtD;QAEI,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC;IAC/B,CAAC;IAEM,MAAM,CAAC,IAAI;QAEd,OAAO,uBAAuB,CAAC,MAAM,EAAE,CAAC;IAC5C,CAAC;IAEM,MAAM,CAAC,IAAI;QAEd,OAAO,uBAAuB,CAAC,MAAM,EAAE,CAAC;IAC5C,CAAC;IAEM,cAAc,CAAC,WAAiC;QAEnD,YAAY,CAAC,4BAA4B,CAAC,WAAW,EAAE,aAAa,CAAC,CAAC;QAEtE,IAAI,CAAC,WAAW,GAAG,4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import { ConsoleTestRunnerUI } from "./ConsoleTestRunnerUI.js";
|
|
2
|
+
import { TestRunner } from "./testRunner.js";
|
|
3
|
+
export declare function consoleTestRunnerUITests(runner: TestRunner, creator: () => ConsoleTestRunnerUI): void;
|
|
4
|
+
export declare function test(runner: TestRunner): void;
|
|
5
|
+
//# sourceMappingURL=ConsoleTestRunnerUITests.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConsoleTestRunnerUITests.d.ts","sourceRoot":"","sources":["../../tests/ConsoleTestRunnerUITests.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAoD,MAAM,0BAA0B,CAAC;AAEjH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,GAAG,IAAI,CAKrG;AAED,wBAAgB,IAAI,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,CA6B7C"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ConsoleTestRunnerUI, FlatConsoleTestRunnerUI, TreeConsoleTestRunnerUI } from "./ConsoleTestRunnerUI.js";
|
|
2
|
+
export function consoleTestRunnerUITests(runner, creator) {
|
|
3
|
+
runner.testType("ConsoleTestRunnerUI", () => {
|
|
4
|
+
});
|
|
5
|
+
}
|
|
6
|
+
export function test(runner) {
|
|
7
|
+
runner.testFile("ConsoleTestRunnerUI.ts", () => {
|
|
8
|
+
runner.testType("ConsoleTestRunnerUI", () => {
|
|
9
|
+
runner.testFunction("flat()", (test) => {
|
|
10
|
+
const ui = ConsoleTestRunnerUI.flat();
|
|
11
|
+
test.assertNotUndefinedAndNotNull(ui);
|
|
12
|
+
});
|
|
13
|
+
runner.testFunction("tree()", (test) => {
|
|
14
|
+
const ui = ConsoleTestRunnerUI.tree();
|
|
15
|
+
test.assertNotUndefinedAndNotNull(ui);
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
runner.testType("FlatConsoleTestRunnerUI", () => {
|
|
19
|
+
consoleTestRunnerUITests(runner, FlatConsoleTestRunnerUI.create);
|
|
20
|
+
});
|
|
21
|
+
runner.testType("TreeConsoleTestRunnerUI", () => {
|
|
22
|
+
consoleTestRunnerUITests(runner, TreeConsoleTestRunnerUI.create);
|
|
23
|
+
});
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=ConsoleTestRunnerUITests.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConsoleTestRunnerUITests.js","sourceRoot":"","sources":["../../tests/ConsoleTestRunnerUITests.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AAIjH,MAAM,UAAU,wBAAwB,CAAC,MAAkB,EAAE,OAAkC;IAE3F,MAAM,CAAC,QAAQ,CAAC,qBAAqB,EAAE,GAAG,EAAE;IAE5C,CAAC,CAAC,CAAC;AACP,CAAC;AAED,MAAM,UAAU,IAAI,CAAC,MAAkB;IAEnC,MAAM,CAAC,QAAQ,CAAC,wBAAwB,EAAE,GAAG,EAAE;QAE3C,MAAM,CAAC,QAAQ,CAAC,qBAAqB,EAAE,GAAG,EAAE;YAExC,MAAM,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC,IAAU,EAAE,EAAE;gBAEzC,MAAM,EAAE,GAA4B,mBAAmB,CAAC,IAAI,EAAE,CAAC;gBAC/D,IAAI,CAAC,4BAA4B,CAAC,EAAE,CAAC,CAAC;YAC1C,CAAC,CAAC,CAAC;YAEH,MAAM,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC,IAAU,EAAE,EAAE;gBAEzC,MAAM,EAAE,GAA4B,mBAAmB,CAAC,IAAI,EAAE,CAAC;gBAC/D,IAAI,CAAC,4BAA4B,CAAC,EAAE,CAAC,CAAC;YAC1C,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;QAEH,MAAM,CAAC,QAAQ,CAAC,yBAAyB,EAAE,GAAG,EAAE;YAE5C,wBAAwB,CAAC,MAAM,EAAE,uBAAuB,CAAC,MAAM,CAAC,CAAC;QACrE,CAAC,CAAC,CAAC;QAEH,MAAM,CAAC,QAAQ,CAAC,yBAAyB,EAAE,GAAG,EAAE;YAE5C,wBAAwB,CAAC,MAAM,EAAE,uBAAuB,CAAC,MAAM,CAAC,CAAC;QACrE,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Clock, DateTime } from "../sources/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* A {@link Clock} implementation that returns a configured {@link DateTime}.
|
|
4
|
+
*/
|
|
5
|
+
export declare class FakeClock extends Clock {
|
|
6
|
+
private currentTime;
|
|
7
|
+
private constructor();
|
|
8
|
+
static create(currentTime?: DateTime): FakeClock;
|
|
9
|
+
/**
|
|
10
|
+
* Set the {@link DateTime} that this {@link FakeClock} will return.
|
|
11
|
+
* @param currentTime The {@link DateTime} that this {@link FakeClock} will return.
|
|
12
|
+
*/
|
|
13
|
+
setCurrentTime(currentTime: DateTime): this;
|
|
14
|
+
now(): DateTime;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=FakeClock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FakeClock.d.ts","sourceRoot":"","sources":["../../tests/FakeClock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAgB,MAAM,qBAAqB,CAAC;AAEpE;;GAEG;AACH,qBAAa,SAAU,SAAQ,KAAK;IAEhC,OAAO,CAAC,WAAW,CAAW;IAE9B,OAAO,eAON;IAED,OAAc,MAAM,CAAC,WAAW,CAAC,EAAE,QAAQ,GAAG,SAAS,CAGtD;IAED;;;OAGG;IACI,cAAc,CAAC,WAAW,EAAE,QAAQ,GAAG,IAAI,CAKjD;IAEM,GAAG,IAAI,QAAQ,CAGrB;CACJ"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Clock, DateTime, PreCondition } from "../sources/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* A {@link Clock} implementation that returns a configured {@link DateTime}.
|
|
4
|
+
*/
|
|
5
|
+
export class FakeClock extends Clock {
|
|
6
|
+
currentTime;
|
|
7
|
+
constructor(currentTime) {
|
|
8
|
+
PreCondition.assertNotUndefinedAndNotNull(currentTime, "currentTime");
|
|
9
|
+
super();
|
|
10
|
+
this.currentTime = currentTime;
|
|
11
|
+
}
|
|
12
|
+
static create(currentTime) {
|
|
13
|
+
return new FakeClock(currentTime ?? DateTime.now());
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Set the {@link DateTime} that this {@link FakeClock} will return.
|
|
17
|
+
* @param currentTime The {@link DateTime} that this {@link FakeClock} will return.
|
|
18
|
+
*/
|
|
19
|
+
setCurrentTime(currentTime) {
|
|
20
|
+
this.currentTime = currentTime;
|
|
21
|
+
return this;
|
|
22
|
+
}
|
|
23
|
+
now() {
|
|
24
|
+
return this.currentTime;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=FakeClock.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FakeClock.js","sourceRoot":"","sources":["../../tests/FakeClock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEpE;;GAEG;AACH,MAAM,OAAO,SAAU,SAAQ,KAAK;IAExB,WAAW,CAAW;IAE9B,YAAoB,WAAqB;QAErC,YAAY,CAAC,4BAA4B,CAAC,WAAW,EAAE,aAAa,CAAC,CAAC;QAEtE,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACnC,CAAC;IAEM,MAAM,CAAC,MAAM,CAAC,WAAsB;QAEvC,OAAO,IAAI,SAAS,CAAC,WAAW,IAAI,QAAQ,CAAC,GAAG,EAAE,CAAC,CAAC;IACxD,CAAC;IAED;;;OAGG;IACI,cAAc,CAAC,WAAqB;QAEvC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,CAAC,WAAW,CAAC;IAC5B,CAAC;CACJ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IndentedCharacterWriteStreamTests.d.ts","sourceRoot":"","sources":["../../tests/IndentedCharacterWriteStreamTests.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,wBAAgB,IAAI,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,CAua7C"}
|