23 |
|
|
24 |
needGL() |
needGL() |
25 |
|
|
26 |
from org.nongnu.libvob import * |
from org.nongnu.libvob.vobs import * |
27 |
from java.awt import Color |
from java.awt import Color |
28 |
import java |
import java |
29 |
from org.nongnu.libvob.gl import GL, GLRen, GLCache, PaperMill |
from org.nongnu.libvob.gl import GL, GLRen, GLCache, PaperMill |
33 |
def testPaperAnythingJava(): |
def testPaperAnythingJava(): |
34 |
"""Test that libpaper, when called through |
"""Test that libpaper, when called through |
35 |
the Java API, renders anything. |
the Java API, renders anything. |
|
|
|
|
fail: GL |
|
36 |
""" |
""" |
37 |
vs = getvs() |
vs = getvs() |
38 |
vs.map.put(SolidBackdropVob(Color.black)) |
vs.map.put(SolidBackdropVob(Color.black)) |
75 |
def testOptimizedPaper(): |
def testOptimizedPaper(): |
76 |
"""See that optimized paper really is same as |
"""See that optimized paper really is same as |
77 |
original. |
original. |
|
|
|
|
fail: GL |
|
78 |
""" |
""" |
79 |
for i in range(0,5): |
for i in range(0,5): |
80 |
p1 = PaperMill.getInstance().getPaper(i) |
p1 = PaperMill.getInstance().getPaper(i) |