exceptions in scala confuse test framework

Bug #479432 reported by Bart Schuller on 2009-11-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
play framework
Fix Committed
Undecided
Bart Schuller
1.1
Fix Committed
Undecided
Unassigned

Bug Description

I've noticed tests of scala code would show empty output. I suspected eaten exceptions and that turned out to be correct. The TestEngine choked on applicationClass.javaSource being null, as it is when the class is scala code. I've added the line

    applicationClass.javaSource = applicationClass.javaFile.contentAsString

to the ScalaPlugin, which I'll push to my branch in a few hours, together with more Scala progress. This fixes the issue and shows Scala source code for failing tests.

Related branches

Changed in play:
assignee: nobody → Bart Schuller (schuller-lunatech)
status: New → In Progress

Now available in 1.1 as of r664

Changed in play:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers