deprecate(lmxproxy): move all LmxProxy code, tests, and docs to deprecated/
LmxProxy is no longer needed. Moved the entire lmxproxy/ workspace, DCL adapter files, and related docs to deprecated/. Removed LmxProxy registration from DataConnectionFactory, project reference from DCL, protocol option from UI, and cleaned up all requirement docs.
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
using FluentAssertions;
|
||||
using Xunit;
|
||||
using ZB.MOM.WW.LmxProxy.Client.Domain;
|
||||
|
||||
namespace ZB.MOM.WW.LmxProxy.Client.Tests.Domain;
|
||||
|
||||
public class VtqTests
|
||||
{
|
||||
[Fact]
|
||||
public void Good_FactoryMethod()
|
||||
{
|
||||
var vtq = Vtq.Good(42.0);
|
||||
vtq.Value.Should().Be(42.0);
|
||||
vtq.Quality.Should().Be(Quality.Good);
|
||||
vtq.Timestamp.Kind.Should().Be(DateTimeKind.Utc);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Bad_FactoryMethod()
|
||||
{
|
||||
var vtq = Vtq.Bad();
|
||||
vtq.Value.Should().BeNull();
|
||||
vtq.Quality.Should().Be(Quality.Bad);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Uncertain_FactoryMethod()
|
||||
{
|
||||
var vtq = Vtq.Uncertain("stale");
|
||||
vtq.Value.Should().Be("stale");
|
||||
vtq.Quality.Should().Be(Quality.Uncertain);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user