1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

110 Commits

Author SHA1 Message Date
abk
337bcd120f Error messages was changed in test case data file chamfer/data/complex/B9. Error message was changed in test cases: - thrusection/solids/A2, - A3, - A4, - A5, - A6, - A7, - A8, - A9. 2013-01-11 13:22:57 +04:00
abk
7c213da809 Error message was changed in test case data files: - heal/data/advanced/H5, - S7, - ZC3, - ZE6, - ZE8, - ZE9. Result shape in the tests is invalid. 2013-01-10 17:33:58 +04:00
abk
9f63b15ebe Error message was changed in test case heal/drop_small|_edges/A4. Result shape in the test is invalid. 2013-01-10 17:33:48 +04:00
abk
0f42a379ec Error message was changed in test case bugs/modalg/buc60462_2. 2013-01-10 13:28:16 +04:00
abk
e6ce7ba75a Draw function nexplode was replaced by explode in test case
blend/complex/D4.
Calculation of gravity center was removed for degenerated edge.
It is revealed that function nexplode does not work on shapes with
degenerated edges.

Comments.
Calculation of gravity center was made by vertices data in case of
degenerated edge without representations especially for test case
blend/complex/D4. The mass of the edge was set to 1. The mass near 0 does
not satisfy the test case. As a result test case bugs/moddata/bug268
became failed. Because only the mass near 0 satisfies last test case.
2013-01-10 13:23:21 +04:00
abk
76a91b4982 Error message was changed in test case heal/drop_small_edges/A4. 2013-01-10 12:19:16 +04:00
abk
cfd2fd0a80 Error message was changed in test files: - chamfer/data/complex/B5, - chamfer/data/complex/B6, - chamfer/data/complex/B7. 2013-01-10 12:19:07 +04:00
abk
795d6d7bb9 Test case bugs/modalg/buc60462_2 was changed: - tolerances were corrected on input shapes by the tolerance rule; - set of error messages was changed. 2013-01-10 12:18:57 +04:00
abk
163a262a70 Correction of tolerances in result shape was made for group boolean and
grids:
- heal drop_small_edges,
       fix_face_size,
       fix_gaps,
       split_angle_advanced,
       surface_to_bspline.

Correction of tolerances in input shapes was made for tests:
- bugs heal bug329,
- bugs modalg buc60462_1,
              buc60463,
              bug292,
              bug317,
              bug330,
              bug452_2,
              bug452_3,
              bug625,
              bug697_1,
              bug698,
              bug774_1,
              bug776_1,
              bug776_2,
              bug80,
              bug919,
- bugs moddata buc60652_2,
               buc60652_3,
               buc60707,
               bug368,
               bug75_2,
               fra62476_2,
               ger61235,
               pro20333,
- bugs step buc60948,
- bugs step bug630,
- bugs vis buc60661,
- bugs vis bug288_1,
- bugs vis bug288_4,
- bugs xde bug859,
- bugs xde bug861,
- feat featlf B8,
       featprism L2,
                 L8,
                 M1,
                 O6,
                 O9,
                 R1,
                 S1,
                 S2,
