]> OCCT Git - occt-copy.git/commit
0028428: BinMNaming_NamedShapeDriver fails if there are no nodes in NamedShape
authormpv <mpv@opencascade.com>
Thu, 2 Feb 2017 15:31:59 +0000 (18:31 +0300)
committermpv <mpv@opencascade.com>
Thu, 9 Mar 2017 09:02:18 +0000 (12:02 +0300)
commit84eea67f81bdb8cad956169e21c0d52269550037
treefb9fc3e5a52250ebc4db65165902ac789cb82768
parent9d84c361f5f524b80cbd272c44414d9ebef4ac84
0028428: BinMNaming_NamedShapeDriver fails if there are no nodes in NamedShape

Unit test and additional parsing rule for tests are added as well as a minor fix of the draw command for bug24164_2 unit test (in reference array it was impossible to set only one value).

Added the exception for the checking in issue 2269, when bad document is read.

It checks that there is no crash, but just an error message. If crash is appeared, this test will not skipped anyway.

Correction of test for bug2269 and parse.rules

(cherry picked from commit 6d1e872b4da9f518621ece8d043b6f6fa484ef5b)
src/BinMNaming/BinMNaming_NamedShapeDriver.cxx
src/DDataStd/DDataStd_BasicCommands.cxx
src/QADNaming/QADNaming_BuilderCommands.cxx
tests/bugs/caf/bug2269
tests/bugs/caf/bug28428 [new file with mode: 0644]
tests/bugs/parse.rules