diff options
author | Grzegorz Kossakowski <grzegorz.kossakowski@gmail.com> | 2013-01-29 16:11:58 -0800 |
---|---|---|
committer | Grzegorz Kossakowski <grzegorz.kossakowski@gmail.com> | 2013-01-29 16:11:58 -0800 |
commit | 8610d7ec063407f62b11df848dd588e4594b3b40 (patch) | |
tree | ecb3af9fbcea35be81f1285be47f2e95d19c46d6 /test/scaladoc/run/diagrams-determinism.check | |
parent | eff78b852e8b866badf9b9738f896c2a31c05474 (diff) | |
download | scala-8610d7ec063407f62b11df848dd588e4594b3b40.tar.gz scala-8610d7ec063407f62b11df848dd588e4594b3b40.tar.bz2 scala-8610d7ec063407f62b11df848dd588e4594b3b40.zip |
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.
Diffstat (limited to 'test/scaladoc/run/diagrams-determinism.check')
0 files changed, 0 insertions, 0 deletions