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

188 Commits

Author SHA1 Message Date
mkv
74f764ba61 Adjusting testing cases for current state of OCCT 2013-03-25 18:37:19 +04:00
szy
456b8422e1 0023819: Naming failures
Fixed regression with DummyVertex processing.
Correction test cases for CR23819
2013-03-25 17:21:31 +04:00
oan
b62b93ac30 0022818: Wrong triangulation of Revolution surface with slice angle <= 180 degree
Take face attributes into account to calculate 2d tolerance
Adding test cases for this fix
Correction according additional bug CR23832
2013-03-22 17:44:31 +04:00
oan
32d878f538 0023184: Bad face tessellation result
Consider BSplineKnots to achieve better tessellation result
Adding test cases for this fix
2013-03-22 17:34:37 +04:00
jgv
51a849d770 0023845: New auxiliary method concatenating a wire into an edge based on C0-continuous curve.
Fix of exception in old method (ConcatenateWire).
Adding test case for this fix
2013-03-22 17:31:43 +04:00
ika
903634d07d 0023832: sprops and triarea commands return incorrect value of a mass for shape of revolution
incorrect way of creation faces in test scripts has been fixed
2013-03-22 17:27:35 +04:00
jgv
a31abc03d7 0023824: Bad results of sweep operation when a path curve has unpredictable torsion along its way.
Adding test cases for this fix
2013-03-22 17:10:51 +04:00
pkv
26347898a8 0023785: Crash on make face from wire
Adding test case for this fix
2013-03-22 17:08:06 +04:00
kgv
de75ed09ad 0023791: Remove obsolete functionality - animation mode and degeneration presentation mode 2013-03-22 16:55:11 +04:00
mkv
1f16517f4e Adjusting testing case for current state of OCCT 2013-03-18 20:46:03 +04:00
jgv
bead40f28c 0023774: Incorrect conversion from gp_Trsf2d to gp_Trsf
Adding test command for this fix
Adding test case for this fix
2013-03-15 12:40:54 +04:00
apn
0dc98b5b0a 0021308: Problem of Interface_Tracefile. There are not messages.
Added test case for issue 21308
2013-03-15 12:32:46 +04:00
apn
972bd4bfeb 0022981: BRepOffsetAPI_ThruSections fails to build a surface from closed wires
Added test case for issue 22981.
2013-03-15 12:30:59 +04:00
apn
8c99d1caad 0023773: Can not read names in STEP file
Added test for issue 23773.
2013-03-15 12:27:55 +04:00
ika
6db6171400 0023822: SIGSEGV 'segmentation violation' during writing IGES
checking for infinity coordinates was added.
Adding test case for this fix
Shape name correction
2013-03-15 12:25:31 +04:00
apn
a1cd0db66f 0023366: Cut operation produces invalid shape
Added test case for issue 23366.
2013-03-15 12:22:43 +04:00
apn
1e6b194039 0022027: <bop> command between two faces raises exception
Added test case for issue 22027.
2013-03-15 12:20:25 +04:00
apn
3f92b61ae7 0023122: Operation "cut" crashes on attached shapes.
Added test case for issue 23122
2013-03-15 12:17:32 +04:00
bugmaster
b7ad3a6187 Adjusting testing cases for current state of OCCT 2013-03-11 17:27:45 +04:00
pkv
8f9a9b9d10 0023777: 2D-Classifier algorithm produces wrong results for a point and face.
Adding test case for this fix
2013-03-07 14:25:51 +04:00
dbv
e187cc0ac0 Updating test for current state of OCCT 2013-03-07 14:23:33 +04:00
pkv
a7dd5d0fbd 0023471: Intersection algorithm produces overlapping intersection curves
Test correction
2013-03-07 13:36:14 +04:00
ika
9b308cd3f6 0023794: Too small precision leads to instability
tol2 (10^-36) was changed to dPreci (10^-18)
test case was changed by adding TODO
2013-03-07 13:21:34 +04:00
mkv
65263f37db Adjusting testing cases for current state of OCCT 2013-03-04 17:29:20 +04:00
apn
6fcb77aa3a Adjusting testing cases for current state of OCCT 2013-03-04 15:20:57 +04:00
szy
06da7b7e70 Adding new tests cases from chl grid 2013-03-01 14:32:42 +04:00
mkv
3113d5208c 0023788: OCCT tests don't catch Naming failures
Test corrections for catch Naming failure
2013-03-01 14:30:01 +04:00
ski
607a96d42a 0023619: Integration of test grid "xml" into the new testing system
Removing XML Validator
Improvements of begin and TODO's in testing cases
small correction in begin file to provide normal behavior of tests if Java is not installed
2013-03-01 14:27:39 +04:00
abv
5d1833ef09 0023793: Tests failing when launched without data files
Call to locate_data_file moved from catch statement in test scripts to ensure that missing data file is correctly reported as SKIPPED status of the test.
TODO statements with single word 'Exception' made bit more specific ("**" added).
Test bugs/caf/buc60846 removed as it is aimed to test inexistent component (Sketcher).
TODO removed in test bugs/fclasses/bug22611 -- the missing command must be added or test removed.
Test bugs/step/bug133_4 removed as duplicate of bugs/step/bug133_2.
Command vinit added in test bugs/vis/bug23226 to ensure that viewer is properly initialized before command vvbo, and relevant TODO statements removed.
Redundant FAILED patterns removed in parse.rules in groups perf and v3d as they break appropriate handling of missing data files.
Added QA command OCC22611 to improve test case bugs/fclasses/bug22611.
Modified test case buc60898 (shape was renamed) and moved to folder moddata_3 to avoid checkshape in end file.
Test case vis/bug23226 was modified using function checkcolor.
2013-03-01 14:23:17 +04:00
omy
a9ae57b966 0023615: Wrong parameter value calculating in ShapeAnalysis_Curve
Now Extrema_LocateExtPC object is used instead of ShapeAnalysis_Curve::CurveNewton().
Removed CurveNewton() function.
Removed code protecting against null-length b-splines (should be obsolete now).
One TODO removed in test heal *advanced W6

