def java_test(name, srcs, deps=[], resources=[], source_encoding=None, warnings=None, main_class='org.junit.runner.JUnitCore', exclusions=[], testdata=[], target_under_test='', **kwargs):
 target = JavaTest(name, srcs, deps, resources, source_encoding, warnings, main_class, exclusions, testdata, target_under_test, kwargs)
 blade.blade.register_target(target)

def java_test ( name , srcs , deps = [ ] , resources = [ ] , source_encoding = None , warnings = None , main_class = 'org.junit.runner.JUnitCore' , exclusions = [ ] , testdata = [ ] , target_under_test = '' , ** kwargs ) : target = JavaTest ( name , srcs , deps , resources , source_encoding , warnings , main_class , exclusions , testdata , target_under_test , kwargs ) blade . blade . register_target ( target )
define java_test target .