MCPcopy
hub / github.com/arduino/Arduino / testSerialUTF8Decoder

Method testSerialUTF8Decoder

app/test/processing/app/SerialTest.java:50–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48 }
49
50 @Test
51 public void testSerialUTF8Decoder() throws Exception {
52 NullSerial s = new NullSerial();
53 // https://github.com/arduino/Arduino/issues/9808
54 String testdata = "012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789°0123456789";
55 s.processSerialEvent(testdata.getBytes());
56 assertEquals(s.output, testdata);
57 }
58}

Callers

nothing calls this directly

Calls 1

processSerialEventMethod · 0.80

Tested by

no test coverage detected