<bdo id='tJatr'></bdo><ul id='tJatr'></ul>
    1. <legend id='tJatr'><style id='tJatr'><dir id='tJatr'><q id='tJatr'></q></dir></style></legend>
        <i id='tJatr'><tr id='tJatr'><dt id='tJatr'><q id='tJatr'><span id='tJatr'><b id='tJatr'><form id='tJatr'><ins id='tJatr'></ins><ul id='tJatr'></ul><sub id='tJatr'></sub></form><legend id='tJatr'></legend><bdo id='tJatr'><pre id='tJatr'><center id='tJatr'></center></pre></bdo></b><th id='tJatr'></th></span></q></dt></tr></i><div id='tJatr'><tfoot id='tJatr'></tfoot><dl id='tJatr'><fieldset id='tJatr'></fieldset></dl></div>
      1. <tfoot id='tJatr'></tfoot>

        <small id='tJatr'></small><noframes id='tJatr'>

        Android Jack mockito 替代品

        时间:2023-10-01
          <tbody id='dSzZe'></tbody>
          <bdo id='dSzZe'></bdo><ul id='dSzZe'></ul>
              1. <tfoot id='dSzZe'></tfoot><legend id='dSzZe'><style id='dSzZe'><dir id='dSzZe'><q id='dSzZe'></q></dir></style></legend>

                • <small id='dSzZe'></small><noframes id='dSzZe'>

                  <i id='dSzZe'><tr id='dSzZe'><dt id='dSzZe'><q id='dSzZe'><span id='dSzZe'><b id='dSzZe'><form id='dSzZe'><ins id='dSzZe'></ins><ul id='dSzZe'></ul><sub id='dSzZe'></sub></form><legend id='dSzZe'></legend><bdo id='dSzZe'><pre id='dSzZe'><center id='dSzZe'></center></pre></bdo></b><th id='dSzZe'></th></span></q></dt></tr></i><div id='dSzZe'><tfoot id='dSzZe'></tfoot><dl id='dSzZe'><fieldset id='dSzZe'></fieldset></dl></div>

                  本文介绍了Android Jack mockito 替代品的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  也许现在问这个问题还为时过早,但正如今天宣布杰克和吉尔一样,我对此感到非常兴奋.我真的很想去,但他们也说:

                  Maybe is too soon to ask, but as Jack and Jill was announced today I get very excited with it. I really want to go for it, but they also state:

                  读取 .class 文件的各种工具(例如 JaCoCo、Mockito 和一些 lint 检查)目前与 Jack 编译器不兼容.

                  jack 编译器已经有一个 mockito 替代品了?

                  There is already an mockito alternative for jack compiler ?

                  推荐答案

                  Mockito 在编译时不会生成任何字节码,因此不受所使用的编译器的影响.dexmaker 也是如此.(他们在构建过程中没有任何挂钩到 Gradle)

                  Mockito doesn't generate any byte code at compile time and hence is not affected by the used compiler. Same holds true for dexmaker. (they don't have any hooks into Gradle during build)

                  因此,即使使用 Jack 编译器,您也可以继续使用 Mockito.请注意,我有一个 测试项目 可以证实这一点.

                  So you can simply continue to use Mockito, even with Jack compiler. Note that I have a test project which confirms this.

                  这篇关于Android Jack mockito 替代品的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:Mockito @InjectMocks 不适用于相同类型的字段 下一篇:Mockito:通缉但未调用

                  相关文章

                  最新文章

                  • <bdo id='EVwtJ'></bdo><ul id='EVwtJ'></ul>

                  1. <i id='EVwtJ'><tr id='EVwtJ'><dt id='EVwtJ'><q id='EVwtJ'><span id='EVwtJ'><b id='EVwtJ'><form id='EVwtJ'><ins id='EVwtJ'></ins><ul id='EVwtJ'></ul><sub id='EVwtJ'></sub></form><legend id='EVwtJ'></legend><bdo id='EVwtJ'><pre id='EVwtJ'><center id='EVwtJ'></center></pre></bdo></b><th id='EVwtJ'></th></span></q></dt></tr></i><div id='EVwtJ'><tfoot id='EVwtJ'></tfoot><dl id='EVwtJ'><fieldset id='EVwtJ'></fieldset></dl></div>

                      <small id='EVwtJ'></small><noframes id='EVwtJ'>

                    1. <tfoot id='EVwtJ'></tfoot>
                      <legend id='EVwtJ'><style id='EVwtJ'><dir id='EVwtJ'><q id='EVwtJ'></q></dir></style></legend>