From 6ba1b9f3c974351e826485ca9c41df732c6de15a Mon Sep 17 00:00:00 2001 From: Micro Dotta Date: Wed, 17 Aug 2011 13:32:25 +0000 Subject: Major rewrite of the testing infrastructure for... Major rewrite of the testing infrastructure for the presentation compiler. Added several new tests that will be part of the nightly build. Once the move to SBT is completed I will look into how to extract the test infrastructure (as it should really not be living in the compiler codebase). Review by dragos --- test/files/presentation/ide-bug-1000469/Runner.scala | 5 +++++ .../presentation/ide-bug-1000469/src/java/JavaEventHandler.java | 3 +++ test/files/presentation/ide-bug-1000469/src/scala/EventHandler.scala | 5 +++++ 3 files changed, 13 insertions(+) create mode 100644 test/files/presentation/ide-bug-1000469/Runner.scala create mode 100644 test/files/presentation/ide-bug-1000469/src/java/JavaEventHandler.java create mode 100644 test/files/presentation/ide-bug-1000469/src/scala/EventHandler.scala (limited to 'test/files/presentation/ide-bug-1000469') diff --git a/test/files/presentation/ide-bug-1000469/Runner.scala b/test/files/presentation/ide-bug-1000469/Runner.scala new file mode 100644 index 0000000000..c53533fddd --- /dev/null +++ b/test/files/presentation/ide-bug-1000469/Runner.scala @@ -0,0 +1,5 @@ +import scala.tools.nsc.interactive.tests._ + +object Test extends InteractiveTest { + override val runRandomTests = false +} diff --git a/test/files/presentation/ide-bug-1000469/src/java/JavaEventHandler.java b/test/files/presentation/ide-bug-1000469/src/java/JavaEventHandler.java new file mode 100644 index 0000000000..010edef79a --- /dev/null +++ b/test/files/presentation/ide-bug-1000469/src/java/JavaEventHandler.java @@ -0,0 +1,3 @@ +package java; + +import scala.EventHandler; \ No newline at end of file diff --git a/test/files/presentation/ide-bug-1000469/src/scala/EventHandler.scala b/test/files/presentation/ide-bug-1000469/src/scala/EventHandler.scala new file mode 100644 index 0000000000..02e836ef0d --- /dev/null +++ b/test/files/presentation/ide-bug-1000469/src/scala/EventHandler.scala @@ -0,0 +1,5 @@ +package scala + +class EventHandler { + @transient private val foo = 2 +} \ No newline at end of file -- cgit v1.2.3