SerializationMock
Verfasst: 21. Nov 2016 14:17
Hi all,
I have been testing all tests, but eclipse and sbt have been detecting some error in 3 test files: MemoryAndTimeTest, PastComparisonTest, TimeEvaluationTest
-Description Resource Path Location Type
method serialize overrides nothing. Note: the super classes of trait MockTestSerializer contain the following, non final members named serialize: def serialize(name: String,value: Long,unit: String): Unit MemoryAndTimeTest.scala /ex02/src/test/scala/ex02 line 11 Scala Problem
-Description Resource Path Location Type
overriding method deserialize in trait Serializer of type (name: String)List[(java.util.Date, Long, String)]; method deserialize has incompatible type MemoryAndTimeTest.scala /ex02/src/test/scala/ex02 line 15 Scala Problem
etc.
Can anyone help me?
Thank you in advance
Tud
I have been testing all tests, but eclipse and sbt have been detecting some error in 3 test files: MemoryAndTimeTest, PastComparisonTest, TimeEvaluationTest
-Description Resource Path Location Type
method serialize overrides nothing. Note: the super classes of trait MockTestSerializer contain the following, non final members named serialize: def serialize(name: String,value: Long,unit: String): Unit MemoryAndTimeTest.scala /ex02/src/test/scala/ex02 line 11 Scala Problem
-Description Resource Path Location Type
overriding method deserialize in trait Serializer of type (name: String)List[(java.util.Date, Long, String)]; method deserialize has incompatible type MemoryAndTimeTest.scala /ex02/src/test/scala/ex02 line 15 Scala Problem
etc.
Can anyone help me?
Thank you in advance
Tud