I have no ideas of how to solve that. We should probably not have defined
`log` in `FSM` but its too late to change that.
/Patrik

On Mon, Oct 12, 2015 at 11:18 AM, Michael Zinsmaier <
michael.zinsma...@googlemail.com> wrote:

> Hi Patrik,
>
> I tried your suggestion, unfortunately I get the same compile time error
> )-:
>
> object FSMDoubleExtendDemo {
>
>   def props(name: String): Props = Props(new FSMDoubleExtendDemo())
>
>   sealed trait Params
>
>   case object Empty extends Params
>
>   sealed trait State
>
>   case object State1 extends State
>
>   case object State2 extends State
>
> }
>
> class FSMDoubleExtendDemo extends Actor with FSM[State, Params] with 
> DiagnosticActorLogging {
>   log.debug("startup")
> }
>
> class TestRunner extends CCPBaseLoggingTest with BeforeAndAfterAll {
>
>   implicit val system = createActorSystem
>
>   @Test(groups = Array("demo"))
>   def createFSM(): Unit = {
>     EventFilter.debug(message = "startup", occurrences = 1) intercept {
>       system.actorOf(FSMDoubleExtendDemo.props("testStartupMessage"))
>     }
>   }
> }
>
>
> any other ideas?
>
> Best Michael  (and sorry for the long delay!)
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Patrik Nordwall
Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
Twitter: @patriknw

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to