From 8610d7ec063407f62b11df848dd588e4594b3b40 Mon Sep 17 00:00:00 2001 From: Grzegorz Kossakowski Date: Tue, 29 Jan 2013 16:11:58 -0800 Subject: Add Bytecode test (ASM-based) to partest. This commit introduces a new kind of test `Bytecode` that allows one to inspect bytecode generated for given piece of Scala code. The bytecode inspection is achieved by inspection of ASM trees. See the included example for details. NOTE: This commit does not introduce a new category of pratest tests. Bytecode tests should be run in `jvm` category of partest tests. Specific list of changes: * Add BytecodeTest that contains common utilities to partest * Add asm to classpath when compiling partest. That's not a new dependency as it's being already done for javac task we were running while compiling partest. * Add an example test that shows how to count null checks in given method. --- build.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'build.xml') diff --git a/build.xml b/build.xml index 113923db6b..af577afbaa 100644 --- a/build.xml +++ b/build.xml @@ -1377,6 +1377,7 @@ QUICK BUILD (QUICK) + -- cgit v1.2.3