Assert tests on the first failure. (#4952)

* Assert tests on the first failure. Disable pop-up message box on assertion.

* Fix format and code style

* Move MSVC dependent code to ifdef
This commit is contained in:
Vladimir Glavnyy
2018-10-04 02:04:14 +07:00
committed by Wouter van Oortmerssen
parent 062dcf7007
commit 7a43775661
3 changed files with 41 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
/*
/*
* Copyright 2014 Google Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -2083,6 +2083,7 @@ int FlatBufferTests() {
}
int main(int /*argc*/, const char * /*argv*/ []) {
InitTestEngine();
FlatBufferTests();
FlatBufferBuilderTest();