aboutsummaryrefslogtreecommitdiff
path: root/org.jacoco.report.test/src/org/jacoco/report/check/RulesCheckerTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'org.jacoco.report.test/src/org/jacoco/report/check/RulesCheckerTest.java')
-rw-r--r--org.jacoco.report.test/src/org/jacoco/report/check/RulesCheckerTest.java25
1 files changed, 13 insertions, 12 deletions
diff --git a/org.jacoco.report.test/src/org/jacoco/report/check/RulesCheckerTest.java b/org.jacoco.report.test/src/org/jacoco/report/check/RulesCheckerTest.java
index de4cd8ad..fe354d23 100644
--- a/org.jacoco.report.test/src/org/jacoco/report/check/RulesCheckerTest.java
+++ b/org.jacoco.report.test/src/org/jacoco/report/check/RulesCheckerTest.java
@@ -1,13 +1,14 @@
/*******************************************************************************
- * Copyright (c) 2009, 2019 Mountainminds GmbH & Co. KG and Contributors
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
+ * Copyright (c) 2009, 2021 Mountainminds GmbH & Co. KG and Contributors
+ * This program and the accompanying materials are made available under
+ * the terms of the Eclipse Public License 2.0 which is available at
+ * http://www.eclipse.org/legal/epl-2.0
+ *
+ * SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Marc R. Hoffmann - initial API and implementation
- *
+ *
*******************************************************************************/
package org.jacoco.report.check;
@@ -50,8 +51,8 @@ public class RulesCheckerTest implements IViolationsOutput {
limit.setMaximum("5");
checker.setRules(Arrays.asList(rule));
driver.sendGroup(checker.createVisitor(this));
- assertEquals(
- Arrays.asList("Rule violated for bundle bundle: instructions missed count is 10, but expected maximum is 5"),
+ assertEquals(Arrays.asList(
+ "Rule violated for bundle bundle: instructions missed count is 10, but expected maximum is 5"),
messages);
}
@@ -78,8 +79,8 @@ public class RulesCheckerTest implements IViolationsOutput {
return null;
}
- public String getMethodName(String vmclassname,
- String vmmethodname, String vmdesc, String vmsignature) {
+ public String getMethodName(String vmclassname, String vmmethodname,
+ String vmdesc, String vmsignature) {
return null;
}
@@ -90,8 +91,8 @@ public class RulesCheckerTest implements IViolationsOutput {
});
driver.sendGroup(checker.createVisitor(this));
- assertEquals(
- Arrays.asList("Rule violated for class MyClass: instructions missed count is 10, but expected maximum is 5"),
+ assertEquals(Arrays.asList(
+ "Rule violated for class MyClass: instructions missed count is 10, but expected maximum is 5"),
messages);
}