You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
junit.framework.ComparisonFailure: expected:<[{"id":999,"symbolicName":"com.example.test"}]> but was:<[]>
at junit.framework.Assert.assertEquals(Assert.java:100)
at junit.framework.Assert.assertEquals(Assert.java:107)
at junit.framework.TestCase.assertEquals(TestCase.java:269)
at osgi.enroute.dtos.bndlib.provider.TestEncImpl.testAppendable(TestEncImpl.java:31)
Implementation in osgi.enroute.dtos.bndlib.provider.DTOsProvider.EncImpl.put(Appendable)
tries to put given Appendable instance instead of source.
@Override
public void put(Appendable out) throws Exception {
enc.put(out);
}
The difference between both put methods with OutputStream as argument is clear:
Expected behavior:
put(Appendable) or put(OutputStream) should result with JSON content in targeted Appendable or OutputStream instance.
Reproducible against current "master" using following test:
Is Replace enRoute DTO with new Felix implementation related?
The text was updated successfully, but these errors were encountered: