Ejemplo n.º 1
0
        protected EndToEndEventAdapterSpec(string journalName, Config journalConfig)
            : base(PersistenceSpec.Configuration("inmem", "EndToEndEventAdapterSpec"))
        {
            _journalName   = journalName;
            _journalConfig = journalConfig;

            AdaptersConfig    = string.Format(AdaptersConfigFormat, journalName, typeof(EndToEndEventAdapterSpec).FullName);
            NewAdaptersConfig = string.Format(NewAdaptersConfigFormat, journalName, typeof(EndToEndEventAdapterSpec).FullName);
        }
Ejemplo n.º 2
0
        public PersistentActorSpec()
            : base(PersistenceSpec.Configuration("inmem", "PersistentActorSpec"))
        {
            var pref = ActorOf(Props.Create(() => new BehaviorOneActor(Name)));

            pref.Tell(new Cmd("a"));
            pref.Tell(GetState.Instance);
            ExpectMsgInOrder("a-1", "a-2");
        }
Ejemplo n.º 3
0
 public AtLeastOnceDeliveryCrashSpec(ITestOutputHelper output)
     : base(PersistenceSpec.Configuration("AtLeastOnceDeliveryCrashSpec", serialization: "off"), output)
 {
 }
Ejemplo n.º 4
0
 public GuaranteedDeliveryCrashSpec()
     : base(PersistenceSpec.Configuration("inmem", "GuaranteedDeliveryCrashSpec", serialization: "off"))
 {
 }
 public AtLeastOnceDeliveryCrashSpec()
     : base(PersistenceSpec.Configuration("AtLeastOnceDeliveryCrashSpec", serialization: "off"))
 {
 }
Ejemplo n.º 6
0
 public AtLeastOnceDeliverySpec()
     : base(PersistenceSpec.Configuration("inmem", "AtLeastOnceDeliverySpec"))
 {
 }
 public MemoryEventAdapterSpec()
     : this("inmem", PersistenceSpec.Configuration("inmem", "MemoryEventAdapterSpec"), ConfigurationFactory.ParseString(AdapterSpecConfig))
 {
 }
Ejemplo n.º 8
0
 public GuaranteedDeliverySpec()
     : base(PersistenceSpec.Configuration("inmem", "GuaranteedDeliverySpec"))
 {
 }
 public MemoryEndToEndAdapterSpec() : base("inmem", PersistenceSpec.Configuration("inmem", "MemoryEndToEndAdapterSpec").WithFallback(Config))
 {
 }