@Test public void testSetRxSource() { RxMsgFileParser parser = new RxMsgFileParser(); parser.setRxSource(0); assertEquals(RxSource.RSU, parser.getRxSource()); parser.setRxSource(1); assertEquals(RxSource.SAT, parser.getRxSource()); parser.setRxSource(2); assertEquals(RxSource.RV, parser.getRxSource()); parser.setRxSource(3); assertEquals(RxSource.SNMP, parser.getRxSource()); parser.setRxSource(4); assertEquals(RxSource.NA, parser.getRxSource()); parser.setRxSource(5); assertEquals(RxSource.UNKNOWN, parser.getRxSource()); parser.setRxSource(6); assertEquals(RxSource.UNKNOWN, parser.getRxSource()); }
public void setRxSource(RxSource rxSource) { this.rxSource = rxSource; }
RxMsgFileParser extends LogFileParser { public void setRxSource(RxSource rxSource) { this.rxSource = rxSource; } }
RxMsgFileParser extends LogFileParser { public void setRxSource(RxSource rxSource) { this.rxSource = rxSource; } RxMsgFileParser(); }
RxMsgFileParser extends LogFileParser { public void setRxSource(RxSource rxSource) { this.rxSource = rxSource; } RxMsgFileParser(); @Override ParserStatus parseFile(BufferedInputStream bis, String fileName); RxSource getRxSource(); void setRxSource(RxSource rxSource); void setRxSource(int rxSourceOrdinal); @Override void writeTo(OutputStream os); }
RxMsgFileParser extends LogFileParser { public void setRxSource(RxSource rxSource) { this.rxSource = rxSource; } RxMsgFileParser(); @Override ParserStatus parseFile(BufferedInputStream bis, String fileName); RxSource getRxSource(); void setRxSource(RxSource rxSource); void setRxSource(int rxSourceOrdinal); @Override void writeTo(OutputStream os);  }