flatbuffers/tests
Paulo Pinheiro de9aa0cdee Add basic Kotlin support (#5409)
* [Kotlin] Add kotlin generate code for tests and add
kotlin test to TestAll.sh

* [Kotlin] Add Kotlin generator

This change adds support for generating Kotlin classes.

The approach of this generator is to keep it as close
as possible to the java generator for now, in order
to keep the change simple.

It uses the already implemented java runtime,
so we don't support cross-platform nor js Kotlin yet.

Kotlin tests are just a copy of the java tests.

* Add optional ident support for CodeWriter

Identation is important for some languages and
different projects have different ways of ident
code, e.g. tabs vs spaces, so we are adding optional
support on CodeWriter for identation.

* [Kotlin] Add Documentation for Kotlin

* [Kotlin] Modify generated code to use experimental Unsigned types.
2019-07-22 16:05:15 -07:00
..
FlatBuffers.Benchmarks Remove byte* property in ByteBufferAllocator (#5191) 2019-02-21 23:36:55 +01:00
FlatBuffers.Test Add support for fixed-size arrays (#5313) 2019-06-18 00:15:13 +02:00
MyGame Add basic Kotlin support (#5409) 2019-07-22 16:05:15 -07:00
docker Fix rust crate for big-endian targets (#5229) 2019-03-08 01:06:25 -08:00
fuzzer Make the Parser independent from the global C-locale (#5028) 2018-11-16 09:24:06 -08:00
include_test Disallowed 0 byte structs. 2018-10-29 17:40:19 -07:00
namespace_test Add basic Kotlin support (#5409) 2019-07-22 16:05:15 -07:00
prototest Fix the proto-enum leaking issue (#5286) 2019-04-11 13:52:01 -07:00
rust_usage_test [Rust] Don't use inner attributes for `allow` (#5212) 2019-03-09 12:58:27 -08:00
union_vector Add basic Kotlin support (#5409) 2019-07-22 16:05:15 -07:00
DartTest.sh Ensure strings are null terminated when written from Dart (#4862) 2018-08-09 09:50:54 -07:00
GoTest.sh Fix echo not interpret \n in GoTest.sh (#5426) 2019-07-01 11:42:00 -07:00
JavaScriptTest.js [JS/TS] Size prefix support (#5326) 2019-05-16 11:43:31 -07:00
JavaScriptTest.sh Fixed --keep-prefix functionality. 2017-05-24 16:26:57 -07:00
JavaScriptUnionVectorTest.js Vector of unions for TS/JS and PHP (#4404) 2017-08-11 09:24:36 -07:00
JavaTest.bat Fixed vector of unions crash in java (#5190) 2019-02-21 19:50:13 +01:00
JavaTest.java Add support for fixed-size arrays (#5313) 2019-06-18 00:15:13 +02:00
JavaTest.sh Fixed vector of unions crash in java (#5190) 2019-02-21 19:50:13 +01:00
KotlinTest.kt Add basic Kotlin support (#5409) 2019-07-22 16:05:15 -07:00
KotlinTest.sh Add basic Kotlin support (#5409) 2019-07-22 16:05:15 -07:00
LuaTest.bat Lua (5.3) Language addition (#4804) 2018-07-05 15:55:57 -07:00
PythonTest.sh Fixed --keep-prefix functionality. 2017-05-24 16:26:57 -07:00
RustTest.bat Rust: test that no heap allocs happen on hot paths (#5022) 2018-10-31 18:08:14 -07:00
RustTest.sh Fix rust crate for big-endian targets (#5229) 2019-03-08 01:06:25 -08:00
TestAll.sh Add basic Kotlin support (#5409) 2019-07-22 16:05:15 -07:00
TypeScriptTest.sh Vector of unions for TS/JS and PHP (#4404) 2017-08-11 09:24:36 -07:00
arrays_test.bfbs Add support for fixed-size arrays (#5313) 2019-06-18 00:15:13 +02:00
arrays_test.fbs Add support for fixed-size arrays (#5313) 2019-06-18 00:15:13 +02:00
arrays_test.golden Add support for fixed-size arrays (#5313) 2019-06-18 00:15:13 +02:00
arrays_test.schema.json Add support for fixed-size arrays (#5313) 2019-06-18 00:15:13 +02:00
arrays_test_generated.h Add support for fixed-size arrays (#5313) 2019-06-18 00:15:13 +02:00
generate_code.bat Add support for fixed-size arrays (#5313) 2019-06-18 00:15:13 +02:00
generate_code.sh Add basic Kotlin support (#5409) 2019-07-22 16:05:15 -07:00
go_test.go [Go] Change two more sites to use enum types (#5359) 2019-05-20 14:46:36 -07:00
javatest.bin Reduced `force_align` in tests to 8, to work with --object-api. 2019-02-07 14:51:04 -08:00
lobstertest.lobster Lobster: added builder API for tables 2019-05-22 19:42:13 -07:00
luatest.lua Lua (5.3) Language addition (#4804) 2018-07-05 15:55:57 -07:00
monster_extra.fbs Extend the test of MonsterExtra (#5428) 2019-07-08 11:22:56 -07:00
monster_extra_generated.h Extend the test of MonsterExtra (#5428) 2019-07-08 11:22:56 -07:00
monster_test.bfbs Fix multi-line comments for cpp enums (#5345) (#5346) 2019-06-02 12:36:49 -07:00
monster_test.fbs Fix multi-line comments for cpp enums (#5345) (#5346) 2019-06-02 12:36:49 -07:00
monster_test.grpc.fb.cc Fix Java generator bug that ignores bidi streaming attribute (#5063) 2018-11-29 10:33:17 -08:00
monster_test.grpc.fb.h Fix Java generator bug that ignores bidi streaming attribute (#5063) 2018-11-29 10:33:17 -08:00
monster_test.schema.json Add support for fixed-size arrays (#5313) 2019-06-18 00:15:13 +02:00
monster_test_generated.h [C#, Java, C++] Fixes issue #5399 by always including namespaces (#5404) 2019-06-14 17:47:07 +02:00
monster_test_generated.js Fix multi-line comments for cpp enums (#5345) (#5346) 2019-06-02 12:36:49 -07:00
monster_test_generated.lobster Fix multi-line comments for cpp enums (#5345) (#5346) 2019-06-02 12:36:49 -07:00
monster_test_generated.rs Fix multi-line comments for cpp enums (#5345) (#5346) 2019-06-02 12:36:49 -07:00
monster_test_generated.ts Fix multi-line comments for cpp enums (#5345) (#5346) 2019-06-02 12:36:49 -07:00
monster_test_my_game.example2_generated.dart CI check generate code (#4998) 2018-10-22 15:41:12 -07:00
monster_test_my_game.example_generated.dart Fix multi-line comments for cpp enums (#5345) (#5346) 2019-06-02 12:36:49 -07:00
monster_test_my_game_generated.dart Added missing Dart codegen files. 2018-09-21 09:42:43 -07:00
monsterdata_extra.json Extend the test of MonsterExtra (#5428) 2019-07-08 11:22:56 -07:00
monsterdata_python_wire.mon Reduced `force_align` in tests to 8, to work with --object-api. 2019-02-07 14:51:04 -08:00
monsterdata_test.golden Go - Use Go bool type for bool fields (#4962) 2018-10-15 16:55:59 -07:00
monsterdata_test.json Go - Use Go bool type for bool fields (#4962) 2018-10-15 16:55:59 -07:00
monsterdata_test.mon Reduced `force_align` in tests to 8, to work with --object-api. 2019-02-07 14:51:04 -08:00
phpTest.php Go - Use Go bool type for bool fields (#4962) 2018-10-15 16:55:59 -07:00
phpUnionVectorTest.php Vector of unions for TS/JS and PHP (#4404) 2017-08-11 09:24:36 -07:00
phpUnionVectorTest.sh Vector of unions for TS/JS and PHP (#4404) 2017-08-11 09:24:36 -07:00
py_test.py Extend the test of MonsterExtra (#5428) 2019-07-08 11:22:56 -07:00
test.cpp Extend the test of MonsterExtra (#5428) 2019-07-08 11:22:56 -07:00
test_assert.cpp Set default CRTReportMode for the `flatc` target (#5336) 2019-05-09 10:10:10 -07:00
test_assert.h Fixed use of WIN32 needs to be _WIN32. 2019-02-19 10:49:55 -08:00
test_builder.cpp Efficient Conversion of a FlatBufferBuilder to a MessageBuilder (#4980) 2018-10-18 10:32:59 -07:00
test_builder.h Removing 'using namespace' usage in test_builder (#5154) 2019-02-05 02:07:05 +01:00
unicode_test.json Output JSON strings as natural UTF-8 text without escapes (#4710) 2018-05-03 12:10:45 -07:00