diff --git a/Sources/NodesGenerator/Resources/Stencils/Interface-SwiftUI.stencil b/Sources/NodesGenerator/Resources/Stencils/Interface-SwiftUI.stencil index 9ca28d851..1296799f7 100644 --- a/Sources/NodesGenerator/Resources/Stencils/Interface-SwiftUI.stencil +++ b/Sources/NodesGenerator/Resources/Stencils/Interface-SwiftUI.stencil @@ -6,19 +6,17 @@ import {{ import }} {% endfor %} {% endif %} -// This file defines the protocols and types in the interface requiring public ACL for use in another module. +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ {% if node_name != "App" %} -// MARK: - Listener - /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol {{ node_name }}Listener: AnyObject {} {% endif %} -// MARK: - Flow - /// @mockable @MainActor {% if plugin_list_name %} @@ -27,8 +25,6 @@ internal protocol {{ node_name }}Flow: {{ plugin_list_name }}Flow {} internal protocol {{ node_name }}Flow: {{ view_controllable_flow_type }} {} {% endif %} -// MARK: - Builder - {% if is_periphery_comment_enabled %} // periphery:ignore {% endif %} diff --git a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode.Interface-AppKitSwiftUI-mockCount-0.txt b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode.Interface-AppKitSwiftUI-mockCount-0.txt index 1c938a5af..a79a1fed7 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode.Interface-AppKitSwiftUI-mockCount-0.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode.Interface-AppKitSwiftUI-mockCount-0.txt @@ -1,22 +1,18 @@ // -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol Flow: {} -// MARK: - Builder - /// @mockable @MainActor internal protocol Builder: AnyObject { diff --git a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode.Interface-AppKitSwiftUI-mockCount-1.txt b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode.Interface-AppKitSwiftUI-mockCount-1.txt index 0344ee128..ddfd52280 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode.Interface-AppKitSwiftUI-mockCount-1.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode.Interface-AppKitSwiftUI-mockCount-1.txt @@ -2,23 +2,19 @@ import -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol Flow: Flow {} -// MARK: - Builder - // periphery:ignore /// @mockable @MainActor diff --git a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode.Interface-AppKitSwiftUI-mockCount-2.txt b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode.Interface-AppKitSwiftUI-mockCount-2.txt index ce7ece486..3c936c89e 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode.Interface-AppKitSwiftUI-mockCount-2.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode.Interface-AppKitSwiftUI-mockCount-2.txt @@ -3,23 +3,19 @@ import import -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol Flow: Flow {} -// MARK: - Builder - // periphery:ignore /// @mockable @MainActor diff --git a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode.Interface-UIKitSwiftUI-mockCount-0.txt b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode.Interface-UIKitSwiftUI-mockCount-0.txt index 1c938a5af..a79a1fed7 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode.Interface-UIKitSwiftUI-mockCount-0.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode.Interface-UIKitSwiftUI-mockCount-0.txt @@ -1,22 +1,18 @@ // -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol Flow: {} -// MARK: - Builder - /// @mockable @MainActor internal protocol Builder: AnyObject { diff --git a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode.Interface-UIKitSwiftUI-mockCount-1.txt b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode.Interface-UIKitSwiftUI-mockCount-1.txt index 0344ee128..ddfd52280 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode.Interface-UIKitSwiftUI-mockCount-1.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode.Interface-UIKitSwiftUI-mockCount-1.txt @@ -2,23 +2,19 @@ import -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol Flow: Flow {} -// MARK: - Builder - // periphery:ignore /// @mockable @MainActor diff --git a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode.Interface-UIKitSwiftUI-mockCount-2.txt b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode.Interface-UIKitSwiftUI-mockCount-2.txt index ce7ece486..3c936c89e 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode.Interface-UIKitSwiftUI-mockCount-2.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode.Interface-UIKitSwiftUI-mockCount-2.txt @@ -3,23 +3,19 @@ import import -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol Flow: Flow {} -// MARK: - Builder - // periphery:ignore /// @mockable @MainActor diff --git a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPlugin.Interface-AppKitSwiftUI-mockCount-0.txt b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPlugin.Interface-AppKitSwiftUI-mockCount-0.txt index 1c938a5af..a79a1fed7 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPlugin.Interface-AppKitSwiftUI-mockCount-0.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPlugin.Interface-AppKitSwiftUI-mockCount-0.txt @@ -1,22 +1,18 @@ // -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol Flow: {} -// MARK: - Builder - /// @mockable @MainActor internal protocol Builder: AnyObject { diff --git a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPlugin.Interface-AppKitSwiftUI-mockCount-1.txt b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPlugin.Interface-AppKitSwiftUI-mockCount-1.txt index 0344ee128..ddfd52280 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPlugin.Interface-AppKitSwiftUI-mockCount-1.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPlugin.Interface-AppKitSwiftUI-mockCount-1.txt @@ -2,23 +2,19 @@ import -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol Flow: Flow {} -// MARK: - Builder - // periphery:ignore /// @mockable @MainActor diff --git a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPlugin.Interface-AppKitSwiftUI-mockCount-2.txt b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPlugin.Interface-AppKitSwiftUI-mockCount-2.txt index ce7ece486..3c936c89e 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPlugin.Interface-AppKitSwiftUI-mockCount-2.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPlugin.Interface-AppKitSwiftUI-mockCount-2.txt @@ -3,23 +3,19 @@ import import -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol Flow: Flow {} -// MARK: - Builder - // periphery:ignore /// @mockable @MainActor diff --git a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPlugin.Interface-UIKitSwiftUI-mockCount-0.txt b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPlugin.Interface-UIKitSwiftUI-mockCount-0.txt index 1c938a5af..a79a1fed7 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPlugin.Interface-UIKitSwiftUI-mockCount-0.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPlugin.Interface-UIKitSwiftUI-mockCount-0.txt @@ -1,22 +1,18 @@ // -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol Flow: {} -// MARK: - Builder - /// @mockable @MainActor internal protocol Builder: AnyObject { diff --git a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPlugin.Interface-UIKitSwiftUI-mockCount-1.txt b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPlugin.Interface-UIKitSwiftUI-mockCount-1.txt index 0344ee128..ddfd52280 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPlugin.Interface-UIKitSwiftUI-mockCount-1.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPlugin.Interface-UIKitSwiftUI-mockCount-1.txt @@ -2,23 +2,19 @@ import -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol Flow: Flow {} -// MARK: - Builder - // periphery:ignore /// @mockable @MainActor diff --git a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPlugin.Interface-UIKitSwiftUI-mockCount-2.txt b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPlugin.Interface-UIKitSwiftUI-mockCount-2.txt index ce7ece486..3c936c89e 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPlugin.Interface-UIKitSwiftUI-mockCount-2.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPlugin.Interface-UIKitSwiftUI-mockCount-2.txt @@ -3,23 +3,19 @@ import import -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol Flow: Flow {} -// MARK: - Builder - // periphery:ignore /// @mockable @MainActor diff --git a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPluginAndTests.Interface-AppKitSwiftUI-mockCount-0.txt b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPluginAndTests.Interface-AppKitSwiftUI-mockCount-0.txt index 1c938a5af..a79a1fed7 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPluginAndTests.Interface-AppKitSwiftUI-mockCount-0.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPluginAndTests.Interface-AppKitSwiftUI-mockCount-0.txt @@ -1,22 +1,18 @@ // -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol Flow: {} -// MARK: - Builder - /// @mockable @MainActor internal protocol Builder: AnyObject { diff --git a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPluginAndTests.Interface-AppKitSwiftUI-mockCount-1.txt b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPluginAndTests.Interface-AppKitSwiftUI-mockCount-1.txt index 0344ee128..ddfd52280 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPluginAndTests.Interface-AppKitSwiftUI-mockCount-1.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPluginAndTests.Interface-AppKitSwiftUI-mockCount-1.txt @@ -2,23 +2,19 @@ import -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol Flow: Flow {} -// MARK: - Builder - // periphery:ignore /// @mockable @MainActor diff --git a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPluginAndTests.Interface-AppKitSwiftUI-mockCount-2.txt b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPluginAndTests.Interface-AppKitSwiftUI-mockCount-2.txt index ce7ece486..3c936c89e 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPluginAndTests.Interface-AppKitSwiftUI-mockCount-2.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPluginAndTests.Interface-AppKitSwiftUI-mockCount-2.txt @@ -3,23 +3,19 @@ import import -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol Flow: Flow {} -// MARK: - Builder - // periphery:ignore /// @mockable @MainActor diff --git a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPluginAndTests.Interface-UIKitSwiftUI-mockCount-0.txt b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPluginAndTests.Interface-UIKitSwiftUI-mockCount-0.txt index 1c938a5af..a79a1fed7 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPluginAndTests.Interface-UIKitSwiftUI-mockCount-0.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPluginAndTests.Interface-UIKitSwiftUI-mockCount-0.txt @@ -1,22 +1,18 @@ // -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol Flow: {} -// MARK: - Builder - /// @mockable @MainActor internal protocol Builder: AnyObject { diff --git a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPluginAndTests.Interface-UIKitSwiftUI-mockCount-1.txt b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPluginAndTests.Interface-UIKitSwiftUI-mockCount-1.txt index 0344ee128..ddfd52280 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPluginAndTests.Interface-UIKitSwiftUI-mockCount-1.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPluginAndTests.Interface-UIKitSwiftUI-mockCount-1.txt @@ -2,23 +2,19 @@ import -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol Flow: Flow {} -// MARK: - Builder - // periphery:ignore /// @mockable @MainActor diff --git a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPluginAndTests.Interface-UIKitSwiftUI-mockCount-2.txt b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPluginAndTests.Interface-UIKitSwiftUI-mockCount-2.txt index ce7ece486..3c936c89e 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPluginAndTests.Interface-UIKitSwiftUI-mockCount-2.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withPluginAndTests.Interface-UIKitSwiftUI-mockCount-2.txt @@ -3,23 +3,19 @@ import import -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol Flow: Flow {} -// MARK: - Builder - // periphery:ignore /// @mockable @MainActor diff --git a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withTests.Interface-AppKitSwiftUI-mockCount-0.txt b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withTests.Interface-AppKitSwiftUI-mockCount-0.txt index 1c938a5af..a79a1fed7 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withTests.Interface-AppKitSwiftUI-mockCount-0.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withTests.Interface-AppKitSwiftUI-mockCount-0.txt @@ -1,22 +1,18 @@ // -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol Flow: {} -// MARK: - Builder - /// @mockable @MainActor internal protocol Builder: AnyObject { diff --git a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withTests.Interface-AppKitSwiftUI-mockCount-1.txt b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withTests.Interface-AppKitSwiftUI-mockCount-1.txt index 0344ee128..ddfd52280 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withTests.Interface-AppKitSwiftUI-mockCount-1.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withTests.Interface-AppKitSwiftUI-mockCount-1.txt @@ -2,23 +2,19 @@ import -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol Flow: Flow {} -// MARK: - Builder - // periphery:ignore /// @mockable @MainActor diff --git a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withTests.Interface-AppKitSwiftUI-mockCount-2.txt b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withTests.Interface-AppKitSwiftUI-mockCount-2.txt index ce7ece486..3c936c89e 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withTests.Interface-AppKitSwiftUI-mockCount-2.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withTests.Interface-AppKitSwiftUI-mockCount-2.txt @@ -3,23 +3,19 @@ import import -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol Flow: Flow {} -// MARK: - Builder - // periphery:ignore /// @mockable @MainActor diff --git a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withTests.Interface-UIKitSwiftUI-mockCount-0.txt b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withTests.Interface-UIKitSwiftUI-mockCount-0.txt index 1c938a5af..a79a1fed7 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withTests.Interface-UIKitSwiftUI-mockCount-0.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withTests.Interface-UIKitSwiftUI-mockCount-0.txt @@ -1,22 +1,18 @@ // -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol Flow: {} -// MARK: - Builder - /// @mockable @MainActor internal protocol Builder: AnyObject { diff --git a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withTests.Interface-UIKitSwiftUI-mockCount-1.txt b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withTests.Interface-UIKitSwiftUI-mockCount-1.txt index 0344ee128..ddfd52280 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withTests.Interface-UIKitSwiftUI-mockCount-1.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withTests.Interface-UIKitSwiftUI-mockCount-1.txt @@ -2,23 +2,19 @@ import -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol Flow: Flow {} -// MARK: - Builder - // periphery:ignore /// @mockable @MainActor diff --git a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withTests.Interface-UIKitSwiftUI-mockCount-2.txt b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withTests.Interface-UIKitSwiftUI-mockCount-2.txt index ce7ece486..3c936c89e 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withTests.Interface-UIKitSwiftUI-mockCount-2.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/StencilRendererTests/testRenderNode_withTests.Interface-UIKitSwiftUI-mockCount-2.txt @@ -3,23 +3,19 @@ import import -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol Flow: Flow {} -// MARK: - Builder - // periphery:ignore /// @mockable @MainActor diff --git a/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithIdentifier.Contents-AppKitSwiftUI-Interface.txt b/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithIdentifier.Contents-AppKitSwiftUI-Interface.txt index ccb413c58..83ed27b48 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithIdentifier.Contents-AppKitSwiftUI-Interface.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithIdentifier.Contents-AppKitSwiftUI-Interface.txt @@ -2,23 +2,19 @@ import Nodes -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol ___VARIABLE_productName___Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol ___VARIABLE_productName___Flow: ViewControllableFlow {} -// MARK: - Builder - /// @mockable @MainActor internal protocol ___VARIABLE_productName___Builder: AnyObject { diff --git a/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithIdentifier.Contents-AppKitSwiftUICreatedForPluginList-Interface.txt b/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithIdentifier.Contents-AppKitSwiftUICreatedForPluginList-Interface.txt index 1d62adeb7..e431619e1 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithIdentifier.Contents-AppKitSwiftUICreatedForPluginList-Interface.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithIdentifier.Contents-AppKitSwiftUICreatedForPluginList-Interface.txt @@ -2,23 +2,19 @@ import Nodes -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol ___VARIABLE_productName___Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol ___VARIABLE_productName___Flow: ___VARIABLE_PluginListName___Flow {} -// MARK: - Builder - /// @mockable @MainActor internal protocol ___VARIABLE_productName___Builder: ___VARIABLE_PluginListName___Builder { diff --git a/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithIdentifier.Contents-UIKitSwiftUI-Interface.txt b/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithIdentifier.Contents-UIKitSwiftUI-Interface.txt index ccb413c58..83ed27b48 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithIdentifier.Contents-UIKitSwiftUI-Interface.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithIdentifier.Contents-UIKitSwiftUI-Interface.txt @@ -2,23 +2,19 @@ import Nodes -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol ___VARIABLE_productName___Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol ___VARIABLE_productName___Flow: ViewControllableFlow {} -// MARK: - Builder - /// @mockable @MainActor internal protocol ___VARIABLE_productName___Builder: AnyObject { diff --git a/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithIdentifier.Contents-UIKitSwiftUICreatedForPluginList-Interface.txt b/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithIdentifier.Contents-UIKitSwiftUICreatedForPluginList-Interface.txt index 1d62adeb7..e431619e1 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithIdentifier.Contents-UIKitSwiftUICreatedForPluginList-Interface.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithIdentifier.Contents-UIKitSwiftUICreatedForPluginList-Interface.txt @@ -2,23 +2,19 @@ import Nodes -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol ___VARIABLE_productName___Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol ___VARIABLE_productName___Flow: ___VARIABLE_PluginListName___Flow {} -// MARK: - Builder - /// @mockable @MainActor internal protocol ___VARIABLE_productName___Builder: ___VARIABLE_PluginListName___Builder { diff --git a/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithURL.Contents-AppKitSwiftUI-Interface.txt b/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithURL.Contents-AppKitSwiftUI-Interface.txt index ccb413c58..83ed27b48 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithURL.Contents-AppKitSwiftUI-Interface.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithURL.Contents-AppKitSwiftUI-Interface.txt @@ -2,23 +2,19 @@ import Nodes -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol ___VARIABLE_productName___Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol ___VARIABLE_productName___Flow: ViewControllableFlow {} -// MARK: - Builder - /// @mockable @MainActor internal protocol ___VARIABLE_productName___Builder: AnyObject { diff --git a/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithURL.Contents-AppKitSwiftUICreatedForPluginList-Interface.txt b/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithURL.Contents-AppKitSwiftUICreatedForPluginList-Interface.txt index 1d62adeb7..e431619e1 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithURL.Contents-AppKitSwiftUICreatedForPluginList-Interface.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithURL.Contents-AppKitSwiftUICreatedForPluginList-Interface.txt @@ -2,23 +2,19 @@ import Nodes -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol ___VARIABLE_productName___Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol ___VARIABLE_productName___Flow: ___VARIABLE_PluginListName___Flow {} -// MARK: - Builder - /// @mockable @MainActor internal protocol ___VARIABLE_productName___Builder: ___VARIABLE_PluginListName___Builder { diff --git a/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithURL.Contents-UIKitSwiftUI-Interface.txt b/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithURL.Contents-UIKitSwiftUI-Interface.txt index ccb413c58..83ed27b48 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithURL.Contents-UIKitSwiftUI-Interface.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithURL.Contents-UIKitSwiftUI-Interface.txt @@ -2,23 +2,19 @@ import Nodes -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol ___VARIABLE_productName___Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol ___VARIABLE_productName___Flow: ViewControllableFlow {} -// MARK: - Builder - /// @mockable @MainActor internal protocol ___VARIABLE_productName___Builder: AnyObject { diff --git a/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithURL.Contents-UIKitSwiftUICreatedForPluginList-Interface.txt b/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithURL.Contents-UIKitSwiftUICreatedForPluginList-Interface.txt index 1d62adeb7..e431619e1 100644 --- a/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithURL.Contents-UIKitSwiftUICreatedForPluginList-Interface.txt +++ b/Tests/NodesGeneratorTests/__Snapshots__/XcodeTemplateGeneratorTests/testGenerateWithURL.Contents-UIKitSwiftUICreatedForPluginList-Interface.txt @@ -2,23 +2,19 @@ import Nodes -// This file defines the protocols and types in the interface requiring public ACL for use in another module. - -// MARK: - Listener +/* + This file defines the protocols and types in the interface requiring public ACL for use in another module. + */ /// Defines the delegate protocol through which the `Context` interfaces with its listener. /// @mockable @MainActor internal protocol ___VARIABLE_productName___Listener: AnyObject {} -// MARK: - Flow - /// @mockable @MainActor internal protocol ___VARIABLE_productName___Flow: ___VARIABLE_PluginListName___Flow {} -// MARK: - Builder - /// @mockable @MainActor internal protocol ___VARIABLE_productName___Builder: ___VARIABLE_PluginListName___Builder {