summaryrefslogtreecommitdiffstats
path: root/src/test/java/org/uic/barcode/ticket/api/test/testtickets/CountermarkTestComplexTicketV3.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org/uic/barcode/ticket/api/test/testtickets/CountermarkTestComplexTicketV3.java')
-rw-r--r--src/test/java/org/uic/barcode/ticket/api/test/testtickets/CountermarkTestComplexTicketV3.java170
1 files changed, 1 insertions, 169 deletions
diff --git a/src/test/java/org/uic/barcode/ticket/api/test/testtickets/CountermarkTestComplexTicketV3.java b/src/test/java/org/uic/barcode/ticket/api/test/testtickets/CountermarkTestComplexTicketV3.java
index 1843ec3..7e1b127 100644
--- a/src/test/java/org/uic/barcode/ticket/api/test/testtickets/CountermarkTestComplexTicketV3.java
+++ b/src/test/java/org/uic/barcode/ticket/api/test/testtickets/CountermarkTestComplexTicketV3.java
@@ -116,177 +116,9 @@ value UicRailTicketData ::= {
}
}
-Encoding to the file 'data.uper' using PER UNALIGNED encoding rule...
-UicRailTicketData SEQUENCE [root fieldcount (not encoded) = 5]
- issuingDetail IssuingData SEQUENCE [root fieldcount (not encoded) = 8]
- issuingYear INTEGER [length (not encoded) = 1.0]
- 2018
- issuingDay INTEGER [length (not encoded) = 1.1]
- 1
- issuingTime INTEGER [length (not encoded) = 1.3]
- 600
- specimen BOOLEAN [length (not encoded) = 0.1]
- TRUE
- securePaperTicket BOOLEAN [length (not encoded) = 0.1]
- FALSE
- activated BOOLEAN [length (not encoded) = 0.1]
- TRUE
- issuerPNR IA5String [length = 13.0]
- "issuerTestPNR"
- issuedOnLine INTEGER [length = 1.0]
- 12
- travelerDetail TravelerData SEQUENCE [root fieldcount (not encoded) = 2]
- traveler SEQUENCE OF [count = 1]
- TravelerType SEQUENCE [root fieldcount (not encoded) = 5]
- firstName UTF8String [length = 4.0]
- 0x4a6f686e
- secondName UTF8String [length = 3.0]
- 0x446f77
- idCard IA5String [length = 5.0]
- "12345"
- ticketHolder BOOLEAN [length (not encoded) = 0.1]
- TRUE
- status SEQUENCE OF [count = 1]
- CustomerStatusType SEQUENCE [fieldcount (not encoded) = 1]
- customerStatusDescr IA5String [length = 6.0]
- "senior"
- groupName UTF8String [length = 7.0]
- 0x6d7947726f7570
- transportDocument SEQUENCE OF [count = 1]
- DocumentData SEQUENCE [root fieldcount (not encoded) = 1]
- ticket CHOICE [index = 6]
- counterMark CountermarkData SEQUENCE [root fieldcount (not encoded) = 7]
- numberOfCountermark INTEGER [length (not encoded) = 1.0]
- 12
- totalOfCountermarks INTEGER [length (not encoded) = 1.0]
- 24
- groupName UTF8String [length = 9.0]
- 0x67726f75704e616d65
- validRegion SEQUENCE OF [count = 2]
- RegionalValidityType CHOICE [index = 1]
- viaStations ViaStationType SEQUENCE [root fieldcount (not encoded) = 3]
- route SEQUENCE OF [count = 4]
- ViaStationType SEQUENCE [root fieldcount (not encoded) = 2]
- stationNum INTEGER [length (not encoded) = 3.0]
- 123455
- border BOOLEAN [length (not encoded) = 0.1]
- FALSE
- ViaStationType SEQUENCE [root fieldcount (not encoded) = 2]
- stationNum INTEGER [length (not encoded) = 3.0]
- 123456
- border BOOLEAN [length (not encoded) = 0.1]
- FALSE
- ViaStationType SEQUENCE [root fieldcount (not encoded) = 2]
- alternativeRoutes SEQUENCE OF [count = 2]
- ViaStationType SEQUENCE [root fieldcount (not encoded) = 2]
- route SEQUENCE OF [count = 2]
- ViaStationType SEQUENCE [root fieldcount (not encoded) = 2]
- stationNum INTEGER [length (not encoded) = 3.0]
- 23455
- border BOOLEAN [length (not encoded) = 0.1]
- FALSE
- ViaStationType SEQUENCE [root fieldcount (not encoded) = 2]
- stationNum INTEGER [length (not encoded) = 3.0]
- 23456
- border BOOLEAN [length (not encoded) = 0.1]
- FALSE
- border BOOLEAN [length (not encoded) = 0.1]
- FALSE
- ViaStationType SEQUENCE [root fieldcount (not encoded) = 2]
- route SEQUENCE OF [count = 2]
- ViaStationType SEQUENCE [root fieldcount (not encoded) = 2]
- stationNum INTEGER [length (not encoded) = 3.0]
- 3455
- border BOOLEAN [length (not encoded) = 0.1]
- FALSE
- ViaStationType SEQUENCE [root fieldcount (not encoded) = 2]
- stationNum INTEGER [length (not encoded) = 3.0]
- 3456
- border BOOLEAN [length (not encoded) = 0.1]
- FALSE
- border BOOLEAN [length (not encoded) = 0.1]
- FALSE
- border BOOLEAN [length (not encoded) = 0.1]
- FALSE
- ViaStationType SEQUENCE [root fieldcount (not encoded) = 2]
- stationNum INTEGER [length (not encoded) = 3.0]
- 123457
- border BOOLEAN [length (not encoded) = 0.1]
- FALSE
- border BOOLEAN [length (not encoded) = 0.1]
- FALSE
- seriesId INTEGER [length = 2.0]
- 999
- RegionalValidityType CHOICE [index = 2]
- zones ZoneType SEQUENCE [root fieldcount (not encoded) = 1]
- zoneId SEQUENCE OF [count = 2]
- INTEGER [length = 1.0]
- 100
- INTEGER [length = 2.0]
- 200
- returnIncluded BOOLEAN [length (not encoded) = 0.1]
- FALSE
- classCode TravelClassType ENUMERATED [length (not encoded) = 0.4]
- 1
- infoText UTF8String [length = 11.0]
- 0x636f756e7465724d61726b
- controlDetail ControlData SEQUENCE [root fieldcount (not encoded) = 9]
- identificationByCardReference SEQUENCE OF [count = 1]
- CardReferenceType SEQUENCE [root fieldcount (not encoded) = 1]
- trailingCardIdNum INTEGER [length = 1.0]
- 100
- identificationByIdCard BOOLEAN [length (not encoded) = 0.1]
- FALSE
- identificationByPassportId BOOLEAN [length (not encoded) = 0.1]
- FALSE
- passportValidationRequired BOOLEAN [length (not encoded) = 0.1]
- FALSE
- onlineValidationRequired BOOLEAN [length (not encoded) = 0.1]
- FALSE
- ageCheckRequired BOOLEAN [length (not encoded) = 0.1]
- FALSE
- reductionCardCheckRequired BOOLEAN [length (not encoded) = 0.1]
- FALSE
- infoText UTF8String [length = 2.0]
- 0x6364
- includedTickets SEQUENCE OF [count = 1]
- TicketLinkType SEQUENCE [root fieldcount (not encoded) = 6]
- referenceIA5 IA5String [length = 11.0]
- "UED12435867"
- issuerName UTF8String [length = 4.0]
- 0x4f454242
- issuerPNR IA5String [length = 3.0]
- "PNR"
- productOwnerIA5 IA5String [length = 4.0]
- "test"
- ticketType TicketType ENUMERATED [length (not encoded) = 0.2]
- 1
- linkMode LinkMode ENUMERATED [length (not encoded) = 0.1]
- 1
- extension SEQUENCE OF [count = 2]
- ExtensionData SEQUENCE [fieldcount (not encoded) = 2]
- extensionId IA5String [length = 1.0]
- "1"
- extensionData OCTET STRING [length = 2.0]
- 0x82da
- ExtensionData SEQUENCE [fieldcount (not encoded) = 2]
- extensionId IA5String [length = 1.0]
- "2"
- extensionData OCTET STRING [length = 2.0]
- 0x83da
-Total encoded length = 187.0
-Encoded successfully in 187 bytes:
-78044040 04B14374 F3E7D72F 2A9979F4 A13A9008 6280B400 1044A6F6 86E03446
-F770562C 99B46B01 106E7977 69DFC81D B5E51DC9 BDD5C004 30000202 1058B84B
-3B937BAB 82730B6B 28108240 210000F1 1F080007 88FC1000 40800440 000B73C2
-00005B9F 01000880 00035F84 00001AFE 08000789 000203E7 20040201 640200C8
-042D8DBD D5B9D195 C93585C9 AD300802 01640009 8D90056E 17562C46 2C9A336A
-E1B37044 F4542420 3A13A902 74CBCFA1 40805881 416D00B2 0283DA
-
*/
-
-
+
public static String getEncodingHex() {
return
"7804404004B14374F3E7D72F2A9979F4A13A90086280B4001044A6F686E03446" +