Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.44 KB | None | 0 0
  1. testCompile unitTest.junit
  2. testCompile unitTest.mockito
  3. testCompile unitTest.robolectric
  4. testCompile unitTest.powerJunit4
  5. testCompile unitTest.powerMockito2
  6.  
  7. androidTestCompile(espresso.espressoCore) {
  8. exclude module: 'support-annotations'
  9. exclude module: 'jsr305'
  10. exclude module: 'runner'
  11. }
  12. androidTestCompile(espresso.runner) {
  13. exclude module: 'support-annotations'
  14. exclude group: 'com.google.code.findbugs', module: 'jsr305'
  15. }
  16. compile espresso.espressoIdr
  17. androidTestCompile(espresso.espressoIntents) {
  18. exclude module: 'support-annotations'
  19. exclude module: 'jsr305'
  20. }
  21. androidTestCompile(espresso.espressoContrib) {
  22. exclude group: 'com.android.support', module: 'design'
  23. exclude group: 'com.android.support', module: 'appcompat'
  24. exclude group: 'com.android.support', module: 'support-v4'
  25. exclude group: 'com.android.support', module: 'recyclerview-v7'
  26. exclude group: 'com.android.support', module: 'support-annotations'
  27. }
  28.  
  29. junit = '4.12'
  30. mockito = '2.7.5'
  31. robolectric = "3.3.2"
  32. powerMockVersion = '1.7.0RC4'
  33. unitTest = [
  34. junit : 'junit:junit:' + junit,
  35. mockito : 'org.mockito:mockito-core:' + mockito,
  36. robolectric : 'org.robolectric:robolectric:' + robolectric,
  37. powerJunit4 : "org.powermock:powermock-module-junit4:" + powerMockVersion,
  38. powerMockito2: "org.powermock:powermock-api-mockito2:" + powerMockVersion,
  39. ]
  40.  
  41. espressoGroup = 'com.android.support.test.espresso'
  42. espressoVersion = '2.2.2'
  43. espressoRunnerVersion = '0.5'
  44. espresso = [
  45. espressoCore: espressoGroup + ':espresso-core:' + espressoVersion,
  46. espressoIdr: espressoGroup + ':espresso-idling-resource:' + espressoVersion,
  47. espressoIntents: espressoGroup + ':espresso-intents:' + espressoVersion,
  48. espressoContrib: espressoGroup + ':espresso-contrib:' + espressoVersion,
  49. runner : 'com.android.support.test:runner:' + espressoRunnerVersion
  50. ]
  51.  
  52. +--- com.android.support:multidex-instrumentation:1.0.1
  53. | --- com.android.support:multidex:1.0.1
  54. +--- com.android.support.test.espresso:espresso-core:2.2.2
  55. | +--- com.squareup:javawriter:2.1.1
  56. | +--- com.android.support.test:rules:0.5
  57. | | --- com.android.support.test:runner:0.5
  58. | | +--- junit:junit:4.12
  59. | | | --- org.hamcrest:hamcrest-core:1.3
  60. | | --- com.android.support.test:exposed-instrumentation-api-publish:0.5
  61. | +--- javax.inject:javax.inject:1
  62. | +--- org.hamcrest:hamcrest-library:1.3
  63. | | --- org.hamcrest:hamcrest-core:1.3
  64. | +--- com.android.support.test.espresso:espresso-idling-resource:2.2.2
  65. | +--- org.hamcrest:hamcrest-integration:1.3
  66. | | --- org.hamcrest:hamcrest-library:1.3 (*)
  67. | +--- javax.annotation:javax.annotation-api:1.2
  68. | +--- com.android.support.test:runner:0.5 (*)
  69. | --- com.google.code.findbugs:jsr305:2.0.1 -> 3.0.1
  70. +--- com.android.support.test:runner:0.5 (*)
  71. +--- com.android.support.test.espresso:espresso-intents:2.2.2
  72. | --- com.android.support.test.espresso:espresso-core:2.2.2 (*)
  73. --- com.android.support.test.espresso:espresso-contrib:2.2.2
  74. +--- com.google.android.apps.common.testing.accessibility.framework:accessibility-test-framework:2.0
  75. | --- org.hamcrest:hamcrest-core:1.3
  76. --- com.android.support.test.espresso:espresso-core:2.2.2 (*)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement