mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-26 13:02:41 +00:00
[Kotlin] Control the generation of reflection with --reflect-names (#7775)
* [Kotlin] Control the generation of reflection with --reflect-names. Tested: ``` $ cmake -G "Unix Makefiles" && make && ./tests/flatc/main.py ... KotlinTests.EnumValAttributes [PASSED] KotlinTests.EnumValAttributes_ReflectNames [PASSED] KotlinTests: 2 of 2 passsed ... 35 of 35 tests passed ``` * [Kotlin] Fix SampleBinary by converting Byte to UByte for ubyte fields. * [Kotlin] Annotate all generated classes with kotlin.ExperimentalUnsignedTypes.
This commit is contained in:
@@ -18,10 +18,11 @@ import sys
|
||||
|
||||
from flatc_test import run_all
|
||||
from flatc_cpp_tests import CppTests
|
||||
from flatc_kotlin_tests import KotlinTests
|
||||
from flatc_ts_tests import TsTests
|
||||
from flatc_schema_tests import SchemaTests
|
||||
|
||||
passing, failing = run_all(CppTests, TsTests, SchemaTests)
|
||||
passing, failing = run_all(CppTests, KotlinTests, TsTests, SchemaTests)
|
||||
|
||||
print("")
|
||||
print("{0} of {1} tests passed".format(passing, passing + failing))
|
||||
|
||||
Reference in New Issue
Block a user