Fix audit findings for coverage, architecture checks, and XML docs
This commit is contained in:
@@ -5,6 +5,9 @@ namespace ZB.MOM.WW.CBDD.Tests;
|
||||
|
||||
public class ObjectIdTests
|
||||
{
|
||||
/// <summary>
|
||||
/// Verifies new object identifiers are 12 bytes long.
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void NewObjectId_ShouldCreate12ByteId()
|
||||
{
|
||||
@@ -16,6 +19,9 @@ public class ObjectIdTests
|
||||
bytes.Length.ShouldBe(12);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Verifies object identifiers round-trip from their binary form.
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void ObjectId_ShouldRoundTrip()
|
||||
{
|
||||
@@ -29,6 +35,9 @@ public class ObjectIdTests
|
||||
restored.ShouldBe(original);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Verifies object identifier equality behavior.
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void ObjectId_Equals_ShouldWork()
|
||||
{
|
||||
@@ -40,6 +49,9 @@ public class ObjectIdTests
|
||||
oid3.ShouldNotBe(oid1);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Verifies object identifier timestamps are recent UTC values.
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void ObjectId_Timestamp_ShouldBeRecentUtc()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user