version bump

This commit is contained in:
Mohamed Zenadi 2015-06-20 17:10:51 +02:00
parent e02cf0f2d1
commit 679d7f111e
2 changed files with 39 additions and 2 deletions

View file

@ -9,8 +9,8 @@ android {
applicationId "com.zeapo.pwdstore"
minSdkVersion 15
targetSdkVersion 22
versionCode 42
versionName "1.2.0.22"
versionCode 43
versionName "1.2.0.23"
}
compileOptions {

View file

@ -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{
}
}