Open Bug 1658522 Opened 2 years ago Updated 2 years ago

implement some automated testing of direct manipulation code

Categories

(Core :: Panning and Zooming, task, P2)

task

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

Summary: implement some testing of direct manipulation code → implement some automated testing of direct manipulation code

Potentially able to delay this to post unless we need to fix many incoming direct manipulation bugs.

Whiteboard: dtz-potentially-shippable
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.