1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00

59 Commits

Author SHA1 Message Date
gka
a7493ad47d 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
2012-11-15 15:35:03 +04:00
vro
80e49d4396 0022927: Regression with OCCT652 on Windows. DRAWEXE crashes during offsetcomshape.
Check was added to avoid a crash if result is not reachable.
Modified test case
2012-11-15 15:19:42 +04:00
ilv
f6f03db9d0 0023361: Bug in gp_Trsf::Multiply
Bug in gp_Trsf::Multiply fixed.
If we multiply 2 gp_Trsf objects (shape == gp_Rotation), for example, t1 * t2, and t2.loc = 0
(t2.loc.x == 0 and t2.loc.y == 0 and t2.loc.z == 0)
then t1.loc will not change (you can verify it from the matrix multiplication)
Adding test case
2012-11-15 13:23:11 +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
vsr
9fe1ada847 0023403: Crash when parsing an expression with lexical error
Fix double freeing of memory in case when lexical error is detected by parser:
- revert previous fix, instead nullify the global buffer after its freeing in ExprIntrp_stop_string().

Added new QA command CR23403 and test case
2012-09-07 14:19:09 +04:00
pkv
0c5acd2705 0023405: BOP common produces one face instead of a solid
Modified class :IntTools_FaceFace
   - method: void IntTools_FaceFace::ComputeTolReached3d()
The goal is:
to give more precise definition to the value of tolerance of intersection curves in 3D for the case plane/sphere.

Added test case boolean/bopcommon_complex/M7
Added test case boolean/bopcommon_simple/ZP9 for verified bug CR23374
2012-09-07 14:11:06 +04:00
oan
2e1a4dae4b 0023409: Tricheck command doesn't report problem when triangulation has unexpected holes
Tricheck command improvement for checking triangulation holes on free links
More obvious error message
Added test case bugs demo CR23409
Modified test case offset wire_closed_outside_0_005 G7
2012-09-07 13:58:12 +04:00
apn
319e4241ee 0023410: QA commands don't work properly in new testing system
Comment adding command rename. Add QA test case.
Adjusting bugs test group
2012-09-06 14:24:05 +04:00
miv
b053b76478 0023412: Integration of test grid "dec" into the new testing system
Integration of test grid "dec" into the new testing system with "xcaf" name
2012-08-31 15:37:52 +04:00
sneeraj
fa920fb12e 0023377: Error in importing a rational spline IGES surface [Type 128, PROP3 = 0] into OCCT
Fix to address Rational surface with non-unitary weights at last index
Add new test case folder with test case for bugs
2012-08-31 15:33:33 +04:00
szy
1ec8a59e23 0023205: Patch for Naming improvement
1). Added persistence.
2) Removed not supported evolution - Replace.
QADraw commands were fixed .
Added TKBO to EXTERNLIB.
Modified test case: caf named_shape F6
2012-08-31 15:26:23 +04:00
bugmaster
09121745ad Integration of adjusted testing cases. 2012-08-27 16:12:38 +04:00
Roman Lygin
536416f3d2 0023392: Memory leak in OCAF in debug mode
TDF_LabelNode::Destroy() does not free memory for entry strings TCollection_AsciiString myDebugEntry problem was corrected.
2012-08-24 15:08:50 +04:00
ski
49c093ae1c 0023371: Expression which check of change of square/volume/length in end files doesn't work properly
Modified END files
Corrected tests cases due to modification of END files
2012-08-20 13:33:29 +04:00
ski
368ebb7e4a 0023364: Integration of test grid "cpp" into the new testing system
Integration of test grid "cpp" (pipe) into the new testing system
2012-08-20 13:29:20 +04:00
ski
c2a0f4819b 0023382: Integration of test grid "did" into the new testing system
Integration of test grid "did" ( heal tests ) into the new testing system
2012-08-20 13:26:43 +04:00
bugmaster
9db37f0e3c Corrected integration 2012-08-13 15:34:43 +04:00