summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/labeler.yml4
-rw-r--r--.github/workflows/build.yml4
-rw-r--r--docs/source/SwiftUsage.md6
-rwxr-xr-xscripts/generate_code.py4
-rw-r--r--tests/docker/languages/Dockerfile.testing.swift_5_22
-rw-r--r--tests/swift/Wasm.tests/Package.swift (renamed from tests/FlatBuffers.Test.Swift.Wasm/Package.swift)2
-rw-r--r--tests/swift/Wasm.tests/Sources/Wasm/Wasm.swift (renamed from tests/FlatBuffers.Test.Swift.Wasm/Sources/Wasm/Wasm.swift)0
-rw-r--r--tests/swift/Wasm.tests/Tests/FlatBuffers.Test.Swift.WasmTests/FlatBuffersMonsterWriterTests.swift (renamed from tests/FlatBuffers.Test.Swift.Wasm/Tests/FlatBuffers.Test.Swift.WasmTests/FlatBuffersMonsterWriterTests.swift)0
-rw-r--r--tests/swift/Wasm.tests/Tests/FlatBuffers.Test.Swift.WasmTests/monster_test_generated.swift (renamed from tests/FlatBuffers.Test.Swift.Wasm/Tests/FlatBuffers.Test.Swift.WasmTests/monster_test_generated.swift)0
-rw-r--r--tests/swift/benchmarks/Package.swift (renamed from tests/FlatBuffers.Benchmarks.swift/Package.swift)6
-rw-r--r--tests/swift/benchmarks/Sources/benchmarks/main.swift (renamed from tests/FlatBuffers.Benchmarks.swift/Sources/FlatBuffers.Benchmarks.swift/main.swift)0
-rw-r--r--tests/swift/tests/CodeGenerationTests/test_import.fbs (renamed from tests/FlatBuffers.Test.Swift/CodeGenerationTests/test_import.fbs)0
-rw-r--r--tests/swift/tests/CodeGenerationTests/test_import_generated.swift (renamed from tests/FlatBuffers.Test.Swift/CodeGenerationTests/test_import_generated.swift)0
-rw-r--r--tests/swift/tests/CodeGenerationTests/test_no_include.fbs (renamed from tests/FlatBuffers.Test.Swift/CodeGenerationTests/test_no_include.fbs)0
-rw-r--r--tests/swift/tests/CodeGenerationTests/test_no_include_generated.swift (renamed from tests/FlatBuffers.Test.Swift/CodeGenerationTests/test_no_include_generated.swift)0
-rw-r--r--tests/swift/tests/Package.swift (renamed from tests/FlatBuffers.Test.Swift/Package.swift)2
-rw-r--r--tests/swift/tests/Sources/SwiftFlatBuffers/fuzzer.fbs (renamed from tests/FlatBuffers.Test.Swift/Sources/SwiftFlatBuffers/fuzzer.fbs)0
-rw-r--r--tests/swift/tests/Sources/SwiftFlatBuffers/fuzzer_generated.swift (renamed from tests/FlatBuffers.Test.Swift/Sources/SwiftFlatBuffers/fuzzer_generated.swift)0
-rw-r--r--tests/swift/tests/Sources/SwiftFlatBuffers/main.swift (renamed from tests/FlatBuffers.Test.Swift/Sources/SwiftFlatBuffers/main.swift)0
-rwxr-xr-xtests/swift/tests/SwiftTest.sh (renamed from tests/FlatBuffers.Test.Swift/SwiftTest.sh)16
-rw-r--r--tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersMonsterWriterTests.swift (renamed from tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersMonsterWriterTests.swift)0
-rw-r--r--tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersStructsTests.swift (renamed from tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersStructsTests.swift)0
-rw-r--r--tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersTests.swift (renamed from tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersTests.swift)0
-rw-r--r--tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersUnionTests.swift (renamed from tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersUnionTests.swift)0
-rw-r--r--tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersVectorsTests.swift (renamed from tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersVectorsTests.swift)0
-rw-r--r--tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/FlatbuffersDoubleTests.swift (renamed from tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/FlatbuffersDoubleTests.swift)0
-rw-r--r--tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/FlatbuffersMoreDefaults.swift (renamed from tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/FlatbuffersMoreDefaults.swift)0
-rw-r--r--tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/FlatbuffersVerifierTests.swift (renamed from tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/FlatbuffersVerifierTests.swift)0
-rw-r--r--tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/MutatingBool_generated.swift (renamed from tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/MutatingBool_generated.swift)0
-rw-r--r--tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/XCTestManifests.swift (renamed from tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/XCTestManifests.swift)0
-rw-r--r--tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/monster_test.grpc.swift (renamed from tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/monster_test.grpc.swift)0
-rw-r--r--tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/monster_test_generated.swift (renamed from tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/monster_test_generated.swift)0
-rw-r--r--tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/more_defaults_generated.swift (renamed from tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/more_defaults_generated.swift)0
-rw-r--r--tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/optional_scalars_generated.swift (renamed from tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/optional_scalars_generated.swift)0
-rw-r--r--tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/union_vector_generated.swift (renamed from tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/union_vector_generated.swift)0
-rw-r--r--tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/vector_has_test_generated.swift (renamed from tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/vector_has_test_generated.swift)0
-rw-r--r--tests/swift/tests/Tests/LinuxMain.swift (renamed from tests/FlatBuffers.Test.Swift/Tests/LinuxMain.swift)0
-rw-r--r--tests/swift/tests/monsterdata_test.mon (renamed from tests/FlatBuffers.Test.Swift/monsterdata_test.mon)bin440 -> 440 bytes
38 files changed, 23 insertions, 23 deletions
diff --git a/.github/labeler.yml b/.github/labeler.yml
index 5de0c3a7..e83f2805 100644
--- a/.github/labeler.yml
+++ b/.github/labeler.yml
@@ -15,9 +15,7 @@ c#:
swift:
- '**/*.swift'
- swift/**/*
- - tests/FlatBuffers.GRPC.Swift/**/*
- - tests/FlatBuffers.Benchmarks.swift/**/*
- - tests/FlatBuffers.Test.Swift/**/*
+ - tests/swift/**
- src/idl_gen_swift.cpp
javascript:
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d8bb7bff..5d44cf43 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -422,7 +422,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: test
- working-directory: tests/FlatBuffers.Test.Swift
+ working-directory: tests/swift/tests
run: sh SwiftTest.sh
build-swift-wasm:
@@ -435,7 +435,7 @@ jobs:
- name: Setup Wasmer
uses: wasmerio/setup-wasmer@v1
- name: Test
- working-directory: tests/FlatBuffers.Test.Swift.Wasm
+ working-directory: tests/swift/Wasm.tests
run: carton test
build-ts:
diff --git a/docs/source/SwiftUsage.md b/docs/source/SwiftUsage.md
index 1c438f25..b10375e0 100644
--- a/docs/source/SwiftUsage.md
+++ b/docs/source/SwiftUsage.md
@@ -22,10 +22,10 @@ GitHub page](https://github.com/google/flatbuffers/tree/master/swift).
## Testing the FlatBuffers Swift library
-The code to test the Swift library can be found at `flatbuffers/Flatbuffers.Test.Swift`.
-The test code itself is located in [Flatbuffers.Test.Swift](https://github.com/google/flatbuffers/blob/master/tests/FlatBuffers.Test.Swift).
+The code to test the Swift library can be found at `flatbuffers/tests/swift/tests`.
+The test code itself is located in [flatbuffers/tests/swift/tests](https://github.com/google/flatbuffers/blob/master/tests/swift/tests).
-To run the tests, use the [SwiftTest.sh](https://github.com/google/flatbuffers/blob/master/tests/FlatBuffers.Test.Swift/SwiftTest.sh) shell script.
+To run the tests, use the [SwiftTest.sh](https://github.com/google/flatbuffers/blob/master/tests/swift/tests/SwiftTest.sh) shell script.
*Note: The shell script requires [Swift](https://swift.org) to
be installed.*
diff --git a/scripts/generate_code.py b/scripts/generate_code.py
index 53499b93..74328024 100755
--- a/scripts/generate_code.py
+++ b/scripts/generate_code.py
@@ -64,7 +64,7 @@ assert flatc_path.exists(), "Cannot find the flatc compiler " + str(flatc_path)
# Specify the other paths that will be referenced
tests_path = Path(root_path, "tests")
-swift_code_gen = Path(root_path, "tests/FlatBuffers.Test.Swift/CodeGenerationTests")
+swift_code_gen = Path(root_path, "tests/swift/tests/CodeGenerationTests")
samples_path = Path(root_path, "samples")
reflection_path = Path(root_path, "reflection")
@@ -395,7 +395,7 @@ dictionary_lookup_schema = "dictionary_lookup.fbs"
flatc(["--java", "--kotlin"], schema=dictionary_lookup_schema)
# Swift Tests
-swift_prefix = "FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests"
+swift_prefix = "swift/tests/Tests/FlatBuffers.Test.SwiftTests"
flatc(
SWIFT_OPTS + BASE_OPTS + ["--grpc"],
schema="monster_test.fbs",
diff --git a/tests/docker/languages/Dockerfile.testing.swift_5_2 b/tests/docker/languages/Dockerfile.testing.swift_5_2
index b3094777..22995d24 100644
--- a/tests/docker/languages/Dockerfile.testing.swift_5_2
+++ b/tests/docker/languages/Dockerfile.testing.swift_5_2
@@ -4,5 +4,5 @@ ADD . .
RUN cp flatc_debian_stretch flatc
WORKDIR /code/tests
RUN swift --version
-WORKDIR /code/tests/FlatBuffers.Test.Swift
+WORKDIR /code/tests/swift/tests/
RUN sh SwiftTest.sh
diff --git a/tests/FlatBuffers.Test.Swift.Wasm/Package.swift b/tests/swift/Wasm.tests/Package.swift
index 9ba50462..6d3b1645 100644
--- a/tests/FlatBuffers.Test.Swift.Wasm/Package.swift
+++ b/tests/swift/Wasm.tests/Package.swift
@@ -23,7 +23,7 @@ let package = Package(
.macOS(.v10_14),
],
dependencies: [
- .package(path: "../../swift/"),
+ .package(path: "../../../swift"),
],
targets: [
.target(
diff --git a/tests/FlatBuffers.Test.Swift.Wasm/Sources/Wasm/Wasm.swift b/tests/swift/Wasm.tests/Sources/Wasm/Wasm.swift
index c14abeb4..c14abeb4 100644
--- a/tests/FlatBuffers.Test.Swift.Wasm/Sources/Wasm/Wasm.swift
+++ b/tests/swift/Wasm.tests/Sources/Wasm/Wasm.swift
diff --git a/tests/FlatBuffers.Test.Swift.Wasm/Tests/FlatBuffers.Test.Swift.WasmTests/FlatBuffersMonsterWriterTests.swift b/tests/swift/Wasm.tests/Tests/FlatBuffers.Test.Swift.WasmTests/FlatBuffersMonsterWriterTests.swift
index 614791e0..614791e0 100644
--- a/tests/FlatBuffers.Test.Swift.Wasm/Tests/FlatBuffers.Test.Swift.WasmTests/FlatBuffersMonsterWriterTests.swift
+++ b/tests/swift/Wasm.tests/Tests/FlatBuffers.Test.Swift.WasmTests/FlatBuffersMonsterWriterTests.swift
diff --git a/tests/FlatBuffers.Test.Swift.Wasm/Tests/FlatBuffers.Test.Swift.WasmTests/monster_test_generated.swift b/tests/swift/Wasm.tests/Tests/FlatBuffers.Test.Swift.WasmTests/monster_test_generated.swift
index d37a5bb7..d37a5bb7 100644
--- a/tests/FlatBuffers.Test.Swift.Wasm/Tests/FlatBuffers.Test.Swift.WasmTests/monster_test_generated.swift
+++ b/tests/swift/Wasm.tests/Tests/FlatBuffers.Test.Swift.WasmTests/monster_test_generated.swift
diff --git a/tests/FlatBuffers.Benchmarks.swift/Package.swift b/tests/swift/benchmarks/Package.swift
index 66c557bc..d7114932 100644
--- a/tests/FlatBuffers.Benchmarks.swift/Package.swift
+++ b/tests/swift/benchmarks/Package.swift
@@ -18,17 +18,17 @@
import PackageDescription
let package = Package(
- name: "FlatBuffers.Benchmarks.swift",
+ name: "benchmarks",
platforms: [
.macOS(.v10_14),
],
dependencies: [
- .package(path: "../../swift"),
+ .package(path: "../../../swift"),
.package(url: "https://github.com/google/swift-benchmark", from: "0.1.0"),
],
targets: [
.target(
- name: "FlatBuffers.Benchmarks.swift",
+ name: "benchmarks",
dependencies: ["FlatBuffers",
.product(name: "Benchmark", package: "swift-benchmark")]),
])
diff --git a/tests/FlatBuffers.Benchmarks.swift/Sources/FlatBuffers.Benchmarks.swift/main.swift b/tests/swift/benchmarks/Sources/benchmarks/main.swift
index a25a646e..a25a646e 100644
--- a/tests/FlatBuffers.Benchmarks.swift/Sources/FlatBuffers.Benchmarks.swift/main.swift
+++ b/tests/swift/benchmarks/Sources/benchmarks/main.swift
diff --git a/tests/FlatBuffers.Test.Swift/CodeGenerationTests/test_import.fbs b/tests/swift/tests/CodeGenerationTests/test_import.fbs
index 0a43956c..0a43956c 100644
--- a/tests/FlatBuffers.Test.Swift/CodeGenerationTests/test_import.fbs
+++ b/tests/swift/tests/CodeGenerationTests/test_import.fbs
diff --git a/tests/FlatBuffers.Test.Swift/CodeGenerationTests/test_import_generated.swift b/tests/swift/tests/CodeGenerationTests/test_import_generated.swift
index 4e160ca1..4e160ca1 100644
--- a/tests/FlatBuffers.Test.Swift/CodeGenerationTests/test_import_generated.swift
+++ b/tests/swift/tests/CodeGenerationTests/test_import_generated.swift
diff --git a/tests/FlatBuffers.Test.Swift/CodeGenerationTests/test_no_include.fbs b/tests/swift/tests/CodeGenerationTests/test_no_include.fbs
index 2f954681..2f954681 100644
--- a/tests/FlatBuffers.Test.Swift/CodeGenerationTests/test_no_include.fbs
+++ b/tests/swift/tests/CodeGenerationTests/test_no_include.fbs
diff --git a/tests/FlatBuffers.Test.Swift/CodeGenerationTests/test_no_include_generated.swift b/tests/swift/tests/CodeGenerationTests/test_no_include_generated.swift
index 3348b051..3348b051 100644
--- a/tests/FlatBuffers.Test.Swift/CodeGenerationTests/test_no_include_generated.swift
+++ b/tests/swift/tests/CodeGenerationTests/test_no_include_generated.swift
diff --git a/tests/FlatBuffers.Test.Swift/Package.swift b/tests/swift/tests/Package.swift
index e2a53df9..64fcd540 100644
--- a/tests/FlatBuffers.Test.Swift/Package.swift
+++ b/tests/swift/tests/Package.swift
@@ -24,7 +24,7 @@ let package = Package(
.macOS(.v10_14),
],
dependencies: [
- .package(path: "../../swift/"),
+ .package(path: "../../../swift"),
.package(url: "https://github.com/grpc/grpc-swift.git", from: "1.4.1"),
],
targets: [
diff --git a/tests/FlatBuffers.Test.Swift/Sources/SwiftFlatBuffers/fuzzer.fbs b/tests/swift/tests/Sources/SwiftFlatBuffers/fuzzer.fbs
index e0356fa3..e0356fa3 100644
--- a/tests/FlatBuffers.Test.Swift/Sources/SwiftFlatBuffers/fuzzer.fbs
+++ b/tests/swift/tests/Sources/SwiftFlatBuffers/fuzzer.fbs
diff --git a/tests/FlatBuffers.Test.Swift/Sources/SwiftFlatBuffers/fuzzer_generated.swift b/tests/swift/tests/Sources/SwiftFlatBuffers/fuzzer_generated.swift
index fe7ca0b0..fe7ca0b0 100644
--- a/tests/FlatBuffers.Test.Swift/Sources/SwiftFlatBuffers/fuzzer_generated.swift
+++ b/tests/swift/tests/Sources/SwiftFlatBuffers/fuzzer_generated.swift
diff --git a/tests/FlatBuffers.Test.Swift/Sources/SwiftFlatBuffers/main.swift b/tests/swift/tests/Sources/SwiftFlatBuffers/main.swift
index 86e422c6..86e422c6 100644
--- a/tests/FlatBuffers.Test.Swift/Sources/SwiftFlatBuffers/main.swift
+++ b/tests/swift/tests/Sources/SwiftFlatBuffers/main.swift
diff --git a/tests/FlatBuffers.Test.Swift/SwiftTest.sh b/tests/swift/tests/SwiftTest.sh
index 08443eaf..37563d47 100755
--- a/tests/FlatBuffers.Test.Swift/SwiftTest.sh
+++ b/tests/swift/tests/SwiftTest.sh
@@ -1,16 +1,18 @@
+current_dir=`pwd`
+cd ..
swift_dir=`pwd`
cd ..
test_dir=`pwd`
alias fbc='${test_dir}/../flatc'
shopt -s expand_aliases
-cd ${swift_dir}/Tests/FlatBuffers.Test.SwiftTests
+cd ${current_dir}/Tests/FlatBuffers.Test.SwiftTests
fbc --swift --gen-mutable --grpc --gen-json-emit --gen-object-api -I ${test_dir}/include_test ${test_dir}/monster_test.fbs ${test_dir}/union_vector/union_vector.fbs
fbc --swift --gen-json-emit ${test_dir}/optional_scalars.fbs
fbc --swift --gen-json-emit --gen-object-api ${test_dir}/more_defaults.fbs
fbc --swift --gen-json-emit --gen-mutable --gen-object-api ${test_dir}/MutatingBool.fbs
-fbc --swift ${test_dir}/vector_has_test.fbs
-cd ${swift_dir}
+fbc --swift --gen-json-emit ${test_dir}/vector_has_test.fbs
+cd ${current_dir}
# Goes into the code generation tests
cd CodeGenerationTests
@@ -18,14 +20,14 @@ fbc --swift --gen-mutable --grpc --gen-json-emit --gen-object-api --swift-implem
fbc --swift --gen-mutable --grpc --gen-json-emit --gen-object-api --no-includes test_no_include.fbs
cd ..
-cd ${swift_dir}/Sources/SwiftFlatBuffers
+cd ${current_dir}/Sources/SwiftFlatBuffers
# create better fuzzing test file
fbc --swift --gen-json-emit fuzzer.fbs
-cd ${swift_dir}
+cd ${current_dir}
-cd ${test_dir}/Flatbuffers.Test.Swift.WASM/Tests/FlatBuffers.Test.Swift.WASMTests
+cd ${swift_dir}/Wasm.tests/Tests/FlatBuffers.Test.Swift.WasmTests
fbc --swift --gen-mutable --gen-json-emit --gen-object-api -I ${test_dir}/include_test ${test_dir}/monster_test.fbs
-cd ${swift_dir}
+cd ${current_dir}
swift build --build-tests
swift test
diff --git a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersMonsterWriterTests.swift b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersMonsterWriterTests.swift
index 9f02d8d9..9f02d8d9 100644
--- a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersMonsterWriterTests.swift
+++ b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersMonsterWriterTests.swift
diff --git a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersStructsTests.swift b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersStructsTests.swift
index 20325897..20325897 100644
--- a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersStructsTests.swift
+++ b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersStructsTests.swift
diff --git a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersTests.swift b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersTests.swift
index 379e7331..379e7331 100644
--- a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersTests.swift
+++ b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersTests.swift
diff --git a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersUnionTests.swift b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersUnionTests.swift
index eb8a10c5..eb8a10c5 100644
--- a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersUnionTests.swift
+++ b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersUnionTests.swift
diff --git a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersVectorsTests.swift b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersVectorsTests.swift
index 122facb3..122facb3 100644
--- a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersVectorsTests.swift
+++ b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/FlatBuffersVectorsTests.swift
diff --git a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/FlatbuffersDoubleTests.swift b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/FlatbuffersDoubleTests.swift
index a6e1cb09..a6e1cb09 100644
--- a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/FlatbuffersDoubleTests.swift
+++ b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/FlatbuffersDoubleTests.swift
diff --git a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/FlatbuffersMoreDefaults.swift b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/FlatbuffersMoreDefaults.swift
index cd97f25a..cd97f25a 100644
--- a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/FlatbuffersMoreDefaults.swift
+++ b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/FlatbuffersMoreDefaults.swift
diff --git a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/FlatbuffersVerifierTests.swift b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/FlatbuffersVerifierTests.swift
index cb26c27d..cb26c27d 100644
--- a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/FlatbuffersVerifierTests.swift
+++ b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/FlatbuffersVerifierTests.swift
diff --git a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/MutatingBool_generated.swift b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/MutatingBool_generated.swift
index 4c243d93..4c243d93 100644
--- a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/MutatingBool_generated.swift
+++ b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/MutatingBool_generated.swift
diff --git a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/XCTestManifests.swift b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/XCTestManifests.swift
index e15ea83c..e15ea83c 100644
--- a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/XCTestManifests.swift
+++ b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/XCTestManifests.swift
diff --git a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/monster_test.grpc.swift b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/monster_test.grpc.swift
index b5fd5359..b5fd5359 100644
--- a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/monster_test.grpc.swift
+++ b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/monster_test.grpc.swift
diff --git a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/monster_test_generated.swift b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/monster_test_generated.swift
index d37a5bb7..d37a5bb7 100644
--- a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/monster_test_generated.swift
+++ b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/monster_test_generated.swift
diff --git a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/more_defaults_generated.swift b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/more_defaults_generated.swift
index f6692c95..f6692c95 100644
--- a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/more_defaults_generated.swift
+++ b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/more_defaults_generated.swift
diff --git a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/optional_scalars_generated.swift b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/optional_scalars_generated.swift
index 565bbd4d..565bbd4d 100644
--- a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/optional_scalars_generated.swift
+++ b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/optional_scalars_generated.swift
diff --git a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/union_vector_generated.swift b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/union_vector_generated.swift
index ce3d37f3..ce3d37f3 100644
--- a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/union_vector_generated.swift
+++ b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/union_vector_generated.swift
diff --git a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/vector_has_test_generated.swift b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/vector_has_test_generated.swift
index dc292f3a..dc292f3a 100644
--- a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/vector_has_test_generated.swift
+++ b/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/vector_has_test_generated.swift
diff --git a/tests/FlatBuffers.Test.Swift/Tests/LinuxMain.swift b/tests/swift/tests/Tests/LinuxMain.swift
index d909d079..d909d079 100644
--- a/tests/FlatBuffers.Test.Swift/Tests/LinuxMain.swift
+++ b/tests/swift/tests/Tests/LinuxMain.swift
diff --git a/tests/FlatBuffers.Test.Swift/monsterdata_test.mon b/tests/swift/tests/monsterdata_test.mon
index ba6cf278..ba6cf278 100644
--- a/tests/FlatBuffers.Test.Swift/monsterdata_test.mon
+++ b/tests/swift/tests/monsterdata_test.mon
Binary files differ