forked from scala-ide/scala-ide
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates continuations option tests for 2.11
In Scala 2.11, the continuation plugin is no more enabled by default when available. Two main changes: - forces enable the continuation plugin when running the tests on Scala 2.11 - modifies the tests to use the project specific preferences, to avoid side effects of the configuration changes needed for the tests.
- Loading branch information
Luc Bourlier
committed
Sep 5, 2013
1 parent
9650153
commit d08420f
Showing
3 changed files
with
65 additions
and
12 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
org.scala-ide.sdt.core.tests/src/scala/tools/eclipse/TestUtil.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package scala.tools.eclipse | ||
|
||
import org.osgi.framework.Version | ||
|
||
object TestUtil { | ||
|
||
def installedScalaVersionGreaterOrEqualsTo(version: Version): Boolean = { | ||
ScalaPlugin.plugin.scalaLibBundle.getVersion().compareTo(version) >= 0 | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters