public void ToFromBinary_NonSpatialAffinityKey_WithProjectGuidAndKeyName() { SimpleBinarizableInstanceTester.TestStruct(new NonSpatialAffinityKey { ProjectUID = Guid.NewGuid(), KeyName = "key name" }, "Empty NonSpatialAffinityKey not same after round trip serialisation with project and key name"); }
public void ToFromBinary_NonSpatialAffinityKey_WithKeyName() { SimpleBinarizableInstanceTester.TestStruct(new NonSpatialAffinityKey { KeyName = "key name" }, "Empty NonSpatialAffinityKey not same after round trip serialisation with key name"); }
public void ToFromBinary_SubGridSpatialAffinityKey_WithProjectUID() { SimpleBinarizableInstanceTester.TestStruct(new SubGridSpatialAffinityKey { ProjectUID = Guid.NewGuid() }, "SubGridSpatialAffinityKey with project UID not same after round trip serialisation"); }
public void ToFromBinary_TAGFileBufferQueueKey_WithFileName() { SimpleBinarizableInstanceTester.TestStruct(new TAGFileBufferQueueKey { FileName = "A-TAG-File.tag" }, "TAGFileBufferQueueKey with file name not same after round trip serialisation"); }
public void ToFromBinary_TAGFileBufferQueueKey_WithFileNameProjectAndAsset() { SimpleBinarizableInstanceTester.TestStruct(new TAGFileBufferQueueKey { FileName = "A-TAG-File.tag", ProjectUID = Guid.NewGuid(), AssetUID = Guid.NewGuid() }, "TAGFileBufferQueueKey with file name, project and asset UIDs not same after round trip serialisation"); }
public void ToFromBinary_SubGridSpatialAffinityKey_WithProjectUIDAndLocation() { SimpleBinarizableInstanceTester.TestStruct(new SubGridSpatialAffinityKey { Version = 123, ProjectUID = Guid.NewGuid(), SubGridX = 12345, SubGridY = 56789 }, "SubGridSpatialAffinityKey with Project UID and location not same after round trip serialisation"); }
public void ToFromBinary_SubGridSpatialAffinityKey_WithProjectUIDLocationAndSegmentIdentifier() { SimpleBinarizableInstanceTester.TestStruct(new SubGridSpatialAffinityKey { Version = 123, ProjectUID = Guid.NewGuid(), SubGridX = 12345, SubGridY = 56789, SegmentStartDateTicks = 123, SegmentEndDateTicks = 456 }, "SubGridSpatialAffinityKey with Project UID, location and segment identifier not same after round trip serialisation"); }
public void ToFromBinary_SubGridSpatialAffinityKey_Simple() { SimpleBinarizableInstanceTester.TestStruct <SubGridSpatialAffinityKey>("Empty SubGridSpatialAffinityKey not same after round trip serialisation"); }
public void ToFromBinary_TAGFileBufferQueueKey_Simple() { SimpleBinarizableInstanceTester.TestStruct <TAGFileBufferQueueKey>("Empty TAGFileBufferQueueKey not same after round trip serialisation"); }