flatbuffers/tests
Björn Harrtell 760c657551
[TS/JS] New gen TS code gen (#6302)
* TS/ES6 modules spike iteration 1

* Initial modularized dasherized output

* Remove obsoleted parts and namespace wrapping

* Use _flatbuffers_ prefix

* First part of imports logic

* Second part of imports logic

* Fix TS/JS code removal mixup

* Alias imported symbols if same name from different namespaces and some fixes

* Use star import for bare imports

* Fix messed up string concat

* var to const and remove not needed semi

* Remove some cases of ns prefixing

* Add missing space

* Cleanups

* Completed initial import tracking logic

* Compilable output

* Adjust TypeScriptTest and dependents to work

* Use local flatbuffers package for tests

* Refactor away use of any

* Remove obsolete imported_fileset and reexport_map

* Still need any and fix JavaScriptTest.sh

* Fix test runs out of the box

* Temp add generated files

* TypeScriptTest replaces JavaScriptTest and cleanups

* Also remove reference to JavaScriptTest in TestAll.sh

* Remove old generated ts/js files

* Remove use of --js in generate_code scripts

* idl_gen_js_ts to idl_gen_ts and removal of js gen

* Remove obsoleted options

* Fix obsolete ts test detection

* Tweak ts compilation be as strict as possible

* Remove jsdoc type annotation generation

* Generated test ts files

* Fix search and replace messup

* Regenerated ts test output

* Use CharToLower

* Use normal for loop

* Rework namespacedir

* Revert "Rework namespacedir"

This reverts commit 6f4eb0104ceeb86011bb076ebca901138c48e068.

* Revert "Use normal for loop"

This reverts commit 676b2135bfaa1853dfbb06c92b5c16a0d81bb13a.

* Revert "Use CharToLower"

This reverts commit 2d08648d0d72d0af201fad80d54cdc76412b35e9.

* Again do rework but correct

* Avoid runtime cast

* Fix test runs

* Also add npm install to get tsc

* Bump node test versions

* for range to std for loop

* Clang format

* Missed one clang format

* Move accessor to later

* Attempt to make windows version of TypeScriptTest

* Want to see the output

* Try to get newer node at appveyor

* Style changes
2021-01-19 12:51:13 -08:00
..
FlatBuffers.Benchmarks Remove byte* property in ByteBufferAllocator (#5191) 2019-02-21 23:36:55 +01:00
FlatBuffers.Benchmarks.swift Updates license date to 2021 (#6378) 2021-01-02 11:46:46 +03:00
FlatBuffers.GRPC.Swift Updates license date to 2021 (#6378) 2021-01-02 11:46:46 +03:00
FlatBuffers.Test [C#] Optional Scalars (#6217) 2020-10-30 13:18:59 -07:00
FlatBuffers.Test.Swift [C++, JSON] Fix nullptr access when reading a key with a default value. (#6375) 2021-01-07 11:24:59 -08:00
MyGame [C++, JSON] Fix nullptr access when reading a key with a default value. (#6375) 2021-01-07 11:24:59 -08:00
cpp17 [C++, JSON] Fix nullptr access when reading a key with a default value. (#6375) 2021-01-07 11:24:59 -08:00
docker [TS/JS] New gen TS code gen (#6302) 2021-01-19 12:51:13 -08:00
evolution_test Add Array initialization from struct constructor (#5865) (#6147) 2020-10-12 12:24:18 -07:00
fuzzer [fuzzer] Fix the binary schema loading in the monster_fuzzer (#6396) 2021-01-12 10:20:47 -08:00
include_test Fix Rust UB problems (#6393) 2021-01-11 15:24:52 -05:00
namespace_test Fix Rust UB problems (#6393) 2021-01-11 15:24:52 -05:00
optional_scalars Generate nullable properties in C# object-based API for optional scalars. (without -gen-mutable) (#6273) 2020-12-10 16:50:30 -08:00
prototest (Optionally) add an additional suffix namespace to generated fbs files. (#5698) 2020-01-06 10:00:59 -08:00
rust_usage_test Fix Rust UB problems (#6393) 2021-01-11 15:24:52 -05:00
ts [TS/JS] New gen TS code gen (#6302) 2021-01-19 12:51:13 -08:00
union_vector [C++] Switch `flatc` to `--cpp-std c++11` C++ code generator (#6306) 2020-12-07 11:19:36 -08:00
BUILD Kotlin test optional enum (#6201) 2020-10-22 13:36:02 -07:00
DartTest.sh Fix up scripts, fix generated enum value for strong mode, regenerate files (#6389) 2021-01-07 14:51:52 -08:00
GoTest.sh [go] tests/GoTest.sh: Fix flags.Parse location to work on new go SDKs. (#6388) 2021-01-07 11:54:00 -08:00
JavaScriptFlexBuffersTest.js [TS/JS] New gen TS code gen (#6302) 2021-01-19 12:51:13 -08:00
JavaScriptTest.js [TS/JS] New gen TS code gen (#6302) 2021-01-19 12:51:13 -08:00
JavaScriptUnionVectorTest.js [TS/JS] New gen TS code gen (#6302) 2021-01-19 12:51:13 -08:00
JavaTest.bat
JavaTest.java [Java] Implement optional scalars (#6212) 2020-10-26 17:46:50 -07:00
JavaTest.sh [Java] Implement optional scalars (#6212) 2020-10-26 17:46:50 -07:00
KotlinTest.kt Kotlin test optional enum (#6201) 2020-10-22 13:36:02 -07:00
KotlinTest.sh [Kotlin] Fix Access to union of vector element (#5994) 2020-06-22 17:08:35 -07:00
LuaTest.bat
LuaTest.sh Fix for Boolean types (#5379) (#5466) 2019-08-01 10:28:54 -07:00
PythonTest.sh Implement flexbuffers in python (#5880) 2020-05-07 14:26:33 -07:00
RustTest.bat Rust Flexbuffers (#5669) 2020-05-07 14:11:26 -07:00
RustTest.sh Fix Rust UB problems (#6393) 2021-01-11 15:24:52 -05:00
TestAll.sh [TS/JS] New gen TS code gen (#6302) 2021-01-19 12:51:13 -08:00
TypeScriptTest.bat [TS/JS] New gen TS code gen (#6302) 2021-01-19 12:51:13 -08:00
TypeScriptTest.sh [TS/JS] New gen TS code gen (#6302) 2021-01-19 12:51:13 -08:00
arrays_test.bfbs Optional-ness in reflection (#6097) 2020-09-11 14:20:32 -07:00
arrays_test.fbs Fix incorrect padding in arrays of structs (Issue #5484) (#5491) 2019-08-23 10:46:47 -07:00
arrays_test.golden Fix incorrect padding in arrays of structs (Issue #5484) (#5491) 2019-08-23 10:46:47 -07:00
arrays_test.schema.json idl_gen_json_schema.cpp: Changed generation of array element types (#6253) 2020-11-19 16:17:03 -08:00
arrays_test_generated.h [C++] Switch `flatc` to `--cpp-std c++11` C++ code generator (#6306) 2020-12-07 11:19:36 -08:00
generate_code.bat [TS/JS] New gen TS code gen (#6302) 2021-01-19 12:51:13 -08:00
generate_code.sh [TS/JS] New gen TS code gen (#6302) 2021-01-19 12:51:13 -08:00
go_test.go [go] tests/GoTest.sh: Fix flags.Parse location to work on new go SDKs. (#6388) 2021-01-07 11:54:00 -08:00
gold_flexbuffer_example.bin Rust Flexbuffers (#5669) 2020-05-07 14:11:26 -07:00
javatest.bin Fixed warnings generated by recent JSON sorting feature. 2019-10-17 15:16:40 -07:00
lobstertest.lobster Kotlin test optional enum (#6201) 2020-10-22 13:36:02 -07:00
luatest.lua Lua cleanup (#5624) 2019-11-14 15:46:46 -08:00
monster_extra.fbs [Dart] Fix deprecated field support, inf/nan (#5724) 2020-01-23 14:53:58 -08:00
monster_extra_generated.h [C++] Switch `flatc` to `--cpp-std c++11` C++ code generator (#6306) 2020-12-07 11:19:36 -08:00
monster_extra_my_game_generated.dart [Dart] Fix deprecated field support, inf/nan (#5724) 2020-01-23 14:53:58 -08:00
monster_test.bfbs Unset FieldDef.optional if its key (#6402) 2021-01-12 14:06:43 -05:00
monster_test.fbs Unset FieldDef.optional if its key (#6402) 2021-01-12 14:06:43 -05:00
monster_test.grpc.fb.cc
monster_test.grpc.fb.h
monster_test.schema.json [C++, JSON] Fix nullptr access when reading a key with a default value. (#6375) 2021-01-07 11:24:59 -08:00
monster_test_bfbs_generated.h Unset FieldDef.optional if its key (#6402) 2021-01-12 14:06:43 -05:00
monster_test_generated.h [C++, JSON] Fix nullptr access when reading a key with a default value. (#6375) 2021-01-07 11:24:59 -08:00
monster_test_generated.js [C++, JSON] Fix nullptr access when reading a key with a default value. (#6375) 2021-01-07 11:24:59 -08:00
monster_test_generated.lobster [C++, JSON] Fix nullptr access when reading a key with a default value. (#6375) 2021-01-07 11:24:59 -08:00
monster_test_generated.rs Fix Rust UB problems (#6393) 2021-01-11 15:24:52 -05:00
monster_test_generated.ts [C++, JSON] Fix nullptr access when reading a key with a default value. (#6375) 2021-01-07 11:24:59 -08:00
monster_test_my_game.example2_generated.dart
monster_test_my_game.example_generated.dart Fix up scripts, fix generated enum value for strong mode, regenerate files (#6389) 2021-01-07 14:51:52 -08:00
monster_test_my_game_generated.dart
monsterdata_extra.json Extend the test of MonsterExtra (#5428) 2019-07-08 11:22:56 -07:00
monsterdata_go_wire.mon.sp [go] tests/GoTest.sh: Fix flags.Parse location to work on new go SDKs. (#6388) 2021-01-07 11:54:00 -08:00
monsterdata_python_wire.mon Python: Added support for file_identifiers (#5123) 2019-07-26 11:06:25 -07:00
monsterdata_test.golden Support nested_flatbuffer attribute when parsing bfbs schema (#5448) 2019-07-26 09:13:11 -07:00
monsterdata_test.json [C++, JSON] Fix nullptr access when reading a key with a default value. (#6375) 2021-01-07 11:24:59 -08:00
monsterdata_test.mon [C++, JSON] Fix nullptr access when reading a key with a default value. (#6375) 2021-01-07 11:24:59 -08:00
native_type_test.fbs [C++] remove static_cast expression (#5440) 2019-08-01 14:31:48 -07:00
native_type_test_generated.h [C++] Switch `flatc` to `--cpp-std c++11` C++ code generator (#6306) 2020-12-07 11:19:36 -08:00
native_type_test_impl.cpp [C++] Refactor to conform to Google C++ style guide (#5608) 2019-11-07 12:22:54 -08:00
native_type_test_impl.h [C++] Refactor to conform to Google C++ style guide (#5608) 2019-11-07 12:22:54 -08:00
optional_scalars.fbs Kotlin test optional enum (#6201) 2020-10-22 13:36:02 -07:00
optional_scalars_generated.h [C++] Switch `flatc` to `--cpp-std c++11` C++ code generator (#6306) 2020-12-07 11:19:36 -08:00
optional_scalars_generated.lobster Kotlin test optional enum (#6201) 2020-10-22 13:36:02 -07:00
optional_scalars_generated.rs fixed warnings (#6355) 2021-01-04 14:11:59 -08:00
package.json [TS/JS] New gen TS code gen (#6302) 2021-01-19 12:51:13 -08:00
phpTest.php
phpUnionVectorTest.php
phpUnionVectorTest.sh
py_flexbuffers_test.py Implement flexbuffers in python (#5880) 2020-05-07 14:26:33 -07:00
py_test.py Generate code to encode and decode nested flatbuffers in Python. (#6354) 2021-01-04 12:18:19 -08:00
test.cpp [C++, JSON] Fix nullptr access when reading a key with a default value. (#6375) 2021-01-07 11:24:59 -08:00
test_assert.cpp Added --filename-suffix and --filename-ext to flatc (#5778) 2020-03-02 10:15:23 -08:00
test_assert.h wrap multiple statements in do {} while(!IsConstTrue(true)) (#5655) 2019-12-13 10:14:14 -08:00
test_builder.cpp Added --filename-suffix and --filename-ext to flatc (#5778) 2020-03-02 10:15:23 -08:00
test_builder.h Add flatc '--cpp_std' switch (#5656) 2019-12-23 12:13:48 -08:00
tsconfig.json [TS/JS] New gen TS code gen (#6302) 2021-01-19 12:51:13 -08:00
unicode_test.json Fixed JSON parser not sorting vectors of tables/structs with key. 2019-10-10 15:25:39 -07:00