view inkscape/firefox/README @ 1139:a2b068594412

Use pybind with new DOM API (at PYNode). - MBScene.document is a PYDocument instead of PYSPDocument. - MBScene.root is a PYNode isntead of PYSPItem. - getNext() was replaced by next(). - attribute() was replaced by getAttribute(). - getID() was removed, use setAttribute() instead. - MBScene.dom was removed, use MBScene.document.root() instead. - MBScene.nodeToItem was removed, use PYNode.spitem instead.
author Thinker K.F. Li <thinker@codemud.net>
date Wed, 22 Dec 2010 13:27:37 +0800
parents 63aaf96209cd
children
line wrap: on
line source

Installation
=======================================
(1) Install mozplugger
(2) Install twisted & python
(3) Install soappy
(4) Install madbuilder.xpi




How to execute the unit test
======================================

(1) Execute the proxy damon

First of all, we need to execute the MadButterfly helper. This help will start the inkscape and then execute a SOAP proxy to wait for the commands from the web client.

# python helper_mb.py


(2) Use testsoap.py to send command to helper.

# python testsoap.py START
# python testsoap.py SCENE 1
# python testsoap.py PUBLISH