First pass for testing DrawerLayout callback logic.
Use Mockito-powered listeners that track calls to its methods
and verify that expected methods have been called with consistent
values.
Change-Id: Ief6107929f9945da32ce48f065a9e3c3b1a39f31
diff --git a/v7/appcompat/build.gradle b/v7/appcompat/build.gradle
index 98d5f82..d59332c 100644
--- a/v7/appcompat/build.gradle
+++ b/v7/appcompat/build.gradle
@@ -13,6 +13,9 @@
androidTestCompile ('com.android.support.test.espresso:espresso-core:2.2.1') {
exclude module: 'support-annotations'
}
+ androidTestCompile 'org.mockito:mockito-core:1.9.5'
+ androidTestCompile 'com.google.dexmaker:dexmaker:1.0'
+ androidTestCompile 'com.google.dexmaker:dexmaker-mockito:1.0'
testCompile 'junit:junit:4.12'
}