implement some automated testing of direct manipulation code
Categories
(Core :: Panning and Zooming, task, P2)
Tracking
()
People
(Reporter: tnikkel, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: dtz-potentially-shippable)
Right now we don't have any automated testing of the direct manipulation code because it currently requires a human to touch hardware physically to activate. We should add some method of testing it.
Possibilities:
-add DomWindowUtils functions that directly call DManipEventHandler::SendPinch/SendPan. this would miss testing the state machine code that calls these functions
-add DomWindowUtils function that calls OnContentUpdated (we'd need to refactor OnContentUpdated so that it can get the transform is uses as input either from dmanip or from the test function).
-use c++ and gtest. I'm not sure if this would let us test issues like bug 1658001
Reporter | ||
Updated•4 years ago
|
Comment 1•4 years ago
|
||
Potentially able to delay this to post unless we need to fix many incoming direct manipulation bugs.
Updated•4 years ago
|
Updated•3 years ago
|
Description
•