Skip to content

Instantly share code, notes, and snippets.

View venkata-kari's full-sized avatar

Venkata Kari venkata-kari

View GitHub Profile
### Keybase proof
I hereby claim:
* I am venkata-kari on github.
* I am vkari (https://keybase.io/vkari) on keybase.
* I have a public key ASCfU7X6p_m66TyeTJ5cyr4UJOHs59a7vsruzJuaiCMfhAo
To claim this, I am signing this object:
@venkata-kari
venkata-kari / BeforeLoginActivityTest.java
Created May 2, 2017 14:17 — forked from adavis/BeforeLoginActivityTest.java
Using Screen Robots with Android Espresso Tests
package <your_package>;
import android.support.test.espresso.intent.rule.IntentsTestRule;
import android.support.test.runner.AndroidJUnit4;
import android.test.suitebuilder.annotation.LargeTest;
import org.junit.After;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
<?xml version="1.0" encoding="utf-8"?><!--
Copyright 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
apply plugin: 'com.android.application'
repositories {
maven { url "http://jzaccone.github.io/SlidingMenu-aar" }
}
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.novoda.espresso">
<!-- For espresso testing purposes, this is removed in live builds, but not in dev builds -->
<uses-permission android:name="android.permission.SET_ANIMATION_SCALE" />
<!-- ... -->