akka/akka-core

Document or fix PF methods in classic Java testkit

Aberta

#27.562 aberto em 26 de ago. de 2019

 (0 comentário) (0 reação) (0 responsável)Scala (3.547 forks)batch import
help wantedt:javat:testing

Métricas do repositório

Stars
 (13.277 estrelas)
Métricas de merge de PR
 (Mesclagem média 8d 19h) (10 fundiu PRs em 30d)

Description

Looks as though quite a few of the methods in akka.testkit.javadsl.TestKit was just copy-pasted over from the Scala testkit, they take total functions but the docs talk about partial functions, they should either be updated to have docs that show how to use them or if they are not possible to use at all from Java (I'm unsure) they should be changed so that they can be used from Java or removed.

The methods are:

  • expectMsgPF
  • fishForSpecificMessage
  • receiveWhile

Additionally these should have the docs updated to not talk about partial functions:

  • ignoreMsg
  • fishForMessage

Guia do colaborador