Skip to content

Commit e4e8b92

Browse files
committed
test(snapshot): update snapshots d6e53ef
1 parent c478b8f commit e4e8b92

35 files changed

+6539
-2093
lines changed

test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue10332.SampleEnum.html.view.verified.json

+607
Large diffs are not rendered by default.

test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue10332.html.view.verified.json

+2,094
Large diffs are not rendered by default.

test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Dog.html.view.verified.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@
217217
},
218218
"id": ".ctor",
219219
"path": "dotnet/project/Project/Class1.cs",
220-
"startLine": 237,
220+
"startLine": 270,
221221
"endLine": 0
222222
},
223223
"assemblies": [
@@ -274,7 +274,7 @@
274274
"summary": "<p sourcefile=\"obj/api/BuildFromProject.Dog.yml\" sourcestartlinenumber=\"1\">Constructor.</p>\n",
275275
"platform": null,
276276
"docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=BuildFromProject_Dog__ctor_System_String_System_Int32_.md&value=---%0Auid%3A%20BuildFromProject.Dog.%23ctor(System.String%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A",
277-
"sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/dotnet/project/Project/Class1.cs/#L238",
277+
"sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/dotnet/project/Project/Class1.cs/#L271",
278278
"description": "",
279279
"remarks": "",
280280
"conceptual": "",
@@ -404,7 +404,7 @@
404404
},
405405
"id": "Age",
406406
"path": "dotnet/project/Project/Class1.cs",
407-
"startLine": 230,
407+
"startLine": 263,
408408
"endLine": 0
409409
},
410410
"assemblies": [
@@ -461,7 +461,7 @@
461461
"summary": "<p sourcefile=\"obj/api/BuildFromProject.Dog.yml\" sourcestartlinenumber=\"1\">Age of the dog.</p>\n",
462462
"platform": null,
463463
"docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=BuildFromProject_Dog_Age.md&value=---%0Auid%3A%20BuildFromProject.Dog.Age%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A",
464-
"sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/dotnet/project/Project/Class1.cs/#L231",
464+
"sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/dotnet/project/Project/Class1.cs/#L264",
465465
"description": "",
466466
"remarks": "",
467467
"conceptual": "",
@@ -584,7 +584,7 @@
584584
},
585585
"id": "Name",
586586
"path": "dotnet/project/Project/Class1.cs",
587-
"startLine": 225,
587+
"startLine": 258,
588588
"endLine": 0
589589
},
590590
"assemblies": [
@@ -641,7 +641,7 @@
641641
"summary": "<p sourcefile=\"obj/api/BuildFromProject.Dog.yml\" sourcestartlinenumber=\"1\">Name of the dog.</p>\n",
642642
"platform": null,
643643
"docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=BuildFromProject_Dog_Name.md&value=---%0Auid%3A%20BuildFromProject.Dog.Name%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A",
644-
"sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/dotnet/project/Project/Class1.cs/#L226",
644+
"sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/dotnet/project/Project/Class1.cs/#L259",
645645
"description": "",
646646
"remarks": "",
647647
"conceptual": "",
@@ -697,7 +697,7 @@
697697
},
698698
"id": "Dog",
699699
"path": "dotnet/project/Project/Class1.cs",
700-
"startLine": 220,
700+
"startLine": 253,
701701
"endLine": 0
702702
},
703703
"assemblies": [
@@ -1178,7 +1178,7 @@
11781178
"_tocRel": "toc.html",
11791179
"yamlmime": "ManagedReference",
11801180
"docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=BuildFromProject_Dog.md&value=---%0Auid%3A%20BuildFromProject.Dog%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A",
1181-
"sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/dotnet/project/Project/Class1.cs/#L221",
1181+
"sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/dotnet/project/Project/Class1.cs/#L254",
11821182
"description": "Class representing a dog.",
11831183
"remarks": "",
11841184
"conceptual": "",

test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8725.html.view.verified.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
},
122122
"id": "MoreOperations",
123123
"path": "dotnet/project/Project/Class1.cs",
124-
"startLine": 214,
124+
"startLine": 247,
125125
"endLine": 0
126126
},
127127
"assemblies": [
@@ -178,7 +178,7 @@
178178
"summary": "<p sourcefile=\"obj/api/BuildFromProject.Issue8725.yml\" sourcestartlinenumber=\"1\">Another nice operation</p>\n",
179179
"platform": null,
180180
"docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=BuildFromProject_Issue8725_MoreOperations.md&value=---%0Auid%3A%20BuildFromProject.Issue8725.MoreOperations%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A",
181-
"sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/dotnet/project/Project/Class1.cs/#L215",
181+
"sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/dotnet/project/Project/Class1.cs/#L248",
182182
"description": "",
183183
"remarks": "",
184184
"conceptual": "",
@@ -254,7 +254,7 @@
254254
},
255255
"id": "MyOperation",
256256
"path": "dotnet/project/Project/Class1.cs",
257-
"startLine": 211,
257+
"startLine": 244,
258258
"endLine": 0
259259
},
260260
"assemblies": [
@@ -311,7 +311,7 @@
311311
"summary": "<p sourcefile=\"obj/api/BuildFromProject.Issue8725.yml\" sourcestartlinenumber=\"1\">A nice operation</p>\n",
312312
"platform": null,
313313
"docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=BuildFromProject_Issue8725_MyOperation.md&value=---%0Auid%3A%20BuildFromProject.Issue8725.MyOperation%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A",
314-
"sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/dotnet/project/Project/Class1.cs/#L212",
314+
"sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/dotnet/project/Project/Class1.cs/#L245",
315315
"description": "",
316316
"remarks": "",
317317
"conceptual": "",
@@ -367,7 +367,7 @@
367367
},
368368
"id": "Issue8725",
369369
"path": "dotnet/project/Project/Class1.cs",
370-
"startLine": 208,
370+
"startLine": 241,
371371
"endLine": 0
372372
},
373373
"assemblies": [
@@ -897,7 +897,7 @@
897897
"_tocRel": "toc.html",
898898
"yamlmime": "ManagedReference",
899899
"docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=BuildFromProject_Issue8725.md&value=---%0Auid%3A%20BuildFromProject.Issue8725%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A",
900-
"sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/dotnet/project/Project/Class1.cs/#L209",
900+
"sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/seed/dotnet/project/Project/Class1.cs/#L242",
901901
"description": "A nice class",
902902
"remarks": "",
903903
"conceptual": "",

test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.html.view.verified.json

+125
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,68 @@
109109
"hideTitleType": false,
110110
"hideSubtitle": false
111111
},
112+
{
113+
"uid": "BuildFromProject.Class1.Issue10332",
114+
"isExtensionMethod": false,
115+
"href": "BuildFromProject.Class1.html",
116+
"name": [
117+
{
118+
"lang": "csharp",
119+
"value": "Class1.Issue10332"
120+
},
121+
{
122+
"lang": "vb",
123+
"value": "Class1.Issue10332"
124+
}
125+
],
126+
"nameWithType": [
127+
{
128+
"lang": "csharp",
129+
"value": "Class1.Issue10332"
130+
},
131+
{
132+
"lang": "vb",
133+
"value": "Class1.Issue10332"
134+
}
135+
],
136+
"fullName": [
137+
{
138+
"lang": "csharp",
139+
"value": "BuildFromProject.Class1.Issue10332"
140+
},
141+
{
142+
"lang": "vb",
143+
"value": "BuildFromProject.Class1.Issue10332"
144+
}
145+
],
146+
"specName": [
147+
{
148+
"lang": "csharp",
149+
"value": "<a class=\"xref\" href=\"BuildFromProject.Class1.html\">Class1</a>.<a class=\"xref\" href=\"BuildFromProject.Class1.Issue10332.html\">Issue10332</a>"
150+
},
151+
{
152+
"lang": "vb",
153+
"value": "<a class=\"xref\" href=\"BuildFromProject.Class1.html\">Class1</a>.<a class=\"xref\" href=\"BuildFromProject.Class1.Issue10332.html\">Issue10332</a>"
154+
}
155+
],
156+
"level": 0,
157+
"summary": "",
158+
"type": "class",
159+
"platform": null,
160+
"isEii": false,
161+
"docurl": "",
162+
"sourceurl": "",
163+
"description": "",
164+
"remarks": "",
165+
"conceptual": "",
166+
"syntax": "",
167+
"implements": "",
168+
"example": "",
169+
"seealso": [],
170+
"id": "BuildFromProject_Class1_Issue10332",
171+
"hideTitleType": false,
172+
"hideSubtitle": false
173+
},
112174
{
113175
"uid": "BuildFromProject.Class1.Issue8665",
114176
"isExtensionMethod": false,
@@ -1312,6 +1374,69 @@
13121374
"typePropertyName": "inEnum",
13131375
"id": "enums",
13141376
"children": [
1377+
{
1378+
"uid": "BuildFromProject.Class1.Issue10332.SampleEnum",
1379+
"isExtensionMethod": false,
1380+
"parent": "BuildFromProject",
1381+
"href": "BuildFromProject.Class1.html",
1382+
"name": [
1383+
{
1384+
"lang": "csharp",
1385+
"value": "Class1.Issue10332.SampleEnum"
1386+
},
1387+
{
1388+
"lang": "vb",
1389+
"value": "Class1.Issue10332.SampleEnum"
1390+
}
1391+
],
1392+
"nameWithType": [
1393+
{
1394+
"lang": "csharp",
1395+
"value": "Class1.Issue10332.SampleEnum"
1396+
},
1397+
{
1398+
"lang": "vb",
1399+
"value": "Class1.Issue10332.SampleEnum"
1400+
}
1401+
],
1402+
"fullName": [
1403+
{
1404+
"lang": "csharp",
1405+
"value": "BuildFromProject.Class1.Issue10332.SampleEnum"
1406+
},
1407+
{
1408+
"lang": "vb",
1409+
"value": "BuildFromProject.Class1.Issue10332.SampleEnum"
1410+
}
1411+
],
1412+
"specName": [
1413+
{
1414+
"lang": "csharp",
1415+
"value": "<a class=\"xref\" href=\"BuildFromProject.Class1.html\">Class1</a>.<a class=\"xref\" href=\"BuildFromProject.Class1.Issue10332.html\">Issue10332</a>.<a class=\"xref\" href=\"BuildFromProject.Class1.Issue10332.SampleEnum.html\">SampleEnum</a>"
1416+
},
1417+
{
1418+
"lang": "vb",
1419+
"value": "<a class=\"xref\" href=\"BuildFromProject.Class1.html\">Class1</a>.<a class=\"xref\" href=\"BuildFromProject.Class1.Issue10332.html\">Issue10332</a>.<a class=\"xref\" href=\"BuildFromProject.Class1.Issue10332.SampleEnum.html\">SampleEnum</a>"
1420+
}
1421+
],
1422+
"level": 0,
1423+
"summary": "",
1424+
"type": "enum",
1425+
"platform": null,
1426+
"isEii": false,
1427+
"docurl": "",
1428+
"sourceurl": "",
1429+
"description": "",
1430+
"remarks": "",
1431+
"conceptual": "",
1432+
"syntax": "",
1433+
"implements": "",
1434+
"example": "",
1435+
"seealso": [],
1436+
"id": "BuildFromProject_Class1_Issue10332_SampleEnum",
1437+
"hideTitleType": false,
1438+
"hideSubtitle": false
1439+
},
13151440
{
13161441
"uid": "BuildFromProject.Class1.Issue9260",
13171442
"isExtensionMethod": false,

test/docfx.Snapshot.Tests/SamplesTest.Seed/api/toc.html.view.verified.json

+22
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,28 @@
140140
"items": [],
141141
"leaf": true
142142
},
143+
{
144+
"name": "Class1.Issue10332",
145+
"href": "BuildFromProject.Class1.Issue10332.html",
146+
"topicHref": "BuildFromProject.Class1.Issue10332.html",
147+
"topicUid": "BuildFromProject.Class1.Issue10332",
148+
"type": "Class",
149+
"tocHref": null,
150+
"level": 3,
151+
"items": [],
152+
"leaf": true
153+
},
154+
{
155+
"name": "Class1.Issue10332.SampleEnum",
156+
"href": "BuildFromProject.Class1.Issue10332.SampleEnum.html",
157+
"topicHref": "BuildFromProject.Class1.Issue10332.SampleEnum.html",
158+
"topicUid": "BuildFromProject.Class1.Issue10332.SampleEnum",
159+
"type": "Enum",
160+
"tocHref": null,
161+
"level": 3,
162+
"items": [],
163+
"leaf": true
164+
},
143165
{
144166
"name": "Class1.Issue8665",
145167
"href": "BuildFromProject.Class1.Issue8665.html",

0 commit comments

Comments
 (0)