Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ let package = Package(
targets: ["SparkComponentButton"]
),
.library(
name: "SparkButtonTesting",
targets: ["SparkButtonTesting"]
name: "SparkComponentButtonTesting",
targets: ["SparkComponentButtonTesting"]
)
],
dependencies: [
Expand Down Expand Up @@ -47,7 +47,7 @@ let package = Package(
path: "Sources/Core"
),
.target(
name: "SparkButtonTesting",
name: "SparkComponentButtonTesting",
dependencies: [
"SparkComponentButton",
.product(
Expand All @@ -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"
Expand All @@ -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"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// ButtonGetVariantFilledUseCase.swift
// SparkButtonTests
// SparkComponentButtonTests
//
// Created by janniklas.freundt.ext on 16.05.23.
// Copyright © 2023 Leboncoin. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// ButtonGetVariantGhostUseCase.swift
// SparkButtonTests
// SparkComponentButtonTests
//
// Created by janniklas.freundt.ext on 16.05.23.
// Copyright © 2023 Leboncoin. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// ButtonGetVariantTintedUseCase.swift
// SparkButtonTests
// SparkComponentButtonTests
//
// Created by janniklas.freundt.ext on 16.05.23.
// Copyright © 2023 Leboncoin. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// ButtonGetVariantUseCaseable.swift
// SparkButtonTests
// SparkComponentButtonTests
//
// Created by janniklas.freundt.ext on 16.05.23.
// Copyright © 2023 Leboncoin. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// ButtonConfigurationSnapshotTests.swift
// SparkButtonSnapshotTests
// SparkComponentButtonSnapshotTests
//
// Created by robin.lemaire on 30/11/2023.
// Copyright © 2023 Leboncoin. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// ButtonScenarioSnapshotTests.swift
// SparkButtonSnapshotTests
// SparkComponentButtonSnapshotTests
//
// Created by robin.lemaire on 30/11/2023.
// Copyright © 2023 Leboncoin. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// IconButtonConfigurationSnapshotTests.swift
// SparkButtonSnapshotTests
// SparkComponentButtonSnapshotTests
//
// Created by robin.lemaire on 30/11/2023.
// Copyright © 2023 Leboncoin. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// IconButtonScenarioSnapshotTests.swift
// SparkButtonSnapshotTests
// SparkComponentButtonSnapshotTests
//
// Created by robin.lemaire on 30/11/2023.
// Copyright © 2023 Leboncoin. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// ButtonViewSnapshotTests.swift
// SparkButtonSnapshotTests
// SparkComponentButtonSnapshotTests
//
// Created by robin.lemaire on 30/11/2023.
// Copyright © 2023 Leboncoin. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// IconButtonViewSnapshotTests.swift
// SparkButtonSnapshotTests
// SparkComponentButtonSnapshotTests
//
// Created by robin.lemaire on 30/11/2023.
// Copyright © 2023 Leboncoin. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// ButtonUIViewSnapshotTests.swift
// SparkButtonSnapshotTests
// SparkComponentButtonSnapshotTests
//
// Created by robin.lemaire on 30/11/2023.
// Copyright © 2023 Leboncoin. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// IconButtonUIViewSnapshotTests.swift
// SparkButtonSnapshotTests
// SparkComponentButtonSnapshotTests
//
// Created by robin.lemaire on 30/11/2023.
// Copyright © 2023 Leboncoin. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// ButtonColorsTests.swift
// SparkButtonTests
// SparkComponentButtonTests
//
// Created by michael.zimmermann on 21.07.23.
// Copyright © 2023 Leboncoin. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// ButtonCurrentColorsTests.swift
// SparkButtonTests
// SparkComponentButtonTests
//
// Created by michael.zimmermann on 21.07.23.
// Copyright © 2023 Leboncoin. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// ButtonGetBorderUseCaseTests.swift
// SparkButtonTests
// SparkComponentButtonTests
//
// Created by robin.lemaire on 23/06/2023.
// Copyright © 2023 Leboncoin. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// ButtonGetCurrentColorsUseCaseTests.swift
// SparkButtonTests
// SparkComponentButtonTests
//
// Created by robin.lemaire on 27/06/2023.
// Copyright © 2023 Leboncoin. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// ButtonGetSizesUseCaseTests.swift
// SparkButtonTests
// SparkComponentButtonTests
//
// Created by robin.lemaire on 12/05/2023.
// Copyright © 2023 Leboncoin. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// ButtonGetSpacingsUseCaseTests.swift
// SparkButtonTests
// SparkComponentButtonTests
//
// Created by robin.lemaire on 23/06/2023.
// Copyright © 2023 Leboncoin. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// ButtonGetStateUseCaseTests.swift
// SparkButtonTests
// SparkComponentButtonTests
//
// Created by robin.lemaire on 27/06/2023.
// Copyright © 2023 Leboncoin. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// ButtonVariantGetContrastUseCaseTests.swift
// SparkButtonTests
// SparkComponentButtonTests
//
// Created by janniklas.freundt.ext on 16.05.23.
// Copyright © 2023 Leboncoin. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// ButtonGetVariantGhostUseCaseTests.swift
// SparkButtonTests
// SparkComponentButtonTests
//
// Created by janniklas.freundt.ext on 16.05.23.
// Copyright © 2023 Leboncoin. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// ButtonSUIViewModelTests.swift
// SparkButtonUnitTests
// SparkComponentButtonUnitTests
//
// Created by robin.lemaire on 15/01/2024.
// Copyright © 2024 Leboncoin. All rights reserved.
Expand Down
4 changes: 2 additions & 2 deletions Tests/UnitTests/ViewModel/Button/ButtonViewModelTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// ButtonViewModelTests.swift
// SparkButtonUnitTests
// SparkComponentButtonUnitTests
//
// Created by robin.lemaire on 13/11/2023.
// Copyright © 2023 Leboncoin. All rights reserved.
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// IconButtonSUIViewModelTests.swift
// SparkButtonUnitTests
// SparkComponentButtonUnitTests
//
// Created by robin.lemaire on 15/01/2024.
// Copyright © 2024 Leboncoin. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down