Conflicts:

	tests/heal/data/advanced/W6
Fixed regressions:
did 011 A6 C9
xsat 101 G6
Small syntax fix.
2013-03-01 14:20:00 +04:00
san
269294d62e 0023747: Enabling environment mapping breaks text rendering
vtextureenv command added to reproduce the bug
Two test cases using vtextureenv command added:
bug23747_1 - checks that environment mapping does not break text rendering
bug23747_2 - tests environment mapping in general
vtextureenv command improved:
- User-friendly option names supported instead of integer values
- Better input arguments check implemented
2013-03-01 14:14:34 +04:00
omy
5cbfdb412f 0023533: Unitialized variables used, IntTools_TopolTool.cxx
Also contains fixes for:

0023534: Unitialized variables used, ShapeAnalysis_TransferParameters.cxx
0023537: Uninitialized variable: MaxUserColor
0023538: Memory leak: cdata
0023557: V547 Expression 'as1.ToCString() != ""' is always true. To compare strings you should use strcmp() function. qabugs_3.cxx,
DRAW command for test bugs fclasses buc60724 corrected; test is OK now
2013-03-01 14:12:08 +04:00
bugmaster
aa2f78c2de Adjusting testing cases for current state of OCCT 2013-02-25 18:34:25 +04:00
emv
87f59163e1 Adjusting testing cases for current state of OCCT 2013-02-22 16:22:01 +04:00
ski
7faaccfd34 Added testing cases from grid CHL
Removing test duplicate
2013-02-22 14:52:42 +04:00
omy
cf5195b88c 0022323: MakeThickSolid raises Construction exception on cylinder.
Removed BRepTest/BRepTest_ShellCommands.cxx from OCCT.
Added test case for bug 22323. It is placed in bugs/modalg.
2013-02-22 13:56:00 +04:00
dbv
8db070a59d Correction of unstable testing cases 2013-02-16 13:55:09 +04:00
ski
ee535a6c7c 0023752: Integration of test grid "vpr" into the new testing system 2013-02-15 17:06:19 +04:00
nbv
fa6cd9152f 0023703: Projection algorithm produces incomplete 2D-Curve
Change compare algorithm.
Adding test case for this fix
2013-02-15 17:04:16 +04:00
skv
a20400b3a2 0023733: PCurve for edge on face creation failure
Adding test case for this fix
2013-02-15 16:55:25 +04:00
vro
16e65a0347 0023743: AIS_Triangulation crashes if Poly_Triangulation has no normals
A crash on absent normals is avoided.
AIS_Triangulation::Compute() is corrected so that it is much faster,
Adding test case for this fix
2013-02-15 16:52:07 +04:00
emv
5f05c0a3d8 0023749: Tests cases boolean bsection M9 N4 work incorrect with new Boolean Operation Algorithm.
Fix for the cases.
Small correction test cases
2013-02-15 16:49:54 +04:00
emv
3389667b4c 0023751: Test case bugs modalg bug6334 does not work with new Boolean Operation Algorithm.
Fix for the bug.
Added simple condition:
If the map myShapes (map of the parts of the tool that should be in result shape) is not filled then boolean operation of the given type will be performed.
Modified test case bugs/modalg_4/bug6334.
Small correction test cases
2013-02-15 16:48:17 +04:00
ski
b7a3c4704b Adjusting testing cases for current state of OCCT 2013-02-11 17:27:02 +04:00
skv
1c88cbaf14 0023705: Isoline in the AIS viewer is not trimmed 2013-02-08 17:53:02 +04:00
emv
4e57c75ee1 0021762: Integration of new Boolean Operation algorithm to OCCT.
Modifications:
- BRepOffset/BRepOffset_Tool.cxx, Features and Fillets algorithms have been ported on new BO algorithm.
- Old BO algorithm, that was implemented in BOP, BooleanOperations and BOPTools packages, has - been deleted.
- Porting SALOME algorithms to new BOP algorithm.
- Fixing regressions. Rebased on current master.
- Corrections in post treatment of section edges;
- Corrections in the accordance with the bug 0023293;
- Small corrections in the bopcheck and bopargcheck commands.
- NCollection maps have been replaced by NCollection indexed maps to guarantee the constant order of sub-shapes in the result of boolean operation.
- Test case feat featprism M9 has been fixed.
- Test cases chl 902 E3 H3 have been fixed (corrections in the treatment of section edges).
- Test cases caf driver B6 B7, caf named_shape F6 F7 have been modified according to the new order of sub-shapes in the result of boolean operation.
- Test cases blend buildevol G1, blend simple K4, bcommon_complex C7, feat featprism L6 have been modified as they are improvements.
- Test case boolean bsection A3 has been modified according to the new syntax of the bsection command.
- Test cases boolean bfuse_complex J1 P9 have been fixed (the function IsInternalFace has been modified to use the function GetFaceOff);
- Test case chl 902 H3 has been fixed (changes in the treatment of section edges);
- Test case boolean bsection D8 has been modified (removed TODO statement);
- Test case boolean bsection A3 has been modified (as the shapes have been changed).
- Added correction of the tolerance values of the shapes according to the bug 0023610.
- test cases:
    boolean bcommon_complex C3,
    boolean bcut_complex F2 O7,
    boolean bfuse_complex C4 C5 E4,
    boolean bsection B6 M8 M9 N4 N5 N7,
    boolean bfuse_simple ZP6,
    draft angle G8,
    feat featprism S2
