diff --git a/Package.swift b/Package.swift index ef470c7..28a3972 100644 --- a/Package.swift +++ b/Package.swift @@ -15,8 +15,8 @@ let package = Package( targets: ["SparkComponentButton"] ), .library( - name: "SparkButtonTesting", - targets: ["SparkButtonTesting"] + name: "SparkComponentButtonTesting", + targets: ["SparkComponentButtonTesting"] ) ], dependencies: [ @@ -47,7 +47,7 @@ let package = Package( path: "Sources/Core" ), .target( - name: "SparkButtonTesting", + name: "SparkComponentButtonTesting", dependencies: [ "SparkComponentButton", .product( @@ -70,10 +70,10 @@ let package = Package( path: "Sources/Testing" ), .testTarget( - name: "SparkButtonUnitTests", + name: "SparkComponentButtonUnitTests", dependencies: [ "SparkComponentButton", - "SparkButtonTesting", + "SparkComponentButtonTesting", .product( name: "SparkCommonTesting", package: "spark-ios-common" @@ -86,10 +86,10 @@ let package = Package( path: "Tests/UnitTests" ), .testTarget( - name: "SparkButtonSnapshotTests", + name: "SparkComponentButtonSnapshotTests", dependencies: [ "SparkComponentButton", - "SparkButtonTesting", + "SparkComponentButtonTesting", .product( name: "SparkCommonSnapshotTesting", package: "spark-ios-common" diff --git a/Sources/Core/UseCase/GetVariants/ButtonGetVariantFilledUseCase.swift b/Sources/Core/UseCase/GetVariants/ButtonGetVariantFilledUseCase.swift index 74f1fa8..99b5b01 100644 --- a/Sources/Core/UseCase/GetVariants/ButtonGetVariantFilledUseCase.swift +++ b/Sources/Core/UseCase/GetVariants/ButtonGetVariantFilledUseCase.swift @@ -1,6 +1,6 @@ // // ButtonGetVariantFilledUseCase.swift -// SparkButtonTests +// SparkComponentButtonTests // // Created by janniklas.freundt.ext on 16.05.23. // Copyright © 2023 Leboncoin. All rights reserved. diff --git a/Sources/Core/UseCase/GetVariants/ButtonGetVariantGhostUseCase.swift b/Sources/Core/UseCase/GetVariants/ButtonGetVariantGhostUseCase.swift index 69c0292..ea4f9b5 100644 --- a/Sources/Core/UseCase/GetVariants/ButtonGetVariantGhostUseCase.swift +++ b/Sources/Core/UseCase/GetVariants/ButtonGetVariantGhostUseCase.swift @@ -1,6 +1,6 @@ // // ButtonGetVariantGhostUseCase.swift -// SparkButtonTests +// SparkComponentButtonTests // // Created by janniklas.freundt.ext on 16.05.23. // Copyright © 2023 Leboncoin. All rights reserved. diff --git a/Sources/Core/UseCase/GetVariants/ButtonGetVariantTintedUseCase.swift b/Sources/Core/UseCase/GetVariants/ButtonGetVariantTintedUseCase.swift index 20a5bc8..8125136 100644 --- a/Sources/Core/UseCase/GetVariants/ButtonGetVariantTintedUseCase.swift +++ b/Sources/Core/UseCase/GetVariants/ButtonGetVariantTintedUseCase.swift @@ -1,6 +1,6 @@ // // ButtonGetVariantTintedUseCase.swift -// SparkButtonTests +// SparkComponentButtonTests // // Created by janniklas.freundt.ext on 16.05.23. // Copyright © 2023 Leboncoin. All rights reserved. diff --git a/Sources/Core/UseCase/GetVariants/ButtonGetVariantUseCaseable.swift b/Sources/Core/UseCase/GetVariants/ButtonGetVariantUseCaseable.swift index e724fcc..e372154 100644 --- a/Sources/Core/UseCase/GetVariants/ButtonGetVariantUseCaseable.swift +++ b/Sources/Core/UseCase/GetVariants/ButtonGetVariantUseCaseable.swift @@ -1,6 +1,6 @@ // // ButtonGetVariantUseCaseable.swift -// SparkButtonTests +// SparkComponentButtonTests // // Created by janniklas.freundt.ext on 16.05.23. // Copyright © 2023 Leboncoin. All rights reserved. diff --git a/Tests/SnapshotTests/View/Common/ButtonConfigurationSnapshotTests.swift b/Tests/SnapshotTests/View/Common/ButtonConfigurationSnapshotTests.swift index 5a71c9a..c3b93fb 100644 --- a/Tests/SnapshotTests/View/Common/ButtonConfigurationSnapshotTests.swift +++ b/Tests/SnapshotTests/View/Common/ButtonConfigurationSnapshotTests.swift @@ -1,6 +1,6 @@ // // ButtonConfigurationSnapshotTests.swift -// SparkButtonSnapshotTests +// SparkComponentButtonSnapshotTests // // Created by robin.lemaire on 30/11/2023. // Copyright © 2023 Leboncoin. All rights reserved. diff --git a/Tests/SnapshotTests/View/Common/ButtonScenarioSnapshotTests.swift b/Tests/SnapshotTests/View/Common/ButtonScenarioSnapshotTests.swift index e81c9b5..1a9a0f5 100644 --- a/Tests/SnapshotTests/View/Common/ButtonScenarioSnapshotTests.swift +++ b/Tests/SnapshotTests/View/Common/ButtonScenarioSnapshotTests.swift @@ -1,6 +1,6 @@ // // ButtonScenarioSnapshotTests.swift -// SparkButtonSnapshotTests +// SparkComponentButtonSnapshotTests // // Created by robin.lemaire on 30/11/2023. // Copyright © 2023 Leboncoin. All rights reserved. diff --git a/Tests/SnapshotTests/View/Common/IconButtonConfigurationSnapshotTests.swift b/Tests/SnapshotTests/View/Common/IconButtonConfigurationSnapshotTests.swift index 05ea3e2..798d242 100644 --- a/Tests/SnapshotTests/View/Common/IconButtonConfigurationSnapshotTests.swift +++ b/Tests/SnapshotTests/View/Common/IconButtonConfigurationSnapshotTests.swift @@ -1,6 +1,6 @@ // // IconButtonConfigurationSnapshotTests.swift -// SparkButtonSnapshotTests +// SparkComponentButtonSnapshotTests // // Created by robin.lemaire on 30/11/2023. // Copyright © 2023 Leboncoin. All rights reserved. diff --git a/Tests/SnapshotTests/View/Common/IconButtonScenarioSnapshotTests.swift b/Tests/SnapshotTests/View/Common/IconButtonScenarioSnapshotTests.swift index fcc5e37..0fb35b1 100644 --- a/Tests/SnapshotTests/View/Common/IconButtonScenarioSnapshotTests.swift +++ b/Tests/SnapshotTests/View/Common/IconButtonScenarioSnapshotTests.swift @@ -1,6 +1,6 @@ // // IconButtonScenarioSnapshotTests.swift -// SparkButtonSnapshotTests +// SparkComponentButtonSnapshotTests // // Created by robin.lemaire on 30/11/2023. // Copyright © 2023 Leboncoin. All rights reserved. diff --git a/Tests/SnapshotTests/View/SwiftUI/Public/Button/ButtonViewSnapshotTests.swift b/Tests/SnapshotTests/View/SwiftUI/Public/Button/ButtonViewSnapshotTests.swift index 169d1bb..7c515e7 100644 --- a/Tests/SnapshotTests/View/SwiftUI/Public/Button/ButtonViewSnapshotTests.swift +++ b/Tests/SnapshotTests/View/SwiftUI/Public/Button/ButtonViewSnapshotTests.swift @@ -1,6 +1,6 @@ // // ButtonViewSnapshotTests.swift -// SparkButtonSnapshotTests +// SparkComponentButtonSnapshotTests // // Created by robin.lemaire on 30/11/2023. // Copyright © 2023 Leboncoin. All rights reserved. diff --git a/Tests/SnapshotTests/View/SwiftUI/Public/Icon/IconButtonViewSnapshotTests.swift b/Tests/SnapshotTests/View/SwiftUI/Public/Icon/IconButtonViewSnapshotTests.swift index 9a26fa7..f2648f1 100644 --- a/Tests/SnapshotTests/View/SwiftUI/Public/Icon/IconButtonViewSnapshotTests.swift +++ b/Tests/SnapshotTests/View/SwiftUI/Public/Icon/IconButtonViewSnapshotTests.swift @@ -1,6 +1,6 @@ // // IconButtonViewSnapshotTests.swift -// SparkButtonSnapshotTests +// SparkComponentButtonSnapshotTests // // Created by robin.lemaire on 30/11/2023. // Copyright © 2023 Leboncoin. All rights reserved. diff --git a/Tests/SnapshotTests/View/UIKit/Button/ButtonUIViewSnapshotTests.swift b/Tests/SnapshotTests/View/UIKit/Button/ButtonUIViewSnapshotTests.swift index 2f45abd..00b7df9 100644 --- a/Tests/SnapshotTests/View/UIKit/Button/ButtonUIViewSnapshotTests.swift +++ b/Tests/SnapshotTests/View/UIKit/Button/ButtonUIViewSnapshotTests.swift @@ -1,6 +1,6 @@ // // ButtonUIViewSnapshotTests.swift -// SparkButtonSnapshotTests +// SparkComponentButtonSnapshotTests // // Created by robin.lemaire on 30/11/2023. // Copyright © 2023 Leboncoin. All rights reserved. diff --git a/Tests/SnapshotTests/View/UIKit/Icon/IconButtonUIViewSnapshotTests.swift b/Tests/SnapshotTests/View/UIKit/Icon/IconButtonUIViewSnapshotTests.swift index 45fa657..d78be85 100644 --- a/Tests/SnapshotTests/View/UIKit/Icon/IconButtonUIViewSnapshotTests.swift +++ b/Tests/SnapshotTests/View/UIKit/Icon/IconButtonUIViewSnapshotTests.swift @@ -1,6 +1,6 @@ // // IconButtonUIViewSnapshotTests.swift -// SparkButtonSnapshotTests +// SparkComponentButtonSnapshotTests // // Created by robin.lemaire on 30/11/2023. // Copyright © 2023 Leboncoin. All rights reserved. diff --git a/Tests/UnitTests/Properties/Internal/Colors/ButtonColorsTests.swift b/Tests/UnitTests/Properties/Internal/Colors/ButtonColorsTests.swift index 599aded..e0c927e 100644 --- a/Tests/UnitTests/Properties/Internal/Colors/ButtonColorsTests.swift +++ b/Tests/UnitTests/Properties/Internal/Colors/ButtonColorsTests.swift @@ -1,6 +1,6 @@ // // ButtonColorsTests.swift -// SparkButtonTests +// SparkComponentButtonTests // // Created by michael.zimmermann on 21.07.23. // Copyright © 2023 Leboncoin. All rights reserved. diff --git a/Tests/UnitTests/Properties/Internal/CurrentColors/ButtonCurrentColorsTests.swift b/Tests/UnitTests/Properties/Internal/CurrentColors/ButtonCurrentColorsTests.swift index f95ce1c..b60e552 100644 --- a/Tests/UnitTests/Properties/Internal/CurrentColors/ButtonCurrentColorsTests.swift +++ b/Tests/UnitTests/Properties/Internal/CurrentColors/ButtonCurrentColorsTests.swift @@ -1,6 +1,6 @@ // // ButtonCurrentColorsTests.swift -// SparkButtonTests +// SparkComponentButtonTests // // Created by michael.zimmermann on 21.07.23. // Copyright © 2023 Leboncoin. All rights reserved. diff --git a/Tests/UnitTests/UseCase/GetBorder/ButtonGetBorderUseCaseTests.swift b/Tests/UnitTests/UseCase/GetBorder/ButtonGetBorderUseCaseTests.swift index 92bd500..163f528 100644 --- a/Tests/UnitTests/UseCase/GetBorder/ButtonGetBorderUseCaseTests.swift +++ b/Tests/UnitTests/UseCase/GetBorder/ButtonGetBorderUseCaseTests.swift @@ -1,6 +1,6 @@ // // ButtonGetBorderUseCaseTests.swift -// SparkButtonTests +// SparkComponentButtonTests // // Created by robin.lemaire on 23/06/2023. // Copyright © 2023 Leboncoin. All rights reserved. diff --git a/Tests/UnitTests/UseCase/GetColors/ButtonGetColorsUseCaseTests.swift b/Tests/UnitTests/UseCase/GetColors/ButtonGetColorsUseCaseTests.swift index dce8718..9479d83 100644 --- a/Tests/UnitTests/UseCase/GetColors/ButtonGetColorsUseCaseTests.swift +++ b/Tests/UnitTests/UseCase/GetColors/ButtonGetColorsUseCaseTests.swift @@ -9,7 +9,7 @@ import XCTest import SwiftUI @testable import SparkComponentButton -@_spi(SI_SPI) @testable import SparkButtonTesting +@_spi(SI_SPI) @testable import SparkComponentButtonTesting @_spi(SI_SPI) import SparkThemingTesting import SparkTheming diff --git a/Tests/UnitTests/UseCase/GetCurrentColors/ButtonGetCurrentColorsUseCaseTests.swift b/Tests/UnitTests/UseCase/GetCurrentColors/ButtonGetCurrentColorsUseCaseTests.swift index e80fbce..24e2f7a 100644 --- a/Tests/UnitTests/UseCase/GetCurrentColors/ButtonGetCurrentColorsUseCaseTests.swift +++ b/Tests/UnitTests/UseCase/GetCurrentColors/ButtonGetCurrentColorsUseCaseTests.swift @@ -1,6 +1,6 @@ // // ButtonGetCurrentColorsUseCaseTests.swift -// SparkButtonTests +// SparkComponentButtonTests // // Created by robin.lemaire on 27/06/2023. // Copyright © 2023 Leboncoin. All rights reserved. diff --git a/Tests/UnitTests/UseCase/GetSizes/ButtonGetSizesUseCaseTests.swift b/Tests/UnitTests/UseCase/GetSizes/ButtonGetSizesUseCaseTests.swift index ba5db15..17b21f8 100644 --- a/Tests/UnitTests/UseCase/GetSizes/ButtonGetSizesUseCaseTests.swift +++ b/Tests/UnitTests/UseCase/GetSizes/ButtonGetSizesUseCaseTests.swift @@ -1,6 +1,6 @@ // // ButtonGetSizesUseCaseTests.swift -// SparkButtonTests +// SparkComponentButtonTests // // Created by robin.lemaire on 12/05/2023. // Copyright © 2023 Leboncoin. All rights reserved. diff --git a/Tests/UnitTests/UseCase/GetSpacings/ButtonGetSpacingsUseCaseTests.swift b/Tests/UnitTests/UseCase/GetSpacings/ButtonGetSpacingsUseCaseTests.swift index 2ea8ccb..442695b 100644 --- a/Tests/UnitTests/UseCase/GetSpacings/ButtonGetSpacingsUseCaseTests.swift +++ b/Tests/UnitTests/UseCase/GetSpacings/ButtonGetSpacingsUseCaseTests.swift @@ -1,6 +1,6 @@ // // ButtonGetSpacingsUseCaseTests.swift -// SparkButtonTests +// SparkComponentButtonTests // // Created by robin.lemaire on 23/06/2023. // Copyright © 2023 Leboncoin. All rights reserved. diff --git a/Tests/UnitTests/UseCase/GetState/ButtonGetStateUseCaseTests.swift b/Tests/UnitTests/UseCase/GetState/ButtonGetStateUseCaseTests.swift index 3f75a6b..471b0d5 100644 --- a/Tests/UnitTests/UseCase/GetState/ButtonGetStateUseCaseTests.swift +++ b/Tests/UnitTests/UseCase/GetState/ButtonGetStateUseCaseTests.swift @@ -1,6 +1,6 @@ // // ButtonGetStateUseCaseTests.swift -// SparkButtonTests +// SparkComponentButtonTests // // Created by robin.lemaire on 27/06/2023. // Copyright © 2023 Leboncoin. All rights reserved. diff --git a/Tests/UnitTests/UseCase/GetVariants/ButtonGetVariantContrastUseCaseTests.swift b/Tests/UnitTests/UseCase/GetVariants/ButtonGetVariantContrastUseCaseTests.swift index f773832..3a53590 100644 --- a/Tests/UnitTests/UseCase/GetVariants/ButtonGetVariantContrastUseCaseTests.swift +++ b/Tests/UnitTests/UseCase/GetVariants/ButtonGetVariantContrastUseCaseTests.swift @@ -1,6 +1,6 @@ // // ButtonVariantGetContrastUseCaseTests.swift -// SparkButtonTests +// SparkComponentButtonTests // // Created by janniklas.freundt.ext on 16.05.23. // Copyright © 2023 Leboncoin. All rights reserved. diff --git a/Tests/UnitTests/UseCase/GetVariants/ButtonGetVariantGhostUseCaseTests.swift b/Tests/UnitTests/UseCase/GetVariants/ButtonGetVariantGhostUseCaseTests.swift index 52093ea..ba87b88 100644 --- a/Tests/UnitTests/UseCase/GetVariants/ButtonGetVariantGhostUseCaseTests.swift +++ b/Tests/UnitTests/UseCase/GetVariants/ButtonGetVariantGhostUseCaseTests.swift @@ -1,6 +1,6 @@ // // ButtonGetVariantGhostUseCaseTests.swift -// SparkButtonTests +// SparkComponentButtonTests // // Created by janniklas.freundt.ext on 16.05.23. // Copyright © 2023 Leboncoin. All rights reserved. diff --git a/Tests/UnitTests/ViewModel/Button/ButtonSUIViewModelTests.swift b/Tests/UnitTests/ViewModel/Button/ButtonSUIViewModelTests.swift index c06ff1c..2144fa7 100644 --- a/Tests/UnitTests/ViewModel/Button/ButtonSUIViewModelTests.swift +++ b/Tests/UnitTests/ViewModel/Button/ButtonSUIViewModelTests.swift @@ -1,6 +1,6 @@ // // ButtonSUIViewModelTests.swift -// SparkButtonUnitTests +// SparkComponentButtonUnitTests // // Created by robin.lemaire on 15/01/2024. // Copyright © 2024 Leboncoin. All rights reserved. diff --git a/Tests/UnitTests/ViewModel/Button/ButtonViewModelTests.swift b/Tests/UnitTests/ViewModel/Button/ButtonViewModelTests.swift index a056b67..8c72eb3 100644 --- a/Tests/UnitTests/ViewModel/Button/ButtonViewModelTests.swift +++ b/Tests/UnitTests/ViewModel/Button/ButtonViewModelTests.swift @@ -1,6 +1,6 @@ // // ButtonViewModelTests.swift -// SparkButtonUnitTests +// SparkComponentButtonUnitTests // // Created by robin.lemaire on 13/11/2023. // Copyright © 2023 Leboncoin. All rights reserved. @@ -9,7 +9,7 @@ import Foundation import XCTest @testable import SparkComponentButton -@_spi(SI_SPI) @testable import SparkButtonTesting +@_spi(SI_SPI) @testable import SparkComponentButtonTesting @_spi(SI_SPI) import SparkCommon @_spi(SI_SPI) import SparkCommonTesting @_spi(SI_SPI) import SparkThemingTesting diff --git a/Tests/UnitTests/ViewModel/Icon/IconButtonSUIViewModelTests.swift b/Tests/UnitTests/ViewModel/Icon/IconButtonSUIViewModelTests.swift index 7253ced..65e5980 100644 --- a/Tests/UnitTests/ViewModel/Icon/IconButtonSUIViewModelTests.swift +++ b/Tests/UnitTests/ViewModel/Icon/IconButtonSUIViewModelTests.swift @@ -1,6 +1,6 @@ // // IconButtonSUIViewModelTests.swift -// SparkButtonUnitTests +// SparkComponentButtonUnitTests // // Created by robin.lemaire on 15/01/2024. // Copyright © 2024 Leboncoin. All rights reserved. diff --git a/Tests/UnitTests/ViewModel/Main/ButtonMainViewModelTests.swift b/Tests/UnitTests/ViewModel/Main/ButtonMainViewModelTests.swift index 7d196de..b8e1075 100644 --- a/Tests/UnitTests/ViewModel/Main/ButtonMainViewModelTests.swift +++ b/Tests/UnitTests/ViewModel/Main/ButtonMainViewModelTests.swift @@ -8,7 +8,7 @@ import XCTest @testable import SparkComponentButton -@_spi(SI_SPI) @testable import SparkButtonTesting +@_spi(SI_SPI) @testable import SparkComponentButtonTesting @_spi(SI_SPI) import SparkCommon @_spi(SI_SPI) import SparkThemingTesting import SparkTheming