Remove broken test in StructuredSyslogMessageTest

This commit is contained in:
Jochen Schalanda 2015-05-24 12:02:12 +02:00
parent 6d1294cf7e
commit 583e37b0c9

View File

@ -269,14 +269,4 @@ public class StructuredSyslogMessageTest extends TestCase
assertTrue((message.getStructuredData().get("data1")).size() == 1);
assertEquals("b", message.getStructuredData().get("data1").get("a"));
}
public void testMessageWithoutIdOrStructuredData()
{
final String messageStr = "- - TEST";
final StructuredSyslogMessage message = StructuredSyslogMessage.fromString(messageStr);
assertEquals("TEST", message.getMessage());
assertNull(message.getMessageId());
assertTrue(message.getStructuredData().isEmpty());
}
}