have been marked as invalid according to the bug 0022033;
- New value of result has been set in the test cases :
    boolean bopsection D4
    boolean bsection R8
as it is correct.
- test case bugs modalg bug23472 has been rewritten according to the new format of bsection command.
- The classes IntTools_Context and IntTools_ShrunkRange have been replaced by BOPInt_Context and BOPInt_ShrunkRange accordingly.
- The new class BRepAlgoAPI_Check has been added according to the bug 0023648.
- Some regressions have been fixed.
- The following test cases have been marked as invalid or rewritten
    bugs modalg buc60462_2, 60531_2, 60776_1, bug472_1, bug472_2, bug472_3, bug497_3, bug62
    bugs moddata bug26_1, bug26_2,
- The test case bugs modalg buc60533 has been rewritten to use the general fuse algorithm for building the result.
- The new value of the result has been set in the test case bugs modalg 60776_2.
- The following test cases have been rewritten according to the new format of the bsection command
    bugs modlag fra62369, pro18892
    bugs moddata bug75_1, bug75_2
- Corrected BRepAlgoAPI_Check.
- Removed package BOPTColStd.
- Rewritten test cases caf named_shape F8 F9.
- Removed unnecessary comments.
- Corrected the following test scripts :
    boolean bcut_complex(012) O3 O4 O5 O6 O8
    boolean bfuse_complex(013) O5 O6 P8
    boolean bopcommon_complex(021) D8 D9
    boolean bopfuse_complex(022) H1 J6
    boolean boptuc_complex(024) D5
    bugs modalg(006) bug399 bug497_1
    feat featprism(003) C4
