version bump
This commit is contained in:
parent
e02cf0f2d1
commit
679d7f111e
2 changed files with 39 additions and 2 deletions
|
@ -9,8 +9,8 @@ android {
|
||||||
applicationId "com.zeapo.pwdstore"
|
applicationId "com.zeapo.pwdstore"
|
||||||
minSdkVersion 15
|
minSdkVersion 15
|
||||||
targetSdkVersion 22
|
targetSdkVersion 22
|
||||||
versionCode 42
|
versionCode 43
|
||||||
versionName "1.2.0.22"
|
versionName "1.2.0.23"
|
||||||
}
|
}
|
||||||
|
|
||||||
compileOptions {
|
compileOptions {
|
||||||
|
|
|
@ -0,0 +1,37 @@
|
||||||
|
package com.zeapo.pwdstore;
|
||||||
|
|
||||||
|
import android.app.Activity;
|
||||||
|
import android.app.Instrumentation;
|
||||||
|
import android.content.Intent;
|
||||||
|
import android.content.SharedPreferences;
|
||||||
|
import android.preference.PreferenceManager;
|
||||||
|
import android.test.ActivityInstrumentationTestCase2;
|
||||||
|
|
||||||
|
public class RepositoryCreation extends ActivityInstrumentationTestCase2<PasswordStore> {
|
||||||
|
private Activity passwordStore;
|
||||||
|
Instrumentation mInstrumentation;
|
||||||
|
SharedPreferences settings;
|
||||||
|
|
||||||
|
public RepositoryCreation() {
|
||||||
|
super(PasswordStore.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void setUp() throws Exception {
|
||||||
|
super.setUp();
|
||||||
|
mInstrumentation = getInstrumentation();
|
||||||
|
Intent intent = new Intent();
|
||||||
|
setActivityIntent(intent);
|
||||||
|
|
||||||
|
passwordStore = getActivity(); // get a references to the app under test
|
||||||
|
assertNotNull(passwordStore);
|
||||||
|
settings = PreferenceManager.getDefaultSharedPreferences(passwordStore.getApplicationContext());
|
||||||
|
settings.edit().clear().apply();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* If we change from ssh protocol to https we automatically switch to username/password auth
|
||||||
|
* @throws Exception
|
||||||
|
*/
|
||||||
|
public void testSpinnerChange() throws Exception{
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue