|
@@ -1,7 +1,7 @@ |
|
|
/* |
|
|
/* |
|
|
* The Apache Software License, Version 1.1 |
|
|
* The Apache Software License, Version 1.1 |
|
|
* |
|
|
* |
|
|
* Copyright (c) 2001 The Apache Software Foundation. All rights |
|
|
|
|
|
|
|
|
* Copyright (c) 2001,2003 The Apache Software Foundation. All rights |
|
|
* reserved. |
|
|
* reserved. |
|
|
* |
|
|
* |
|
|
* Redistribution and use in source and binary forms, with or without |
|
|
* Redistribution and use in source and binary forms, with or without |
|
@@ -102,6 +102,11 @@ public class ChecksumTest extends BuildFileTest { |
|
|
assertNull(project.getProperty("no.logo.md5")); |
|
|
assertNull(project.getProperty("no.logo.md5")); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void testVerifyFromProperty() { |
|
|
|
|
|
assertNull(getProject().getProperty("verify")); |
|
|
|
|
|
expectPropertySet("verifyFromProperty", "verify", "true"); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
private void testVerify(String target) { |
|
|
private void testVerify(String target) { |
|
|
assertNull(project.getProperty("logo.md5")); |
|
|
assertNull(project.getProperty("logo.md5")); |
|
|
assertNull(project.getProperty("no.logo.md5")); |
|
|
assertNull(project.getProperty("no.logo.md5")); |
|
|