summaryrefslogtreecommitdiffstats
path: root/src/org/uic/barcode/test/utils
diff options
context:
space:
mode:
authorCGantert345 <57003061+CGantert345@users.noreply.github.com>2021-03-25 18:36:58 +0100
committerCGantert345 <57003061+CGantert345@users.noreply.github.com>2021-03-25 18:36:58 +0100
commitfa78c454cc6c9045a539c2518a25adde00eee27a (patch)
treecafd23ff62d39812466f1751af006d010548eca8 /src/org/uic/barcode/test/utils
parent- additional test tickets (diff)
downloadUIC-barcode-fa78c454cc6c9045a539c2518a25adde00eee27a.tar
UIC-barcode-fa78c454cc6c9045a539c2518a25adde00eee27a.tar.gz
UIC-barcode-fa78c454cc6c9045a539c2518a25adde00eee27a.tar.bz2
UIC-barcode-fa78c454cc6c9045a539c2518a25adde00eee27a.tar.lz
UIC-barcode-fa78c454cc6c9045a539c2518a25adde00eee27a.tar.xz
UIC-barcode-fa78c454cc6c9045a539c2518a25adde00eee27a.tar.zst
UIC-barcode-fa78c454cc6c9045a539c2518a25adde00eee27a.zip
Diffstat (limited to 'src/org/uic/barcode/test/utils')
-rw-r--r--src/org/uic/barcode/test/utils/SimpleTestTicketLayout.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/org/uic/barcode/test/utils/SimpleTestTicketLayout.java b/src/org/uic/barcode/test/utils/SimpleTestTicketLayout.java
index b1b6422..7b9ae1b 100644
--- a/src/org/uic/barcode/test/utils/SimpleTestTicketLayout.java
+++ b/src/org/uic/barcode/test/utils/SimpleTestTicketLayout.java
@@ -28,6 +28,21 @@ public class SimpleTestTicketLayout {
assert(layout1.getLayoutStandard().equals(layout2.getLayoutStandard()));
+ for (LayoutElement e1: layout1.getElements() ) {
+
+ for (LayoutElement e2 :layout2.getElements()) {
+
+ boolean found = false;
+ if (e1.getLine() == e2.getLine() && e1.getColumn() == e2.getColumn()) {
+ found = true;
+ assert(e1.getText().equals(e2.getText()));
+ }
+ assert(found == true);
+
+ }
+
+ }
+
}
}