Created
January 16, 2014 02:47
-
-
Save adriaanm/8449000 to your computer and use it in GitHub Desktop.
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
Testsuite: scala.reflect.internal.PrintersTest | |
Tests run: 176, Failures: 72, Errors: 0, Time elapsed: 3.595 sec | |
Testcase: testClass took 2.262 sec | |
Testcase: testPackage1 took 0.012 sec | |
FAILED | |
using toolbox parser expected:<package foo.bar {[ | |
] | |
}> but was:<package foo.bar {[ | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<package foo.bar {[ | |
] | |
}> but was:<package foo.bar {[ | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.PackagePrintTests$class.testPackage1(PrintersTest.scala:727) | |
at scala.reflect.internal.PrintersTest.testPackage1(PrintersTest.scala:12) | |
Testcase: testPackage2 took 0.005 sec | |
FAILED | |
using toolbox parser expected:<package foo {[ | |
class C | |
object D] | |
}> but was:<package foo {[ | |
class C | |
object D | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<package foo {[ | |
class C | |
object D] | |
}> but was:<package foo {[ | |
class C | |
object D | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.PackagePrintTests$class.testPackage2(PrintersTest.scala:732) | |
at scala.reflect.internal.PrintersTest.testPackage2(PrintersTest.scala:12) | |
Testcase: testPackage3 took 0.009 sec | |
FAILED | |
using toolbox parser expected:<package foo {[ | |
object `package` extends a with b] | |
}> but was:<package foo {[ | |
object `package` extends a with b | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<package foo {[ | |
object `package` extends a with b] | |
}> but was:<package foo {[ | |
object `package` extends a with b | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.PackagePrintTests$class.testPackage3(PrintersTest.scala:740) | |
at scala.reflect.internal.PrintersTest.testPackage3(PrintersTest.scala:12) | |
Testcase: testPackage4 took 0.029 sec | |
FAILED | |
using toolbox parser expected:<package foo {[ | |
object `package` { | |
def foo: scala.Unit; | |
val x = 1 | |
}] | |
}> but was:<package foo {[ | |
object `package` { | |
def foo: scala.Unit; | |
val x = 1 | |
} | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<package foo {[ | |
object `package` { | |
def foo: scala.Unit; | |
val x = 1 | |
}] | |
}> but was:<package foo {[ | |
object `package` { | |
def foo: scala.Unit; | |
val x = 1 | |
} | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.PackagePrintTests$class.testPackage4(PrintersTest.scala:746) | |
at scala.reflect.internal.PrintersTest.testPackage4(PrintersTest.scala:12) | |
Testcase: testPackage5 took 0.007 sec | |
FAILED | |
using toolbox parser expected:<package foo {[ | |
object `package` extends { | |
val x = 1; | |
type I = Int | |
} with Any] | |
}> but was:<package foo {[ | |
object `package` extends { | |
val x = 1; | |
type I = Int | |
} with Any | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<package foo {[ | |
object `package` extends { | |
val x = 1; | |
type I = Int | |
} with Any] | |
}> but was:<package foo {[ | |
object `package` extends { | |
val x = 1; | |
type I = Int | |
} with Any | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.PackagePrintTests$class.testPackage5(PrintersTest.scala:755) | |
at scala.reflect.internal.PrintersTest.testPackage5(PrintersTest.scala:12) | |
Testcase: testQuasiIdent took 0.003 sec | |
Testcase: testQuasiVal took 0.002 sec | |
Testcase: testQuasiDef took 0.003 sec | |
Testcase: testQuasiTrait took 0.005 sec | |
Testcase: testQuasiClass took 0.004 sec | |
Testcase: testQuasiClassWithPublicParams took 0.007 sec | |
Testcase: testQuasiClassWithParams took 0.002 sec | |
Testcase: testQuasiObject took 0.002 sec | |
Testcase: testQuasiObjectWithBody took 0.003 sec | |
FAILED | |
using quasiquote or given tree | |
expected:<object X {[ | |
def y = "test"] | |
}> but was:<object X {[ | |
def y = "test" | |
] | |
}> | |
junit.framework.AssertionFailedError: using quasiquote or given tree | |
expected:<object X {[ | |
def y = "test"] | |
}> but was:<object X {[ | |
def y = "test" | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:28) | |
at scala.reflect.internal.QuasiTreesPrintTests$class.testQuasiObjectWithBody(PrintersTest.scala:781) | |
at scala.reflect.internal.PrintersTest.testQuasiObjectWithBody(PrintersTest.scala:12) | |
Testcase: testQuasiClassWithBody took 0.003 sec | |
FAILED | |
using quasiquote or given tree | |
expected:<class X {[ | |
def y = "test"] | |
}> but was:<class X {[ | |
def y = "test" | |
] | |
}> | |
junit.framework.AssertionFailedError: using quasiquote or given tree | |
expected:<class X {[ | |
def y = "test"] | |
}> but was:<class X {[ | |
def y = "test" | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:28) | |
at scala.reflect.internal.QuasiTreesPrintTests$class.testQuasiClassWithBody(PrintersTest.scala:786) | |
at scala.reflect.internal.PrintersTest.testQuasiClassWithBody(PrintersTest.scala:12) | |
Testcase: testQuasiTraitWithBody took 0.005 sec | |
FAILED | |
using quasiquote or given tree | |
expected:<trait X {[ | |
def y = "test"] | |
}> but was:<trait X {[ | |
def y = "test" | |
] | |
}> | |
junit.framework.AssertionFailedError: using quasiquote or given tree | |
expected:<trait X {[ | |
def y = "test"] | |
}> but was:<trait X {[ | |
def y = "test" | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:28) | |
at scala.reflect.internal.QuasiTreesPrintTests$class.testQuasiTraitWithBody(PrintersTest.scala:791) | |
at scala.reflect.internal.PrintersTest.testQuasiTraitWithBody(PrintersTest.scala:12) | |
Testcase: testQuasiTraitWithSelfTypeAndBody took 0.006 sec | |
FAILED | |
using quasiquote or given tree | |
expected:<...t X { self: Order =>[ | |
def y = "test"] | |
}> but was:<...t X { self: Order =>[ | |
def y = "test" | |
] | |
}> | |
junit.framework.AssertionFailedError: using quasiquote or given tree | |
expected:<...t X { self: Order =>[ | |
def y = "test"] | |
}> but was:<...t X { self: Order =>[ | |
def y = "test" | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:28) | |
at scala.reflect.internal.QuasiTreesPrintTests$class.testQuasiTraitWithSelfTypeAndBody(PrintersTest.scala:796) | |
at scala.reflect.internal.PrintersTest.testQuasiTraitWithSelfTypeAndBody(PrintersTest.scala:12) | |
Testcase: testQuasiTraitWithSelf took 0.003 sec | |
FAILED | |
using quasiquote or given tree | |
expected:<trait X { self =>[ | |
def y = "test"] | |
}> but was:<trait X { self =>[ | |
def y = "test" | |
] | |
}> | |
junit.framework.AssertionFailedError: using quasiquote or given tree | |
expected:<trait X { self =>[ | |
def y = "test"] | |
}> but was:<trait X { self =>[ | |
def y = "test" | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:28) | |
at scala.reflect.internal.QuasiTreesPrintTests$class.testQuasiTraitWithSelf(PrintersTest.scala:801) | |
at scala.reflect.internal.PrintersTest.testQuasiTraitWithSelf(PrintersTest.scala:12) | |
Testcase: testQuasiCaseClassWithBody took 0.005 sec | |
FAILED | |
using quasiquote or given tree | |
expected:<case class X() {[ | |
def y = "test"] | |
}> but was:<case class X() {[ | |
def y = "test" | |
] | |
}> | |
junit.framework.AssertionFailedError: using quasiquote or given tree | |
expected:<case class X() {[ | |
def y = "test"] | |
}> but was:<case class X() {[ | |
def y = "test" | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:28) | |
at scala.reflect.internal.QuasiTreesPrintTests$class.testQuasiCaseClassWithBody(PrintersTest.scala:806) | |
at scala.reflect.internal.PrintersTest.testQuasiCaseClassWithBody(PrintersTest.scala:12) | |
Testcase: testQuasiCaseClassWithParamsAndBody took 0.006 sec | |
FAILED | |
using quasiquote or given tree | |
expected:<...x: Int, s: String) {[ | |
def y = "test"] | |
}> but was:<...x: Int, s: String) {[ | |
def y = "test" | |
] | |
}> | |
junit.framework.AssertionFailedError: using quasiquote or given tree | |
expected:<...x: Int, s: String) {[ | |
def y = "test"] | |
}> but was:<...x: Int, s: String) {[ | |
def y = "test" | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:28) | |
at scala.reflect.internal.QuasiTreesPrintTests$class.testQuasiCaseClassWithParamsAndBody(PrintersTest.scala:811) | |
at scala.reflect.internal.PrintersTest.testQuasiCaseClassWithParamsAndBody(PrintersTest.scala:12) | |
Testcase: testVal1 took 0.001 sec | |
Testcase: testVal2 took 0 sec | |
Testcase: testVal3 took 0.001 sec | |
Testcase: testDef1 took 0.002 sec | |
Testcase: testDef2 took 0.001 sec | |
Testcase: testDef3 took 0.005 sec | |
Testcase: testDef4 took 0.001 sec | |
Testcase: testDef5 took 0.002 sec | |
Testcase: testDef6 took 0.003 sec | |
Testcase: testDef7 took 0.005 sec | |
FAILED | |
using quasiquote or given tree | |
expected:<{[ | |
def test1 = (); | |
def test2() = ()] | |
}> but was:<{[ | |
def test1 = (); | |
def test2() = () | |
] | |
}> | |
junit.framework.AssertionFailedError: using quasiquote or given tree | |
expected:<{[ | |
def test1 = (); | |
def test2() = ()] | |
}> but was:<{[ | |
def test1 = (); | |
def test2() = () | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:28) | |
at scala.reflect.internal.ValAndDefPrintTests$class.testDef7(PrintersTest.scala:656) | |
at scala.reflect.internal.PrintersTest.testDef7(PrintersTest.scala:12) | |
Testcase: testDef8 took 0.014 sec | |
Testcase: testDefWithParams1 took 0.001 sec | |
Testcase: testDefWithParams2 took 0.001 sec | |
Testcase: testDefWithTypeParams1 took 0.003 sec | |
Testcase: testDefWithTypeParams2 took 0.004 sec | |
Testcase: testDefWithAnn1 took 0.003 sec | |
Testcase: testDefWithAnn2 took 0.002 sec | |
Testcase: testDefWithAnn3 took 0.002 sec | |
Testcase: testDefWithAnn4 took 0.003 sec | |
Testcase: testDefWithAnn5 took 0.004 sec | |
Testcase: testDefWithAnn6 took 0.003 sec | |
Testcase: testDefWithAnn7 took 0.004 sec | |
Testcase: testDefWithAnn8 took 0.006 sec | |
Testcase: testAnnotated1 took 0.004 sec | |
Testcase: testAnnotated2 took 0.003 sec | |
Testcase: testAnnotated3 took 0.004 sec | |
Testcase: testAnnotated4 took 0.004 sec | |
Testcase: testAnnotated5 took 0.004 sec | |
Testcase: testAnnotated6 took 0.002 sec | |
Testcase: testAnnotated7 took 0.011 sec | |
FAILED | |
using toolbox parser expected:<... @unchecked) match {[ | |
case ((_): Int) => true | |
case _ => false] | |
}> but was:<... @unchecked) match {[ | |
case ((_): Int) => true | |
case _ => false | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<... @unchecked) match {[ | |
case ((_): Int) => true | |
case _ => false] | |
}> but was:<... @unchecked) match {[ | |
case ((_): Int) => true | |
case _ => false | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ValAndDefPrintTests$class.testAnnotated7(PrintersTest.scala:714) | |
at scala.reflect.internal.PrintersTest.testAnnotated7(PrintersTest.scala:12) | |
Testcase: testAnnotated8 took 0.004 sec | |
FAILED | |
using toolbox parser expected:<...ing")(3.14)) match {[ | |
case _ => true] | |
}> but was:<...ing")(3.14)) match {[ | |
case _ => true | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<...ing")(3.14)) match {[ | |
case _ => true] | |
}> but was:<...ing")(3.14)) match {[ | |
case _ => true | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ValAndDefPrintTests$class.testAnnotated8(PrintersTest.scala:720) | |
at scala.reflect.internal.PrintersTest.testAnnotated8(PrintersTest.scala:12) | |
Testcase: testTrait took 0.001 sec | |
Testcase: testTraitWithBody took 0.001 sec | |
FAILED | |
using toolbox parser expected:<trait X {[ | |
def y = "test"] | |
}> but was:<trait X {[ | |
def y = "test" | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<trait X {[ | |
def y = "test"] | |
}> but was:<trait X {[ | |
def y = "test" | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.TraitPrintTests$class.testTraitWithBody(PrintersTest.scala:525) | |
at scala.reflect.internal.PrintersTest.testTraitWithBody(PrintersTest.scala:12) | |
Testcase: testTraitWithSelfTypeAndBody took 0.003 sec | |
FAILED | |
using toolbox parser expected:<...t X { self: Order =>[ | |
def y = "test"] | |
}> but was:<...t X { self: Order =>[ | |
def y = "test" | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<...t X { self: Order =>[ | |
def y = "test"] | |
}> but was:<...t X { self: Order =>[ | |
def y = "test" | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.TraitPrintTests$class.testTraitWithSelfTypeAndBody(PrintersTest.scala:530) | |
at scala.reflect.internal.PrintersTest.testTraitWithSelfTypeAndBody(PrintersTest.scala:12) | |
Testcase: testTraitWithSelf1 took 0.004 sec | |
FAILED | |
using toolbox parser expected:<trait X { self =>[ | |
def y = "test"] | |
}> but was:<trait X { self =>[ | |
def y = "test" | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<trait X { self =>[ | |
def y = "test"] | |
}> but was:<trait X { self =>[ | |
def y = "test" | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.TraitPrintTests$class.testTraitWithSelf1(PrintersTest.scala:535) | |
at scala.reflect.internal.PrintersTest.testTraitWithSelf1(PrintersTest.scala:12) | |
Testcase: testTraitWithSelf2 took 0.005 sec | |
FAILED | |
using toolbox parser expected:<...elf: Foo with Bar =>[ | |
val x: Int = 1] | |
}> but was:<...elf: Foo with Bar =>[ | |
val x: Int = 1 | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<...elf: Foo with Bar =>[ | |
val x: Int = 1] | |
}> but was:<...elf: Foo with Bar =>[ | |
val x: Int = 1 | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.TraitPrintTests$class.testTraitWithSelf2(PrintersTest.scala:540) | |
at scala.reflect.internal.PrintersTest.testTraitWithSelf2(PrintersTest.scala:12) | |
Testcase: testTraitTypeParams took 0.003 sec | |
Testcase: testTraitWithBody2 took 0.003 sec | |
FAILED | |
using toolbox parser expected:<trait X {[ | |
def foo: scala.Unit; | |
val bar: Baz] | |
}> but was:<trait X {[ | |
def foo: scala.Unit; | |
val bar: Baz | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<trait X {[ | |
def foo: scala.Unit; | |
val bar: Baz] | |
}> but was:<trait X {[ | |
def foo: scala.Unit; | |
val bar: Baz | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.TraitPrintTests$class.testTraitWithBody2(PrintersTest.scala:547) | |
at scala.reflect.internal.PrintersTest.testTraitWithBody2(PrintersTest.scala:12) | |
Testcase: testTraitWithInh took 0.001 sec | |
Testcase: testTraitWithEarly1 took 0.001 sec | |
FAILED | |
using toolbox parser expected:<trait X extends {[ | |
val x: Int = 1] | |
} with Any> but was:<trait X extends {[ | |
val x: Int = 1 | |
] | |
} with Any> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<trait X extends {[ | |
val x: Int = 1] | |
} with Any> but was:<trait X extends {[ | |
val x: Int = 1 | |
] | |
} with Any> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.TraitPrintTests$class.testTraitWithEarly1(PrintersTest.scala:555) | |
at scala.reflect.internal.PrintersTest.testTraitWithEarly1(PrintersTest.scala:12) | |
Testcase: testTraitWithEarly2 took 0.004 sec | |
FAILED | |
using toolbox parser expected:<trait X extends {[ | |
val x: Int = 0; | |
type Foo = Bar] | |
} with Y> but was:<trait X extends {[ | |
val x: Int = 0; | |
type Foo = Bar | |
] | |
} with Y> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<trait X extends {[ | |
val x: Int = 0; | |
type Foo = Bar] | |
} with Y> but was:<trait X extends {[ | |
val x: Int = 0; | |
type Foo = Bar | |
] | |
} with Y> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.TraitPrintTests$class.testTraitWithEarly2(PrintersTest.scala:560) | |
at scala.reflect.internal.PrintersTest.testTraitWithEarly2(PrintersTest.scala:12) | |
Testcase: testTraitWithEarly3 took 0.005 sec | |
FAILED | |
using toolbox parser expected:<trait X extends {[ | |
val x: Int = 5; | |
val y: Double = 4.0; | |
type Foo; | |
type XString = String] | |
} with Y> but was:<trait X extends {[ | |
val x: Int = 5; | |
val y: Double = 4.0; | |
type Foo; | |
type XString = String | |
] | |
} with Y> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<trait X extends {[ | |
val x: Int = 5; | |
val y: Double = 4.0; | |
type Foo; | |
type XString = String] | |
} with Y> but was:<trait X extends {[ | |
val x: Int = 5; | |
val y: Double = 4.0; | |
type Foo; | |
type XString = String | |
] | |
} with Y> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.TraitPrintTests$class.testTraitWithEarly3(PrintersTest.scala:566) | |
at scala.reflect.internal.PrintersTest.testTraitWithEarly3(PrintersTest.scala:12) | |
Testcase: testTraitWithEarly4 took 0.007 sec | |
FAILED | |
using toolbox parser expected:<trait X extends {[ | |
val x: Int = 5; | |
val y: Double = 4.0; | |
type Foo; | |
type XString = String | |
} with Y { | |
val z = 7] | |
}> but was:<trait X extends {[ | |
val x: Int = 5; | |
val y: Double = 4.0; | |
type Foo; | |
type XString = String | |
} with Y { | |
val z = 7 | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<trait X extends {[ | |
val x: Int = 5; | |
val y: Double = 4.0; | |
type Foo; | |
type XString = String | |
} with Y { | |
val z = 7] | |
}> but was:<trait X extends {[ | |
val x: Int = 5; | |
val y: Double = 4.0; | |
type Foo; | |
type XString = String | |
} with Y { | |
val z = 7 | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.TraitPrintTests$class.testTraitWithEarly4(PrintersTest.scala:574) | |
at scala.reflect.internal.PrintersTest.testTraitWithEarly4(PrintersTest.scala:12) | |
Testcase: testTraitWithEarly5 took 0.007 sec | |
FAILED | |
using toolbox parser expected:<trait X extends {[ | |
override protected[this] val x: Int = 5; | |
val y: Double = 4.0; | |
private type Foo; | |
private[ee] type XString = String | |
} with Y { | |
val z = 7] | |
}> but was:<trait X extends {[ | |
override protected[this] val x: Int = 5; | |
val y: Double = 4.0; | |
private type Foo; | |
private[ee] type XString = String | |
} with Y { | |
val z = 7 | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<trait X extends {[ | |
override protected[this] val x: Int = 5; | |
val y: Double = 4.0; | |
private type Foo; | |
private[ee] type XString = String | |
} with Y { | |
val z = 7] | |
}> but was:<trait X extends {[ | |
override protected[this] val x: Int = 5; | |
val y: Double = 4.0; | |
private type Foo; | |
private[ee] type XString = String | |
} with Y { | |
val z = 7 | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.TraitPrintTests$class.testTraitWithEarly5(PrintersTest.scala:584) | |
at scala.reflect.internal.PrintersTest.testTraitWithEarly5(PrintersTest.scala:12) | |
Testcase: testTraitWithSingletonTypeTree took 0.005 sec | |
FAILED | |
using toolbox parser expected:<trait Test {[ | |
def testReturnSingleton(): this.type] | |
}> but was:<trait Test {[ | |
def testReturnSingleton(): this.type | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<trait Test {[ | |
def testReturnSingleton(): this.type] | |
}> but was:<trait Test {[ | |
def testReturnSingleton(): this.type | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.TraitPrintTests$class.testTraitWithSingletonTypeTree(PrintersTest.scala:594) | |
at scala.reflect.internal.PrintersTest.testTraitWithSingletonTypeTree(PrintersTest.scala:12) | |
Testcase: testTraitWithThis took 0.008 sec | |
FAILED | |
using quasiquote or given tree | |
expected:<...st { _ : X with Y =>[ | |
] | |
}> but was:<...st { _ : X with Y =>[ | |
] | |
}> | |
junit.framework.AssertionFailedError: using quasiquote or given tree | |
expected:<...st { _ : X with Y =>[ | |
] | |
}> but was:<...st { _ : X with Y =>[ | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:28) | |
at scala.reflect.internal.TraitPrintTests$class.testTraitWithThis(PrintersTest.scala:599) | |
at scala.reflect.internal.PrintersTest.testTraitWithThis(PrintersTest.scala:12) | |
Testcase: testTraitWithWhile1 took 0.007 sec | |
FAILED | |
using toolbox parser expected:<trait Test {[ | |
while (true.!=(false)) | |
println("testing...") | |
] | |
}> but was:<trait Test {[ | |
while (true.!=(false)) | |
println("testing...") | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<trait Test {[ | |
while (true.!=(false)) | |
println("testing...") | |
] | |
}> but was:<trait Test {[ | |
while (true.!=(false)) | |
println("testing...") | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.TraitPrintTests$class.testTraitWithWhile1(PrintersTest.scala:604) | |
at scala.reflect.internal.PrintersTest.testTraitWithWhile1(PrintersTest.scala:12) | |
Testcase: testTraitWithWhile2 took 0.004 sec | |
FAILED | |
using toolbox parser expected:<trait Test {[ | |
while (true) | |
{ | |
println("testing..."); | |
println("testing...") | |
} | |
] | |
}> but was:<trait Test {[ | |
while (true) | |
{ | |
println("testing..."); | |
println("testing...") | |
} | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<trait Test {[ | |
while (true) | |
{ | |
println("testing..."); | |
println("testing...") | |
} | |
] | |
}> but was:<trait Test {[ | |
while (true) | |
{ | |
println("testing..."); | |
println("testing...") | |
} | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.TraitPrintTests$class.testTraitWithWhile2(PrintersTest.scala:611) | |
at scala.reflect.internal.PrintersTest.testTraitWithWhile2(PrintersTest.scala:12) | |
Testcase: testTraitWithDoWhile1 took 0.003 sec | |
FAILED | |
using toolbox parser expected:<trait Test {[ | |
do | |
println("testing...") | |
while (true) ] | |
}> but was:<trait Test {[ | |
do | |
println("testing...") | |
while (true) | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<trait Test {[ | |
do | |
println("testing...") | |
while (true) ] | |
}> but was:<trait Test {[ | |
do | |
println("testing...") | |
while (true) | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.TraitPrintTests$class.testTraitWithDoWhile1(PrintersTest.scala:621) | |
at scala.reflect.internal.PrintersTest.testTraitWithDoWhile1(PrintersTest.scala:12) | |
Testcase: testTraitWithTypes took 0.004 sec | |
FAILED | |
using toolbox parser expected:<trait Test {[ | |
type A = Int; | |
type B >: Nothing <: AnyRef; | |
protected type C >: Nothing; | |
type D <: AnyRef] | |
}> but was:<trait Test {[ | |
type A = Int; | |
type B >: Nothing <: AnyRef; | |
protected type C >: Nothing; | |
type D <: AnyRef | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<trait Test {[ | |
type A = Int; | |
type B >: Nothing <: AnyRef; | |
protected type C >: Nothing; | |
type D <: AnyRef] | |
}> but was:<trait Test {[ | |
type A = Int; | |
type B >: Nothing <: AnyRef; | |
protected type C >: Nothing; | |
type D <: AnyRef | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.TraitPrintTests$class.testTraitWithTypes(PrintersTest.scala:628) | |
at scala.reflect.internal.PrintersTest.testTraitWithTypes(PrintersTest.scala:12) | |
Testcase: testClassWithBody took 0.002 sec | |
FAILED | |
using toolbox parser expected:<class X {[ | |
def y = "test"] | |
}> but was:<class X {[ | |
def y = "test" | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<class X {[ | |
def y = "test"] | |
}> but was:<class X {[ | |
def y = "test" | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testClassWithBody(PrintersTest.scala:210) | |
at scala.reflect.internal.PrintersTest.testClassWithBody(PrintersTest.scala:12) | |
Testcase: testClassWithPublicParams took 0.001 sec | |
Testcase: testClassWithParams1 took 0.002 sec | |
Testcase: testClassWithParams2 took 0.002 sec | |
Testcase: testClassWithParams3 took 0.004 sec | |
Testcase: testClassWithParams4 took 0.004 sec | |
Testcase: testClassWithParams5 took 0.004 sec | |
Testcase: testClassWithParams6 took 0.004 sec | |
Testcase: testClassWithParams7 took 0.001 sec | |
Testcase: testClassWithParams8 took 0.001 sec | |
Testcase: testClassWithParams9 took 0.002 sec | |
Testcase: testClassWithByNameParam took 0.003 sec | |
Testcase: testClassWithDefault took 0.002 sec | |
Testcase: testClassWithParams10 took 0.003 sec | |
Testcase: testClassWithParams11 took 0.003 sec | |
Testcase: testClassWithParams12 took 0.004 sec | |
Testcase: testClassWithImplicitParams took 0.004 sec | |
Testcase: testClassWithEarly took 0.005 sec | |
FAILED | |
using toolbox parser expected:<...ar i: Int) extends {[ | |
val a: String = i; | |
type B] | |
} with Y> but was:<...ar i: Int) extends {[ | |
val a: String = i; | |
type B | |
] | |
} with Y> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<...ar i: Int) extends {[ | |
val a: String = i; | |
type B] | |
} with Y> but was:<...ar i: Int) extends {[ | |
val a: String = i; | |
type B | |
] | |
} with Y> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testClassWithEarly(PrintersTest.scala:247) | |
at scala.reflect.internal.PrintersTest.testClassWithEarly(PrintersTest.scala:12) | |
Testcase: testClassWithThrow1 took 0.003 sec | |
FAILED | |
using toolbox parser expected:<class Throw1 {[ | |
throw new Exception("exception!")] | |
}> but was:<class Throw1 {[ | |
throw new Exception("exception!") | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<class Throw1 {[ | |
throw new Exception("exception!")] | |
}> but was:<class Throw1 {[ | |
throw new Exception("exception!") | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testClassWithThrow1(PrintersTest.scala:253) | |
at scala.reflect.internal.PrintersTest.testClassWithThrow1(PrintersTest.scala:12) | |
Testcase: testClassWithThrow2 took 0.004 sec | |
FAILED | |
using toolbox parser expected:<class Throw2 {[ | |
var msg = " "; | |
val e = new Exception(msg); | |
throw e] | |
}> but was:<class Throw2 {[ | |
var msg = " "; | |
val e = new Exception(msg); | |
throw e | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<class Throw2 {[ | |
var msg = " "; | |
val e = new Exception(msg); | |
throw e] | |
}> but was:<class Throw2 {[ | |
var msg = " "; | |
val e = new Exception(msg); | |
throw e | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testClassWithThrow2(PrintersTest.scala:258) | |
at scala.reflect.internal.PrintersTest.testClassWithThrow2(PrintersTest.scala:12) | |
Testcase: testClassWithAssignmentWithTuple1 took 0.013 sec | |
FAILED | |
using toolbox parser expected:<class Test {[ | |
private[this] val x$1 = (scala.Tuple2(1, 2): @scala.unchecked) match { | |
case scala.Tuple2((a @ _), (b @ _)) => scala.Tuple2(a, b) | |
}; | |
val a = x$1._1; | |
val b = x$1._2] | |
}> but was:<class Test {[ | |
private[this] val x$1 = (scala.Tuple2(1, 2): @scala.unchecked) match { | |
case scala.Tuple2((a @ _), (b @ _)) => scala.Tuple2(a, b) | |
}; | |
val a = x$1._1; | |
val b = x$1._2 | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<class Test {[ | |
private[this] val x$1 = (scala.Tuple2(1, 2): @scala.unchecked) match { | |
case scala.Tuple2((a @ _), (b @ _)) => scala.Tuple2(a, b) | |
}; | |
val a = x$1._1; | |
val b = x$1._2] | |
}> but was:<class Test {[ | |
private[this] val x$1 = (scala.Tuple2(1, 2): @scala.unchecked) match { | |
case scala.Tuple2((a @ _), (b @ _)) => scala.Tuple2(a, b) | |
}; | |
val a = x$1._1; | |
val b = x$1._2 | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testClassWithAssignmentWithTuple1(PrintersTest.scala:270) | |
at scala.reflect.internal.PrintersTest.testClassWithAssignmentWithTuple1(PrintersTest.scala:12) | |
Testcase: testClassWithAssignmentWithTuple2 took 0.009 sec | |
FAILED | |
using toolbox parser expected:<class Test {[ | |
private[this] val x$1 = ((1).->(2): @scala.unchecked) match { | |
case scala.Tuple2((a @ _), (b @ _)) => scala.Tuple2(a, b) | |
}; | |
val a = x$1._1; | |
val b = x$1._2] | |
}> but was:<class Test {[ | |
private[this] val x$1 = ((1).->(2): @scala.unchecked) match { | |
case scala.Tuple2((a @ _), (b @ _)) => scala.Tuple2(a, b) | |
}; | |
val a = x$1._1; | |
val b = x$1._2 | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<class Test {[ | |
private[this] val x$1 = ((1).->(2): @scala.unchecked) match { | |
case scala.Tuple2((a @ _), (b @ _)) => scala.Tuple2(a, b) | |
}; | |
val a = x$1._1; | |
val b = x$1._2] | |
}> but was:<class Test {[ | |
private[this] val x$1 = ((1).->(2): @scala.unchecked) match { | |
case scala.Tuple2((a @ _), (b @ _)) => scala.Tuple2(a, b) | |
}; | |
val a = x$1._1; | |
val b = x$1._2 | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testClassWithAssignmentWithTuple2(PrintersTest.scala:284) | |
at scala.reflect.internal.PrintersTest.testClassWithAssignmentWithTuple2(PrintersTest.scala:12) | |
Testcase: testClassWithPatternMatchInAssignment took 0.011 sec | |
FAILED | |
using toolbox parser expected:<class Test {[ | |
private[this] val x$1 = (List(1, 3, 5): @scala.unchecked) match { | |
case List((one @ _), (three @ _), (five @ _)) => scala.Tuple3(one, three, five) | |
}; | |
val one = x$1._1; | |
val three = x$1._2; | |
val five = x$1._3] | |
}> but was:<class Test {[ | |
private[this] val x$1 = (List(1, 3, 5): @scala.unchecked) match { | |
case List((one @ _), (three @ _), (five @ _)) => scala.Tuple3(one, three, five) | |
}; | |
val one = x$1._1; | |
val three = x$1._2; | |
val five = x$1._3 | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<class Test {[ | |
private[this] val x$1 = (List(1, 3, 5): @scala.unchecked) match { | |
case List((one @ _), (three @ _), (five @ _)) => scala.Tuple3(one, three, five) | |
}; | |
val one = x$1._1; | |
val three = x$1._2; | |
val five = x$1._3] | |
}> but was:<class Test {[ | |
private[this] val x$1 = (List(1, 3, 5): @scala.unchecked) match { | |
case List((one @ _), (three @ _), (five @ _)) => scala.Tuple3(one, three, five) | |
}; | |
val one = x$1._1; | |
val three = x$1._2; | |
val five = x$1._3 | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testClassWithPatternMatchInAssignment(PrintersTest.scala:298) | |
at scala.reflect.internal.PrintersTest.testClassWithPatternMatchInAssignment(PrintersTest.scala:12) | |
Testcase: testClassWithExistentialParameter1 took 0.007 sec | |
FAILED | |
using toolbox parser expected:<...List[_$1] forSome { [ | |
type _$1] | |
}))> but was:<...List[_$1] forSome { [ | |
type _$1 | |
] | |
}))> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<...List[_$1] forSome { [ | |
type _$1] | |
}))> but was:<...List[_$1] forSome { [ | |
type _$1 | |
] | |
}))> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testClassWithExistentialParameter1(PrintersTest.scala:309) | |
at scala.reflect.internal.PrintersTest.testClassWithExistentialParameter1(PrintersTest.scala:12) | |
Testcase: testClassWithExistentialParameter2 took 0.002 sec | |
FAILED | |
using toolbox parser expected:<... (List[T] forSome { [ | |
type T] | |
}))> but was:<... (List[T] forSome { [ | |
type T | |
] | |
}))> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<... (List[T] forSome { [ | |
type T] | |
}))> but was:<... (List[T] forSome { [ | |
type T | |
] | |
}))> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testClassWithExistentialParameter2(PrintersTest.scala:314) | |
at scala.reflect.internal.PrintersTest.testClassWithExistentialParameter2(PrintersTest.scala:12) | |
Testcase: testClassWithCompoundTypeTree took 0.008 sec | |
FAILED | |
using toolbox parser expected:<{[ | |
trait A; | |
trait B; | |
abstract class C(val a: A with B) { | |
def method(x: A with B with C { | |
val x: Float | |
}): A with B | |
}; | |
()] | |
}> but was:<{[ | |
trait A; | |
trait B; | |
abstract class C(val a: A with B) { | |
def method(x: A with B with C { | |
val x: Float | |
}): A with B | |
}; | |
() | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<{[ | |
trait A; | |
trait B; | |
abstract class C(val a: A with B) { | |
def method(x: A with B with C { | |
val x: Float | |
}): A with B | |
}; | |
()] | |
}> but was:<{[ | |
trait A; | |
trait B; | |
abstract class C(val a: A with B) { | |
def method(x: A with B with C { | |
val x: Float | |
}): A with B | |
}; | |
() | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testClassWithCompoundTypeTree(PrintersTest.scala:319) | |
at scala.reflect.internal.PrintersTest.testClassWithCompoundTypeTree(PrintersTest.scala:12) | |
Testcase: testClassWithSelectFromTypeTree took 0.005 sec | |
FAILED | |
using toolbox parser expected:<{[ | |
trait A { | |
type T | |
}; | |
class B(t: (A)#T); | |
()] | |
}> but was:<{[ | |
trait A { | |
type T | |
}; | |
class B(t: (A)#T); | |
() | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<{[ | |
trait A { | |
type T | |
}; | |
class B(t: (A)#T); | |
()] | |
}> but was:<{[ | |
trait A { | |
type T | |
}; | |
class B(t: (A)#T); | |
() | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testClassWithSelectFromTypeTree(PrintersTest.scala:331) | |
at scala.reflect.internal.PrintersTest.testClassWithSelectFromTypeTree(PrintersTest.scala:12) | |
Testcase: testImplicitClass took 0.003 sec | |
Testcase: testAbstractClass took 0.003 sec | |
Testcase: testCaseClassWithParams1 took 0.002 sec | |
Testcase: testCaseClassWithParams2 took 0.003 sec | |
Testcase: testCaseClassWithParams3 took 0.004 sec | |
Testcase: testCaseClassWithParams4 took 0.005 sec | |
Testcase: testCaseClassWithBody took 0.003 sec | |
FAILED | |
using toolbox parser expected:<case class X() {[ | |
def y = "test"] | |
}> but was:<case class X() {[ | |
def y = "test" | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<case class X() {[ | |
def y = "test"] | |
}> but was:<case class X() {[ | |
def y = "test" | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testCaseClassWithBody(PrintersTest.scala:352) | |
at scala.reflect.internal.PrintersTest.testCaseClassWithBody(PrintersTest.scala:12) | |
Testcase: testLocalClass took 0.005 sec | |
FAILED | |
using toolbox parser expected:<def test = {[ | |
class X(var a: Int) { | |
def y = "test" | |
}; | |
new X(5)] | |
}> but was:<def test = {[ | |
class X(var a: Int) { | |
def y = "test" | |
}; | |
new X(5) | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<def test = {[ | |
class X(var a: Int) { | |
def y = "test" | |
}; | |
new X(5)] | |
}> but was:<def test = {[ | |
class X(var a: Int) { | |
def y = "test" | |
}; | |
new X(5) | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testLocalClass(PrintersTest.scala:357) | |
at scala.reflect.internal.PrintersTest.testLocalClass(PrintersTest.scala:12) | |
Testcase: testLocalCaseClass took 0.005 sec | |
FAILED | |
using toolbox parser expected:<def test = {[ | |
case class X(var a: Int) { | |
def y = "test" | |
}; | |
new X(5)] | |
}> but was:<def test = {[ | |
case class X(var a: Int) { | |
def y = "test" | |
}; | |
new X(5) | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<def test = {[ | |
case class X(var a: Int) { | |
def y = "test" | |
}; | |
new X(5)] | |
}> but was:<def test = {[ | |
case class X(var a: Int) { | |
def y = "test" | |
}; | |
new X(5) | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testLocalCaseClass(PrintersTest.scala:365) | |
at scala.reflect.internal.PrintersTest.testLocalCaseClass(PrintersTest.scala:12) | |
Testcase: testSuperInClass took 0.011 sec | |
FAILED | |
using toolbox parser expected:<{[ | |
trait Root { | |
def r = "Root" | |
}; | |
class X extends Root { | |
def superX = super.r | |
}; | |
class Y extends X with Root { | |
class Inner { | |
val myY = Y.super.r | |
}; | |
def fromX = super[X].r; | |
def fromRoot = super[Root].r | |
}; | |
()] | |
}> but was:<{[ | |
trait Root { | |
def r = "Root" | |
}; | |
class X extends Root { | |
def superX = super.r | |
}; | |
class Y extends X with Root { | |
class Inner { | |
val myY = Y.super.r | |
}; | |
def fromX = super[X].r; | |
def fromRoot = super[Root].r | |
}; | |
() | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<{[ | |
trait Root { | |
def r = "Root" | |
}; | |
class X extends Root { | |
def superX = super.r | |
}; | |
class Y extends X with Root { | |
class Inner { | |
val myY = Y.super.r | |
}; | |
def fromX = super[X].r; | |
def fromRoot = super[Root].r | |
}; | |
()] | |
}> but was:<{[ | |
trait Root { | |
def r = "Root" | |
}; | |
class X extends Root { | |
def superX = super.r | |
}; | |
class Y extends X with Root { | |
class Inner { | |
val myY = Y.super.r | |
}; | |
def fromX = super[X].r; | |
def fromRoot = super[Root].r | |
}; | |
() | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testSuperInClass(PrintersTest.scala:373) | |
at scala.reflect.internal.PrintersTest.testSuperInClass(PrintersTest.scala:12) | |
Testcase: testThisInClass took 0.003 sec | |
FAILED | |
using toolbox parser expected:<class Outer {[ | |
class Inner { | |
val outer = Root.this | |
}; | |
val self = this] | |
}> but was:<class Outer {[ | |
class Inner { | |
val outer = Root.this | |
}; | |
val self = this | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<class Outer {[ | |
class Inner { | |
val outer = Root.this | |
}; | |
val self = this] | |
}> but was:<class Outer {[ | |
class Inner { | |
val outer = Root.this | |
}; | |
val self = this | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testThisInClass(PrintersTest.scala:391) | |
at scala.reflect.internal.PrintersTest.testThisInClass(PrintersTest.scala:12) | |
Testcase: testCaseClassWithParamsAndBody took 0.002 sec | |
FAILED | |
using toolbox parser expected:<...x: Int, s: String) {[ | |
def y = "test"] | |
}> but was:<...x: Int, s: String) {[ | |
def y = "test" | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<...x: Int, s: String) {[ | |
def y = "test"] | |
}> but was:<...x: Int, s: String) {[ | |
def y = "test" | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testCaseClassWithParamsAndBody(PrintersTest.scala:399) | |
at scala.reflect.internal.PrintersTest.testCaseClassWithParamsAndBody(PrintersTest.scala:12) | |
Testcase: testObject took 0.001 sec | |
Testcase: testObjectWithBody took 0.003 sec | |
FAILED | |
using toolbox parser expected:<object X {[ | |
def y = "test"] | |
}> but was:<object X {[ | |
def y = "test" | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<object X {[ | |
def y = "test"] | |
}> but was:<object X {[ | |
def y = "test" | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testObjectWithBody(PrintersTest.scala:406) | |
at scala.reflect.internal.PrintersTest.testObjectWithBody(PrintersTest.scala:12) | |
Testcase: testObjectWithEarly1 took 0.002 sec | |
FAILED | |
using toolbox parser expected:<object X extends {[ | |
val early: T = v] | |
} with Bar> but was:<object X extends {[ | |
val early: T = v | |
] | |
} with Bar> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<object X extends {[ | |
val early: T = v] | |
} with Bar> but was:<object X extends {[ | |
val early: T = v | |
] | |
} with Bar> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testObjectWithEarly1(PrintersTest.scala:411) | |
at scala.reflect.internal.PrintersTest.testObjectWithEarly1(PrintersTest.scala:12) | |
Testcase: testObjectWithEarly2 took 0.005 sec | |
FAILED | |
using toolbox parser expected:<object X extends {[ | |
val early: T = v; | |
type EarlyT = String] | |
} with Bar> but was:<object X extends {[ | |
val early: T = v; | |
type EarlyT = String | |
] | |
} with Bar> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<object X extends {[ | |
val early: T = v; | |
type EarlyT = String] | |
} with Bar> but was:<object X extends {[ | |
val early: T = v; | |
type EarlyT = String | |
] | |
} with Bar> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testObjectWithEarly2(PrintersTest.scala:416) | |
at scala.reflect.internal.PrintersTest.testObjectWithEarly2(PrintersTest.scala:12) | |
Testcase: testObjectWithSelf took 0.003 sec | |
FAILED | |
using toolbox parser expected:<...xtends Foo { self =>[ | |
body] | |
}> but was:<...xtends Foo { self =>[ | |
body | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<...xtends Foo { self =>[ | |
body] | |
}> but was:<...xtends Foo { self =>[ | |
body | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testObjectWithSelf(PrintersTest.scala:422) | |
at scala.reflect.internal.PrintersTest.testObjectWithSelf(PrintersTest.scala:12) | |
Testcase: testObjectInh took 0.002 sec | |
Testcase: testObjectWithPatternMatch1 took 0.004 sec | |
FAILED | |
using toolbox parser expected:<object PM1 {[ | |
List(1, 2) match { | |
case (i @ _) => i | |
}] | |
}> but was:<object PM1 {[ | |
List(1, 2) match { | |
case (i @ _) => i | |
} | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<object PM1 {[ | |
List(1, 2) match { | |
case (i @ _) => i | |
}] | |
}> but was:<object PM1 {[ | |
List(1, 2) match { | |
case (i @ _) => i | |
} | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testObjectWithPatternMatch1(PrintersTest.scala:429) | |
at scala.reflect.internal.PrintersTest.testObjectWithPatternMatch1(PrintersTest.scala:12) | |
Testcase: testObjectWithPatternMatch2 took 0.005 sec | |
FAILED | |
using toolbox parser expected:<object PM2 {[ | |
List(1, 2).map({ | |
case (i @ _) if i.>(5) => i | |
})] | |
}> but was:<object PM2 {[ | |
List(1, 2).map({ | |
case (i @ _) if i.>(5) => i | |
}) | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<object PM2 {[ | |
List(1, 2).map({ | |
case (i @ _) if i.>(5) => i | |
})] | |
}> but was:<object PM2 {[ | |
List(1, 2).map({ | |
case (i @ _) if i.>(5) => i | |
}) | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testObjectWithPatternMatch2(PrintersTest.scala:436) | |
at scala.reflect.internal.PrintersTest.testObjectWithPatternMatch2(PrintersTest.scala:12) | |
Testcase: testObjectWithPatternMatch3 took 0.003 sec | |
FAILED | |
using toolbox parser expected:<object PM3 {[ | |
List(1, 2).map({ | |
case (i @ ((_): Int)) => i | |
})] | |
}> but was:<object PM3 {[ | |
List(1, 2).map({ | |
case (i @ ((_): Int)) => i | |
}) | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<object PM3 {[ | |
List(1, 2).map({ | |
case (i @ ((_): Int)) => i | |
})] | |
}> but was:<object PM3 {[ | |
List(1, 2).map({ | |
case (i @ ((_): Int)) => i | |
}) | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testObjectWithPatternMatch3(PrintersTest.scala:444) | |
at scala.reflect.internal.PrintersTest.testObjectWithPatternMatch3(PrintersTest.scala:12) | |
Testcase: testObjectWithPatternMatch4 took 0.003 sec | |
FAILED | |
using toolbox parser expected:<object PM4 {[ | |
List(1, 2).map({ | |
case (a @ (i @ ((_): Int))) => i | |
})] | |
}> but was:<object PM4 {[ | |
List(1, 2).map({ | |
case (a @ (i @ ((_): Int))) => i | |
}) | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<object PM4 {[ | |
List(1, 2).map({ | |
case (a @ (i @ ((_): Int))) => i | |
})] | |
}> but was:<object PM4 {[ | |
List(1, 2).map({ | |
case (a @ (i @ ((_): Int))) => i | |
}) | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testObjectWithPatternMatch4(PrintersTest.scala:452) | |
at scala.reflect.internal.PrintersTest.testObjectWithPatternMatch4(PrintersTest.scala:12) | |
Testcase: testObjectWithPatternMatch5 took 0.003 sec | |
FAILED | |
using toolbox parser expected:<object PM5 {[ | |
List(1, 2).map({ | |
case _ => 42 | |
})] | |
}> but was:<object PM5 {[ | |
List(1, 2).map({ | |
case _ => 42 | |
}) | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<object PM5 {[ | |
List(1, 2).map({ | |
case _ => 42 | |
})] | |
}> but was:<object PM5 {[ | |
List(1, 2).map({ | |
case _ => 42 | |
}) | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testObjectWithPatternMatch5(PrintersTest.scala:459) | |
at scala.reflect.internal.PrintersTest.testObjectWithPatternMatch5(PrintersTest.scala:12) | |
Testcase: testObjectWithPatternMatch6 took 0.004 sec | |
FAILED | |
using toolbox parser expected:<object PM6 {[ | |
List(1, 2) match { | |
case ::((x @ _), (xs @ _)) => x | |
}] | |
}> but was:<object PM6 {[ | |
List(1, 2) match { | |
case ::((x @ _), (xs @ _)) => x | |
} | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<object PM6 {[ | |
List(1, 2) match { | |
case ::((x @ _), (xs @ _)) => x | |
}] | |
}> but was:<object PM6 {[ | |
List(1, 2) match { | |
case ::((x @ _), (xs @ _)) => x | |
} | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testObjectWithPatternMatch6(PrintersTest.scala:466) | |
at scala.reflect.internal.PrintersTest.testObjectWithPatternMatch6(PrintersTest.scala:12) | |
Testcase: testObjectWithPatternMatch7 took 0.008 sec | |
FAILED | |
using toolbox parser expected:<object PM7 {[ | |
List(1, 2).map({ | |
case (0| 1) => true | |
case _ => false | |
})] | |
}> but was:<object PM7 {[ | |
List(1, 2).map({ | |
case (0| 1) => true | |
case _ => false | |
}) | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<object PM7 {[ | |
List(1, 2).map({ | |
case (0| 1) => true | |
case _ => false | |
})] | |
}> but was:<object PM7 {[ | |
List(1, 2).map({ | |
case (0| 1) => true | |
case _ => false | |
}) | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testObjectWithPatternMatch7(PrintersTest.scala:473) | |
at scala.reflect.internal.PrintersTest.testObjectWithPatternMatch7(PrintersTest.scala:12) | |
Testcase: testObjectWithPatternMatch8 took 0.004 sec | |
FAILED | |
using toolbox parser expected:<object PM8 {[ | |
"abcde".toList match { | |
case Seq((car @ _), _*) => car | |
}] | |
}> but was:<object PM8 {[ | |
"abcde".toList match { | |
case Seq((car @ _), _*) => car | |
} | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<object PM8 {[ | |
"abcde".toList match { | |
case Seq((car @ _), _*) => car | |
}] | |
}> but was:<object PM8 {[ | |
"abcde".toList match { | |
case Seq((car @ _), _*) => car | |
} | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testObjectWithPatternMatch8(PrintersTest.scala:481) | |
at scala.reflect.internal.PrintersTest.testObjectWithPatternMatch8(PrintersTest.scala:12) | |
Testcase: testObjectWithPatternMatch9 took 0.007 sec | |
FAILED | |
using toolbox parser expected:<{[ | |
object Extractor { | |
def unapply(i: Int) = Some(i) | |
}; | |
object PM9 { | |
42 match { | |
case (a @ Extractor((i @ _))) => i | |
} | |
}; | |
()] | |
}> but was:<{[ | |
object Extractor { | |
def unapply(i: Int) = Some(i) | |
}; | |
object PM9 { | |
42 match { | |
case (a @ Extractor((i @ _))) => i | |
} | |
}; | |
() | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<{[ | |
object Extractor { | |
def unapply(i: Int) = Some(i) | |
}; | |
object PM9 { | |
42 match { | |
case (a @ Extractor((i @ _))) => i | |
} | |
}; | |
()] | |
}> but was:<{[ | |
object Extractor { | |
def unapply(i: Int) = Some(i) | |
}; | |
object PM9 { | |
42 match { | |
case (a @ Extractor((i @ _))) => i | |
} | |
}; | |
() | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testObjectWithPatternMatch9(PrintersTest.scala:488) | |
at scala.reflect.internal.PrintersTest.testObjectWithPatternMatch9(PrintersTest.scala:12) | |
Testcase: testObjectWithPartialFunc took 0.005 sec | |
FAILED | |
using toolbox parser expected:<object Test {[ | |
def partFuncTest[A, B](e: Either[A, B]): scala.Unit = e match { | |
case Right(_) => () | |
}] | |
}> but was:<object Test {[ | |
def partFuncTest[A, B](e: Either[A, B]): scala.Unit = e match { | |
case Right(_) => () | |
} | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<object Test {[ | |
def partFuncTest[A, B](e: Either[A, B]): scala.Unit = e match { | |
case Right(_) => () | |
}] | |
}> but was:<object Test {[ | |
def partFuncTest[A, B](e: Either[A, B]): scala.Unit = e match { | |
case Right(_) => () | |
} | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testObjectWithPartialFunc(PrintersTest.scala:501) | |
at scala.reflect.internal.PrintersTest.testObjectWithPartialFunc(PrintersTest.scala:12) | |
Testcase: testObjectWithTry took 0.014 sec | |
FAILED | |
using toolbox parser expected:<object Test {[ | |
import java.io; | |
var file: PrintStream = null; | |
try { | |
val out = new FileOutputStream("myfile.txt"); | |
file = new PrintStream(out) | |
} catch { | |
case (ioe @ ((_): IOException)) => println("ioe") | |
case (e @ ((_): Exception)) => println("e") | |
} finally println("finally")] | |
}> but was:<object Test {[ | |
import java.io; | |
var file: PrintStream = null; | |
try { | |
val out = new FileOutputStream("myfile.txt"); | |
file = new PrintStream(out) | |
} catch { | |
case (ioe @ ((_): IOException)) => println("ioe") | |
case (e @ ((_): Exception)) => println("e") | |
} finally println("finally") | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<object Test {[ | |
import java.io; | |
var file: PrintStream = null; | |
try { | |
val out = new FileOutputStream("myfile.txt"); | |
file = new PrintStream(out) | |
} catch { | |
case (ioe @ ((_): IOException)) => println("ioe") | |
case (e @ ((_): Exception)) => println("e") | |
} finally println("finally")] | |
}> but was:<object Test {[ | |
import java.io; | |
var file: PrintStream = null; | |
try { | |
val out = new FileOutputStream("myfile.txt"); | |
file = new PrintStream(out) | |
} catch { | |
case (ioe @ ((_): IOException)) => println("ioe") | |
case (e @ ((_): Exception)) => println("e") | |
} finally println("finally") | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.ClassPrintTests$class.testObjectWithTry(PrintersTest.scala:508) | |
at scala.reflect.internal.PrintersTest.testObjectWithTry(PrintersTest.scala:12) | |
Testcase: testIdent took 0 sec | |
Testcase: testConstant1 took 0.001 sec | |
Testcase: testConstant2 took 0 sec | |
Testcase: testConstantFloat took 0.001 sec | |
Testcase: testConstantDouble took 0.001 sec | |
Testcase: testConstantLong took 0.002 sec | |
Testcase: testOpExpr took 0.001 sec | |
Testcase: testName1 took 0.001 sec | |
Testcase: testName2 took 0.001 sec | |
Testcase: testName4 took 0.001 sec | |
Testcase: testName5 took 0.002 sec | |
Testcase: testName6 took 0.001 sec | |
Testcase: testName7 took 0.001 sec | |
Testcase: testName8 took 0.002 sec | |
Testcase: testName9 took 0.002 sec | |
Testcase: testName10 took 0.002 sec | |
Testcase: testName11 took 0.001 sec | |
Testcase: testName12 took 0.003 sec | |
Testcase: testName13 took 0.002 sec | |
Testcase: testName14 took 0.001 sec | |
Testcase: testName15 took 0.002 sec | |
Testcase: testName16 took 0.002 sec | |
Testcase: testName17 took 0.002 sec | |
Testcase: testName18 took 0.002 sec | |
Testcase: testName19 took 0.002 sec | |
Testcase: testName20 took 0.002 sec | |
Testcase: testIfExpr1 took 0.003 sec | |
FAILED | |
using toolbox parser expected:<if (a)[ | |
((expr1): Int) | |
else] | |
((expr2): Int)> but was:<if (a)[ | |
((expr1): Int) | |
else | |
] | |
((expr2): Int)> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<if (a)[ | |
((expr1): Int) | |
else] | |
((expr2): Int)> but was:<if (a)[ | |
((expr1): Int) | |
else | |
] | |
((expr2): Int)> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.BasePrintTests$class.testIfExpr1(PrintersTest.scala:90) | |
at scala.reflect.internal.PrintersTest.testIfExpr1(PrintersTest.scala:12) | |
Testcase: testIfExpr2 took 0.004 sec | |
FAILED | |
using toolbox parser expected:<(if (a)[ | |
{ | |
expr1; | |
() | |
} | |
else | |
{ | |
expr2; | |
()] | |
}).toString> but was:<(if (a)[ | |
{ | |
expr1; | |
() | |
} | |
else | |
{ | |
expr2; | |
() | |
] | |
}).toString> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<(if (a)[ | |
{ | |
expr1; | |
() | |
} | |
else | |
{ | |
expr2; | |
()] | |
}).toString> but was:<(if (a)[ | |
{ | |
expr1; | |
() | |
} | |
else | |
{ | |
expr2; | |
() | |
] | |
}).toString> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.BasePrintTests$class.testIfExpr2(PrintersTest.scala:96) | |
at scala.reflect.internal.PrintersTest.testIfExpr2(PrintersTest.scala:12) | |
Testcase: testIfExpr3 took 0.004 sec | |
FAILED | |
using toolbox parser expected:<(if (a)[ | |
{ | |
expr1; | |
() | |
} | |
else | |
{ | |
expr2; | |
()] | |
}).method1().meth...> but was:<(if (a)[ | |
{ | |
expr1; | |
() | |
} | |
else | |
{ | |
expr2; | |
() | |
] | |
}).method1().meth...> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<(if (a)[ | |
{ | |
expr1; | |
() | |
} | |
else | |
{ | |
expr2; | |
()] | |
}).method1().meth...> but was:<(if (a)[ | |
{ | |
expr1; | |
() | |
} | |
else | |
{ | |
expr2; | |
() | |
] | |
}).method1().meth...> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.BasePrintTests$class.testIfExpr3(PrintersTest.scala:108) | |
at scala.reflect.internal.PrintersTest.testIfExpr3(PrintersTest.scala:12) | |
Testcase: testBooleanExpr1 took 0.003 sec | |
Testcase: testBooleanExpr2 took 0.003 sec | |
Testcase: testNewExpr1 took 0.002 sec | |
Testcase: testNewExpr2 took 0.004 sec | |
FAILED | |
using toolbox parser expected:<{[ | |
final class $anon extends foo { | |
test | |
}; | |
new $anon()] | |
}> but was:<{[ | |
final class $anon extends foo { | |
test | |
}; | |
new $anon() | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<{[ | |
final class $anon extends foo { | |
test | |
}; | |
new $anon()] | |
}> but was:<{[ | |
final class $anon extends foo { | |
test | |
}; | |
new $anon() | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.BasePrintTests$class.testNewExpr2(PrintersTest.scala:129) | |
at scala.reflect.internal.PrintersTest.testNewExpr2(PrintersTest.scala:12) | |
Testcase: testNewExpr3 took 0.002 sec | |
Testcase: testNewExpr4 took 0.001 sec | |
Testcase: testNewExpr5 took 0.002 sec | |
Testcase: testNewExpr6 took 0.004 sec | |
FAILED | |
using toolbox parser expected:<{[ | |
final class $anon extends foo[t](x) { | |
() | |
}; | |
new $anon()] | |
}> but was:<{[ | |
final class $anon extends foo[t](x) { | |
() | |
}; | |
new $anon() | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<{[ | |
final class $anon extends foo[t](x) { | |
() | |
}; | |
new $anon()] | |
}> but was:<{[ | |
final class $anon extends foo[t](x) { | |
() | |
}; | |
new $anon() | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.BasePrintTests$class.testNewExpr6(PrintersTest.scala:144) | |
at scala.reflect.internal.PrintersTest.testNewExpr6(PrintersTest.scala:12) | |
Testcase: testNewExpr7 took 0.004 sec | |
FAILED | |
using toolbox parser expected:<{[ | |
final class $anon extends foo with bar; | |
new $anon()] | |
}> but was:<{[ | |
final class $anon extends foo with bar; | |
new $anon() | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<{[ | |
final class $anon extends foo with bar; | |
new $anon()] | |
}> but was:<{[ | |
final class $anon extends foo with bar; | |
new $anon() | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.BasePrintTests$class.testNewExpr7(PrintersTest.scala:153) | |
at scala.reflect.internal.PrintersTest.testNewExpr7(PrintersTest.scala:12) | |
Testcase: testNewExpr8 took 0.005 sec | |
FAILED | |
using toolbox parser expected:<{[ | |
final class $anon { | |
anonymous | |
}; | |
new $anon()] | |
}> but was:<{[ | |
final class $anon { | |
anonymous | |
}; | |
new $anon() | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<{[ | |
final class $anon { | |
anonymous | |
}; | |
new $anon()] | |
}> but was:<{[ | |
final class $anon { | |
anonymous | |
}; | |
new $anon() | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.BasePrintTests$class.testNewExpr8(PrintersTest.scala:160) | |
at scala.reflect.internal.PrintersTest.testNewExpr8(PrintersTest.scala:12) | |
Testcase: testNewExpr9 took 0.004 sec | |
FAILED | |
using toolbox parser expected:<{[ | |
final class $anon extends { | |
val early = 1 | |
} with Parent[Int] { | |
body | |
}; | |
new $anon()] | |
}> but was:<{[ | |
final class $anon extends { | |
val early = 1 | |
} with Parent[Int] { | |
body | |
}; | |
new $anon() | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<{[ | |
final class $anon extends { | |
val early = 1 | |
} with Parent[Int] { | |
body | |
}; | |
new $anon()] | |
}> but was:<{[ | |
final class $anon extends { | |
val early = 1 | |
} with Parent[Int] { | |
body | |
}; | |
new $anon() | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.BasePrintTests$class.testNewExpr9(PrintersTest.scala:169) | |
at scala.reflect.internal.PrintersTest.testNewExpr9(PrintersTest.scala:12) | |
Testcase: testNewExpr10 took 0.005 sec | |
FAILED | |
using toolbox parser expected:<{[ | |
final class $anon extends Foo { self => | |
}; | |
new $anon()] | |
}> but was:<{[ | |
final class $anon extends Foo { self => | |
}; | |
new $anon() | |
] | |
}> | |
junit.framework.AssertionFailedError: using toolbox parser expected:<{[ | |
final class $anon extends Foo { self => | |
}; | |
new $anon()] | |
}> but was:<{[ | |
final class $anon extends Foo { self => | |
}; | |
new $anon() | |
] | |
}> | |
at scala.reflect.internal.PrinterHelper$.assertPrintedCode(PrintersTest.scala:29) | |
at scala.reflect.internal.BasePrintTests$class.testNewExpr10(PrintersTest.scala:180) | |
at scala.reflect.internal.PrintersTest.testNewExpr10(PrintersTest.scala:12) | |
Testcase: testReturn took 0.002 sec | |
Testcase: testFunc1 took 0.009 sec | |
Testcase: testFunc2 took 0.005 sec | |
Testcase: testFunc3 took 0.003 sec | |
Testcase: testImport1 took 0.001 sec | |
Testcase: testImport2 took 0.002 sec | |
Testcase: testImport3 took 0.002 sec | |
Testcase: testImport4 took 0.001 sec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment