1
1
/*
2
2
This source file is part of the Swift.org open source project
3
3
4
- Copyright (c) 2021 Apple Inc. and the Swift project authors
4
+ Copyright (c) 2021-2024 Apple Inc. and the Swift project authors
5
5
Licensed under Apache License v2.0 with Runtime Library Exception
6
6
7
7
See https://swift.org/LICENSE.txt for license information
@@ -12,6 +12,9 @@ import XCTest
12
12
@testable import SwiftDocC
13
13
14
14
class RenderNodeTransformerTests : XCTestCase {
15
+ // This test uses ``RemoveAutomaticallyCuratedSeeAlsoSectionsTransformation`` which is deprecated.
16
+ // Deprecating the test silences the deprecation warning when running the tests. It doesn't skip the test.
17
+ @available ( * , deprecated)
15
18
func testRemovesAutomaticallyCuratedSeeAlsoSections( ) throws {
16
19
let symbolJSON = try String ( contentsOf: Bundle . module. url (
17
20
forResource: " symbol-with-automatic-see-also-section " , withExtension: " json " ,
@@ -28,6 +31,9 @@ class RenderNodeTransformerTests: XCTestCase {
28
31
XCTAssertEqual ( renderNode. references. count, 11 )
29
32
}
30
33
34
+ // This test uses ``RemoveAutomaticallyCuratedSeeAlsoSectionsTransformation`` which is deprecated.
35
+ // Deprecating the test silences the deprecation warning when running the tests. It doesn't skip the test.
36
+ @available ( * , deprecated)
31
37
func testRemovesAutomaticallyCuratedSeeAlsoSectionsPreservingReferences( ) throws {
32
38
let symbolJSON = try String ( contentsOf: Bundle . module. url (
33
39
forResource: " symbol-auto-see-also-fragments-and-relationships " , withExtension: " json " ,
0 commit comments