summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorGravatar Gegy2018-12-15 22:29:41 +0200
committerGravatar Adrian Siekierka2018-12-15 21:29:41 +0100
commit4ff89cb1d48cb6916220ee308bf40810cfd868e2 (patch)
tree1145080fde3ea6d727848d15994a3b71478ee22f /src/test
parentFix #78 (#85) (diff)
downloadenigma-4ff89cb1d48cb6916220ee308bf40810cfd868e2.tar.gz
enigma-4ff89cb1d48cb6916220ee308bf40810cfd868e2.tar.xz
enigma-4ff89cb1d48cb6916220ee308bf40810cfd868e2.zip
Tweak variable name generation (#86)
* Don't apply offset to all methods in abstract class * Tweak local variable naming
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/cuchaz/enigma/TestTypeDescriptor.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/test/java/cuchaz/enigma/TestTypeDescriptor.java b/src/test/java/cuchaz/enigma/TestTypeDescriptor.java
index 90fd6351..8172848c 100644
--- a/src/test/java/cuchaz/enigma/TestTypeDescriptor.java
+++ b/src/test/java/cuchaz/enigma/TestTypeDescriptor.java
@@ -51,13 +51,13 @@ public class TestTypeDescriptor {
51 51
52 @Test 52 @Test
53 public void getPrimitive() { 53 public void getPrimitive() {
54 assertThat(new TypeDescriptor("Z").getPrimitive(), is(TypeDescriptor.Primitive.Boolean)); 54 assertThat(new TypeDescriptor("Z").getPrimitive(), is(TypeDescriptor.Primitive.BOOLEAN));
55 assertThat(new TypeDescriptor("B").getPrimitive(), is(TypeDescriptor.Primitive.Byte)); 55 assertThat(new TypeDescriptor("B").getPrimitive(), is(TypeDescriptor.Primitive.BYTE));
56 assertThat(new TypeDescriptor("C").getPrimitive(), is(TypeDescriptor.Primitive.Character)); 56 assertThat(new TypeDescriptor("C").getPrimitive(), is(TypeDescriptor.Primitive.CHARACTER));
57 assertThat(new TypeDescriptor("I").getPrimitive(), is(TypeDescriptor.Primitive.Integer)); 57 assertThat(new TypeDescriptor("I").getPrimitive(), is(TypeDescriptor.Primitive.INTEGER));
58 assertThat(new TypeDescriptor("J").getPrimitive(), is(TypeDescriptor.Primitive.Long)); 58 assertThat(new TypeDescriptor("J").getPrimitive(), is(TypeDescriptor.Primitive.LONG));
59 assertThat(new TypeDescriptor("F").getPrimitive(), is(TypeDescriptor.Primitive.Float)); 59 assertThat(new TypeDescriptor("F").getPrimitive(), is(TypeDescriptor.Primitive.FLOAT));
60 assertThat(new TypeDescriptor("D").getPrimitive(), is(TypeDescriptor.Primitive.Double)); 60 assertThat(new TypeDescriptor("D").getPrimitive(), is(TypeDescriptor.Primitive.DOUBLE));
61 } 61 }
62 62
63 @Test 63 @Test