summaryrefslogtreecommitdiff
path: root/test/files/specialized
diff options
context:
space:
mode:
authorAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2011-01-17 15:18:03 +0000
committerAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2011-01-17 15:18:03 +0000
commitbe2778d50f1a73a941c6ffe6355f0ed401d6d8eb (patch)
tree54cd12023d74a8e172b68106911036c7e32a2321 /test/files/specialized
parentcf820b8907e60214df974a3b2a88ca0a7e877298 (diff)
downloadscala-be2778d50f1a73a941c6ffe6355f0ed401d6d8eb.tar.gz
scala-be2778d50f1a73a941c6ffe6355f0ed401d6d8eb.tar.bz2
scala-be2778d50f1a73a941c6ffe6355f0ed401d6d8eb.zip
Added 'specialized' tests.
Added a new test group - specialized. Modified partest to add a jar with instrumented classes to classpath when compiling and running tests. Added a primary version of the instrumented BoxesRuntime, and a script to produce a jar for it. Added the 'speclib' folder to partest files, which contains the jar with the instrumented classes. Review by dragos.
Diffstat (limited to 'test/files/specialized')
-rw-r--r--test/files/specialized/test.scala10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/specialized/test.scala b/test/files/specialized/test.scala
new file mode 100644
index 0000000000..54ef28d68a
--- /dev/null
+++ b/test/files/specialized/test.scala
@@ -0,0 +1,10 @@
+
+
+
+object Test {
+
+ def main(args: Array[String]) {
+ assert(runtime.BoxesRunTime.booleanBoxCount == 0)
+ }
+
+}