flatbuffers/tests/FlatBuffers.Test
mugisoba e77926f0ed
[C#] Add Union Constructor Utility for ObjectAPI. (#6105)
* [C#] add union constructor utility.

* add union utility test.

* std::tolower -> CharToLower

* use std::transform instead

* rebase to master. and regenerate test code
2021-07-26 10:01:41 -07:00
..
Properties Removed BOM marker from some files. 2016-05-23 12:24:44 -07:00
.gitignore [C#] Cleaned up .NET testing script for Mono (#6016) 2020-08-17 13:10:10 -07:00
Assert.cs Removed BOM marker from some files. 2016-05-23 12:24:44 -07:00
ByteBufferTests.cs [C#] Cleaned up .NET testing script for Mono (#6016) 2020-08-17 13:10:10 -07:00
FlatBufferBuilderTests.cs [C#] Optional Scalars (#6217) 2020-10-30 13:18:59 -07:00
FlatBuffers.Core.Test.csproj [Rust] Ensure unions are referenced with the correct path (#6422) 2021-01-25 09:33:47 -08:00
FlatBuffers.Test.csproj [Rust] Ensure unions are referenced with the correct path (#6422) 2021-01-25 09:33:47 -08:00
FlatBuffersExampleTests.cs [C#] Add Union Constructor Utility for ObjectAPI. (#6105) 2021-07-26 10:01:41 -07:00
FlatBuffersFuzzTests.cs Break internal Java/C# APIs 2019-05-31 13:00:55 -07:00
FlatBuffersTestClassAttribute.cs Removed BOM marker from some files. 2016-05-23 12:24:44 -07:00
FlatBuffersTestMethodAttribute.cs Removed BOM marker from some files. 2016-05-23 12:24:44 -07:00
FuzzTestData.cs Removed BOM marker from some files. 2016-05-23 12:24:44 -07:00
Lcg.cs Added missing licenses to some sh/cs/py files. 2016-05-23 09:51:41 -07:00
NetTest.bat Adds NetTest.bat to run .NET Core tests on Windows (#6216) 2020-10-27 22:51:58 -07:00
NetTest.sh [C#]Change to ENABLE_SPAN_T that doesn't require UNSAFE_BYTEBUFFER. (#6073) 2020-09-23 13:16:00 -07:00
Program.cs Removed BOM marker from some files. 2016-05-23 12:24:44 -07:00
README.md [C#] Cleaned up .NET testing script for Mono (#6016) 2020-08-17 13:10:10 -07:00
TestTable.cs Add FLATBUFFERS_COMPATIBILITY string (#5381) 2019-06-17 19:16:21 +02:00
clean.sh [C#] Cleaned up .NET testing script for Mono (#6016) 2020-08-17 13:10:10 -07:00
packages.config [C#] support Json Serialization (#5752) 2020-02-10 17:43:36 -08:00

README.md

.NET Tests

Running on Linux

Prerequisites

To run the tests on a Linux a few prerequisites are needed:

  1. mono
  2. msbuild

Running

To run the tests:

./NetTest.sh

This will download the .NET installer and core SDK if those are not already installed. Then it will build the tests using msbuild and run the resulting test binary with mono.

After running the tests, the downloaded .NET installer and SDK are not removed as they can be reused in subsequent invocations. The files are ignored by git by default, and can remain in the working directory.

Cleaning

If you want to clean up the downloaded .NET installer and SDK, run:

./clean.sh

This will wipe away the downloaded files and directories. Those will be automatically re-downloaded when running NetTest.sh.