[Swift] Migrates struct write APIS to write directly to the buffer (#6093)

* Migrates struct write APIS to in place APIS

* Fixes indentation in grpc swift
This commit is contained in:
mustiikhalil
2020-09-17 17:10:59 +03:00
committed by GitHub
parent c75ae24293
commit 89435303b7
13 changed files with 317 additions and 475 deletions

View File

@@ -32,12 +32,6 @@ extension FlatBuffersStructsTests {
// `swift test --generate-linuxmain`
// to regenerate.
static let __allTests__FlatBuffersStructsTests = [
("testCreatingEnums", testCreatingEnums),
("testCreatingStruct", testCreatingStruct),
("testCreatingVectorStruct", testCreatingVectorStruct),
("testCreatingVectorStructWithForcedDefaults", testCreatingVectorStructWithForcedDefaults),
("testReadingStruct", testReadingStruct),
("testReadingStructWithEnums", testReadingStructWithEnums),
("testWritingAndMutatingBools", testWritingAndMutatingBools),
]
}
@@ -54,6 +48,7 @@ extension FlatBuffersTests {
("testOffset", testOffset),
("testReadCountry", testReadCountry),
("testStartTable", testStartTable),
("testWriteNullableStrings", testWriteNullableStrings),
("testWriteOptionalValues", testWriteOptionalValues),
]
}