View Issue Details

IDProjectCategoryView StatusLast Update
0025330Open CASCADEOCCT:Testspublic2016-12-09 16:41
ReporteraplAssigned Toapl 
PrioritylowSeverityminor 
Status closedResolutionno change required 
PlatformAOSL 
Product Version6.7.1 
Target Version7.1.0Fixed in Version7.1.0 
Summary0025330: Test display commands for AIS interactive object in local context
DescriptionIssue 0025316 allows testing combinations of ::Display, ::Erase, ::Remove of AIS_InteractiveContext within an opened local context.

Until now it was a recommended practice to close any local contexts before (re)displaying interactive objects. This is a good advice, since combinations of the mentioned commands invoked within an opened local context is not covered by tests.

Howbeit, the interactive context should support this feature. One of the reasons to have it working is that recompute of selection entities might be a time consuming task.

It is proposed to prepare a test case to cover all of the major combinations of the commands:

- Opening a local context with already displayed objects in a neutral context.
- Displaying a new (temporary) object in an opened local context. The object should be erased once the context closes.
- Erasing object from a neutral context without closing a local context.
- Erasing a temporary object (displayed in a local context) without closing the local context.
- Removing an object from a neutral context without closing a local context (it is necessary to check that the object will not be present in context anymore and all of its resources will be released; the object should not appear once the local context is closed).
- Removing temporary object (displayed in local context) without closing the local context.
- Checking various combinations of display command withing a local context:
1) Display, Erase, Display
2) Display, Erase, Remove, Display
3) Display, Remove, Display.
4) ...

All found issues should be investigated and resolved.

===============================================================================

Code of "vdisplayall" command should be revised. It contains suspicious logic of erasing interactive presentations.
TagsNo tags attached.
Test case number

Relationships

related to 0025316 closedbugmaster Open CASCADE Draw viewer commands - display (erase) objects in local selection context 

Activities

kgv

2016-07-30 19:37

developer   ~0056311

Local context has been deprecated, therefore implementing more tests for this functionality is not important.

Issue History

Date Modified Username Field Change
2014-10-06 16:24 apl New Issue
2014-10-06 16:24 apl Assigned To => apl
2014-10-06 16:25 apl Relationship added related to 0025316
2014-10-06 16:29 apl Description Updated
2014-10-08 10:51 apl Description Updated
2014-10-17 10:38 kgv Target Version 6.8.0 => 7.1.0
2016-07-30 19:37 kgv Note Added: 0056311
2016-07-30 19:37 kgv Priority normal => low
2016-07-30 19:37 kgv Resolution open => no change required
2016-09-13 12:48 bugmaster Status new => closed
2016-12-09 16:41 aiv Fixed in Version => 7.1.0