Skip to content

Commit

Permalink
Scala fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakhellesoy committed Jan 2, 2012
1 parent fab44ff commit 65cbace
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 4 deletions.
18 changes: 18 additions & 0 deletions cucumber-jvm.ipr
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,16 @@
<component name="EntryPointsManager">
<entry_points version="2.0" />
</component>
<component name="FacetAutodetectingManager">
<autodetection-disabled>
<facet-type id="scala">
<modules>
<module name="cucumber-scala" />
<module name="scala-calculator" />
</modules>
</facet-type>
</autodetection-disabled>
</component>
<component name="InspectionProjectProfileManager">
<profiles>
<profile version="1.0" is_locked="false">
Expand Down Expand Up @@ -1416,6 +1426,14 @@
<root url="jar://$MAVEN_REPOSITORY$/org/quartz-scheduler/quartz/1.8.5/quartz-1.8.5-sources.jar!/" />
</SOURCES>
</library>
<library name="Maven: org.scala-lang:scala-compiler-bundle:2.9.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/scala-lang/scala-compiler/2.9.1/scala-compiler-2.9.1.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/scala-lang/scala-library/2.9.1/scala-library-2.9.1.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
<library name="Maven: org.scala-lang:scala-compiler:2.9.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/scala-lang/scala-compiler/2.9.1/scala-compiler-2.9.1.jar!/" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ import cucumber.junit.{Feature, Cucumber}

@RunWith(classOf[Cucumber])
@Feature("basic_arithmetic.feature")
class BasicArithmeticTest
class RunCukesTest
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
import org.junit.runner.RunWith;

@RunWith(Cucumber.class)
public class RunCukes {
public class RunCukesTest {
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
import org.junit.runner.RunWith;

@RunWith(Cucumber.class)
public class RunCukes {
public class RunCukesTest {
}
3 changes: 2 additions & 1 deletion scala/src/main/scala/cucumber/runtime/ScalaBackend.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ package runtime
import _root_.java.util.{List => JList}

import gherkin.formatter.model.Step
import io.ResourceLoader
import io.ClasspathResourceLoader

import scala.collection.JavaConversions._

class ScalaBackend() extends Backend {
class ScalaBackend(ignore:ResourceLoader) extends Backend {

private var instances:Seq[ScalaDsl] = Nil

Expand Down

0 comments on commit 65cbace

Please sign in to comment.