view inkscape/firefox/README @ 556:c9d23f7279a4 Android_Skia

The first testcase that nodejs code can show a MadButterfly window. This testcase call MadButterfly from Javascript with nodejs framework. The testcase show a MadButterfly window in X.
author Thinker K.F. Li <thinker@branda.to>
date Sun, 06 Jun 2010 19:13:21 +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