该方法也有可能找不到日志数据库的位置;这可能是因为在日志中尝试执行代码的结果。
Because of this setup, this method may be unable to find the journal database location; this can be a side effect of trying to execute code in your journal.
执行不到的代码不应当成为代码基的一部分。
这种限制不会阻止您再次单击该按钮时执行代码;仅仅是看不到代码。
This limitation does not prevent their execution when you next click the button; it just prevents you from seeing the code.
或者需要重新构建代码,以便测试通常执行不到的部分代码。
Or you can restructure code so the tests can reach parts of the code they wouldn't normally touch.
或者需要重新构建代码,以便测试通常执行不到的部分代码。
Or you can restructure code so the tests can reach parts of the code they wouldn't normally touch.
应用推荐