@@ -15,9 +15,9 @@ private import _TestingInternals
1515///
1616/// Attachments are included in test reports in Xcode or written to disk when
1717/// tests are run at the command line. To create an attachment, you need a value
18- /// of some type that conforms to ``Test/ Attachable``. Initialize an instance of
19- /// ``Test/ Attachment`` with that value and, optionally, a preferred filename to
20- /// use when writing to disk.
18+ /// of some type that conforms to ``Attachable``. Initialize an instance of
19+ /// ``Attachment`` with that value and, optionally, a preferred filename to use
20+ /// when writing to disk.
2121@_spi ( Experimental)
2222public struct Attachment < AttachableValue> : ~ Copyable where AttachableValue: Attachable & ~ Copyable {
2323 /// Storage for ``attachableValue-7dyjv``.
@@ -89,7 +89,7 @@ extension Attachment where AttachableValue: ~Copyable {
8989
9090@_spi ( Experimental) @_spi ( ForToolsIntegrationOnly)
9191extension Attachment where AttachableValue == AnyAttachable {
92- /// Create a type-erased attachment from an instance of ``Test/ Attachment``.
92+ /// Create a type-erased attachment from an instance of ``Attachment``.
9393 ///
9494 /// - Parameters:
9595 /// - attachment: The attachment to type-erase.
@@ -163,10 +163,10 @@ extension Attachment where AttachableValue: ~Copyable {
163163extension Attachment where AttachableValue: AttachableContainer & ~ Copyable {
164164 /// The value of this attachment.
165165 ///
166- /// When the attachable value's type conforms to ``Test/ AttachableContainer``,
167- /// the value of this property equals the container's underlying attachable
168- /// value. To access the attachable value as an instance of `T` (where `T`
169- /// conforms to ``Test/ AttachableContainer``), specify the type explicitly:
166+ /// When the attachable value's type conforms to ``AttachableContainer``, the
167+ /// value of this property equals the container's underlying attachable value.
168+ /// To access the attachable value as an instance of `T` (where `T` conforms
169+ /// to ``AttachableContainer``), specify the type explicitly:
170170 ///
171171 /// ```swift
172172 /// let attachableValue = attachment.attachableValue as T
@@ -230,7 +230,7 @@ extension Attachment where AttachableValue: ~Copyable {
230230
231231extension Attachment where AttachableValue: ~ Copyable {
232232 /// Call a function and pass a buffer representing the value of this
233- /// instance's ``attachableValue-7dyjv `` property to it.
233+ /// instance's ``attachableValue-2tnj5 `` property to it.
234234 ///
235235 /// - Parameters:
236236 /// - body: A function to call. A temporary buffer containing a data
@@ -243,8 +243,8 @@ extension Attachment where AttachableValue: ~Copyable {
243243 ///
244244 /// The testing library uses this function when writing an attachment to a
245245 /// test report or to a file on disk. This function calls the
246- /// ``Test/ Attachable/withUnsafeBufferPointer(for:_:)`` function on this
247- /// attachment's ``attachableValue-7dyjv `` property.
246+ /// ``Attachable/withUnsafeBufferPointer(for:_:)`` function on this
247+ /// attachment's ``attachableValue-2tnj5 `` property.
248248 @inlinable public borrowing func withUnsafeBufferPointer< R> ( _ body: ( UnsafeRawBufferPointer ) throws -> R ) throws -> R {
249249 try attachableValue. withUnsafeBufferPointer ( for: self , body)
250250 }
@@ -265,8 +265,7 @@ extension Attachment where AttachableValue: ~Copyable {
265265 /// - Returns: The path to the file that was written.
266266 ///
267267 /// The attachment is written to a file _within_ `directoryPath`, whose name
268- /// is derived from the value of the ``Test/Attachment/preferredName``
269- /// property.
268+ /// is derived from the value of the ``Attachment/preferredName`` property.
270269 ///
271270 /// If you pass `--experimental-attachments-path` to `swift test`, the testing
272271 /// library automatically uses this function to persist attachments to the
@@ -302,8 +301,8 @@ extension Attachment where AttachableValue: ~Copyable {
302301 /// - Returns: The path to the file that was written.
303302 ///
304303 /// The attachment is written to a file _within_ `directoryPath`, whose name
305- /// is derived from the value of the ``Test/ Attachment/preferredName``
306- /// property and the value of `suffix`.
304+ /// is derived from the value of the ``Attachment/preferredName`` property and
305+ /// the value of `suffix`.
307306 ///
308307 /// If the argument `suffix` always produces the same string, the result of
309308 /// this function is undefined.
@@ -363,8 +362,8 @@ extension Configuration {
363362 /// - Parameters:
364363 /// - event: The event to handle. This event must be of kind
365364 /// ``Event/Kind/valueAttached(_:)``. If the associated attachment's
366- /// ``Test/ Attachment/fileSystemPath`` property is not `nil`, this
367- /// function does nothing.
365+ /// ``Attachment/fileSystemPath`` property is not `nil`, this function
366+ /// does nothing.
368367 /// - context: The context associated with the event.
369368 ///
370369 /// - Returns: Whether or not to continue handling the event.
0 commit comments