diff --git a/common/thing/src/test/java/dev/enola/thing/proto/MessageToThingConverterTest.java b/common/thing/src/test/java/dev/enola/thing/proto/MessageToThingConverterTest.java index 25c7cf690..e5850dd71 100644 --- a/common/thing/src/test/java/dev/enola/thing/proto/MessageToThingConverterTest.java +++ b/common/thing/src/test/java/dev/enola/thing/proto/MessageToThingConverterTest.java @@ -47,14 +47,6 @@ public void testSimple() throws ConversionException { check(simple, simpleThingWithProto); } - /* TODO Activate testTimestamp() - @Test - public void testTimestamp() throws ConversionException { - check( - Timestamp.newBuilder().setSeconds(123).setNanos(456), - "1970-01-01T00:02:03.000000456Z"); - } */ - @Test public void testRepeated() throws ConversionException { var repeated = TestRepeated.newBuilder().addLines("one").addLines("two"); @@ -79,15 +71,6 @@ public void testComplex() throws ConversionException { check(complex, complexThingWithProto); } - /* - private void check(Message.Builder thing, String expectedText) throws ConversionException { - var view = Things.from(thing.build()).build(); - assertThat(view.hasStruct()).isFalse(); - assertThat(view.hasText()).isTrue(); - assertThat(view.getText().getString()).isEqualTo(expectedText); - } - */ - private void check(Message.Builder message, Thing.Builder expectedThing) throws ConversionException { var actualThing = c.convert(message.build());