1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-06-20 11:54:07 +03:00

632 Commits

Author SHA1 Message Date
pkv
a118a47f7f 0023644: Intersection between coaxial cones produces exception
Small correction: one more tolerance variable has been added.
Test case for this fix
Small correction of test case

Signed-off-by: skv <skv@opencascade.com>
2013-02-22 14:44:48 +04:00
nbv
9e23727c5b 0023530: Error in Draw command "checkshape": invalid face is not recognized
Add function for determinate closure in 2D and 3D
Change ChoixUV(...) function
Small correction of test case

Signed-off-by: skv <skv@opencascade.com>
2013-02-22 14:16:34 +04:00
apn
e26586550e Adjusting testing cases for current state of OCCT
Signed-off-by: skv <skv@opencascade.com>
2013-02-22 13:25:44 +04:00
abv
8f8fa97696 0023604: Uninitialized variables in debug mode
Removed #ifndef DEB ... #else ... #endif directives where the variables were being initialized only in release mode.
Removed unused part of code.

Signed-off-by: skv <skv@opencascade.com>
2013-02-22 12:14:07 +04:00
pkv
fd462ec24b 0023552: Projection algorithm produces wrong results with default tolerance value. Add TKShHealing to TKFillet/EXTERNLIB Adding test case
Signed-off-by: skv <skv@opencascade.com>
2013-02-22 11:25:25 +04:00
apn
ef26c326ee Adjusting testing cases for current state of OCCT
Signed-off-by: skv <skv@opencascade.com>
2013-02-22 10:59:39 +04:00
pkv
d6af166ca5 0023676: Intersection between edge and a face produces extra vertex
Signed-off-by: skv <skv@opencascade.com>
2013-02-22 10:17:58 +04:00
pkv
20214c3c5d 0023576: Intersection algorithm produces trimmed circle with illegal parametric range.
Signed-off-by: skv <skv@opencascade.com>
2013-02-21 17:05:13 +04:00
pkv
aeb253b168 0023603: Boolean operation between two edges fails
Signed-off-by: skv <skv@opencascade.com>
2013-02-21 16:54:22 +04:00
skv
63e683cd44 0023606: Invalid result of pipe operation
Signed-off-by: skv <skv@opencascade.com>
2013-02-21 14:00:27 +04:00
pkv
ba3f6e3669 0023643: Intersection algorithm produces B-Spline curve in case of coaxial cones
Signed-off-by: skv <skv@opencascade.com>
2013-02-21 13:30:07 +04:00
vsr
53fdf42576 0023567: Wrong STEP unit is returned by STEPControl_Reader.FileUnits() function
Fix bug with using of uninitialized variable.
New version of patch: pass unit object to the getSiName() function directly.
Test case for this bug

Signed-off-by: skv <skv@opencascade.com>
2013-02-21 13:14:55 +04:00
pkv
e40c7b930d 0023548: Boolean operation between two faces fails
Signed-off-by: skv <skv@opencascade.com>
2013-02-21 11:39:21 +04:00
abv
351bbcba7e 0023161: Select publicly accessible data files for OCCT tests
Duplicated data files are removed.
New command testfile added for automation of analysis of the new data files before adding to the data base.
V6_5_4
2012-11-13 13:45:16 +04:00
ibs
5853bf66cd 0023500: MFC texture example is crashed when view closed
x64 sample build directory has been changed to win64
2012-11-13 13:40:43 +04:00
bugmaster
f254eed001 Update version for OCCT 6.5.4 official release 2012-11-13 10:31:17 +04:00
Roman Lygin
deb26df7c0 0023489: Memory leak in TNaming_NamedShape
Added test for memory leak (bugs/ocaf/bug23489)
Missing return added in QANewBRepNaming_BooleanOperationFeat::IsWRCase2()
Adding test case and general procedure for trend checking for detection of memory leaks
2012-11-09 16:55:48 +04:00
abv
22db40ebf1 0023372: "diffimage" using in tests commands
Comparison of images is implemented in testdiff command; output in HTML form generated
Add measurement of memory (working set) delta in test case execution
Add memory statistics to output of testdiff command
Treatment of parameter -outdir of command testgrid corrected.
Function locate_data_file and code to run tests in parallel revised to be usable with Tcl 8.4.
Added function testsummarize: regenerate summary log of tests from test case logs
Command testdiff is protected against exception raised by diffimage if images have different formats
2012-11-09 16:41:36 +04:00
apn
9ced84ff2d 0023193: Some triangles are inverted when writing an STL file
Adding test case
2012-11-09 16:03:27 +04:00
apn
643bacb9f8 0004894: Problems with shading in vdisplay
Adding test case
2012-11-09 15:50:02 +04:00
aba
5d3515528f 0023289: IntCurve_IntPolyPolyGen.gxx, suspicious else
if-else blocks in lines 805 and 822 were removed.
Corrected initialization of 'nbsamples' variable
2012-11-09 15:47:10 +04:00
abv
b725d7c50a 0023468: Include current branch name into default name of directory for test results
Default name for results directory is generated as "results_<branch>_<timestamp>".

