Skip to content

Commit

Permalink
Merge pull request #7 from onehilltech/issue6
Browse files Browse the repository at this point in the history
Partial completion of issue 6
  • Loading branch information
hilljh82 committed Oct 14, 2015
2 parents 3091686 + 6890b95 commit 6144f7a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ android {
defaultConfig {
minSdkVersion 9
targetSdkVersion 22
versionCode 4
versionCode 5
versionName project.property ('pom.version')

testApplicationId 'com.onehilltech.metadata.test'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,11 @@ public void testLoadFromManifestWithResourceType ()
Assert.fail (e.getMessage ());
}
}

@Test(expected=NameNotFoundException.class)
public void testNameNotFoundException () throws Exception
{
ManifestMetadata metadata = ManifestMetadata.get (InstrumentationRegistry.getContext ());
metadata.getValue ("foo", String.class);
}
}

0 comments on commit 6144f7a

Please sign in to comment.