|
|
|
|
@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
|
|
|
|
|
/* |
|
|
|
|
* Copyright 2012-2016 the original author or authors. |
|
|
|
|
* Copyright 2012-2017 the original author or authors. |
|
|
|
|
* |
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
|
@ -59,7 +59,7 @@ public class CentralDirectoryParserTests {
@@ -59,7 +59,7 @@ public class CentralDirectoryParserTests {
|
|
|
|
|
CentralDirectoryParser parser = new CentralDirectoryParser(); |
|
|
|
|
parser.addVisitor(visitor); |
|
|
|
|
parser.parse(this.jarData, false); |
|
|
|
|
List<String> invocations = visitor.invocations; |
|
|
|
|
List<String> invocations = visitor.getInvocations(); |
|
|
|
|
assertThat(invocations).startsWith("visitStart").endsWith("visitEnd") |
|
|
|
|
.contains("visitFileHeader"); |
|
|
|
|
} |
|
|
|
|
|