In the HTML log of test execution references to script files are made HTML links to relevant files

Aded possibility to put data file for use by test script into subdirectory data of the script folder (function locate_data_file is extended to find such files).

Test demo/testsystem/A1 renamed to locate_data_file and corrected to account for the recent changes.

Default value of CSF_TestDataPath is defined pointing to $CASROOT/data

File psrse.rules corrected in accordance with changed message on missing data file

Interface of command testgrid changed:
- output directory (formerly required argument) is now defined by optional parameter -outdir
- by default tests are run in parallel mode with number of processes equal to number of system CPUs
- check for input arguments is made more strict
Treatment of parameter -outdir of command testgrid corrected.
Function locate_data_file and code to run tests in parallel revised to be usable with Tcl 8.4.
Adjusting testing case demo draw getsource for current state of master
2012-11-09 15:41:29 +04:00
ibs
1c4ff5c647 0023500: MFC samples are crached on 3D visualisation
void FreeTexture() in OpenGl_TextureBox.cxx - avoid possible NULL-pointer dereference

after debug x64 compilation the executable viewer3d had been moved to the bin folder. now executable viewer3d located in bind folder.
2012-11-09 15:28:40 +04:00
vsr
dbf33db17a 0023139: BRepFilletAPI_MakeFillet algorithm builds edges with wrong first and last parameters: out of pcurve
- Revert previous integration
2012-11-09 15:24:58 +04:00
abv
1598ec0e46 0023275: restore command set name of result variable incorrectly if absolute path is used
Command restore corrected to set default name of the shape equal to filename without extension
Test case added (demo draw restore)
2012-11-02 16:08:20 +04:00
aba
3d8969b13b 0022779: Pixel format should be chosen to support stencil buffer
Missing code in find_pixel_format() function was restored.
Coding rules applied
Added changes in GLX part
2012-11-02 16:05:16 +04:00
aba
9edc5e12b6 0023383: Bugs in CDL documentation of visualization classes
Added lines in CDL documentation for SetDisplayPriority and SetViewingVolume.
2012-11-02 16:02:19 +04:00
kgv
16fa0dfb08 0023488: Make video recording functionality (OpenGl_AVIWriter) optional
CSF_AviLibs missing in EXTERNLIB of TKOpenGl toolkit. This cause incorrect project generation.
HAVE_VIDEOCAPTURE now should be defined to enable video recording capabilities on Windows.
2012-11-02 15:56:36 +04:00
ilv
5fec2f774c 0023116: Add Standard_EXPORT declaration to method Poly_MakeLoops::GetHangingLinks 2012-11-02 15:52:09 +04:00
ilv
0ad0f66b8c 0022754: Add forgotten include to BRepBlend_BlendTool.lxx 2012-11-02 15:47:18 +04:00
omy
9046e4fc55 0023147: Suspicious if (5)
Removed non-executed parts of code because

   Standard_Boolean s1Point = Standard_False;
   Standard_Boolean s2Point = Standard_False;
   Standard_Boolean vClosed = Standard_False;

