fixes for Swift 6 and threading concerns
This commit is contained in:
@@ -10,6 +10,7 @@ import Testing
|
||||
|
||||
// MARK: - Init
|
||||
|
||||
@MainActor
|
||||
@Suite("UIParamNode init") struct UIParamNodeInitTests {
|
||||
|
||||
@Test func initialValueStoredAsObservable() {
|
||||
@@ -66,6 +67,7 @@ import Testing
|
||||
|
||||
// MARK: - Atomic update round-trip
|
||||
|
||||
@MainActor
|
||||
@Suite("UIParamNode atomic update") struct UIParamNodeAtomicTests {
|
||||
|
||||
@Test func updateSetsObservableValue() {
|
||||
@@ -112,6 +114,7 @@ import Testing
|
||||
|
||||
// MARK: - calculatedSamples interpolation
|
||||
|
||||
@MainActor
|
||||
@Suite("UIParamNode calculatedSamples") struct UIParamNodeCalcTests {
|
||||
|
||||
@Test func flatBlockWhenValueUnchanged() throws {
|
||||
@@ -202,6 +205,7 @@ import Testing
|
||||
|
||||
// MARK: - ValidGeneratorInput wiring
|
||||
|
||||
@MainActor
|
||||
@Suite("UIParamNode as ValidGeneratorInput") struct UIParamNodeWiringTests {
|
||||
|
||||
@Test func usableAsSourceParameter() throws {
|
||||
@@ -258,6 +262,7 @@ import Testing
|
||||
|
||||
// MARK: - Source-swap
|
||||
|
||||
@MainActor
|
||||
@Suite("UIParamNode source swap") struct UIParamNodeSourceSwapTests {
|
||||
|
||||
@Test func sourceAssignmentRoutesThroughCalculatedSamples() {
|
||||
|
||||
Reference in New Issue
Block a user