- sewing tol_0_01 T1.
2012-12-28 20:28:09 +04:00
apn
e54706ed46 Prepared branch for raising to master 2012-12-24 17:58:42 +04:00
apn
352ffd7358 Adding test cases for chl grid
Test case tests/bugs/modalg/dxf906 was renamed to bug889
Adding test cases to tests/bugs/moddata
Modified expressions puts [checkshape result]. Added command vzfit in end file in folder bugs. Unlocked command coordload in QABugs_3.cxx
Modified test case bugs vis buc60738
Added test cases to modalg and moddata
Added test cases to caf and fclasses
Added test cases to group heal
2012-12-21 16:39:38 +04:00
pkv
fa0291ff83 0023576: Intersection algorithm produces trimmed circle with illegal parametric range. 2012-12-21 16:35:19 +04:00
pkv
e145f8c1de 0023603: Boolean operation between two edges fails 2012-12-21 16:25:15 +04:00
skv
46e68e02e3 0023606: Invalid result of pipe operation 2012-12-21 16:16:21 +04:00
pkv
bf0ba8139a 0023643: Intersection algorithm produces B-Spline curve in case of coaxial cones 2012-12-21 16:05:58 +04:00
bugmaster
41b3001c72 0023203: STEP import produces wrong surface of revolution on ellipse
Checking of XAsis for ellipses was added.
Adding test case for this fix
2012-12-21 16:01:04 +04:00
Roman Lygin
1365140bb8 0022980: Fixed Standard_Atomic.hxx
Standard_Atomic, prefer gcc built-ins rather than WinAPI calls (revert previous change of order)
Raise compiler error if no implementation found for atomic operations.
Add new draw command for testing this bug
Fix for compilation with TBB disabled
Adding CSF_TBB_INCLUDES macro in edl files
Correction of *.edl files
Update of EXTERNLIB files with CSF_TBB
Adding EXTERNLIB file
2012-12-18 22:35:43 +04:00
abv
5789daf94d Restoring test cases removed by last commit.
Enabling command QAAIAGetColor2d on Windows in order to allow relevant tests to pass.
2012-12-18 13:24:12 +04:00
abv
57ea2bf0d3 Adjusting code and testing cases for current state of OCCT 2012-12-17 20:01:09 +04:00
abv
a60b9727cf 0023618: Some tests get killed just because of wrong cpulimit setting
Cpulimit increased in tests bugs moddata bug54 and boolean bsection N4 for tests to pass on slower systems.
Cpulimit command now should print a dying message when it kills process.
2012-12-14 18:16:36 +04:00
apn
f1aa2b6272 Adding new testing cases for chl grid
Adding procedures checkcolor and checkpoint.
Modified test cases which are used QAGetPixelColor or QAAISGetPixelColor2d
Allow using command QAAISGetPixelColor2d on WNT
Rename test case tests/bugs/vis/bug19619 to pro19619
Added test cases to modalg and moddata
2012-12-14 16:56:11 +04:00
mkv
fa350ff051 0023452: Couldn't catch results produced by commands "data" and "tpstat"
Add new printer
Improving of duplication of command's output
Simplification of removing duplication of command's output
Removing of brackets
improved version
Test correction
2012-12-14 16:51:39 +04:00
apn
c7e8fd777c 0023580: [Regression] BRepMesh 6.5.4 produces visually incorrect view
Added test case and modified end file in /bugs/mesh
2012-12-14 16:47:37 +04:00
gka
305cc3f88a 0023587: Operation "2dintersect "in TestHarness can not find intersection point of two intersecting 2d curves.
Modified DRAW command "2dintersect" added optional parameter "tolerance for intersection".
Test case for bug 0023587 : Check intersections of four 2d curves
Adding test cases for this fix
Deleting temporary test case
2012-12-14 16:40:05 +04:00
gka
24de79c3a5 0023523: In session DRAW it is impossible to close document having name already once closed document.
Added destructor for TDocStd_Document which performs destruction of document in logical order in order to avoid exception when Undo and Redo fields are destructed after THF_Data field.
Added removing name of closed document from tcl variables in the DRAW in order to avoid exception during use the same name for new document.
Modification to avoid compilation error class ViewerTest
Minor correction in test caf basic G3
2012-12-14 16:17:11 +04:00
abv
d27ea0ef51 Adjusting testing cases for current state of OCCT 2012-12-10 17:03:37 +04:00
abv
c2f5c74815 Corrections for tests after integration of 2012-12-07
1. Fixed tests bugs caf bug350 and bug352 failing in Debug mode due to errors in QA code (removing items from the map during iteration).
2. Debug output messages are ignored in parse.rules in heal and bugs group to avoid false failures in Debug mode after changes made for #23609 and last integration of new tests.
3. Test bugs moddata buc60654 removed as duplicate of bug143.
4. Test bugs moddata bug143 fixed to compare real values properly. New command checkreal added for comparing reals with tolerance.
6. Test bugs caf bug114 is fixed to avoid use of OS-specific commands (command meminfo is used instead). Command checktrend is used to check for possible memory leak.
2012-12-10 16:32:18 +04:00
abv
a87752f31e Adding test cases from grid chl 2012-12-07 16:29:17 +04:00
abv
2210f3484a 0023546: Test report failure in Debug mode due to debug messages
Adding IGNORE for debug output messages in test groups heal, pipe, mesh, offset, xcaf
2012-12-07 14:16:13 +04:00
nbv
de8791eebc 0023535: Exception in BSplCLib::BuildCache()
Preliminary result. It was tested with spl_2.brep file only.
Add "const"
Adding test cases for this fix
2012-12-07 14:12:54 +04:00
abv
ab8fcacf28 0023546: Test report failure in Debug mode due to debug messages
Adding IGNORE for debug output messages in test groups heal, pipe, mesh, offset
2012-12-07 13:51:59 +04:00
abv
2857a8acd8 0023561: stepwrite and brepiges dont work with big path (over 150 simbols) of writing file
DRAW commands stepwrite and brepiges modified to never ask for interactive input of file name or write mode; the behavior is completely defined by input arguments. String buffers causing access violation due to overflow are eliminated.

Test case bugs xde bug23561 added for this issue; TODO 23651 in related test cases removed.

