Package it.stefanobertini.zebra.cpcl.labelmode

Examples of it.stefanobertini.zebra.cpcl.labelmode.Aztec


public class AztecTest {

    @Test
    public void test1() {

  CommandInterface command = new Aztec(Orientation.horizontal, new Position(50, 100), 7, 47, "123456789012");

  CommandOutputBuilder output = new CommandOutputBuilder();
  output.printLn("BARCODE AZTEC 50 100 XD 7 EC 47");
  output.printLn("123456789012");
  output.printLn("ENDAZTEC");
View Full Code Here


    }

    @Test
    public void test2() {

  CommandInterface command = new Aztec(Orientation.vertical, new Position(10, 20), 17, 67, "123456789012");

  CommandOutputBuilder output = new CommandOutputBuilder();
  output.printLn("VBARCODE AZTEC 10 20 XD 17 EC 67");
  output.printLn("123456789012");
  output.printLn("ENDAZTEC");
View Full Code Here

  assertCommand(output, command);
    }

    public void fakeTest() {
  Aztec command = new Aztec();
  command.setData("");
  command.setErrorCorrection(0);
  command.setOrientation(Orientation.horizontal);
  command.setPosition(null);
  command.setUnitWidth(0);
  command.getData();
  command.getErrorCorrection();
  command.getOrientation();
  command.getPosition();
  command.getUnitWidth();
  command.toString();
    }
View Full Code Here

TOP

Related Classes of it.stefanobertini.zebra.cpcl.labelmode.Aztec

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.