Skip to content

Commit

Permalink
Merge pull request #875 from jjiwooLim/enableVerifyAllTest
Browse files Browse the repository at this point in the history
Enable verify all test
  • Loading branch information
cherylking authored Jan 22, 2024
2 parents 96ba5b2 + 29842bb commit 4f0136c
Showing 1 changed file with 14 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,23 +57,21 @@ class VerifyFeatureTest extends AbstractIntegrationTest{
}


@Test
public void test_verifyALL() {
try {
System.properties['verify'] = 'all'
System.properties['keyid'] = '0x05534365803788CE'
assert simpleValidKey.exists() : "no valid key"

runTasks(buildDir, 'installFeature')

//TODO: Disable for now.
// @Test
// public void test_verifyALL() {
// try {
// System.properties['verify'] = 'all'
// System.properties['keyid'] = '0x05534365803788CE'
// assert simpleValidKey.exists() : "no valid key"
//
// runTasks(buildDir, 'installFeature')
//
// assert featureFile.exists() : "SimpleActivator.mf cannot be generated"
//
// } catch (Exception e) {
// throw new AssertionError ("Fail to verify user feature.", e)
// }
// }
assert featureFile.exists() : "SimpleActivator.mf cannot be generated"

} catch (Exception e) {
throw new AssertionError ("Fail to verify user feature.", e)
}
}

@Test
public void test_verifyALLWrongKeyId() {
Expand Down

0 comments on commit 4f0136c

Please sign in to comment.