Skip to content

Commit

Permalink
Organized imports because we cannot build the project from Sbt
Browse files Browse the repository at this point in the history
Is it caused by caching of the ScalaIDE? o.O
  • Loading branch information
rlegendi committed Jun 25, 2012
1 parent 2fd9979 commit d985a2b
Showing 1 changed file with 12 additions and 31 deletions.
43 changes: 12 additions & 31 deletions src/main/scala/org/scalatest/specs2/Spec2Runner.scala
@@ -1,41 +1,22 @@
package org.scalatest.specs2 package org.scalatest.specs2


import org.specs2.reporter.NotifierReporter
import org.specs2.reporter.DefaultSelection
import org.scalatest.Distributor import org.scalatest.Distributor
import org.scalatest.Filter import org.specs2.specification.SpecificationStructure
import org.scalatest.Reporter
import org.scalatest.Stopper import org.scalatest.Stopper
import org.scalatest.Style import org.scalatest.Reporter
import org.scalatest.Suite import org.scalatest.Suite
import org.specs2.main.Arguments
import org.scalatest.Style
import org.scalatest.Filter
import org.scalatest.Tracker import org.scalatest.Tracker
import org.scalatest.events.InfoProvided
import org.scalatest.specs2.notifiers.ScalaTestNotifier
import org.specs2.Specs2Bridge._ import org.specs2.Specs2Bridge._
import org.specs2.main.Arguments
import org.specs2.mutable.Specification
import org.specs2.specification.Action
import org.specs2.specification.Example
import org.specs2.specification.SpecificationStructure
import org.specs2.specification.Step
import org.specs2.text.MarkupString
import org.scalatest.Resources import org.scalatest.Resources
import org.specs2.specification.SpecStart import org.scalatest.events.NameInfo
import org.specs2.specification.Text import org.specs2.specification.Fragments
import org.specs2.specification.SpecEnd
import org.specs2.specification.SpecStart
import org.specs2.specification.FragmentExecution
import org.specs2.specification.ExecutedFragment
import org.specs2.specification.ExecutingSpecification
import org.specs2.main.Arguments
import org.specs2.specification.ExecutedResult
import scala.reflect.NameTransformer
import org.specs2.specification.ExecutedResult
import org.specs2.specification.ExecutedFragment
import org.specs2.specification.Fragments._
import org.specs2.runner.{ NotifierRunner, JUnitDescriptionsFragments }
import org.specs2.execute.Details
import org.specs2.reporter.{ NotifierReporter, Notifier, DefaultSelection }
import org.scalatest.events._
import org.specs2.specification.SpecificationStructure
import org.specs2.reflect.Classes
import org.scalatest.specs2.notifiers.ScalaTestNotifier


/** /**
* The central concept in ScalaTest is the suite, a collection of zero to many tests. * The central concept in ScalaTest is the suite, a collection of zero to many tests.
Expand Down Expand Up @@ -102,7 +83,7 @@ class Spec2Runner(specs2Class: Class[_ <: SpecificationStructure]) extends Suite
val selection = new DefaultSelection {} val selection = new DefaultSelection {}


// There are methods in the Fragments object to filter specific fragments, like isAnExample // There are methods in the Fragments object to filter specific fragments, like isAnExample
selection.select(arguments)(spec2).fragments.collect(isAnExample).size selection.select(arguments)(spec2).fragments.collect(Fragments.isAnExample).size
} }


override def run(testName: Option[String], reporter: Reporter, stopper: Stopper, filter: Filter, override def run(testName: Option[String], reporter: Reporter, stopper: Stopper, filter: Filter,
Expand Down

0 comments on commit d985a2b

Please sign in to comment.