From 0596732134f716b0b74b2db0a071d23958ca99b7 Mon Sep 17 00:00:00 2001 From: Mingun Date: Sat, 30 Mar 2024 23:37:00 +0500 Subject: [PATCH] Java: blank line between start of class and @Test method --- spec/java/src/io/kaitai/struct/spec/TestBcdUserTypeBe.java | 1 + spec/java/src/io/kaitai/struct/spec/TestBcdUserTypeLe.java | 1 + spec/java/src/io/kaitai/struct/spec/TestBitsByteAligned.java | 1 + spec/java/src/io/kaitai/struct/spec/TestBitsEnum.java | 1 + spec/java/src/io/kaitai/struct/spec/TestBitsSimple.java | 1 + spec/java/src/io/kaitai/struct/spec/TestBytesPadTerm.java | 1 + spec/java/src/io/kaitai/struct/spec/TestCastNested.java | 1 + spec/java/src/io/kaitai/struct/spec/TestCastToImported.java | 1 + spec/java/src/io/kaitai/struct/spec/TestCastToTop.java | 1 + spec/java/src/io/kaitai/struct/spec/TestDefaultBigEndian.java | 1 + .../io/kaitai/struct/spec/TestDefaultEndianExprInherited.java | 1 + .../src/io/kaitai/struct/spec/TestDefaultEndianExprIsBe.java | 1 + .../src/io/kaitai/struct/spec/TestDefaultEndianExprIsLe.java | 1 + spec/java/src/io/kaitai/struct/spec/TestDefaultEndianMod.java | 1 + spec/java/src/io/kaitai/struct/spec/TestDocstrings.java | 1 + spec/java/src/io/kaitai/struct/spec/TestDocstringsDocref.java | 1 + .../src/io/kaitai/struct/spec/TestDocstringsDocrefMulti.java | 1 + spec/java/src/io/kaitai/struct/spec/TestEnum0.java | 1 + spec/java/src/io/kaitai/struct/spec/TestEnum1.java | 1 + spec/java/src/io/kaitai/struct/spec/TestEnumDeep.java | 1 + spec/java/src/io/kaitai/struct/spec/TestEnumDeepLiterals.java | 1 + spec/java/src/io/kaitai/struct/spec/TestEnumFancy.java | 1 + spec/java/src/io/kaitai/struct/spec/TestEnumIf.java | 1 + spec/java/src/io/kaitai/struct/spec/TestEnumNegative.java | 1 + spec/java/src/io/kaitai/struct/spec/TestEnumOfValueInst.java | 1 + spec/java/src/io/kaitai/struct/spec/TestExpr0.java | 1 + spec/java/src/io/kaitai/struct/spec/TestExpr1.java | 1 + spec/java/src/io/kaitai/struct/spec/TestExpr2.java | 1 + spec/java/src/io/kaitai/struct/spec/TestExpr3.java | 1 + spec/java/src/io/kaitai/struct/spec/TestExprArray.java | 1 + spec/java/src/io/kaitai/struct/spec/TestExprBytesCmp.java | 1 + spec/java/src/io/kaitai/struct/spec/TestExprEnum.java | 1 + spec/java/src/io/kaitai/struct/spec/TestExprIoPos.java | 1 + spec/java/src/io/kaitai/struct/spec/TestExprMod.java | 1 + spec/java/src/io/kaitai/struct/spec/TestExprSizeofType0.java | 1 + spec/java/src/io/kaitai/struct/spec/TestExprSizeofType1.java | 1 + spec/java/src/io/kaitai/struct/spec/TestExprSizeofValue0.java | 1 + .../java/src/io/kaitai/struct/spec/TestExprSizeofValueSized.java | 1 + spec/java/src/io/kaitai/struct/spec/TestFixedContents.java | 1 + spec/java/src/io/kaitai/struct/spec/TestFixedStruct.java | 1 + spec/java/src/io/kaitai/struct/spec/TestFloatingPoints.java | 1 + spec/java/src/io/kaitai/struct/spec/TestHelloWorld.java | 1 + spec/java/src/io/kaitai/struct/spec/TestIfInstances.java | 1 + spec/java/src/io/kaitai/struct/spec/TestIfStruct.java | 1 + spec/java/src/io/kaitai/struct/spec/TestIfValues.java | 1 + spec/java/src/io/kaitai/struct/spec/TestImports0.java | 1 + spec/java/src/io/kaitai/struct/spec/TestImportsAbs.java | 1 + spec/java/src/io/kaitai/struct/spec/TestIndexSizes.java | 1 + spec/java/src/io/kaitai/struct/spec/TestIndexToParamEos.java | 1 + spec/java/src/io/kaitai/struct/spec/TestIndexToParamExpr.java | 1 + spec/java/src/io/kaitai/struct/spec/TestIndexToParamUntil.java | 1 + spec/java/src/io/kaitai/struct/spec/TestInstanceIoUser.java | 1 + spec/java/src/io/kaitai/struct/spec/TestInstanceStd.java | 1 + spec/java/src/io/kaitai/struct/spec/TestInstanceStdArray.java | 1 + spec/java/src/io/kaitai/struct/spec/TestInstanceUserArray.java | 1 + spec/java/src/io/kaitai/struct/spec/TestIntegers.java | 1 + spec/java/src/io/kaitai/struct/spec/TestIoLocalVar.java | 1 + spec/java/src/io/kaitai/struct/spec/TestJsSignedRightShift.java | 1 + spec/java/src/io/kaitai/struct/spec/TestMetaTags.java | 1 + spec/java/src/io/kaitai/struct/spec/TestMetaXref.java | 1 + spec/java/src/io/kaitai/struct/spec/TestMultipleUse.java | 1 + spec/java/src/io/kaitai/struct/spec/TestNavParent.java | 1 + spec/java/src/io/kaitai/struct/spec/TestNavParent2.java | 1 + spec/java/src/io/kaitai/struct/spec/TestNavParent3.java | 1 + spec/java/src/io/kaitai/struct/spec/TestNavParentFalse.java | 1 + spec/java/src/io/kaitai/struct/spec/TestNavParentFalse2.java | 1 + spec/java/src/io/kaitai/struct/spec/TestNavParentOverride.java | 1 + spec/java/src/io/kaitai/struct/spec/TestNavParentSwitch.java | 1 + .../java/src/io/kaitai/struct/spec/TestNavParentVsValueInst.java | 1 + spec/java/src/io/kaitai/struct/spec/TestNavRoot.java | 1 + spec/java/src/io/kaitai/struct/spec/TestNestedSameName.java | 1 + spec/java/src/io/kaitai/struct/spec/TestNestedSameName2.java | 1 + spec/java/src/io/kaitai/struct/spec/TestNestedTypes.java | 1 + spec/java/src/io/kaitai/struct/spec/TestNestedTypes2.java | 1 + spec/java/src/io/kaitai/struct/spec/TestNestedTypes3.java | 1 + spec/java/src/io/kaitai/struct/spec/TestNonStandard.java | 1 + spec/java/src/io/kaitai/struct/spec/TestParamsCall.java | 1 + spec/java/src/io/kaitai/struct/spec/TestParamsEnum.java | 1 + spec/java/src/io/kaitai/struct/spec/TestParamsPassUsertype.java | 1 + spec/java/src/io/kaitai/struct/spec/TestPositionAbs.java | 1 + spec/java/src/io/kaitai/struct/spec/TestPositionInSeq.java | 1 + spec/java/src/io/kaitai/struct/spec/TestPositionToEnd.java | 1 + spec/java/src/io/kaitai/struct/spec/TestProcessCoerceBytes.java | 1 + spec/java/src/io/kaitai/struct/spec/TestProcessCoerceSwitch.java | 1 + .../src/io/kaitai/struct/spec/TestProcessCoerceUsertype1.java | 1 + .../src/io/kaitai/struct/spec/TestProcessCoerceUsertype2.java | 1 + spec/java/src/io/kaitai/struct/spec/TestProcessCustom.java | 1 + spec/java/src/io/kaitai/struct/spec/TestProcessRotate.java | 1 + spec/java/src/io/kaitai/struct/spec/TestProcessToUser.java | 1 + spec/java/src/io/kaitai/struct/spec/TestProcessXor4Const.java | 1 + spec/java/src/io/kaitai/struct/spec/TestProcessXor4Value.java | 1 + spec/java/src/io/kaitai/struct/spec/TestProcessXorConst.java | 1 + spec/java/src/io/kaitai/struct/spec/TestProcessXorValue.java | 1 + spec/java/src/io/kaitai/struct/spec/TestRecursiveOne.java | 1 + spec/java/src/io/kaitai/struct/spec/TestRepeatEosBit.java | 1 + spec/java/src/io/kaitai/struct/spec/TestRepeatEosStruct.java | 1 + spec/java/src/io/kaitai/struct/spec/TestRepeatNStruct.java | 1 + spec/java/src/io/kaitai/struct/spec/TestRepeatNStrz.java | 1 + spec/java/src/io/kaitai/struct/spec/TestRepeatNStrzDouble.java | 1 + spec/java/src/io/kaitai/struct/spec/TestRepeatUntilComplex.java | 1 + spec/java/src/io/kaitai/struct/spec/TestRepeatUntilS4.java | 1 + spec/java/src/io/kaitai/struct/spec/TestRepeatUntilSized.java | 1 + spec/java/src/io/kaitai/struct/spec/TestStrEncodings.java | 1 + spec/java/src/io/kaitai/struct/spec/TestStrEncodingsDefault.java | 1 + spec/java/src/io/kaitai/struct/spec/TestStrEos.java | 1 + spec/java/src/io/kaitai/struct/spec/TestStrLiterals2.java | 1 + spec/java/src/io/kaitai/struct/spec/TestStrPadTerm.java | 1 + spec/java/src/io/kaitai/struct/spec/TestStrPadTermEmpty.java | 1 + spec/java/src/io/kaitai/struct/spec/TestSwitchBytearray.java | 1 + spec/java/src/io/kaitai/struct/spec/TestSwitchIntegers.java | 1 + spec/java/src/io/kaitai/struct/spec/TestSwitchIntegers2.java | 1 + spec/java/src/io/kaitai/struct/spec/TestSwitchManualEnum.java | 1 + spec/java/src/io/kaitai/struct/spec/TestSwitchManualInt.java | 1 + spec/java/src/io/kaitai/struct/spec/TestSwitchManualIntElse.java | 1 + .../src/io/kaitai/struct/spec/TestSwitchManualIntSizeElse.java | 1 + spec/java/src/io/kaitai/struct/spec/TestSwitchManualStr.java | 1 + spec/java/src/io/kaitai/struct/spec/TestSwitchManualStrElse.java | 1 + spec/java/src/io/kaitai/struct/spec/TestTermBytes.java | 1 + spec/java/src/io/kaitai/struct/spec/TestTermStrz.java | 1 + spec/java/src/io/kaitai/struct/spec/TestTsPacketHeader.java | 1 + spec/java/src/io/kaitai/struct/spec/TestTypeIntUnaryOp.java | 1 + spec/java/src/io/kaitai/struct/spec/TestTypeTernary.java | 1 + spec/java/src/io/kaitai/struct/spec/TestUserType.java | 1 + spec/java/src/io/kaitai/struct/spec/TestZlibWithHeader78.java | 1 + 124 files changed, 124 insertions(+) diff --git a/spec/java/src/io/kaitai/struct/spec/TestBcdUserTypeBe.java b/spec/java/src/io/kaitai/struct/spec/TestBcdUserTypeBe.java index d6301c028..458a03bec 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestBcdUserTypeBe.java +++ b/spec/java/src/io/kaitai/struct/spec/TestBcdUserTypeBe.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestBcdUserTypeBe extends CommonSpec { + @Test public void testBcdUserTypeBe() throws Exception { BcdUserTypeBe r = BcdUserTypeBe.fromFile(SRC_DIR + "bcd_user_type_be.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestBcdUserTypeLe.java b/spec/java/src/io/kaitai/struct/spec/TestBcdUserTypeLe.java index 531e6eba5..3e51b16dc 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestBcdUserTypeLe.java +++ b/spec/java/src/io/kaitai/struct/spec/TestBcdUserTypeLe.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestBcdUserTypeLe extends CommonSpec { + @Test public void testBcdUserTypeLe() throws Exception { BcdUserTypeLe r = BcdUserTypeLe.fromFile(SRC_DIR + "bcd_user_type_le.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestBitsByteAligned.java b/spec/java/src/io/kaitai/struct/spec/TestBitsByteAligned.java index 128986510..15ee8b641 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestBitsByteAligned.java +++ b/spec/java/src/io/kaitai/struct/spec/TestBitsByteAligned.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestBitsByteAligned extends CommonSpec { + @Test public void testBitsByteAligned() throws Exception { BitsByteAligned r = BitsByteAligned.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestBitsEnum.java b/spec/java/src/io/kaitai/struct/spec/TestBitsEnum.java index 3a23bd29c..d926b5715 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestBitsEnum.java +++ b/spec/java/src/io/kaitai/struct/spec/TestBitsEnum.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestBitsEnum extends CommonSpec { + @Test public void testBitsEnum() throws Exception { BitsEnum r = BitsEnum.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestBitsSimple.java b/spec/java/src/io/kaitai/struct/spec/TestBitsSimple.java index 9db5f2c7a..b27ac7d45 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestBitsSimple.java +++ b/spec/java/src/io/kaitai/struct/spec/TestBitsSimple.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestBitsSimple extends CommonSpec { + @Test public void testBitsSimple() throws Exception { BitsSimple r = BitsSimple.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestBytesPadTerm.java b/spec/java/src/io/kaitai/struct/spec/TestBytesPadTerm.java index 66d8d1024..9d28d8892 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestBytesPadTerm.java +++ b/spec/java/src/io/kaitai/struct/spec/TestBytesPadTerm.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestBytesPadTerm extends CommonSpec { + @Test public void testBytesPadTerm() throws Exception { BytesPadTerm r = BytesPadTerm.fromFile(SRC_DIR + "str_pad_term.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestCastNested.java b/spec/java/src/io/kaitai/struct/spec/TestCastNested.java index fecdc7a0c..297f0391a 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestCastNested.java +++ b/spec/java/src/io/kaitai/struct/spec/TestCastNested.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestCastNested extends CommonSpec { + @Test public void testCastNested() throws Exception { CastNested r = CastNested.fromFile(SRC_DIR + "switch_opcodes.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestCastToImported.java b/spec/java/src/io/kaitai/struct/spec/TestCastToImported.java index 6eb504928..9ce78e536 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestCastToImported.java +++ b/spec/java/src/io/kaitai/struct/spec/TestCastToImported.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestCastToImported extends CommonSpec { + @Test public void testCastToImported() throws Exception { CastToImported r = CastToImported.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestCastToTop.java b/spec/java/src/io/kaitai/struct/spec/TestCastToTop.java index b44e71823..b17ca735a 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestCastToTop.java +++ b/spec/java/src/io/kaitai/struct/spec/TestCastToTop.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestCastToTop extends CommonSpec { + @Test public void testCastToTop() throws Exception { CastToTop r = CastToTop.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestDefaultBigEndian.java b/spec/java/src/io/kaitai/struct/spec/TestDefaultBigEndian.java index 86f9e7785..718790a4f 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestDefaultBigEndian.java +++ b/spec/java/src/io/kaitai/struct/spec/TestDefaultBigEndian.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestDefaultBigEndian extends CommonSpec { + @Test public void testDefaultBigEndian() throws Exception { DefaultBigEndian r = DefaultBigEndian.fromFile(SRC_DIR + "enum_0.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestDefaultEndianExprInherited.java b/spec/java/src/io/kaitai/struct/spec/TestDefaultEndianExprInherited.java index 8864c52f5..e19c226c1 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestDefaultEndianExprInherited.java +++ b/spec/java/src/io/kaitai/struct/spec/TestDefaultEndianExprInherited.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestDefaultEndianExprInherited extends CommonSpec { + @Test public void testDefaultEndianExprInherited() throws Exception { DefaultEndianExprInherited r = DefaultEndianExprInherited.fromFile(SRC_DIR + "endian_expr.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestDefaultEndianExprIsBe.java b/spec/java/src/io/kaitai/struct/spec/TestDefaultEndianExprIsBe.java index f66990164..ca67093e2 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestDefaultEndianExprIsBe.java +++ b/spec/java/src/io/kaitai/struct/spec/TestDefaultEndianExprIsBe.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestDefaultEndianExprIsBe extends CommonSpec { + @Test public void testDefaultEndianExprIsBe() throws Exception { DefaultEndianExprIsBe r = DefaultEndianExprIsBe.fromFile(SRC_DIR + "endian_expr.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestDefaultEndianExprIsLe.java b/spec/java/src/io/kaitai/struct/spec/TestDefaultEndianExprIsLe.java index 6d5bc6ac0..44b451fb4 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestDefaultEndianExprIsLe.java +++ b/spec/java/src/io/kaitai/struct/spec/TestDefaultEndianExprIsLe.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestDefaultEndianExprIsLe extends CommonSpec { + @Test public void testDefaultEndianExprIsLe() throws Exception { DefaultEndianExprIsLe r = DefaultEndianExprIsLe.fromFile(SRC_DIR + "endian_expr.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestDefaultEndianMod.java b/spec/java/src/io/kaitai/struct/spec/TestDefaultEndianMod.java index 1d75cfd1e..e504fcdfc 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestDefaultEndianMod.java +++ b/spec/java/src/io/kaitai/struct/spec/TestDefaultEndianMod.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestDefaultEndianMod extends CommonSpec { + @Test public void testDefaultEndianMod() throws Exception { DefaultEndianMod r = DefaultEndianMod.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestDocstrings.java b/spec/java/src/io/kaitai/struct/spec/TestDocstrings.java index aafd5640c..0fd1bdcef 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestDocstrings.java +++ b/spec/java/src/io/kaitai/struct/spec/TestDocstrings.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestDocstrings extends CommonSpec { + @Test public void testDocstrings() throws Exception { Docstrings r = Docstrings.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestDocstringsDocref.java b/spec/java/src/io/kaitai/struct/spec/TestDocstringsDocref.java index 5e52e35ab..14310b9cf 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestDocstringsDocref.java +++ b/spec/java/src/io/kaitai/struct/spec/TestDocstringsDocref.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestDocstringsDocref extends CommonSpec { + @Test public void testDocstringsDocref() throws Exception { DocstringsDocref r = DocstringsDocref.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestDocstringsDocrefMulti.java b/spec/java/src/io/kaitai/struct/spec/TestDocstringsDocrefMulti.java index be2f143f7..74cfeebd1 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestDocstringsDocrefMulti.java +++ b/spec/java/src/io/kaitai/struct/spec/TestDocstringsDocrefMulti.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestDocstringsDocrefMulti extends CommonSpec { + @Test public void testDocstringsDocrefMulti() throws Exception { DocstringsDocrefMulti r = DocstringsDocrefMulti.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestEnum0.java b/spec/java/src/io/kaitai/struct/spec/TestEnum0.java index 2469293b5..f1f18a588 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestEnum0.java +++ b/spec/java/src/io/kaitai/struct/spec/TestEnum0.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestEnum0 extends CommonSpec { + @Test public void testEnum0() throws Exception { Enum0 r = Enum0.fromFile(SRC_DIR + "enum_0.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestEnum1.java b/spec/java/src/io/kaitai/struct/spec/TestEnum1.java index 0ef2532a7..7eb05de65 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestEnum1.java +++ b/spec/java/src/io/kaitai/struct/spec/TestEnum1.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestEnum1 extends CommonSpec { + @Test public void testEnum1() throws Exception { Enum1 r = Enum1.fromFile(SRC_DIR + "enum_0.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestEnumDeep.java b/spec/java/src/io/kaitai/struct/spec/TestEnumDeep.java index 310ba7fec..944d4204b 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestEnumDeep.java +++ b/spec/java/src/io/kaitai/struct/spec/TestEnumDeep.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestEnumDeep extends CommonSpec { + @Test public void testEnumDeep() throws Exception { EnumDeep r = EnumDeep.fromFile(SRC_DIR + "enum_0.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestEnumDeepLiterals.java b/spec/java/src/io/kaitai/struct/spec/TestEnumDeepLiterals.java index f4dc7ed3d..a735650f1 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestEnumDeepLiterals.java +++ b/spec/java/src/io/kaitai/struct/spec/TestEnumDeepLiterals.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestEnumDeepLiterals extends CommonSpec { + @Test public void testEnumDeepLiterals() throws Exception { EnumDeepLiterals r = EnumDeepLiterals.fromFile(SRC_DIR + "enum_0.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestEnumFancy.java b/spec/java/src/io/kaitai/struct/spec/TestEnumFancy.java index 871f16d72..9e1b4082e 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestEnumFancy.java +++ b/spec/java/src/io/kaitai/struct/spec/TestEnumFancy.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestEnumFancy extends CommonSpec { + @Test public void testEnumFancy() throws Exception { EnumFancy r = EnumFancy.fromFile(SRC_DIR + "enum_0.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestEnumIf.java b/spec/java/src/io/kaitai/struct/spec/TestEnumIf.java index cb3c5769c..55fd82e40 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestEnumIf.java +++ b/spec/java/src/io/kaitai/struct/spec/TestEnumIf.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestEnumIf extends CommonSpec { + @Test public void testEnumIf() throws Exception { EnumIf r = EnumIf.fromFile(SRC_DIR + "if_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestEnumNegative.java b/spec/java/src/io/kaitai/struct/spec/TestEnumNegative.java index 85ff033fe..9471da64e 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestEnumNegative.java +++ b/spec/java/src/io/kaitai/struct/spec/TestEnumNegative.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestEnumNegative extends CommonSpec { + @Test public void testEnumNegative() throws Exception { EnumNegative r = EnumNegative.fromFile(SRC_DIR + "enum_negative.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestEnumOfValueInst.java b/spec/java/src/io/kaitai/struct/spec/TestEnumOfValueInst.java index 54a110ad6..a24d6026e 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestEnumOfValueInst.java +++ b/spec/java/src/io/kaitai/struct/spec/TestEnumOfValueInst.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestEnumOfValueInst extends CommonSpec { + @Test public void testEnumOfValueInst() throws Exception { EnumOfValueInst r = EnumOfValueInst.fromFile(SRC_DIR + "enum_0.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestExpr0.java b/spec/java/src/io/kaitai/struct/spec/TestExpr0.java index d1346cfbc..45b291a9f 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestExpr0.java +++ b/spec/java/src/io/kaitai/struct/spec/TestExpr0.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestExpr0 extends CommonSpec { + @Test public void testExpr0() throws Exception { Expr0 r = Expr0.fromFile(SRC_DIR + "str_encodings.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestExpr1.java b/spec/java/src/io/kaitai/struct/spec/TestExpr1.java index af3abd6a1..014ff4a2f 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestExpr1.java +++ b/spec/java/src/io/kaitai/struct/spec/TestExpr1.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestExpr1 extends CommonSpec { + @Test public void testExpr1() throws Exception { Expr1 r = Expr1.fromFile(SRC_DIR + "str_encodings.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestExpr2.java b/spec/java/src/io/kaitai/struct/spec/TestExpr2.java index 160d0fa30..2e4ffc4db 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestExpr2.java +++ b/spec/java/src/io/kaitai/struct/spec/TestExpr2.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestExpr2 extends CommonSpec { + @Test public void testExpr2() throws Exception { Expr2 r = Expr2.fromFile(SRC_DIR + "str_encodings.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestExpr3.java b/spec/java/src/io/kaitai/struct/spec/TestExpr3.java index d476eec22..f48d1b109 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestExpr3.java +++ b/spec/java/src/io/kaitai/struct/spec/TestExpr3.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestExpr3 extends CommonSpec { + @Test public void testExpr3() throws Exception { Expr3 r = Expr3.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestExprArray.java b/spec/java/src/io/kaitai/struct/spec/TestExprArray.java index 214eb1ea0..1f6296c2a 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestExprArray.java +++ b/spec/java/src/io/kaitai/struct/spec/TestExprArray.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestExprArray extends CommonSpec { + @Test public void testExprArray() throws Exception { ExprArray r = ExprArray.fromFile(SRC_DIR + "expr_array.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestExprBytesCmp.java b/spec/java/src/io/kaitai/struct/spec/TestExprBytesCmp.java index b689a1a31..830d11b9a 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestExprBytesCmp.java +++ b/spec/java/src/io/kaitai/struct/spec/TestExprBytesCmp.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestExprBytesCmp extends CommonSpec { + @Test public void testExprBytesCmp() throws Exception { ExprBytesCmp r = ExprBytesCmp.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestExprEnum.java b/spec/java/src/io/kaitai/struct/spec/TestExprEnum.java index d1021367f..6bd19e03e 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestExprEnum.java +++ b/spec/java/src/io/kaitai/struct/spec/TestExprEnum.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestExprEnum extends CommonSpec { + @Test public void testExprEnum() throws Exception { ExprEnum r = ExprEnum.fromFile(SRC_DIR + "term_strz.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestExprIoPos.java b/spec/java/src/io/kaitai/struct/spec/TestExprIoPos.java index 0a5676e03..2c4c3be44 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestExprIoPos.java +++ b/spec/java/src/io/kaitai/struct/spec/TestExprIoPos.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestExprIoPos extends CommonSpec { + @Test public void testExprIoPos() throws Exception { ExprIoPos r = ExprIoPos.fromFile(SRC_DIR + "expr_io_pos.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestExprMod.java b/spec/java/src/io/kaitai/struct/spec/TestExprMod.java index 0a9bdf545..0ada903cf 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestExprMod.java +++ b/spec/java/src/io/kaitai/struct/spec/TestExprMod.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestExprMod extends CommonSpec { + @Test public void testExprMod() throws Exception { ExprMod r = ExprMod.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestExprSizeofType0.java b/spec/java/src/io/kaitai/struct/spec/TestExprSizeofType0.java index 588b3868a..ef3bb2384 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestExprSizeofType0.java +++ b/spec/java/src/io/kaitai/struct/spec/TestExprSizeofType0.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestExprSizeofType0 extends CommonSpec { + @Test public void testExprSizeofType0() throws Exception { ExprSizeofType0 r = ExprSizeofType0.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestExprSizeofType1.java b/spec/java/src/io/kaitai/struct/spec/TestExprSizeofType1.java index d6ad590ce..41a22778f 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestExprSizeofType1.java +++ b/spec/java/src/io/kaitai/struct/spec/TestExprSizeofType1.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestExprSizeofType1 extends CommonSpec { + @Test public void testExprSizeofType1() throws Exception { ExprSizeofType1 r = ExprSizeofType1.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestExprSizeofValue0.java b/spec/java/src/io/kaitai/struct/spec/TestExprSizeofValue0.java index b283e03fe..ecd6de647 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestExprSizeofValue0.java +++ b/spec/java/src/io/kaitai/struct/spec/TestExprSizeofValue0.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestExprSizeofValue0 extends CommonSpec { + @Test public void testExprSizeofValue0() throws Exception { ExprSizeofValue0 r = ExprSizeofValue0.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestExprSizeofValueSized.java b/spec/java/src/io/kaitai/struct/spec/TestExprSizeofValueSized.java index 2cb5cb556..a6b71f62e 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestExprSizeofValueSized.java +++ b/spec/java/src/io/kaitai/struct/spec/TestExprSizeofValueSized.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestExprSizeofValueSized extends CommonSpec { + @Test public void testExprSizeofValueSized() throws Exception { ExprSizeofValueSized r = ExprSizeofValueSized.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestFixedContents.java b/spec/java/src/io/kaitai/struct/spec/TestFixedContents.java index 871657dc9..3c1f253f1 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestFixedContents.java +++ b/spec/java/src/io/kaitai/struct/spec/TestFixedContents.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestFixedContents extends CommonSpec { + @Test public void testFixedContents() throws Exception { FixedContents r = FixedContents.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestFixedStruct.java b/spec/java/src/io/kaitai/struct/spec/TestFixedStruct.java index 45135b5d8..87d7b6e53 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestFixedStruct.java +++ b/spec/java/src/io/kaitai/struct/spec/TestFixedStruct.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestFixedStruct extends CommonSpec { + @Test public void testFixedStruct() throws Exception { FixedStruct r = FixedStruct.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestFloatingPoints.java b/spec/java/src/io/kaitai/struct/spec/TestFloatingPoints.java index 63ff90f05..6cbea6f44 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestFloatingPoints.java +++ b/spec/java/src/io/kaitai/struct/spec/TestFloatingPoints.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestFloatingPoints extends CommonSpec { + @Test public void testFloatingPoints() throws Exception { FloatingPoints r = FloatingPoints.fromFile(SRC_DIR + "floating_points.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestHelloWorld.java b/spec/java/src/io/kaitai/struct/spec/TestHelloWorld.java index d3c187501..65406b0c5 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestHelloWorld.java +++ b/spec/java/src/io/kaitai/struct/spec/TestHelloWorld.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestHelloWorld extends CommonSpec { + @Test public void testHelloWorld() throws Exception { HelloWorld r = HelloWorld.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestIfInstances.java b/spec/java/src/io/kaitai/struct/spec/TestIfInstances.java index 80aba29b9..867753d74 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestIfInstances.java +++ b/spec/java/src/io/kaitai/struct/spec/TestIfInstances.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestIfInstances extends CommonSpec { + @Test public void testIfInstances() throws Exception { IfInstances r = IfInstances.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestIfStruct.java b/spec/java/src/io/kaitai/struct/spec/TestIfStruct.java index e3c960940..d28d8b35e 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestIfStruct.java +++ b/spec/java/src/io/kaitai/struct/spec/TestIfStruct.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestIfStruct extends CommonSpec { + @Test public void testIfStruct() throws Exception { IfStruct r = IfStruct.fromFile(SRC_DIR + "if_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestIfValues.java b/spec/java/src/io/kaitai/struct/spec/TestIfValues.java index e3528d5bb..869c4dd87 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestIfValues.java +++ b/spec/java/src/io/kaitai/struct/spec/TestIfValues.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestIfValues extends CommonSpec { + @Test public void testIfValues() throws Exception { IfValues r = IfValues.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestImports0.java b/spec/java/src/io/kaitai/struct/spec/TestImports0.java index 3114ebe33..897b41000 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestImports0.java +++ b/spec/java/src/io/kaitai/struct/spec/TestImports0.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestImports0 extends CommonSpec { + @Test public void testImports0() throws Exception { Imports0 r = Imports0.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestImportsAbs.java b/spec/java/src/io/kaitai/struct/spec/TestImportsAbs.java index 6c4bfb982..24f4d53e9 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestImportsAbs.java +++ b/spec/java/src/io/kaitai/struct/spec/TestImportsAbs.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestImportsAbs extends CommonSpec { + @Test public void testImportsAbs() throws Exception { ImportsAbs r = ImportsAbs.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestIndexSizes.java b/spec/java/src/io/kaitai/struct/spec/TestIndexSizes.java index f1995d9ee..81a0c24cc 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestIndexSizes.java +++ b/spec/java/src/io/kaitai/struct/spec/TestIndexSizes.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestIndexSizes extends CommonSpec { + @Test public void testIndexSizes() throws Exception { IndexSizes r = IndexSizes.fromFile(SRC_DIR + "index_sizes.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestIndexToParamEos.java b/spec/java/src/io/kaitai/struct/spec/TestIndexToParamEos.java index 8d7d9743a..9585589b6 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestIndexToParamEos.java +++ b/spec/java/src/io/kaitai/struct/spec/TestIndexToParamEos.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestIndexToParamEos extends CommonSpec { + @Test public void testIndexToParamEos() throws Exception { IndexToParamEos r = IndexToParamEos.fromFile(SRC_DIR + "index_sizes.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestIndexToParamExpr.java b/spec/java/src/io/kaitai/struct/spec/TestIndexToParamExpr.java index d7d2c859e..7ffb02726 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestIndexToParamExpr.java +++ b/spec/java/src/io/kaitai/struct/spec/TestIndexToParamExpr.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestIndexToParamExpr extends CommonSpec { + @Test public void testIndexToParamExpr() throws Exception { IndexToParamExpr r = IndexToParamExpr.fromFile(SRC_DIR + "index_sizes.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestIndexToParamUntil.java b/spec/java/src/io/kaitai/struct/spec/TestIndexToParamUntil.java index e38a7567a..67da2312a 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestIndexToParamUntil.java +++ b/spec/java/src/io/kaitai/struct/spec/TestIndexToParamUntil.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestIndexToParamUntil extends CommonSpec { + @Test public void testIndexToParamUntil() throws Exception { IndexToParamUntil r = IndexToParamUntil.fromFile(SRC_DIR + "index_sizes.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestInstanceIoUser.java b/spec/java/src/io/kaitai/struct/spec/TestInstanceIoUser.java index b4664bbd4..021f41538 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestInstanceIoUser.java +++ b/spec/java/src/io/kaitai/struct/spec/TestInstanceIoUser.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestInstanceIoUser extends CommonSpec { + @Test public void testInstanceIoUser() throws Exception { InstanceIoUser r = InstanceIoUser.fromFile(SRC_DIR + "instance_io.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestInstanceStd.java b/spec/java/src/io/kaitai/struct/spec/TestInstanceStd.java index 72103b1d0..71e98a836 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestInstanceStd.java +++ b/spec/java/src/io/kaitai/struct/spec/TestInstanceStd.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestInstanceStd extends CommonSpec { + @Test public void testInstanceStd() throws Exception { InstanceStd r = InstanceStd.fromFile(SRC_DIR + "str_encodings.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestInstanceStdArray.java b/spec/java/src/io/kaitai/struct/spec/TestInstanceStdArray.java index cf95865fd..d7c5847f6 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestInstanceStdArray.java +++ b/spec/java/src/io/kaitai/struct/spec/TestInstanceStdArray.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestInstanceStdArray extends CommonSpec { + @Test public void testInstanceStdArray() throws Exception { InstanceStdArray r = InstanceStdArray.fromFile(SRC_DIR + "instance_std_array.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestInstanceUserArray.java b/spec/java/src/io/kaitai/struct/spec/TestInstanceUserArray.java index 72c99d44c..d956e536b 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestInstanceUserArray.java +++ b/spec/java/src/io/kaitai/struct/spec/TestInstanceUserArray.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestInstanceUserArray extends CommonSpec { + @Test public void testInstanceUserArray() throws Exception { InstanceUserArray r = InstanceUserArray.fromFile(SRC_DIR + "instance_std_array.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestIntegers.java b/spec/java/src/io/kaitai/struct/spec/TestIntegers.java index c62197e26..fd081f5c0 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestIntegers.java +++ b/spec/java/src/io/kaitai/struct/spec/TestIntegers.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestIntegers extends CommonSpec { + @Test public void testIntegers() throws Exception { Integers r = Integers.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestIoLocalVar.java b/spec/java/src/io/kaitai/struct/spec/TestIoLocalVar.java index c5d0f2531..24a691818 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestIoLocalVar.java +++ b/spec/java/src/io/kaitai/struct/spec/TestIoLocalVar.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestIoLocalVar extends CommonSpec { + @Test public void testIoLocalVar() throws Exception { IoLocalVar r = IoLocalVar.fromFile(SRC_DIR + "full256.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestJsSignedRightShift.java b/spec/java/src/io/kaitai/struct/spec/TestJsSignedRightShift.java index 0b7a1cd8a..d67e45e26 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestJsSignedRightShift.java +++ b/spec/java/src/io/kaitai/struct/spec/TestJsSignedRightShift.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestJsSignedRightShift extends CommonSpec { + @Test public void testJsSignedRightShift() throws Exception { JsSignedRightShift r = JsSignedRightShift.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestMetaTags.java b/spec/java/src/io/kaitai/struct/spec/TestMetaTags.java index e978d01e7..a05919cf1 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestMetaTags.java +++ b/spec/java/src/io/kaitai/struct/spec/TestMetaTags.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestMetaTags extends CommonSpec { + @Test public void testMetaTags() throws Exception { MetaTags r = MetaTags.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestMetaXref.java b/spec/java/src/io/kaitai/struct/spec/TestMetaXref.java index 293aa9d9e..271e1a2ea 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestMetaXref.java +++ b/spec/java/src/io/kaitai/struct/spec/TestMetaXref.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestMetaXref extends CommonSpec { + @Test public void testMetaXref() throws Exception { MetaXref r = MetaXref.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestMultipleUse.java b/spec/java/src/io/kaitai/struct/spec/TestMultipleUse.java index 8b6320a75..3790461db 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestMultipleUse.java +++ b/spec/java/src/io/kaitai/struct/spec/TestMultipleUse.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestMultipleUse extends CommonSpec { + @Test public void testMultipleUse() throws Exception { MultipleUse r = MultipleUse.fromFile(SRC_DIR + "position_abs.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestNavParent.java b/spec/java/src/io/kaitai/struct/spec/TestNavParent.java index 7f09a528a..3c3872c7c 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestNavParent.java +++ b/spec/java/src/io/kaitai/struct/spec/TestNavParent.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestNavParent extends CommonSpec { + @Test public void testNavParent() throws Exception { NavParent r = NavParent.fromFile(SRC_DIR + "nav.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestNavParent2.java b/spec/java/src/io/kaitai/struct/spec/TestNavParent2.java index 7facaf3fa..3cbf9cf31 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestNavParent2.java +++ b/spec/java/src/io/kaitai/struct/spec/TestNavParent2.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestNavParent2 extends CommonSpec { + @Test public void testNavParent2() throws Exception { NavParent2 r = NavParent2.fromFile(SRC_DIR + "nav_parent2.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestNavParent3.java b/spec/java/src/io/kaitai/struct/spec/TestNavParent3.java index 78242acf4..13d5b358a 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestNavParent3.java +++ b/spec/java/src/io/kaitai/struct/spec/TestNavParent3.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestNavParent3 extends CommonSpec { + @Test public void testNavParent3() throws Exception { NavParent3 r = NavParent3.fromFile(SRC_DIR + "nav_parent2.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestNavParentFalse.java b/spec/java/src/io/kaitai/struct/spec/TestNavParentFalse.java index 6f609cfe6..86afed54c 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestNavParentFalse.java +++ b/spec/java/src/io/kaitai/struct/spec/TestNavParentFalse.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestNavParentFalse extends CommonSpec { + @Test public void testNavParentFalse() throws Exception { NavParentFalse r = NavParentFalse.fromFile(SRC_DIR + "nav_parent_codes.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestNavParentFalse2.java b/spec/java/src/io/kaitai/struct/spec/TestNavParentFalse2.java index 0ff028e96..e781d7701 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestNavParentFalse2.java +++ b/spec/java/src/io/kaitai/struct/spec/TestNavParentFalse2.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestNavParentFalse2 extends CommonSpec { + @Test public void testNavParentFalse2() throws Exception { NavParentFalse2 r = NavParentFalse2.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestNavParentOverride.java b/spec/java/src/io/kaitai/struct/spec/TestNavParentOverride.java index fe23b5f2b..310dde61a 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestNavParentOverride.java +++ b/spec/java/src/io/kaitai/struct/spec/TestNavParentOverride.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestNavParentOverride extends CommonSpec { + @Test public void testNavParentOverride() throws Exception { NavParentOverride r = NavParentOverride.fromFile(SRC_DIR + "nav_parent_codes.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestNavParentSwitch.java b/spec/java/src/io/kaitai/struct/spec/TestNavParentSwitch.java index aba80872c..89379df79 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestNavParentSwitch.java +++ b/spec/java/src/io/kaitai/struct/spec/TestNavParentSwitch.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestNavParentSwitch extends CommonSpec { + @Test public void testNavParentSwitch() throws Exception { NavParentSwitch r = NavParentSwitch.fromFile(SRC_DIR + "nav_parent_switch.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestNavParentVsValueInst.java b/spec/java/src/io/kaitai/struct/spec/TestNavParentVsValueInst.java index 5008278eb..45dca5fb5 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestNavParentVsValueInst.java +++ b/spec/java/src/io/kaitai/struct/spec/TestNavParentVsValueInst.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestNavParentVsValueInst extends CommonSpec { + @Test public void testNavParentVsValueInst() throws Exception { NavParentVsValueInst r = NavParentVsValueInst.fromFile(SRC_DIR + "term_strz.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestNavRoot.java b/spec/java/src/io/kaitai/struct/spec/TestNavRoot.java index 64ffbb603..0f116bedd 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestNavRoot.java +++ b/spec/java/src/io/kaitai/struct/spec/TestNavRoot.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestNavRoot extends CommonSpec { + @Test public void testNavRoot() throws Exception { NavRoot r = NavRoot.fromFile(SRC_DIR + "nav.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestNestedSameName.java b/spec/java/src/io/kaitai/struct/spec/TestNestedSameName.java index e863c09c0..f412643b4 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestNestedSameName.java +++ b/spec/java/src/io/kaitai/struct/spec/TestNestedSameName.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestNestedSameName extends CommonSpec { + @Test public void testNestedSameName() throws Exception { NestedSameName r = NestedSameName.fromFile(SRC_DIR + "repeat_n_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestNestedSameName2.java b/spec/java/src/io/kaitai/struct/spec/TestNestedSameName2.java index 8c124000b..e2ef0cdd8 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestNestedSameName2.java +++ b/spec/java/src/io/kaitai/struct/spec/TestNestedSameName2.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestNestedSameName2 extends CommonSpec { + @Test public void testNestedSameName2() throws Exception { NestedSameName2 r = NestedSameName2.fromFile(SRC_DIR + "nested_same_name2.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestNestedTypes.java b/spec/java/src/io/kaitai/struct/spec/TestNestedTypes.java index 04dfdd5f4..da8780690 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestNestedTypes.java +++ b/spec/java/src/io/kaitai/struct/spec/TestNestedTypes.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestNestedTypes extends CommonSpec { + @Test public void testNestedTypes() throws Exception { NestedTypes r = NestedTypes.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestNestedTypes2.java b/spec/java/src/io/kaitai/struct/spec/TestNestedTypes2.java index 1721c0fbf..0a4865121 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestNestedTypes2.java +++ b/spec/java/src/io/kaitai/struct/spec/TestNestedTypes2.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestNestedTypes2 extends CommonSpec { + @Test public void testNestedTypes2() throws Exception { NestedTypes2 r = NestedTypes2.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestNestedTypes3.java b/spec/java/src/io/kaitai/struct/spec/TestNestedTypes3.java index 9b0a3a88f..0796a42e8 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestNestedTypes3.java +++ b/spec/java/src/io/kaitai/struct/spec/TestNestedTypes3.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestNestedTypes3 extends CommonSpec { + @Test public void testNestedTypes3() throws Exception { NestedTypes3 r = NestedTypes3.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestNonStandard.java b/spec/java/src/io/kaitai/struct/spec/TestNonStandard.java index 39c249f23..cab1111dd 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestNonStandard.java +++ b/spec/java/src/io/kaitai/struct/spec/TestNonStandard.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestNonStandard extends CommonSpec { + @Test public void testNonStandard() throws Exception { NonStandard r = NonStandard.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestParamsCall.java b/spec/java/src/io/kaitai/struct/spec/TestParamsCall.java index fb8765533..5e13b1c12 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestParamsCall.java +++ b/spec/java/src/io/kaitai/struct/spec/TestParamsCall.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestParamsCall extends CommonSpec { + @Test public void testParamsCall() throws Exception { ParamsCall r = ParamsCall.fromFile(SRC_DIR + "term_strz.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestParamsEnum.java b/spec/java/src/io/kaitai/struct/spec/TestParamsEnum.java index 39bcf4fb1..1662e0876 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestParamsEnum.java +++ b/spec/java/src/io/kaitai/struct/spec/TestParamsEnum.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestParamsEnum extends CommonSpec { + @Test public void testParamsEnum() throws Exception { ParamsEnum r = ParamsEnum.fromFile(SRC_DIR + "enum_0.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestParamsPassUsertype.java b/spec/java/src/io/kaitai/struct/spec/TestParamsPassUsertype.java index b92633861..2e33e8819 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestParamsPassUsertype.java +++ b/spec/java/src/io/kaitai/struct/spec/TestParamsPassUsertype.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestParamsPassUsertype extends CommonSpec { + @Test public void testParamsPassUsertype() throws Exception { ParamsPassUsertype r = ParamsPassUsertype.fromFile(SRC_DIR + "position_in_seq.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestPositionAbs.java b/spec/java/src/io/kaitai/struct/spec/TestPositionAbs.java index 4b02d8d79..42960c2a2 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestPositionAbs.java +++ b/spec/java/src/io/kaitai/struct/spec/TestPositionAbs.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestPositionAbs extends CommonSpec { + @Test public void testPositionAbs() throws Exception { PositionAbs r = PositionAbs.fromFile(SRC_DIR + "position_abs.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestPositionInSeq.java b/spec/java/src/io/kaitai/struct/spec/TestPositionInSeq.java index 7d8ee69a1..dda3ad5ba 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestPositionInSeq.java +++ b/spec/java/src/io/kaitai/struct/spec/TestPositionInSeq.java @@ -8,6 +8,7 @@ import java.util.ArrayList; import java.util.Arrays; public class TestPositionInSeq extends CommonSpec { + @Test public void testPositionInSeq() throws Exception { PositionInSeq r = PositionInSeq.fromFile(SRC_DIR + "position_in_seq.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestPositionToEnd.java b/spec/java/src/io/kaitai/struct/spec/TestPositionToEnd.java index 2cb8745cf..7f540b533 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestPositionToEnd.java +++ b/spec/java/src/io/kaitai/struct/spec/TestPositionToEnd.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestPositionToEnd extends CommonSpec { + @Test public void testPositionToEnd() throws Exception { PositionToEnd r = PositionToEnd.fromFile(SRC_DIR + "position_to_end.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestProcessCoerceBytes.java b/spec/java/src/io/kaitai/struct/spec/TestProcessCoerceBytes.java index 8bd1fd333..b3a450125 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestProcessCoerceBytes.java +++ b/spec/java/src/io/kaitai/struct/spec/TestProcessCoerceBytes.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestProcessCoerceBytes extends CommonSpec { + @Test public void testProcessCoerceBytes() throws Exception { ProcessCoerceBytes r = ProcessCoerceBytes.fromFile(SRC_DIR + "process_coerce_bytes.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestProcessCoerceSwitch.java b/spec/java/src/io/kaitai/struct/spec/TestProcessCoerceSwitch.java index 1a357ef7b..182d01fc6 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestProcessCoerceSwitch.java +++ b/spec/java/src/io/kaitai/struct/spec/TestProcessCoerceSwitch.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestProcessCoerceSwitch extends CommonSpec { + @Test public void testProcessCoerceSwitch() throws Exception { ProcessCoerceSwitch r = ProcessCoerceSwitch.fromFile(SRC_DIR + "process_coerce_switch.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestProcessCoerceUsertype1.java b/spec/java/src/io/kaitai/struct/spec/TestProcessCoerceUsertype1.java index 88e422cbb..6cf619bcd 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestProcessCoerceUsertype1.java +++ b/spec/java/src/io/kaitai/struct/spec/TestProcessCoerceUsertype1.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestProcessCoerceUsertype1 extends CommonSpec { + @Test public void testProcessCoerceUsertype1() throws Exception { ProcessCoerceUsertype1 r = ProcessCoerceUsertype1.fromFile(SRC_DIR + "process_coerce_bytes.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestProcessCoerceUsertype2.java b/spec/java/src/io/kaitai/struct/spec/TestProcessCoerceUsertype2.java index 015dd025d..e9c8cdaf6 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestProcessCoerceUsertype2.java +++ b/spec/java/src/io/kaitai/struct/spec/TestProcessCoerceUsertype2.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestProcessCoerceUsertype2 extends CommonSpec { + @Test public void testProcessCoerceUsertype2() throws Exception { ProcessCoerceUsertype2 r = ProcessCoerceUsertype2.fromFile(SRC_DIR + "process_coerce_bytes.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestProcessCustom.java b/spec/java/src/io/kaitai/struct/spec/TestProcessCustom.java index 9c6ecae8b..7d2e0ddc8 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestProcessCustom.java +++ b/spec/java/src/io/kaitai/struct/spec/TestProcessCustom.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestProcessCustom extends CommonSpec { + @Test public void testProcessCustom() throws Exception { ProcessCustom r = ProcessCustom.fromFile(SRC_DIR + "process_rotate.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestProcessRotate.java b/spec/java/src/io/kaitai/struct/spec/TestProcessRotate.java index 67d3342a4..3e3fe48e1 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestProcessRotate.java +++ b/spec/java/src/io/kaitai/struct/spec/TestProcessRotate.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestProcessRotate extends CommonSpec { + @Test public void testProcessRotate() throws Exception { ProcessRotate r = ProcessRotate.fromFile(SRC_DIR + "process_rotate.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestProcessToUser.java b/spec/java/src/io/kaitai/struct/spec/TestProcessToUser.java index 55505f1cb..0f0be1578 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestProcessToUser.java +++ b/spec/java/src/io/kaitai/struct/spec/TestProcessToUser.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestProcessToUser extends CommonSpec { + @Test public void testProcessToUser() throws Exception { ProcessToUser r = ProcessToUser.fromFile(SRC_DIR + "process_rotate.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestProcessXor4Const.java b/spec/java/src/io/kaitai/struct/spec/TestProcessXor4Const.java index 32d1ebff8..bb6dcb216 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestProcessXor4Const.java +++ b/spec/java/src/io/kaitai/struct/spec/TestProcessXor4Const.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestProcessXor4Const extends CommonSpec { + @Test public void testProcessXor4Const() throws Exception { ProcessXor4Const r = ProcessXor4Const.fromFile(SRC_DIR + "process_xor_4.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestProcessXor4Value.java b/spec/java/src/io/kaitai/struct/spec/TestProcessXor4Value.java index 14f64eac7..08a1a3729 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestProcessXor4Value.java +++ b/spec/java/src/io/kaitai/struct/spec/TestProcessXor4Value.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestProcessXor4Value extends CommonSpec { + @Test public void testProcessXor4Value() throws Exception { ProcessXor4Value r = ProcessXor4Value.fromFile(SRC_DIR + "process_xor_4.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestProcessXorConst.java b/spec/java/src/io/kaitai/struct/spec/TestProcessXorConst.java index 23479b646..9609affb9 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestProcessXorConst.java +++ b/spec/java/src/io/kaitai/struct/spec/TestProcessXorConst.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestProcessXorConst extends CommonSpec { + @Test public void testProcessXorConst() throws Exception { ProcessXorConst r = ProcessXorConst.fromFile(SRC_DIR + "process_xor_1.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestProcessXorValue.java b/spec/java/src/io/kaitai/struct/spec/TestProcessXorValue.java index acf624935..a9dc330bb 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestProcessXorValue.java +++ b/spec/java/src/io/kaitai/struct/spec/TestProcessXorValue.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestProcessXorValue extends CommonSpec { + @Test public void testProcessXorValue() throws Exception { ProcessXorValue r = ProcessXorValue.fromFile(SRC_DIR + "process_xor_1.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestRecursiveOne.java b/spec/java/src/io/kaitai/struct/spec/TestRecursiveOne.java index 2fd67507e..b2b351a1b 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestRecursiveOne.java +++ b/spec/java/src/io/kaitai/struct/spec/TestRecursiveOne.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestRecursiveOne extends CommonSpec { + @Test public void testRecursiveOne() throws Exception { RecursiveOne r = RecursiveOne.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestRepeatEosBit.java b/spec/java/src/io/kaitai/struct/spec/TestRepeatEosBit.java index e436316e4..810e04cbb 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestRepeatEosBit.java +++ b/spec/java/src/io/kaitai/struct/spec/TestRepeatEosBit.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestRepeatEosBit extends CommonSpec { + @Test public void testRepeatEosBit() throws Exception { RepeatEosBit r = RepeatEosBit.fromFile(SRC_DIR + "enum_0.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestRepeatEosStruct.java b/spec/java/src/io/kaitai/struct/spec/TestRepeatEosStruct.java index e7857b7f3..cb757d6df 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestRepeatEosStruct.java +++ b/spec/java/src/io/kaitai/struct/spec/TestRepeatEosStruct.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestRepeatEosStruct extends CommonSpec { + @Test public void testRepeatEosStruct() throws Exception { RepeatEosStruct r = RepeatEosStruct.fromFile(SRC_DIR + "repeat_eos_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestRepeatNStruct.java b/spec/java/src/io/kaitai/struct/spec/TestRepeatNStruct.java index d775ee8ea..4723e9776 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestRepeatNStruct.java +++ b/spec/java/src/io/kaitai/struct/spec/TestRepeatNStruct.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestRepeatNStruct extends CommonSpec { + @Test public void testRepeatNStruct() throws Exception { RepeatNStruct r = RepeatNStruct.fromFile(SRC_DIR + "repeat_n_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestRepeatNStrz.java b/spec/java/src/io/kaitai/struct/spec/TestRepeatNStrz.java index d78e18398..5e13f691e 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestRepeatNStrz.java +++ b/spec/java/src/io/kaitai/struct/spec/TestRepeatNStrz.java @@ -8,6 +8,7 @@ import java.util.ArrayList; import java.util.Arrays; public class TestRepeatNStrz extends CommonSpec { + @Test public void testRepeatNStrz() throws Exception { RepeatNStrz r = RepeatNStrz.fromFile(SRC_DIR + "repeat_n_strz.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestRepeatNStrzDouble.java b/spec/java/src/io/kaitai/struct/spec/TestRepeatNStrzDouble.java index 1c9c1ab85..93df8bbcc 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestRepeatNStrzDouble.java +++ b/spec/java/src/io/kaitai/struct/spec/TestRepeatNStrzDouble.java @@ -8,6 +8,7 @@ import java.util.ArrayList; import java.util.Arrays; public class TestRepeatNStrzDouble extends CommonSpec { + @Test public void testRepeatNStrzDouble() throws Exception { RepeatNStrzDouble r = RepeatNStrzDouble.fromFile(SRC_DIR + "repeat_n_strz.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestRepeatUntilComplex.java b/spec/java/src/io/kaitai/struct/spec/TestRepeatUntilComplex.java index 51975ebea..18f779ff4 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestRepeatUntilComplex.java +++ b/spec/java/src/io/kaitai/struct/spec/TestRepeatUntilComplex.java @@ -8,6 +8,7 @@ import java.util.ArrayList; import java.util.Arrays; public class TestRepeatUntilComplex extends CommonSpec { + @Test public void testRepeatUntilComplex() throws Exception { RepeatUntilComplex r = RepeatUntilComplex.fromFile(SRC_DIR + "repeat_until_complex.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestRepeatUntilS4.java b/spec/java/src/io/kaitai/struct/spec/TestRepeatUntilS4.java index 33fae3c55..92af17602 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestRepeatUntilS4.java +++ b/spec/java/src/io/kaitai/struct/spec/TestRepeatUntilS4.java @@ -8,6 +8,7 @@ import java.util.ArrayList; import java.util.Arrays; public class TestRepeatUntilS4 extends CommonSpec { + @Test public void testRepeatUntilS4() throws Exception { RepeatUntilS4 r = RepeatUntilS4.fromFile(SRC_DIR + "repeat_until_s4.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestRepeatUntilSized.java b/spec/java/src/io/kaitai/struct/spec/TestRepeatUntilSized.java index aa568d33d..eed34a21e 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestRepeatUntilSized.java +++ b/spec/java/src/io/kaitai/struct/spec/TestRepeatUntilSized.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestRepeatUntilSized extends CommonSpec { + @Test public void testRepeatUntilSized() throws Exception { RepeatUntilSized r = RepeatUntilSized.fromFile(SRC_DIR + "repeat_until_process.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestStrEncodings.java b/spec/java/src/io/kaitai/struct/spec/TestStrEncodings.java index 142f397ef..3b9f53051 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestStrEncodings.java +++ b/spec/java/src/io/kaitai/struct/spec/TestStrEncodings.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestStrEncodings extends CommonSpec { + @Test public void testStrEncodings() throws Exception { StrEncodings r = StrEncodings.fromFile(SRC_DIR + "str_encodings.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestStrEncodingsDefault.java b/spec/java/src/io/kaitai/struct/spec/TestStrEncodingsDefault.java index fe848a78d..b5ef97140 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestStrEncodingsDefault.java +++ b/spec/java/src/io/kaitai/struct/spec/TestStrEncodingsDefault.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestStrEncodingsDefault extends CommonSpec { + @Test public void testStrEncodingsDefault() throws Exception { StrEncodingsDefault r = StrEncodingsDefault.fromFile(SRC_DIR + "str_encodings.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestStrEos.java b/spec/java/src/io/kaitai/struct/spec/TestStrEos.java index df3f72660..7e9f7fc0f 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestStrEos.java +++ b/spec/java/src/io/kaitai/struct/spec/TestStrEos.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestStrEos extends CommonSpec { + @Test public void testStrEos() throws Exception { StrEos r = StrEos.fromFile(SRC_DIR + "term_strz.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestStrLiterals2.java b/spec/java/src/io/kaitai/struct/spec/TestStrLiterals2.java index 748f00270..482a611b1 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestStrLiterals2.java +++ b/spec/java/src/io/kaitai/struct/spec/TestStrLiterals2.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestStrLiterals2 extends CommonSpec { + @Test public void testStrLiterals2() throws Exception { StrLiterals2 r = StrLiterals2.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestStrPadTerm.java b/spec/java/src/io/kaitai/struct/spec/TestStrPadTerm.java index e80e59bf0..8a303ea56 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestStrPadTerm.java +++ b/spec/java/src/io/kaitai/struct/spec/TestStrPadTerm.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestStrPadTerm extends CommonSpec { + @Test public void testStrPadTerm() throws Exception { StrPadTerm r = StrPadTerm.fromFile(SRC_DIR + "str_pad_term.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestStrPadTermEmpty.java b/spec/java/src/io/kaitai/struct/spec/TestStrPadTermEmpty.java index bf4875b51..6b21424f1 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestStrPadTermEmpty.java +++ b/spec/java/src/io/kaitai/struct/spec/TestStrPadTermEmpty.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestStrPadTermEmpty extends CommonSpec { + @Test public void testStrPadTermEmpty() throws Exception { StrPadTermEmpty r = StrPadTermEmpty.fromFile(SRC_DIR + "str_pad_term_empty.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestSwitchBytearray.java b/spec/java/src/io/kaitai/struct/spec/TestSwitchBytearray.java index fb426c2ff..fc6a4c8e9 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestSwitchBytearray.java +++ b/spec/java/src/io/kaitai/struct/spec/TestSwitchBytearray.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestSwitchBytearray extends CommonSpec { + @Test public void testSwitchBytearray() throws Exception { SwitchBytearray r = SwitchBytearray.fromFile(SRC_DIR + "switch_opcodes.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestSwitchIntegers.java b/spec/java/src/io/kaitai/struct/spec/TestSwitchIntegers.java index 4041cce7c..becec74ed 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestSwitchIntegers.java +++ b/spec/java/src/io/kaitai/struct/spec/TestSwitchIntegers.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestSwitchIntegers extends CommonSpec { + @Test public void testSwitchIntegers() throws Exception { SwitchIntegers r = SwitchIntegers.fromFile(SRC_DIR + "switch_integers.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestSwitchIntegers2.java b/spec/java/src/io/kaitai/struct/spec/TestSwitchIntegers2.java index 8a966a7ef..744472eb5 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestSwitchIntegers2.java +++ b/spec/java/src/io/kaitai/struct/spec/TestSwitchIntegers2.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestSwitchIntegers2 extends CommonSpec { + @Test public void testSwitchIntegers2() throws Exception { SwitchIntegers2 r = SwitchIntegers2.fromFile(SRC_DIR + "switch_integers.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestSwitchManualEnum.java b/spec/java/src/io/kaitai/struct/spec/TestSwitchManualEnum.java index 39a81e475..e603fa672 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestSwitchManualEnum.java +++ b/spec/java/src/io/kaitai/struct/spec/TestSwitchManualEnum.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestSwitchManualEnum extends CommonSpec { + @Test public void testSwitchManualEnum() throws Exception { SwitchManualEnum r = SwitchManualEnum.fromFile(SRC_DIR + "switch_opcodes.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestSwitchManualInt.java b/spec/java/src/io/kaitai/struct/spec/TestSwitchManualInt.java index dcf60d436..e6c8be7c2 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestSwitchManualInt.java +++ b/spec/java/src/io/kaitai/struct/spec/TestSwitchManualInt.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestSwitchManualInt extends CommonSpec { + @Test public void testSwitchManualInt() throws Exception { SwitchManualInt r = SwitchManualInt.fromFile(SRC_DIR + "switch_opcodes.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestSwitchManualIntElse.java b/spec/java/src/io/kaitai/struct/spec/TestSwitchManualIntElse.java index ac60d4eb4..71ca8a107 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestSwitchManualIntElse.java +++ b/spec/java/src/io/kaitai/struct/spec/TestSwitchManualIntElse.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestSwitchManualIntElse extends CommonSpec { + @Test public void testSwitchManualIntElse() throws Exception { SwitchManualIntElse r = SwitchManualIntElse.fromFile(SRC_DIR + "switch_opcodes2.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestSwitchManualIntSizeElse.java b/spec/java/src/io/kaitai/struct/spec/TestSwitchManualIntSizeElse.java index a8b1cca20..fe0a3f6c9 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestSwitchManualIntSizeElse.java +++ b/spec/java/src/io/kaitai/struct/spec/TestSwitchManualIntSizeElse.java @@ -8,6 +8,7 @@ import java.util.ArrayList; import java.util.Arrays; public class TestSwitchManualIntSizeElse extends CommonSpec { + @Test public void testSwitchManualIntSizeElse() throws Exception { SwitchManualIntSizeElse r = SwitchManualIntSizeElse.fromFile(SRC_DIR + "switch_tlv.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestSwitchManualStr.java b/spec/java/src/io/kaitai/struct/spec/TestSwitchManualStr.java index 8a4e63b29..93fd9bf97 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestSwitchManualStr.java +++ b/spec/java/src/io/kaitai/struct/spec/TestSwitchManualStr.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestSwitchManualStr extends CommonSpec { + @Test public void testSwitchManualStr() throws Exception { SwitchManualStr r = SwitchManualStr.fromFile(SRC_DIR + "switch_opcodes.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestSwitchManualStrElse.java b/spec/java/src/io/kaitai/struct/spec/TestSwitchManualStrElse.java index 9a0db621d..fe0fdc2fe 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestSwitchManualStrElse.java +++ b/spec/java/src/io/kaitai/struct/spec/TestSwitchManualStrElse.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestSwitchManualStrElse extends CommonSpec { + @Test public void testSwitchManualStrElse() throws Exception { SwitchManualStrElse r = SwitchManualStrElse.fromFile(SRC_DIR + "switch_opcodes2.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestTermBytes.java b/spec/java/src/io/kaitai/struct/spec/TestTermBytes.java index 97999b5b3..f26196e05 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestTermBytes.java +++ b/spec/java/src/io/kaitai/struct/spec/TestTermBytes.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestTermBytes extends CommonSpec { + @Test public void testTermBytes() throws Exception { TermBytes r = TermBytes.fromFile(SRC_DIR + "term_strz.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestTermStrz.java b/spec/java/src/io/kaitai/struct/spec/TestTermStrz.java index 06bb2e875..30c7d41b2 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestTermStrz.java +++ b/spec/java/src/io/kaitai/struct/spec/TestTermStrz.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestTermStrz extends CommonSpec { + @Test public void testTermStrz() throws Exception { TermStrz r = TermStrz.fromFile(SRC_DIR + "term_strz.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestTsPacketHeader.java b/spec/java/src/io/kaitai/struct/spec/TestTsPacketHeader.java index 49925bc81..03e60bffa 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestTsPacketHeader.java +++ b/spec/java/src/io/kaitai/struct/spec/TestTsPacketHeader.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestTsPacketHeader extends CommonSpec { + @Test public void testTsPacketHeader() throws Exception { TsPacketHeader r = TsPacketHeader.fromFile(SRC_DIR + "ts_packet.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestTypeIntUnaryOp.java b/spec/java/src/io/kaitai/struct/spec/TestTypeIntUnaryOp.java index 9a885e45a..cb4c91505 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestTypeIntUnaryOp.java +++ b/spec/java/src/io/kaitai/struct/spec/TestTypeIntUnaryOp.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestTypeIntUnaryOp extends CommonSpec { + @Test public void testTypeIntUnaryOp() throws Exception { TypeIntUnaryOp r = TypeIntUnaryOp.fromFile(SRC_DIR + "fixed_struct.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestTypeTernary.java b/spec/java/src/io/kaitai/struct/spec/TestTypeTernary.java index 3c4c14c69..0d33e5f38 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestTypeTernary.java +++ b/spec/java/src/io/kaitai/struct/spec/TestTypeTernary.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestTypeTernary extends CommonSpec { + @Test public void testTypeTernary() throws Exception { TypeTernary r = TypeTernary.fromFile(SRC_DIR + "term_strz.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestUserType.java b/spec/java/src/io/kaitai/struct/spec/TestUserType.java index 8fb375eab..9b859982f 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestUserType.java +++ b/spec/java/src/io/kaitai/struct/spec/TestUserType.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestUserType extends CommonSpec { + @Test public void testUserType() throws Exception { UserType r = UserType.fromFile(SRC_DIR + "repeat_until_s4.bin"); diff --git a/spec/java/src/io/kaitai/struct/spec/TestZlibWithHeader78.java b/spec/java/src/io/kaitai/struct/spec/TestZlibWithHeader78.java index 85db728e2..b7d665903 100644 --- a/spec/java/src/io/kaitai/struct/spec/TestZlibWithHeader78.java +++ b/spec/java/src/io/kaitai/struct/spec/TestZlibWithHeader78.java @@ -6,6 +6,7 @@ import org.testng.annotations.Test; import static org.testng.Assert.*; public class TestZlibWithHeader78 extends CommonSpec { + @Test public void testZlibWithHeader78() throws Exception { ZlibWithHeader78 r = ZlibWithHeader78.fromFile(SRC_DIR + "zlib_with_header_78.bin");