- Corrections in the treatment of section edges (putting paves on the curves);
- Corrections in BRepOffset_Tool;
- The following test cases have been rewritten according to the new format of the bsection command
   bugs modalg bug6502, bug6554, bug6766_1, bug6766_3
- The new value of the result has been set in the following test cases
   bugs modalg bug1255, bug1255_1
- The following test cases have been marked as invalid or rewritten
   bugs modalg bug472_2, bug472_3, bug825_2
   bugs moddata bug10603, bug152_1, bug152_2, bug3721_1, bug3721_2, bug3721_3
- The following test cases have been rewritten as improvements
   bugs modalg bug693, bug693_1, bug817_1
   bugs moddata bug3721_5, bug3721_6, bug6862_3, bug6862_4, bug6862_6
- Test cases bugs modlag buc60787_1, buc60787_2, buc60788_2, buc60788_3 have been corrected.
- Fixed some SALOME regressions (modifications in the treatment of the section edges);
- Fixed test case bugs modalg bug23100;
- Test cases bugs modalg bug21754, bug22990 have been corrected according to the new format of the bsection command.
- Test cases bugs modalg bug13116_*, bug23711 have been fixed;
- Test cases bugs modalg bug697_2, bug697_4, bug697_7, bug697_8 have been marked as invalid according to the issue 0022033;
- Test cases bugs modalg bug22109_2, bug22109_3 have been corrected;
- Test case bugs modalg bug18186 has been corrected as it is improvement;
- Test case bugs modalg bug22802 has been deleted as there is no package BOPTColStd.
2013-02-08 17:42:05 +04:00
ski
a8676008f7 Adding of testing cases from subgroups 937 940 and 941 of CHL group
Splitting of subgroups bugs/modalg and bugs/moddata to optimise time of testing
Correction of end file in group v3d
Small correction of test case
2013-02-08 15:16:15 +04:00
kgv
a174a3c54f 0023457: Slow text rendering
Added class Font_FTFont wrapper over FreeType face

Unify collections methods NCollection_Array1, NCollection_Sequence, NCollection_Vector:
declare Upper, Lower, First, Last, ChangeFirst, ChangeLast methods for all these collections.

Added method NCollection_DataMap::Find() with check key is bound + retrieve value within single call interface.

OpenGl_Context::ReleaseResource() method now supports lazy release of shared resources.

Added class OpenGl_Font which implements textured fonts support.
Added class OpenGl_TextFormatter for text formatting using OpenGl_Font.

OpenGl_Text was redesigned to use OpenGl_FontFormatter.

OpenGl_FontMgr class was removed.
All methods related to text rendered removed from OpenGl_Display class.

OpenGl_Trihedron and OpenGl_GraduatedTrihedron classes were redesigned
to use OpenGl_Text.

OpenGl_PrinterContext instance was moved to OpenGl_GraphicDriver fields
(eliminated usage of global instance).

Added test cases into 3rdparty/fonts grid to check different font styles
and perform FPS tests (no automated results - requires manual analysis
or snapshots comparisons).

Removed unused CSF_FTGL dependency.
OpenGl_Text::setupMatrix - do not apply floor for myWinZ
2013-02-08 15:05:16 +04:00
ika
163ef25006 0023722: stack overflow during reading IGES in Test Harness
Add creation a new vertex before replace.
Adding of test cases for CR23722
2013-02-08 14:56:38 +04:00
pkv
77088633a2 0023738: Boolean Fuse between two faces fails 2013-02-08 14:53:51 +04:00