-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
78 changed files
with
3,473 additions
and
354 deletions.
There are no files selected for viewing
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
File renamed without changes.
56 changes: 0 additions & 56 deletions
56
src/test/scala/intellij/testfixtures/ScalaLightProjectDescriptor.scala
This file was deleted.
Oops, something went wrong.
123 changes: 0 additions & 123 deletions
123
src/test/scala/intellij/testfixtures/SynteticInjectorsTestUtils.scala
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
src/test/scala/intellij/testfixtures/TestFixtureProvider.scala
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
src/test/scala/org/jetbrains/plugins/scala/annotator/Message.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,18 @@ | ||
package org.jetbrains.plugins.scala.annotator | ||
|
||
import scala.math.Ordered.orderingToOrdered | ||
|
||
sealed abstract class Message extends Ordered[Message] { | ||
def element: String | ||
def message: String | ||
|
||
override def compare(that: Message): Int = | ||
(this.element, this.message) compare (that.element, that.message) | ||
} | ||
|
||
object Message { | ||
case class Info(override val element: String, override val message: String) extends Message | ||
case class Warning(override val element: String, override val message: String) extends Message | ||
case class Error(override val element: String, override val message: String) extends Message | ||
case class Hint(override val element: String, text: String, override val message: String = "", offsetDelta: Int = 0) extends Message | ||
} |
Oops, something went wrong.