Skip to content

Commit

Permalink
re-enabled DData serialization specs now that akkadotnet#3668 has bee…
Browse files Browse the repository at this point in the history
…n merged
  • Loading branch information
Aaronontheweb committed Oct 17, 2019
1 parent a2c71e6 commit caff631
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public ReplicatedDataSerializerSpec(ITestOutputHelper output) : base(BaseConfig,
{
}

[Fact(Skip = "Need https://github.com/akkadotnet/akka.net/pull/3668 merged")]
[Fact()]
public void ReplicatedDataSerializer_should_serialize_GSet()
{
CheckSerialization(GSet<string>.Empty);
Expand All @@ -51,7 +51,7 @@ public void ReplicatedDataSerializer_should_serialize_GSet()
CheckSameContent(GSet.Create(_address1, _address2, _address3), GSet.Create(_address3, _address2, _address1));
}

[Fact(Skip = "Need https://github.com/akkadotnet/akka.net/pull/3668 merged")]
[Fact()]
public void ReplicatedDataSerializer_should_serialize_ORSet()
{
CheckSerialization(ORSet<string>.Empty);
Expand All @@ -74,7 +74,7 @@ public void ReplicatedDataSerializer_should_serialize_ORSet()
CheckSameContent(s3.Merge(s4), s4.Merge(s3));
}

[Fact(Skip = "Need https://github.com/akkadotnet/akka.net/pull/3668 merged")]
[Fact()]
public void ReplicatedDataSerializer_should_serialize_ORSet_delta()
{
CheckSerialization(ORSet<string>.Empty.Add(_address1, "a").Delta);
Expand All @@ -84,21 +84,21 @@ public void ReplicatedDataSerializer_should_serialize_ORSet_delta()
CheckSerialization(ORSet<string>.Empty.Add(_address1, "a").Clear(_address2).Delta);
}

[Fact(Skip = "Need https://github.com/akkadotnet/akka.net/pull/3668 merged")]
[Fact()]
public void ReplicatedDataSerializer_should_serialize_Flag()
{
CheckSerialization(Flag.False);
CheckSerialization(Flag.False.SwitchOn());
}

[Fact(Skip = "Need https://github.com/akkadotnet/akka.net/pull/3668 merged")]
[Fact()]
public void ReplicatedDataSerializer_should_serialize_LWWRegister()
{
CheckSerialization(new LWWRegister<string>(_address1, "value1"));
CheckSerialization(new LWWRegister<string>(_address2, "value2").WithValue(_address2, "value3"));
}

[Fact(Skip = "Need https://github.com/akkadotnet/akka.net/pull/3668 merged")]
[Fact()]
public void ReplicatedDataSerializer_should_serialize_GCounter()
{
CheckSerialization(GCounter.Empty);
Expand All @@ -113,7 +113,7 @@ public void ReplicatedDataSerializer_should_serialize_GCounter()
GCounter.Empty.Increment(_address3, 5).Increment(_address1, 2));
}

[Fact(Skip = "Need https://github.com/akkadotnet/akka.net/pull/3668 merged")]
[Fact()]
public void ReplicatedDataSerializer_should_serialize_PNCounter()
{
CheckSerialization(PNCounter.Empty);
Expand All @@ -133,15 +133,15 @@ public void ReplicatedDataSerializer_should_serialize_PNCounter()
PNCounter.Empty.Increment(_address3, 5).Increment(_address1, 2).Decrement(_address1, 1));
}

[Fact(Skip = "Need https://github.com/akkadotnet/akka.net/pull/3668 merged")]
[Fact()]
public void ReplicatedDataSerializer_should_serialize_ORDictionary()
{
CheckSerialization(ORDictionary<string, GSet<string>>.Empty);
CheckSerialization(ORDictionary<string, GSet<string>>.Empty.SetItem(_address1, "a", GSet.Create("A")));
CheckSerialization(ORDictionary<string, GSet<string>>.Empty.SetItem(_address1, "a", GSet.Create("A")).SetItem(_address2, "b", GSet.Create("B")));
}

[Fact(Skip = "Need https://github.com/akkadotnet/akka.net/pull/3668 merged")]
[Fact()]
public void ReplicatedDataSerializer_should_serialize_ORDictionary_delta()
{
CheckSerialization(ORDictionary<string, GSet<string>>.Empty
Expand Down Expand Up @@ -172,15 +172,15 @@ public void ReplicatedDataSerializer_should_serialize_ORDictionary_delta()
.Delta);
}

[Fact(Skip = "Need https://github.com/akkadotnet/akka.net/pull/3668 merged")]
[Fact()]
public void ReplicatedDataSerializer_should_serialize_LWWDictionary()
{
CheckSerialization(LWWDictionary<string, string>.Empty);
CheckSerialization(LWWDictionary<string, string>.Empty.SetItem(_address1, "a", "value1"));
CheckSerialization(LWWDictionary<string, object>.Empty.SetItem(_address1, "a", "value1").SetItem(_address2, "b", 17));
}

[Fact(Skip = "Need https://github.com/akkadotnet/akka.net/pull/3668 merged")]
[Fact()]
public void ReplicatedDataSerializer_should_serialize_PNCounterDictionary()
{
CheckSerialization(PNCounterDictionary<string>.Empty);
Expand All @@ -191,7 +191,7 @@ public void ReplicatedDataSerializer_should_serialize_PNCounterDictionary()
.Increment(_address2, "b", 5));
}

[Fact(Skip = "Need https://github.com/akkadotnet/akka.net/pull/3668 merged")]
[Fact()]
public void ReplicatedDataSerializer_should_serialize_ORMultiDictionary()
{
CheckSerialization(ORMultiValueDictionary<string, string>.Empty);
Expand All @@ -206,13 +206,13 @@ public void ReplicatedDataSerializer_should_serialize_ORMultiDictionary()
CheckSameContent(m1.Merge(m2), m2.Merge(m1));
}

[Fact(Skip = "Need https://github.com/akkadotnet/akka.net/pull/3668 merged")]
[Fact()]
public void ReplicatedDataSerializer_should_serialize_DeletedData()
{
CheckSerialization(DeletedData.Instance);
}

[Fact(Skip = "Need https://github.com/akkadotnet/akka.net/pull/3668 merged")]
[Fact()]
public void ReplicatedDataSerializer_should_serialize_VersionVector()
{
CheckSerialization(VersionVector.Empty);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public ReplicatorMessageSerializerSpec(ITestOutputHelper output) : base(BaseConf
{
}

[Fact(Skip = "Need https://github.com/akkadotnet/akka.net/pull/3668 merged")]
[Fact()]
public void ReplicatorMessageSerializer_should_serialize_Replicator_message()
{
var ref1 = Sys.ActorOf(Props.Empty, "ref1");
Expand Down

0 comments on commit caff631

Please sign in to comment.