Re-implement javadsl testkit (#22240)
* re-implement javadsl testkit * fix mima problem * rebase master * move ImplicitSender/DefaultTimeout to scaladsl * undo the change of moving scala api * fix return type and add doc * resolve conflicts and add more comments
This commit is contained in:
parent
3643f18ded
commit
6434cbe868
93 changed files with 1147 additions and 619 deletions
|
|
@ -5,8 +5,7 @@ package jdocs.serialization;
|
|||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
|
||||
import akka.testkit.JavaTestKit;
|
||||
|
||||
import akka.testkit.javadsl.TestKit;
|
||||
import org.junit.Test;
|
||||
import static org.junit.Assert.*;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
|
|
@ -146,7 +145,7 @@ public class SerializationDocTest {
|
|||
identifier);
|
||||
// Then just use the ActorRef
|
||||
//#actorref-serializer
|
||||
JavaTestKit.shutdownActorSystem(extendedSystem);
|
||||
TestKit.shutdownActorSystem(extendedSystem);
|
||||
}
|
||||
|
||||
static
|
||||
|
|
@ -267,6 +266,6 @@ public class SerializationDocTest {
|
|||
assertEquals(original, back);
|
||||
|
||||
//#programmatic
|
||||
JavaTestKit.shutdownActorSystem(system);
|
||||
TestKit.shutdownActorSystem(system);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue