Skip to content
This repository was archived by the owner on Jan 14, 2023. It is now read-only.

Add @Test to testInt8List and fix it #65

Merged
merged 1 commit into from
Feb 27, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public Byte getDefaultValue() {

@Override
public Field newVariableList(String name, int size) {
return ChannelBufferField.newVariable(this, name, size);
return ByteArrayField.newVariable(this, name, size);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ public void testConstantString() {
assertEquals("Hello, ROS! # comment", rawMessage.getString("data"));
}

@Test
public void testInt8List() {
topicDefinitionResourceProvider.add("foo/foo", "int8[] data");
RawMessage rawMessage = messageFactory.newFromType("foo/foo");
Expand Down