Exemple #1
0
def test_get_static_bad_args():
    jcoder("WrongStaticDemo.jcod")
    with raises(Failed):
        java("WrongStaticDemo")
Exemple #2
0
def test_big_const_pool(all_java_targets):
    javac('TestBigConstantPool.java', 'Bulk.java')
    java('getstatic.TestBigConstantPool')
Exemple #3
0
def test_jasm_demo():
    jasm("Demo.jasm")
    java("Demo")
Exemple #4
0
def test_init_exception(all_java_targets):
    javac('TestExceptionInInit.java')
    java('getstatic.TestExceptionInInit')
Exemple #5
0
def test_getstatic_interface():
    Env['source'] = '1.8'
    javac('TestInterface.java')
    java('getstatic.TestInterface')
Exemple #6
0
def test_sanity(all_java_targets):
    javac('TestSanity.java')
    java('getstatic.TestSanity')
Exemple #7
0
def test_ddiv_nan(all_java_targets):
    javac('TestNaN.java', 'Ddiv.java')
    java('ddiv.TestNaN')
Exemple #8
0
def test_ddiv_zero(all_java_targets):
    javac('TestZero.java', 'Ddiv.java')
    java('ddiv.TestZero')
Exemple #9
0
def test_ddiv_boundaries(all_java_targets):
    javac('TestBoundaries.java', 'Ddiv.java')
    java('ddiv.TestBoundaries')
Exemple #10
0
def test_ddiv_sanity(all_java_targets):
    javac('TestSanity.java', 'Ddiv.java')
    java('ddiv.TestSanity')