Browse Source

Removed test workaround for enum bug

JNI-44
Edouard Tisserant 6 years ago
parent
commit
0106699cde
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      androidTests/app/src/main/java/com/pep/k9/MainActivity.java

+ 2
- 2
androidTests/app/src/main/java/com/pep/k9/MainActivity.java View File

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


Loading…
Cancel
Save