Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
Made preference class public + version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianEstrada committed May 9, 2018
1 parent f74d065 commit 8c8689b
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 33 deletions.
2 changes: 1 addition & 1 deletion locksmith/maven-push.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ allprojects { ext."signing.password" = System.getenv('password') }

// Artifact settings
def _group = 'dk.nodes.locksmith'
def _version = '1.1.2'
def _version = '1.2.1'
def _archivesBaseName = 'core'

def _name = 'Locksmith Encryption Library'
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
package dk.nodes.locksmith.core.example

import android.support.test.InstrumentationRegistry
import android.support.test.runner.AndroidJUnit4

import org.junit.Test
import org.junit.runner.RunWith

import org.junit.Assert.*

/**
* Instrumented test, which will execute on an Android device.
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
@RunWith(AndroidJUnit4::class)
class ExampleInstrumentedTest {
@Test
fun useAppContext() {
// Context of the app under test.
val appContext = InstrumentationRegistry.getTargetContext()
assertEquals("dk.nodes.locksmith.core", appContext.packageName)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
public class EncryptedPreferences {
private SharedPreferences sharedPreferences;

EncryptedPreferences(Context context, String name, int mode) {
public EncryptedPreferences(Context context, String name, int mode) {
this.sharedPreferences = context.getSharedPreferences(name, mode);
}

Expand Down

This file was deleted.

0 comments on commit 8c8689b

Please sign in to comment.