-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploying to gh-pages from @ c54c57b 🚀
- Loading branch information
Showing
4 changed files
with
263 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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()" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!doctype html><html lang="en-US"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover"><link rel="icon" href="/swift-fakes/favicon.ico"><link rel="mask-icon" href="/swift-fakes/favicon.svg" color="#333333"><title>Documentation</title><script>var baseUrl = "/swift-fakes/"</script><script defer="defer" src="/swift-fakes/js/chunk-vendors.bdb7cbba.js"></script><script defer="defer" src="/swift-fakes/js/index.91ed7402.js"></script><link href="/swift-fakes/css/index.ff036a9e.css" rel="stylesheet"></head><body data-color-scheme="auto"><noscript>[object Module]</noscript><div id="app"></div></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters