Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable verify all test #875

Merged
merged 1 commit into from
Jan 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading