From cff03347b39f5170da6661f8f2c8d3acdbe37c35 Mon Sep 17 00:00:00 2001 From: younata Date: Wed, 10 Apr 2024 16:32:09 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20Quick/sw?= =?UTF-8?q?ift-fakes@c54c57b4a540d072eb178477d487da81e2e36879=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/documentation/fakes/spy.json | 33 +++ .../documentation/fakes/spy/clearcalls().json | 224 ++++++++++++++++++ .../fakes/spy/clearcalls()/index.html | 1 + index/index.json | 5 + 4 files changed, 263 insertions(+) create mode 100644 data/documentation/fakes/spy/clearcalls().json create mode 100755 documentation/fakes/spy/clearcalls()/index.html diff --git a/data/documentation/fakes/spy.json b/data/documentation/fakes/spy.json index cf5630c..5462da8 100644 --- a/data/documentation/fakes/spy.json +++ b/data/documentation/fakes/spy.json @@ -188,6 +188,7 @@ "doc:\/\/Fakes\/documentation\/Fakes\/Spy\/callAsFunction(_:pendingDelay:)-5o8zc", "doc:\/\/Fakes\/documentation\/Fakes\/Spy\/callAsFunction(pendingDelay:)-52uom", "doc:\/\/Fakes\/documentation\/Fakes\/Spy\/callAsFunction(pendingDelay:)-7qw29", + "doc:\/\/Fakes\/documentation\/Fakes\/Spy\/clearCalls()", "doc:\/\/Fakes\/documentation\/Fakes\/Spy\/stub()", "doc:\/\/Fakes\/documentation\/Fakes\/Spy\/stub(_:)", "doc:\/\/Fakes\/documentation\/Fakes\/Spy\/stub(failure:)-1xoml", @@ -1086,6 +1087,38 @@ "type" : "topic", "url" : "\/documentation\/fakes\/spy\/calls" }, +"doc://Fakes/documentation/Fakes/Spy/clearCalls()": { + "abstract" : [ + { + "text" : "Clear out existing call records.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "clearCalls" + }, + { + "kind" : "text", + "text" : "()" + } + ], + "identifier" : "doc:\/\/Fakes\/documentation\/Fakes\/Spy\/clearCalls()", + "kind" : "symbol", + "role" : "symbol", + "title" : "clearCalls()", + "type" : "topic", + "url" : "\/documentation\/fakes\/spy\/clearcalls()" +}, "doc://Fakes/documentation/Fakes/Spy/init()-3nayo": { "abstract" : [ { diff --git a/data/documentation/fakes/spy/clearcalls().json b/data/documentation/fakes/spy/clearcalls().json new file mode 100644 index 0000000..406b38a --- /dev/null +++ b/data/documentation/fakes/spy/clearcalls().json @@ -0,0 +1,224 @@ +{ + "abstract" : [ + { + "text" : "Clear out existing call records.", + "type" : "text" + } + ], + "hierarchy" : { + "paths" : [ + [ + "doc:\/\/Fakes\/documentation\/Fakes", + "doc:\/\/Fakes\/documentation\/Fakes\/Spy" + ] + ] + }, + "identifier" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/Fakes\/documentation\/Fakes\/Spy\/clearCalls()" + }, + "kind" : "symbol", + "metadata" : { + "externalID" : "s:5Fakes3SpyC10clearCallsyyF", + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "clearCalls" + }, + { + "kind" : "text", + "text" : "()" + } + ], + "modules" : [ + { + "name" : "Fakes" + } + ], + "role" : "symbol", + "roleHeading" : "Instance Method", + "symbolKind" : "method", + "title" : "clearCalls()" + }, + "primaryContentSections" : [ + { + "declarations" : [ + { + "languages" : [ + "swift" + ], + "platforms" : [ + "Linux" + ], + "tokens" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "clearCalls" + }, + { + "kind" : "text", + "text" : "()" + } + ] + } + ], + "kind" : "declarations" + }, + { + "content" : [ + { + "anchor" : "discussion", + "level" : 2, + "text" : "Discussion", + "type" : "heading" + }, + { + "inlineContent" : [ + { + "text" : "This removes all previously recorded calls from the spy. It does not otherwise", + "type" : "text" + }, + { + "text" : " ", + "type" : "text" + }, + { + "text" : "mutate the spy.", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "kind" : "content" + } + ], + "schemaVersion" : { + "major" : 0, + "minor" : 3, + "patch" : 0 + }, + "sections" : [ + + ], + "variants" : [ + { + "paths" : [ + "\/documentation\/fakes\/spy\/clearcalls()" + ], + "traits" : [ + { + "interfaceLanguage" : "swift" + } + ] + } + ] +, +"references": { +"doc://Fakes/documentation/Fakes": { + "abstract" : [ + { + "inlineContent" : [ + { + "text" : "Swift Fakes", + "type" : "text" + } + ], + "type" : "strong" + }, + { + "text" : " is an open source collection of Test Doubles for Swift", + "type" : "text" + } + ], + "identifier" : "doc:\/\/Fakes\/documentation\/Fakes", + "kind" : "symbol", + "role" : "collection", + "title" : "Fakes", + "type" : "topic", + "url" : "\/documentation\/fakes" +}, +"doc://Fakes/documentation/Fakes/Spy": { + "abstract" : [ + { + "text" : "A Spy is a test double for recording calls to methods, and returning stubbed results.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "class" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "Spy" + } + ], + "identifier" : "doc:\/\/Fakes\/documentation\/Fakes\/Spy", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "Spy" + } + ], + "role" : "symbol", + "title" : "Spy", + "type" : "topic", + "url" : "\/documentation\/fakes\/spy" +}, +"doc://Fakes/documentation/Fakes/Spy/clearCalls()": { + "abstract" : [ + { + "text" : "Clear out existing call records.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "clearCalls" + }, + { + "kind" : "text", + "text" : "()" + } + ], + "identifier" : "doc:\/\/Fakes\/documentation\/Fakes\/Spy\/clearCalls()", + "kind" : "symbol", + "role" : "symbol", + "title" : "clearCalls()", + "type" : "topic", + "url" : "\/documentation\/fakes\/spy\/clearcalls()" +} +} +} \ No newline at end of file diff --git a/documentation/fakes/spy/clearcalls()/index.html b/documentation/fakes/spy/clearcalls()/index.html new file mode 100755 index 0000000..89dd357 --- /dev/null +++ b/documentation/fakes/spy/clearcalls()/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/index/index.json b/index/index.json index 5c5a0e1..d62de71 100644 --- a/index/index.json +++ b/index/index.json @@ -205,6 +205,11 @@ "title" : "func callAsFunction(pendingDelay: TimeInterval) async -> Value", "type" : "method" }, + { + "path" : "\/documentation\/fakes\/spy\/clearcalls()", + "title" : "func clearCalls()", + "type" : "method" + }, { "path" : "\/documentation\/fakes\/spy\/stub()", "title" : "func stub()",