You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by kw...@apache.org on 2021/04/17 16:54:02 UTC
[jackrabbit-filevault] branch master updated: JCRVLT-512 fix test
on Windows
This is an automated email from the ASF dual-hosted git repository.
kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jackrabbit-filevault.git
The following commit(s) were added to refs/heads/master by this push:
new 12480c5 JCRVLT-512 fix test on Windows
12480c5 is described below
commit 12480c5be6e8e30d0c66abb431f6d516e3475f3f
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Sat Apr 17 18:53:54 2021 +0200
JCRVLT-512 fix test on Windows
---
.../jackrabbit/vault/validation/spi/impl/PackageTypeValidatorTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vault-validation/src/test/java/org/apache/jackrabbit/vault/validation/spi/impl/PackageTypeValidatorTest.java b/vault-validation/src/test/java/org/apache/jackrabbit/vault/validation/spi/impl/PackageTypeValidatorTest.java
index 7dcef73..e13a314 100644
--- a/vault-validation/src/test/java/org/apache/jackrabbit/vault/validation/spi/impl/PackageTypeValidatorTest.java
+++ b/vault-validation/src/test/java/org/apache/jackrabbit/vault/validation/spi/impl/PackageTypeValidatorTest.java
@@ -221,7 +221,7 @@ public class PackageTypeValidatorTest {
Map<String, String> hooks = Collections.singletonMap("key", "com.example.ExternalHook");
Mockito.when(properties.getExternalHooks()).thenReturn(hooks);
ValidationExecutorTest.assertViolation(validator.validate(properties), new ValidationMessage(ValidationMessageSeverity.ERROR, String.format(PackageTypeValidator.MESSAGE_PACKAGE_HOOKS, PackageType.APPLICATION, hooks)));
- ValidationExecutorTest.assertViolation(validator.validateMetaInfPath(Paths.get("vault", "hooks", "myhook.jar"), Paths.get(""), false), new ValidationMessage(ValidationMessageSeverity.ERROR, String.format(PackageTypeValidator.MESSAGE_PACKAGE_HOOKS, PackageType.APPLICATION, "vault/hooks/myhook.jar")));
+ ValidationExecutorTest.assertViolation(validator.validateMetaInfPath(Paths.get("vault", "hooks", "myhook.jar"), Paths.get(""), false), new ValidationMessage(ValidationMessageSeverity.ERROR, String.format(PackageTypeValidator.MESSAGE_PACKAGE_HOOKS, PackageType.APPLICATION, Paths.get("vault", "hooks", "myhook.jar"))));
// with regular filter
DefaultWorkspaceFilter filter = new DefaultWorkspaceFilter();