and never changed thus some parts of code are non-reachable.
Fixed mistake with 'else' without corresponding 'if'.
Commented unreachable code part.
2012-11-02 15:18:21 +04:00
aba
5768cd55b7 0023140: Suspicious if
Condition that is always true was replaced on assigning a variable 'Tol' to Precision::Confusion.
2012-11-02 14:30:29 +04:00
ika
9a79c9529a 0023145: Suspicious else (2)
else statement was incorrect, is has been changed.
2012-11-02 14:27:40 +04:00
aba
80cead4136 0023288: IntCurve_IntConicConic_1.cxx: if(A) {...} else if (A){...} pattern detected.
Unrealizable condition ( second condition block 'else if(d0102>AbsR1mR2-Tol)' ) was deleted.
2012-11-02 14:13:39 +04:00
ski
18e25fc94c 0023476: Integration of test grid "cge" into the new testing system 2012-10-26 17:02:49 +04:00
abv
b9736bcc8e 0023480: New compiler warnings on MS VC 9
Unused local variables eliminated
2012-10-26 17:00:28 +04:00
ika
fb20c14374 0022871: Step Reader raises exception on invalid entity (null swept curve)
checking for null swept curve was added
Adding test case
2012-10-26 16:57:47 +04:00
dbv
90ac61454f 0023448: Fix QT samples for Mac OS X
Fixed QT samples so they can be built on Mac OS X with qt-x11
2012-10-26 16:44:14 +04:00
jgv
bd82d4b2e9 0023464: Projection algorithm produces wrong results.
including of .hxx file added
Correction of computation of intersection point
Integration of test cases for this issue
2012-10-26 16:04:01 +04:00
bugmaster
1027626d98 Adjusting testing cases for current state of OCCT. 2012-10-24 13:37:23 +04:00
jgv
07782e0ce6 0023472: BRepAlgoAPI_Section algorithm fails with exception while intersecting two faces 2012-10-19 18:53:19 +04:00
gka
45c0ba3664 0023338: The 'then' statement is equivalent to the 'else' statement. IGEStoBRep_TopoSurface.cxx 2012-10-19 18:33:42 +04:00
jgv
7416e83cf6 0023367: New functionality restoring the middle path of pipe-like shape 2012-10-19 18:28:46 +04:00
pkv
24def445c3 0023470: Boolean Fuse between two edges fails 2012-10-19 18:22:12 +04:00
ika
418118960f 0023354: The use of 'if (A) {...} else if (A) {...}' pattern was detected.
second else was deleted, now "D" is hotkey for reset view and removing selected object is impossible by hotkeys
help message was rewrited according to these changes, also hotkeys "R","L" and "B" added to help
Minor remarks: viewer commands help fulfilled with U; Z; ","; "." . Comments revised.
2012-10-19 18:19:18 +04:00
miv
88f8fc8104 0023434: Generate images in lossless format (PNG) instead of lossy GIF currently used in test log 2012-10-19 18:16:06 +04:00
omy
7da2a6ab87 0023351: The use of 'if (A) {...} else if (A) {...}' pattern was detected.
Got rid of duplicated code.
Got rid of redundant conditions' checks in Standard_Integer TOPOC(Draw_Interpretor& interpretor,Standard_Integer na,const char** a) function.
2012-10-19 18:09:57 +04:00
bugmaster
4dabfbf233 Adjusting testing case for current state of OCCT V6_5_4_beta1 2012-10-17 15:35:39 +04:00
bugmaster
64f4825861 Adjusting testing cases for current state of OCCT 2012-10-16 14:35:59 +04:00
jgv
2277323d3a 0023367: New functionality restoring the middle path of pipe-like shape
Version 2
Small correction
Adding test cases
2012-10-16 13:12:36 +04:00