1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00

72 Commits

Author SHA1 Message Date
gka
115a805d6b 0023475: Wrong result of Geom_BSpline_Surface::IsVClosed()
Modifications:
Definition closure surface by U and V by distance between isolines on bounds
Comparison to isolines on identity
Implementation of short dump of surface and curves
Change order of comparison

Fix and test script for bug 0023475
Modification of script to restore surface
Modification for correction regression ( UIso and VIso were confused)
Modified test case and test surface for bug 0023475

Signed-off-by: skv <skv@opencascade.com>
2013-02-22 17:00:07 +04:00
pkv
16a60931d2 0023711: Incorrect result done by fuse operation
Correction of misprint
Adding of test case

Signed-off-by: skv <skv@opencascade.com>
2013-02-22 15:29:56 +04:00
pkv
e8e63d2a8a 0023732: Exception raised during intersection between two surfaces
Adding of test case

Signed-off-by: skv <skv@opencascade.com>
2013-02-22 15:24:06 +04:00
pkv
1f52722413 0023716: Boolean Fuse between two faces fails
Signed-off-by: skv <skv@opencascade.com>
2013-02-22 15:18:11 +04:00
pkv
ecd118ebee 0023699: Exception reaised during intersection between two surfaces
Signed-off-by: skv <skv@opencascade.com>
2013-02-22 15:12:52 +04:00
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
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
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.
2012-11-13 13:45:16 +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
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
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
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
ski
18e25fc94c 0023476: Integration of test grid "cge" into the new testing system 2012-10-26 17:02:49 +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
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
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
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
bugmaster
4dabfbf233 Adjusting testing case for current state of OCCT 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
apn
dfa3d64f55 0023450: Test bugs vis CR23407_1 fails
Files parse.rules corrected (point 2 in bug description)
Adjusting testing cases for current state of master.
Modified test cases CR23407_1 and CR23407_2
2012-10-11 14:44:35 +04:00
miv
34dd4990ed 0023438: Update test cases for new organization of data files
Modifications:
1.Test cases
2. locate_data_file from DrawResources/TestCommands.tcl
Fix for mesh end
Adjusting testing cases for current state of master using new organization of data files
2012-10-11 14:24:12 +04:00
bugmaster
7ef2d866e2 Adjusting test cases for current state of OCCT 2012-10-08 16:08:34 +04:00
pkv
8f15a0d540 0023137: Class BRepAlgoAPI_Cut does not made correct result on attached shapes.
class ShellFaceClassifier;
   - method:
void BOP_ShellFaceClassifier::ResetElement(const TopoDS_Shape& theElement)

The order of choice a testing point for the element has been changed.
The following order is:
-point inside an edge
-point as an vertex-point
-point inside UV-range of a surface

Adding test cases
Expected sduare is corrected
2012-10-05 14:20:32 +04:00
kgv
64e2d3bd71 0023234: Incorrect behavior of AIS_Trihedron
AIS_InteractiveContext::myLocalContexts map accessed before newly created AIS_LocalContext bound to it
Minor remarks: comments revised.
Adding test case
Adding new draw command
Small correction of tests
2012-10-05 14:06:32 +04:00
pkv
852a895cda 0023431: BOP Cut produces invalid shape 2012-10-05 13:52:19 +04:00
abv
5df3a117e1 0023423: Test system does not get log if DRAW crashes or gets killed
Avoid using dlog in grid tests (command testgrid), in order to get some output even if DRAW crashes.
Command test now accepts argument echo to get echo immediately (but no log processing).
Test case for checking log processing in case of premature exit of DRAW is added (demo testsystem premature_exit).
2012-10-05 13:41:07 +04:00
kgv
185e6ec099 0023425: diffimage generate OSD_Exception during execution
diffimage out-of-image access during border filter execution

Verify neighbor pixel position for out-of-image access
A list of referenced articles and books is added to Image_Diff.hxx file.

Adding test case bugs/vis/CR23425

Image_Diff - fix compilation error on x86_64 target using msvc
There no std::abs for ptrdiff_t in Microsoft STL implementation

Image_PixMap - fixed compilation on gcc 3

Removed extra newlines in TCL script
Image_Diff, move back extra modifications
2012-09-27 12:43:54 +04:00
emv
bb310307f1 0023394: Problem with BRepOffset_MakeOffset on a cylindrical face 2012-09-27 12:29:04 +04:00
jgv
7c104885b2 0023429: BRepFeat_SplitShape algorithm misses some section edges while building result from customer's shape
Adding test case bugs/modalg/CR23429
2012-09-14 17:51:20 +04:00
apn
09951da2d7 0022888: Wrong shape result imported from IGES file.
Adding test case bugs/iges/CR22888
Modified test case bugs/iges/CR22888
2012-09-14 17:38:41 +04:00
jgv
3d063ba65f 0023389: (OCC 6.5.3 regression) BRepAlgoAPI_Cut returns invalid solid
Adding test case boolean/bopcut_complex/P8
2012-09-14 17:27:38 +04:00
szy
efd4b232bf 0023119: TNaming_Selector::Solve() fails (changes from single face to compound of multiple faces)
Patch for Naming improvement.

1). Added persistence.
2). Removed not supported evolution - Replace.

Fix of QADraw commands.
Modified test case: caf named_shape F6

1). Redesigned DNaming commands: SelectShape & SolveSelection
2). Added 2 new scripts: F8 & F9

Adding test cases caf/named_shape/F8 F9
2012-09-14 17:18:59 +04:00
apl
a2d5ab2e7f 0023407: Draw face outlines for XDE objects
FaceOutline aspect and flag added to AIS_Drawer, Prs3d_Drawer.cdl
FaceOutlines computed by StdPrs_ShadedShape and build upon the edge triangulation.
"vshowoutlines" draw command for testing outlines on AIS_Shapes,
"XShowOutlines" draw command for testing outlines on XCAF objects.
remarks corrected:
- FaceOutline renamed to FaceBoundary
- Graphic3d_ArrayOfSegments with edges used instead of Graphic3d_ArrayOfPolylines with bounds.
draw boundaries in separate Graphic3d_Group.
Adding test cases bugs/vis/CR23407_1 CR23407_2
2012-09-14 14:37:57 +04:00
ski
dd2c7137e0 0023430: Tests in xcaf group fail in parallel mode 2012-09-14 14:31:28 +04:00
apn
61039c3d61 Adjusting xcaf test group 2012-09-10 17:00:39 +04:00
apn
02a0b964f2 0023384: Translate sub-shape names between XDE document and STEP
Sub-shapes naming translation between XDE and STEP implemented as an optional mode of Reader/Writer.
New static variables are now available: write.stepcaf.subshapes.name for Writer and read.stepcaf.subshapes.name for Reader (both have 0 values by default).
XOpen command implemented in scope of XDEDRAW asset.

Added test case bugs xde CR23384
2012-09-07 14:24:23 +04:00