<s> from unittest import expectedFailure <EOL> from . . utils import TranspileTestCase <EOL> class JavaTests ( TranspileTestCase ) : <EOL> def test_multiple_constructors ( self ) : <EOL> "<STR_LIT>" <EOL> self . assertJavaExecution ( <EOL> """<STR_LIT>""" , <EOL> """<STR_LIT>""" , run_in_function = False ) <EOL> def test_most_specific_constructor ( self ) : <EOL> "<STR_LIT>" <EOL> self . assertJavaExecution ( <EOL> """<STR_LIT>""" , <EOL> java = { <EOL> '<STR_LIT>' : """<STR_LIT>""" <EOL> } , <EOL> out = """<STR_LIT>""" , run_in_function = False ) <EOL> def test_field ( self ) : <EOL> "<STR_LIT>" <EOL> self . assertJavaExecution ( """<STR_LIT>""" , <EOL> java = { <EOL> '<STR_LIT>' : """<STR_LIT>""" <EOL> } , <EOL> out = """<STR_LIT>""" ) <EOL> def test_static_field ( self ) : <EOL> "<STR_LIT>" <EOL> self . assertJavaExecution ( """<STR_LIT>""" , <EOL> java = { <EOL> '<STR_LIT>' : """<STR_LIT>""" <EOL> } , <EOL> out = """<STR_LIT>""" ) <EOL> def test_superclass_field ( self ) : <EOL> "<STR_LIT>" <EOL> self . assertJavaExecution ( """<STR_LIT>""" , <EOL> java = { <EOL> '<STR_LIT>' : """<STR_LIT>""" , <EOL> '<STR_LIT>' : """<STR_LIT>""" <EOL> } , <EOL> out = """<STR_LIT>""" ) <EOL> def test_superclass_static_field ( self ) : <EOL> "<STR_LIT>" <EOL> self . assertJavaExecution ( """<STR_LIT>""" , <EOL> java = { <EOL> '<STR_LIT>' : """<STR_LIT>""" , <EOL> '<STR_LIT>' : """<STR_LIT>""" <EOL> } , <EOL> out = """<STR_LIT>""" ) <EOL> def test_constant ( self ) : <EOL> "<STR_LIT>" <EOL> self . assertJavaExecution ( """<STR_LIT>""" , <EOL> java = { <EOL> '<STR_LIT>' : """<STR_LIT>""" <EOL> } , <EOL> out = """<STR_LIT>""" ) <EOL> def test_static_constant ( self ) : <EOL> "<STR_LIT>" <EOL> self . assertJavaExecution ( """<STR_LIT>""" , <EOL> java = { <EOL> '<STR_LIT>' : """<STR_LIT>""" <EOL> } , <EOL> out = """<STR_LIT>""" ) <EOL> def test_method ( self ) : <EOL> "<STR_LIT>" <EOL> self . assertJavaExecution ( """<STR_LIT>""" , <EOL> java = { <EOL> '<STR_LIT>' : """<STR_LIT>""" <EOL> } , <EOL> out = """<STR_LIT>""" ) <EOL> def test_static_method ( self ) : <EOL> "<STR_LIT>" <EOL> self . assertJavaExecution ( """<STR_LIT>""" , <EOL> java = { <EOL> '<STR_LIT>' : """<STR_LIT>""" <EOL> } , <EOL> out = """<STR_LIT>""" ) <EOL> def test_superclass_method ( self ) : <EOL> "<STR_LIT>" <EOL> self . assertJavaExecution ( """<STR_LIT>""" , <EOL> java = { <EOL> '<STR_LIT>' : """<STR_LIT>""" , <EOL> '<STR_LIT>' : """<STR_LIT>""" <EOL> } , <EOL> out = """<STR_LIT>""" ) <EOL> def test_superclass_static_method ( self ) : <EOL> "<STR_LIT>" <EOL> self . assertJavaExecution ( """<STR_LIT>""" , <EOL> java = { <EOL> '<STR_LIT>' : """<STR_LIT>""" , <EOL> '<STR_LIT>' : """<STR_LIT>""" <EOL> } , <EOL> out = """<STR_LIT>""" ) <EOL> def test_inner_class_constant ( self ) : <EOL> "<STR_LIT>" <EOL> self . assertJavaExecution ( """<STR_LIT>""" , <EOL> java = { <EOL> '<STR_LIT>' : """<STR_LIT>""" <EOL> } , <EOL> out = """<STR_LIT>""" ) <EOL> def test_inner_class_method ( self ) : <EOL> "<STR_LIT>" <EOL> self . assertJavaExecution ( """<STR_LIT>""" , <EOL> java = { <EOL> '<STR_LIT>' : """<STR_LIT>""" <EOL> } , <EOL> out = """<STR_LIT>""" ) <EOL> def test_static_inner_class_constant ( self ) : <EOL> "<STR_LIT>" <EOL> self . assertJavaExecution ( """<STR_LIT>""" , <EOL> java = { <EOL> '<STR_LIT>' : """<STR_LIT>""" <EOL> } , <EOL> out = """<STR_LIT>""" ) <EOL> def test_static_inner_class_method ( self ) : <EOL> "<STR_LIT>" <EOL> self . assertJavaExecution ( """<STR_LIT>""" , <EOL> java = { <EOL> '<STR_LIT>' : """<STR_LIT>""" <EOL> } , <EOL> out = """<STR_LIT>""" ) </s>
