assimp/test/unit
Jeremy Cytryn aef4ecada5 Fail gltf/gltf2 export whenever invalid / incomplete JSON is generated
This can happen currently for example if NaNs are introduced in accessor bounds as rapidjson cannot write NaN/inf floats (see subsequent commit for fix there) and will halt writing to buffer at this point.  Fix here ensures that whenever anything like this happens we throw an exception so this ends up as a registered export failure case, rather than silently exporting the incomplete JSON
2020-05-11 12:02:38 -07:00
..
Common closes https://github.com/assimp/assimp/issues/3165: remove deprecated code whch causes compiler warning. 2020-04-26 08:59:52 +02:00
ImportExport Move format importer and exporter into its won folder. 2020-05-02 15:14:38 +02:00
AbstractImportExportBase.cpp Updated copyright dates. 2020-01-20 08:53:12 -05:00
AbstractImportExportBase.h Updated copyright dates. 2020-01-20 08:53:12 -05:00
AssimpAPITest.cpp Updated copyright dates. 2020-01-20 08:53:12 -05:00
AssimpAPITest_aiMatrix3x3.cpp Small changes to C API unit tests. 2020-04-13 14:13:54 -04:00
AssimpAPITest_aiMatrix4x4.cpp Remove unused variable m 2020-04-15 20:06:22 +02:00
AssimpAPITest_aiQuaternion.cpp Small changes to C API unit tests. 2020-04-13 14:13:54 -04:00
AssimpAPITest_aiVector2D.cpp Small changes to C API unit tests. 2020-04-13 14:13:54 -04:00
AssimpAPITest_aiVector3D.cpp Small changes to C API unit tests. 2020-04-13 14:13:54 -04:00
CCompilerTest.c Refactor: Use LF for end of line 2015-06-28 16:08:06 -06:00
Main.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
MathTest.cpp Small changes to C API unit tests. 2020-04-13 14:13:54 -04:00
MathTest.h Small changes to C API unit tests. 2020-04-13 14:13:54 -04:00
RandomNumberGeneration.h fix the build 2020-04-15 21:52:21 +02:00
SceneDiffer.cpp fix unittests part 2. 2020-03-13 17:00:14 +01:00
SceneDiffer.h Updated copyright dates. 2020-01-20 08:53:12 -05:00
TestIOStream.h Updated copyright dates. 2020-01-20 08:53:12 -05:00
TestIOSystem.h Updated copyright dates. 2020-01-20 08:53:12 -05:00
TestModelFactory.h Updated copyright dates. 2020-01-20 08:53:12 -05:00
UTLogStream.h Updated copyright dates. 2020-01-20 08:53:12 -05:00
UnitTestFileGenerator.h Updated copyright dates. 2020-01-20 08:53:12 -05:00
UnitTestPCH.h Updated copyright dates. 2020-01-20 08:53:12 -05:00
ut3DImportExport.cpp Merge branch 'master' into update-copyright-end-date 2020-01-22 18:03:43 +01:00
ut3DSImportExport.cpp Removed unneeded SceneDiffer.h includes. 2020-03-31 17:22:56 -04:00
utACImportExport.cpp fix unittests part 2. 2020-03-13 17:00:14 +01:00
utAMFImportExport.cpp Removed unneeded SceneDiffer.h includes. 2020-03-31 17:22:56 -04:00
utASEImportExport.cpp Removed unneeded SceneDiffer.h includes. 2020-03-31 17:22:56 -04:00
utAnim.cpp Updated copyright dates. 2020-01-20 08:53:12 -05:00
utArmaturePopulate.cpp Removed unneeded SceneDiffer.h includes. 2020-03-31 17:22:56 -04:00
utAssbinImportExport.cpp Removed unneeded SceneDiffer.h includes. 2020-03-31 17:22:56 -04:00
utB3DImportExport.cpp Removed unneeded SceneDiffer.h includes. 2020-03-31 17:22:56 -04:00
utBVHImportExport.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utBatchLoader.cpp Updated copyright dates. 2020-01-20 08:53:12 -05:00
utBlendImportAreaLight.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utBlendImportMaterials.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utBlenderImportExport.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utBlenderIntermediate.cpp Move format importer and exporter into its won folder. 2020-05-02 15:14:38 +02:00
utBlenderWork.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utCSMImportExport.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utColladaExportCamera.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utColladaExportLight.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utColladaImportExport.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utD3MFImportExport.cpp Move format importer and exporter into its won folder. 2020-05-02 15:14:38 +02:00
utDXFImporterExporter.cpp Removed unneeded SceneDiffer.h includes. 2020-03-31 17:22:56 -04:00
utDefaultIOStream.cpp Updated copyright dates. 2020-01-20 08:53:12 -05:00
utExport.cpp Unit tests: Enable data structure validation in cases where it doesn't cause failures 2017-11-21 18:04:22 +02:00
utFBXImporterExporter.cpp Update to float 2020-04-30 09:14:42 +02:00
utFastAtof.cpp Updated copyright dates. 2020-01-20 08:53:12 -05:00
utFindDegenerates.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utFindInvalidData.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utFixInfacingNormals.cpp Updated copyright dates. 2020-01-20 08:53:12 -05:00
utGenBoundingBoxesProcess.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utGenNormals.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utHMPImportExport.cpp fix vs2013 warnings in unittests 2020-03-20 10:04:44 +01:00
utIFCImportExport.cpp fix vs2013 warnings in unittests 2020-03-20 10:04:44 +01:00
utIOStreamBuffer.cpp Updated copyright dates. 2020-01-20 08:53:12 -05:00
utIOSystem.cpp Updated copyright dates. 2020-01-20 08:53:12 -05:00
utImporter.cpp fix formatting. 2020-04-26 19:14:30 +02:00
utImproveCacheLocality.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utIssues.cpp Updated copyright dates. 2020-01-20 08:53:12 -05:00
utJoinVertices.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utLWOImportExport.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utLWSImportExport.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utLimitBoneWeights.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utM3DImportExport.cpp Merge branch 'master' into kimkulling_dev 2020-04-04 18:28:50 +02:00
utMDCImportExport.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utMaterialSystem.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utMatrix3x3.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utMatrix4x4.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utMetadata.cpp Updated copyright dates. 2020-01-20 08:53:12 -05:00
utNoBoostTest.cpp Updated copyright dates. 2020-01-20 08:53:12 -05:00
utObjImportExport.cpp fix invalid check 2020-03-22 14:21:24 +01:00
utObjTools.cpp Move format importer and exporter into its won folder. 2020-05-02 15:14:38 +02:00
utOpenGEXImportExport.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utPLYImportExport.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utPMXImporter.cpp Move format importer and exporter into its won folder. 2020-05-02 15:14:38 +02:00
utPretransformVertices.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utProfiler.cpp Updated copyright dates. 2020-01-20 08:53:12 -05:00
utQ3DImportExport.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utRemoveComments.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utRemoveComponent.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utRemoveRedundantMaterials.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utRemoveVCProcess.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utSIBImporter.cpp Move format importer and exporter into its won folder. 2020-05-02 15:14:38 +02:00
utSMDImportExport.cpp Move format importer and exporter into its won folder. 2020-05-02 15:14:38 +02:00
utSTLImportExport.cpp Removed unneeded SceneDiffer.h includes. 2020-03-31 17:22:56 -04:00
utScaleProcess.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utScene.cpp Updated copyright dates. 2020-01-20 08:53:12 -05:00
utSceneCombiner.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utScenePreprocessor.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utSharedPPData.cpp Updated copyright dates. 2020-01-20 08:53:12 -05:00
utSimd.cpp Updated copyright dates. 2020-01-20 08:53:12 -05:00
utSortByPType.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utSplitLargeMeshes.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utStringUtils.cpp closes https://github.com/assimp/assimp/issues/3165: remove deprecated code whch causes compiler warning. 2020-04-26 08:59:52 +02:00
utTargetAnimation.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utTextureTransform.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utTriangulate.cpp Remove duplicate flag 2020-05-06 13:46:26 +02:00
utTypes.cpp Updated copyright dates. 2020-01-20 08:53:12 -05:00
utValidateDataStructure.cpp Updated copyright dates. 2020-01-20 08:53:12 -05:00
utVector3.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utVersion.cpp Changed date in test aiGetLegalStringTest to the appropriate year. 2020-01-20 09:14:04 -05:00
utVertexTriangleAdjacency.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
utX3DImportExport.cpp Removed unneeded SceneDiffer.h includes. 2020-03-31 17:22:56 -04:00
utXImporterExporter.cpp Removed unneeded SceneDiffer.h includes. 2020-03-31 17:22:56 -04:00
utglTF2ImportExport.cpp Fail gltf/gltf2 export whenever invalid / incomplete JSON is generated 2020-05-11 12:02:38 -07:00
utglTFImportExport.cpp reformat unittests. 2020-03-22 12:13:09 +01:00