Compiler warning (unrelated) is fixed in QABugs_11.cxx
2012-12-07 13:50:06 +04:00
abv
60874ff8b6 0023550: Variable imagedir is not defined in interactive run of tests
When test is run interactively, imagedir is set to temporary directory (search order: environment variables TempDir, Temp, Tmp, upper and lower case, in  this order, then $HOME/tmp)
Update testing case with imagedir variable
2012-12-07 13:44:58 +04:00
dbv
aff395a36d 0023415: OSD_FontMgr can't idenify aspect for fonts with names dependant on system locale.
Added function DetectFontsAspects to Font_FontMgr class. This function uses workaround from OpenGl_FontMgr with FreeType for detecting font aspect.
Removed font name parsing from Font_FontMgr::InitFontDataBase(). Now the font name and font style we get through the FreeType.
Fixed Unix part of Font_FontMgr::InitFontDataBase() method. Font name and font style now detected through the FreeType.
Remarks fix. Added recursive default font directories scanning .
Fixed adding fonts folders recursively from configuration files.
Moved fonts aliases map from OpenGl_Display_1 to Font_FontMgr.
Moved fonts name definition from Graphic3d_NameOfFont.hxx to Font_NameOfFont.hxx.
Added new methods to Font_FontMgr: GetAvailableFontsNames, GetFont and FindFont.
Modified Font_SystemFont creation from XLFD. Added method IsEqual to Font_SystemFont.
Modified methods OpenGl_Display::FindFont, OpenGl_FontMgr::request_font in accordance to the new functionality of the Font_FontMgr.
OpenGl_FontMgr now stores only generated fonts instead of duplication of available fonts list.
Removed method OpenGl_FontMgr::requestFontList. Its function now performs Font_FontMgr::GetAvailableFontsNames.
Documentation was fixed
Adjusting testing cases for current state of OCCT
2012-12-07 13:42:37 +04:00
abv
cb9292ed80 0023609: Tests should handle output containing word error as failure regardless of case
File parse.rules modified to handle word "error" case insensitive
2012-12-07 13:03:12 +04:00
Roman Lygin
72ae989503 0023597: Failed to export ellipse into STEP with units other than mm
Test case for this bug
2012-12-07 12:47:03 +04:00
bugmaster
82cbc512df Reorganization of bugs testing group 2012-12-05 17:17:05 +04:00
bugmaster
075b21ec8a Adjusting testing cases 2012-12-04 16:10:52 +04:00
apn
22698ad7ad Adjusting testing cases for current state of OCCT 2012-12-04 11:17:20 +04:00
apn
0e94a94ee9 Integration part of tests of grid chl 2012-11-30 17:53:40 +04:00
omy
c2ae831c12 0023237: OSD_PerfMeter reports wrong (zero) times
Commit details:
1) in OSD_PerfMeter, use static functions of OSD_Chronometer class for time measurements instead of specific code to avoid incorrect results on CentOS (due to wrong valus of CLK_TCK);
2) changed definition of OSD_PerfMeter from .c to .cxx to avoid problems with C-functions;
3) fixed OSD_PerfMeter.h for building on Unix systems;
4) removed platform-specific #defines;
5) added test case for OSD_PerfMeter as bugs fclasses bug23237;
6) Removed DebugTools package (duplicates OSD_PerfMeter)
7) Avoid compiler (GCC) error casting BRepPrimAPI_Make* instances to TopoDS_Shape
2012-11-30 16:17:28 +04:00
Roman Lygin
ed9161a431 0023569: Adding NCollection_StdAllocator
Adding NCollection_StdAllocator
Adding NCollection_StdAllocator (correcting previous commit)
- addressed code review comment by kgv with using 2 (vs 4) spaces and amending max_size()

Add new draw-commands
Adding test case for this bug
2012-11-30 16:06:46 +04:00
abv
c4ecd2574b 0023584: Tests in group geometry generate gif images instead of png
File end in group geometry modified to produce PNG images instead of GIF
2012-11-30 15:57:36 +04:00
bugmaster
bba0504021 Adjusting testing cases for current state of OCCT 2012-11-27 13:47:01 +04:00
vsr
e9c15c4cec 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
2012-11-23 15:44:47 +04:00
nbv
581971fef3 0023130: command "maxtolerance" doesn't work on Windows
maxtol command returns incorrect values of variables nbFaces, nbEdges and nbVtx.
Test case for this bug
2012-11-23 15:33:47 +04:00
ika
66d6976f7a 0023379: Exporting single point into STEP produces a compound with two points
Adding single vertex for second time was removed.
Adding single vertex in first time was removed, but for second time was returned.
Duplication of vertex compound in STEPControl_GeometricCurveSet mode was removed.
Some cosmetic changes
Test case for this bug
2012-11-23 14:57:23 +04:00
san
e84189c512 0023120: Transform persistence is not restored
Updating myTransPers field in any case in OpenGl_View::BeginTransformPersistence()
Test case for this bug
2012-11-23 14:47:11 +04:00
bugmaster
808b3f9f34 Adjusting testing cases for current state of OCCT 2012-11-16 12:48:24 +04:00
epa
2de84aa22f 0023473: Top face of imported STEP part is missing
Fix for constraints for case of complex internal wires
Test case for this bug
2012-11-15 16:37:23 +04:00