Skip to content
Snippets Groups Projects
  1. Jul 25, 2018
    • Yohei Yukawa's avatar
      Move <uses-sdk /> to a differnt XML · 9cd42f39
      Yohei Yukawa authored
      Basically Android Studio does want targetSdkVersion to be specified in
      build.gradle rather than AndroidManifest.xml.  To make both make build
      and Android Studio build happy, this CL splits <uses-sdk /> from the
      main AndroidManifest.xml to a different file and let them merged in
      make build.
      
      There should be no behavior change.
      
      Bug: 110741422
      Test: Manually verified that there is no difference in
            AndroidManifest.xml in the APK.
      Change-Id: Ib673bca5a31b2f95329c9310a127ec0701bd8fdc
      9cd42f39
  2. Jul 24, 2018
    • Yohei Yukawa's avatar
      Migrate to Android Testing Support Lib (part 7/N) · c0aa76f8
      Yohei Yukawa authored
      InstrumentationTestCase and ActivityInstrumentationTestCase2 are
      deprecated.  This CL rewrites tests that rely on those deprecated
      classes by using Android Testing Support Library.
      
      Bug: 110805255
      Test: verified as follows. No new test failures.
          tapas adb LatinIME LatinIMETests arm64 userdebug && \
          DISABLE_PROGUARD=true make -j LatinIME && \
          adb install -r $OUT/system/app/LatinIME/LatinIME.apk && \
          atest LatinIMETests:com.android.inputmethod.keyboard.internal.MoreKeySpecStringReferenceTests LatinIMETests:com.android.inputmethod.latin.settings.AccountsSettingsFragmentTests
      Change-Id: I4fefccaa0c480cfba7142ed36883da2f19b6a5f9
      c0aa76f8
    • Yohei Yukawa's avatar
      Migrate to Android Testing Support Lib (part 6/N) · 560a5bc5
      Yohei Yukawa authored
      This is a follow up CL to previous CLs that converted unit tests to
      use Android Testing Support Library but forgot to remove unused import
      lines.
      
      Bug: 110805255
      Test: verified as follows. No new test failures.
              tapas adb LatinIME LatinIMETests arm64 userdebug && \
              DISABLE_PROGUARD=true make -j LatinIME && \
              adb install -r $OUT/system/app/LatinIME/LatinIME.apk && \
              atest LatinIMETests:com.android.inputmethod.latin
      Change-Id: I8762b0dfc209bdf68867f725b03a22286026faae
      560a5bc5
  3. Jul 22, 2018
  4. Jul 20, 2018
  5. Jul 06, 2018
    • Yohei Yukawa's avatar
      Migrate to Android Testing Support Lib (part 5/N) · d3b93cc9
      Yohei Yukawa authored
      This CL converts 19 test classes under com.android.inputmethod.latin
      to Android Testing Support Library.
      
      Bug: 110805255
      Test: verified as follows. No new test failures.
              tapas adb LatinIME LatinIMETests arm64 userdebug && \
              DISABLE_PROGUARD=true make -j LatinIME && \
              adb install -r $OUT/system/app/LatinIME/LatinIME.apk && \
              atest LatinIMETests:com.android.inputmethod.latin
      Change-Id: I878fcae0126f57c43a644af341e5a0a8ac8f5cc9
      d3b93cc9
    • Yohei Yukawa's avatar
      Migrate to Android Testing Support Lib (part 4/N) · a497886d
      Yohei Yukawa authored
      This CL converts 7 test classes under com.android.inputmethod.keyboard
      to Android Testing Support Library.
      
      This CL also fix missing annotations in KeyboardLayoutTest.
      
      Bug: 110805255
      Test: verified as follows. No new test failures.
              tapas adb LatinIME LatinIMETests arm64 userdebug && \
              DISABLE_PROGUARD=true make -j LatinIME && \
              adb install -r $OUT/system/app/LatinIME/LatinIME.apk && \
              atest LatinIMETests:com.android.inputmethod.keyboard
      Change-Id: I8ab9e3329f159f0df02812fafe44c25efa76c0d1
      a497886d
    • TreeHugger Robot's avatar
    • TreeHugger Robot's avatar
  6. Jul 05, 2018
    • Yohei Yukawa's avatar
      Migrate to Android Testing Support Lib (part 3/N) · 5fb15a46
      Yohei Yukawa authored
      This CL converts the following 3 test cases to Android Testing Support
      Library.
       * MoreKeysKeyboardBuilderAutoOrderTests
       * MoreKeysKeyboardBuilderFixedOrderTests
       * MoreKeysKeyboardBuilderMaxOrderTests
      
      Bug: 110805255
      Test: atest LatinIMETests:com.android.inputmethod.keyboard.MoreKeysKeyboardBuilderAutoOrderTests
      Test: atest LatinIMETests:com.android.inputmethod.keyboard.MoreKeysKeyboardBuilderFixedOrderTests
      Test: atest LatinIMETests:com.android.inputmethod.keyboard.MoreKeysKeyboardBuilderMaxOrderTests
      Change-Id: I68d6c1901d4bb77bdc59d0be71eb565984fbd97d
      5fb15a46
    • Yohei Yukawa's avatar
      Migrate to Android Testing Support Lib (part 1/N) · 9c49581e
      Yohei Yukawa authored
      This CL converts tests under com.android.inputmethod.latin.utils to
      Android Testing Support Library.
      
      Bug: 110805255
      Test: verified as follows. No new test failures.
              tapas adb LatinIME LatinIMETests arm64 userdebug && \
              DISABLE_PROGUARD=true make -j LatinIME && \
              adb install -r $OUT/system/app/LatinIME/LatinIME.apk && \
              atest LatinIMETests:com.android.inputmethod.latin.utils
      Change-Id: I5cc2ddbc4116003ab6407432ab521b6b560052ae
      9c49581e
    • Yohei Yukawa's avatar
      Migrate to Android Testing Support Lib (part 2/N) · bfa55818
      Yohei Yukawa authored
      This CL converts tests under com.android.inputmethod.compat to
      Android Testing Support Library.
      
      Bug: 110805255
      Test: verified as follows. No new test failures.
              tapas adb LatinIME LatinIMETests arm64 userdebug && \
              DISABLE_PROGUARD=true make -j LatinIME && \
              adb install -r $OUT/system/app/LatinIME/LatinIME.apk && \
              atest LatinIMETests:com.android.inputmethod.compat
      Change-Id: I6766447ca27f5cccdb1e9f7e751235daa04cc252
      bfa55818
    • Yohei Yukawa's avatar
      Remove unused class PersonalDictionaryLookup · 28022504
      Yohei Yukawa authored
      PersonalDictionaryLookup has never been used.  Usually proguard can
      remove this class but it also makes it difficult to run unit tests.
      
      We should just remove this unused class.
      
      Bug: 111164993
      Test: compile
      Test: No new test failure
      Change-Id: I732db94cb3aac4ed9c6b5954679b896334a12a9c
      28022504
    • Yohei Yukawa's avatar
      Add AndroidTest.xml for LatinIME · f6231964
      Yohei Yukawa authored
      Fix: 111161344
      Test: Manually tested as follows
              tapas adb LatinIME LatinIMETests arm64 userdebug && \
              DISABLE_PROGUARD=true make -j LatinIME && \
              adb install -r $OUT/system/app/LatinIME/LatinIME.apk && \
              atest LatinIMETests
      Change-Id: If9f5691d5c624c9856acd31a3e1de307360d2c7c
      f6231964
  7. Jun 27, 2018
  8. Jun 25, 2018
  9. Jun 24, 2018
    • Yohei Yukawa's avatar
      Remove an unused layout file · 5b65f03c
      Yohei Yukawa authored
      This layout file was copied from Settings app but in LatinIME it has
      never been used.  Also, android:onClick attributes in that layout file
      are pointing to non-existing method in LatinIME, which causes lint
      warnings.
      
      Since tihs files has never been used in LatinIME, there should be no
      user-visible behavior change.
      
      Bug: 110757803
      Test: tapas LatinIME && make -j
      Change-Id: Ib51744979df333ac432aefc54ef7d0f413cf6161
      5b65f03c
    • Yohei Yukawa's avatar
      Merge inputmethodcommon into LatinIME repo · 733a0ea4
      Yohei Yukawa authored
      This is a preparation to deprecate frameworks/opt/inputmethodcommon
      repository.
      
      Currently repository 'inputmethodcommon' is used only from LatinIME.
      Having such a repository only for one project is overkill.  Also, to
      add gradle build support to LatinIME project, it would be much easier
      LatinIME didn't have such a dependency.
      
      This CL mechanically copies files in 'inputmethodcommon' repository to
      'LatinIME' repository.  In theory there should be no behavior change.
      
      Bug: 110741521
      Test: tapas LatinIME && make -j
      Change-Id: I3fabb038be9a944dcd9ef79ffcc89800a5f0bf5a
      733a0ea4
  10. Jun 22, 2018
  11. Jun 21, 2018
Loading