Further clean up of ActivityListenerTest
* \u0020 is a hack required to have spaces at the beginning of resource strings. But there's no need to replicate this inside our tests. * Dependencies shouldn't be static finals. * Initialization of dependencies is usually boring. I like to extract that code to methods and put them at the end of the file. * Using different values for 'current progress' and 'total' has the advantage of breaking tests when the two accidentally get mixed up.
Loading
Please register or sign in to comment