28 |
|
|
29 |
import java |
import java |
30 |
|
|
31 |
|
|
32 |
|
del(sys.modules["org"]) |
33 |
|
del sys.modules["org.nongnu"] |
34 |
|
del sys.modules["org.nongnu.libvob"] |
35 |
|
import org.nongnu |
36 |
|
import org.nongnu.libvob |
37 |
|
import org.nongnu.libvob.paper |
38 |
|
import org.nongnu.libvob.paper.papermill |
39 |
|
|
40 |
|
|
41 |
from org import fenfire |
from org import fenfire |
42 |
from org.nongnu import libvob as vob |
from org.nongnu import libvob as vob |
43 |
from org.nongnu import alph |
from org.nongnu import alph |
49 |
|
|
50 |
from org.fenfire.test import gfx |
from org.fenfire.test import gfx |
51 |
|
|
52 |
# gzz.gfx.gl.PageSpanPaper.paperMill = gzz.gfx.gl.PaperMill.getInstance() |
import sys |
53 |
# gzz.gfx.gl.PageSpanPaper.paperMillWindow = win |
del sys.modules["org"] |
54 |
|
# del sys.modules["org.nongnu.libvob.paper"] |
55 |
|
|
56 |
|
import imp |
57 |
|
|
58 |
|
print "libvob: ",org.nongnu.libvob,"\n" |
59 |
|
# org.nongnu.libvob.__path__ = "../libvob/org/nongnu/libvob" |
60 |
|
|
61 |
|
import org.nongnu.libvob.paper |
62 |
|
print "PAPER MOD:'", org, org.nongnu, org.nongnu.libvob, org.nongnu.libvob.paper,"'\n\n" |
63 |
|
import org.nongnu.libvob.paper.papermill |
64 |
|
fenfire.util.PageSpanPaper.paperMill = vob.gl.PaperMill.getInstance() |
65 |
|
fenfire.util.PageSpanPaper.paperMillWindow = fenfire.test.gfx.win |
66 |
|
|
67 |
def setUp(): |
def setUp(): |
68 |
global sc |
global sc |
151 |
|
|
152 |
""" |
""" |
153 |
# XXX Only without libpaper paper |
# XXX Only without libpaper paper |
154 |
# checkPaper(0) |
checkPaper(0) |
155 |
checkPaper(1) |
checkPaper(1) |
156 |
|
|
157 |
|
|