cleanup: Fix more build warnings in DataStreamSuite
Alot more
This commit is contained in:
1 parent
989d103eef
commit
bcd207f89e
118 files changed
+1812
-1597
No files matched your search
@@ -1,6 +1,4 @@
|
||||
using NUnit.Framework;
|
||||
|
||||
using System.Reactive.Disposables;
|
||||
using Spark.Core.Diagnostics;
|
||||
|
||||
namespace bts {
|
||||
[TestFixture]
|
||||
@@ -41,7 +39,7 @@ namespace bts {
|
||||
sub_msg_desered.construct_deserialize(str);
|
||||
Assert.That(sub_msg_desered.connection, Is.EqualTo(sub_msg.connection));
|
||||
Assert.That(sub_msg_desered.subscribing_app, Is.EqualTo(sub_msg.subscribing_app));
|
||||
compare_arrays(sub_msg.tags, sub_msg_desered.tags);
|
||||
compare_arrays(sub_msg.tags, ExceptionAssert.NotNull(sub_msg_desered.tags));
|
||||
Assert.That(sub_msg_desered, Is.EqualTo(sub_msg));
|
||||
}
|
||||
|
||||
@@ -60,7 +58,7 @@ namespace bts {
|
||||
sub_msg_desered.construct_deserialize(str);
|
||||
Assert.That(sub_msg_desered.connection, Is.EqualTo(unsub_msg.connection));
|
||||
Assert.That(sub_msg_desered.subscribing_app, Is.EqualTo(unsub_msg.subscribing_app));
|
||||
compare_arrays<string>(unsub_msg.tags, sub_msg_desered.tags);
|
||||
compare_arrays<string>(unsub_msg.tags, ExceptionAssert.NotNull(sub_msg_desered.tags));
|
||||
}
|
||||
|
||||
[Test]
|
||||
@@ -87,7 +85,7 @@ namespace bts {
|
||||
Assert.That(pub_msg_desered.tag_type, Is.EqualTo(pub_msg.tag_type));
|
||||
Assert.That(pub_msg_desered.is_compressed, Is.EqualTo(pub_msg.is_compressed));
|
||||
Assert.That(pub_msg_desered.publish_time_epoch_ms, Is.EqualTo(pub_msg.publish_time_epoch_ms));
|
||||
Assert.That(pub_msg_desered.data_to_publish.Length, Is.EqualTo(pub_msg.data_to_publish.Length));
|
||||
Assert.That(ExceptionAssert.NotNull(pub_msg_desered.data_to_publish).Length, Is.EqualTo(pub_msg.data_to_publish.Length));
|
||||
compare_arrays(pub_msg.data_to_publish, pub_msg_desered.data_to_publish);
|
||||
}
|
||||
|
||||
@@ -105,7 +103,7 @@ namespace bts {
|
||||
ps_server_msg_desered.construct_deserialize(str);
|
||||
Assert.That(ps_server_msg_desered.tag, Is.EqualTo(ps_server_msg.tag));
|
||||
Assert.That(ps_server_msg_desered.tag_type, Is.EqualTo(ps_server_msg.tag_type));
|
||||
compare_arrays(ps_server_msg.data, ps_server_msg_desered.data);
|
||||
compare_arrays(ps_server_msg.data, ExceptionAssert.NotNull(ps_server_msg_desered.data));
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
Reference in new issue
Block a user