@Test public void testParseSize() throws IOException { Assert.assertEquals(new Size(244, 85), ExecPty.doGetSize(linuxSttySample)); assertEquals(new Size(244, 85), ExecPty.doGetSize(solarisSttySample)); assertEquals(new Size(244, 85), ExecPty.doGetSize(aixSttySample)); assertEquals(new Size(244, 85), ExecPty.doGetSize(macOsSttySample)); assertEquals(new Size(244, 85), ExecPty.doGetSize(netBsdSttySample)); assertEquals(new Size(244, 85), ExecPty.doGetSize(freeBsdSttySample)); assertEquals(new Size(244, 85), ExecPty.doGetSize(hpuxSttySample)); }
static Size doGetSize(String cfg) throws IOException { return new Size(doGetInt("columns", cfg), doGetInt("rows", cfg)); }
ExecPty extends AbstractPty implements Pty { static Size doGetSize(String cfg) throws IOException { return new Size(doGetInt("columns", cfg), doGetInt("rows", cfg)); } }
ExecPty extends AbstractPty implements Pty { static Size doGetSize(String cfg) throws IOException { return new Size(doGetInt("columns", cfg), doGetInt("rows", cfg)); } protected  ExecPty(String name, boolean system); }
ExecPty extends AbstractPty implements Pty { static Size doGetSize(String cfg) throws IOException { return new Size(doGetInt("columns", cfg), doGetInt("rows", cfg)); } protected  ExecPty(String name, boolean system); static Pty current(); @Override void close(); String getName(); @Override InputStream getMasterInput(); @Override OutputStream getMasterOutput(); @Override OutputStream getSlaveOutput(); @Override Attributes getAttr(); @Override Size getSize(); @Override void setSize(Size size); @Override String toString(); }
ExecPty extends AbstractPty implements Pty { static Size doGetSize(String cfg) throws IOException { return new Size(doGetInt("columns", cfg), doGetInt("rows", cfg)); } protected  ExecPty(String name, boolean system); static Pty current(); @Override void close(); String getName(); @Override InputStream getMasterInput(); @Override OutputStream getMasterOutput(); @Override OutputStream getSlaveOutput(); @Override Attributes getAttr(); @Override Size getSize(); @Override void setSize(Size size); @Override String toString();  }