Browse Source

Removed test workaround for enum bug

JNI-44
Edouard Tisserant 10 years ago
parent
commit
0106699cde
  1. 4
      androidTests/app/src/main/java/com/pep/k9/MainActivity.java

4
androidTests/app/src/main/java/com/pep/k9/MainActivity.java

@ -97,8 +97,8 @@ public class MainActivity extends AppCompatActivity {
// BUG : if not already instantiated, enum cannot be mapped // BUG : if not already instantiated, enum cannot be mapped
// then getDir and getEncFormat return null. // then getDir and getEncFormat return null.
Message.Direction _bug1 = Message.Direction.Incoming; // Message.Direction _bug1 = Message.Direction.Incoming;
Message.EncFormat _bug2 = Message.EncFormat.None; // Message.EncFormat _bug2 = Message.EncFormat.None;
if(!(msg.getDir() == Message.Direction.Incoming)) throw new AssertionError(); if(!(msg.getDir() == Message.Direction.Incoming)) throw new AssertionError();
if(!(msg.getId()==null)) throw new AssertionError(); if(!(msg.getId()==null)) throw new AssertionError();

Loading…
Cancel
Save