Skip to content

Commit

Permalink
Deploying to gh-pages from @ c54c57b 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
younata committed Apr 10, 2024
1 parent 3f49877 commit cff0334
Show file tree
Hide file tree
Showing 4 changed files with 263 additions and 0 deletions.
33 changes: 33 additions & 0 deletions data/documentation/fakes/spy.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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" : [
{
Expand Down
224 changes: 224 additions & 0 deletions data/documentation/fakes/spy/clearcalls().json
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()"
}
}
}
1 change: 1 addition & 0 deletions documentation/fakes/spy/clearcalls()/index.html
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>
5 changes: 5 additions & 0 deletions index/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,11 @@
"title" : "func callAsFunction<Value>(pendingDelay: TimeInterval) async -> Value",
"type" : "method"
},
{
"path" : "\/documentation\/fakes\/spy\/clearcalls()",
"title" : "func clearCalls()",
"type" : "method"
},
{
"path" : "\/documentation\/fakes\/spy\/stub()",
"title" : "func stub<Failure>()",
Expand Down

0 comments on commit cff0334

Please sign in to comment.