Skip to content

Commit

Permalink
Add ignored test about unimplemented behavior in `AddMissingOverrideT…
Browse files Browse the repository at this point in the history
…est`
  • Loading branch information
kiritsuku committed Sep 2, 2014
1 parent a8cca22 commit 6b8da27
Showing 1 changed file with 22 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
package org.scalaide.extensions.saveactions

import org.scalaide.core.compiler.ScalaPresentationCompiler
import scala.reflect.internal.util.SourceFile

import org.junit.Ignore
import org.junit.Test
import org.scalaide.core.compiler.ScalaPresentationCompiler

object AddMissingOverrideTest extends CompilerSaveActionTests {
override def saveAction(spc: ScalaPresentationCompiler, tree: ScalaPresentationCompiler#Tree, sf: SourceFile, selectionStart: Int, selectionEnd: Int) =
Expand Down Expand Up @@ -173,4 +175,23 @@ class AddMissingOverrideTest {
class C(meth: Int)
class D(override val meth: Int, func: Int) extends T
""" after SaveEvent

@Test @Ignore("Unimplemented. See ticket #1002222")
def add_override_to_symbols_from_self_references() = """^
trait T {
def meth: Int
}
trait TT {
this: T =>
def meth = 0
}
""" becomes """^
trait T {
def meth: Int
}
trait TT {
this: T =>
override def meth = 0
}
""" after SaveEvent
}

0 comments on commit 6b8da27

Please sign in to comment.