Making sure ScalaPlugin.plugin isn't null in test

6 views
Skip to first unread message

Mads Hartmann Jensen

unread,
May 13, 2013, 4:44:26 PM5/13/13
to scala-...@googlegroups.com
Hi,

I had some spare time and didn't won't to work on anything too serious so had a look at #1000058 as it has been
keeping me away from using templates.

There doesn't seem to be any tests for the component so I want to add some. The component uses ScalaPlugin.plugin
so it needs it to be instantiated. I can't remember what trait I have to mix into my test to make sure that is the case. Any pointers?

Thanks,
Mads

Mads Hartmann Jensen

unread,
May 13, 2013, 6:15:08 PM5/13/13
to scala-...@googlegroups.com
Oops, seems I forgot to run the test as a "JUnit Plugin-in Test with Equinox Weaving" test :)

Seems to work now.

/Mads
Reply all
Reply to author
Forward
0 new messages