File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed
junit-jupiter-api/src/main/java/org/junit/jupiter/api
jupiter-tests/src/test/java/org/junit/jupiter/api Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 1212
1313final class NoCoverage {
1414
15- private NoCoverage () {
15+ NoCoverage () {
1616 /* no-op */
1717 }
1818
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2015-2025 the original author or authors.
3+ *
4+ * All rights reserved. This program and the accompanying materials are
5+ * made available under the terms of the Eclipse Public License v2.0 which
6+ * accompanies this distribution and is available at
7+ *
8+ * https://www.eclipse.org/legal/epl-v20.html
9+ */
10+
11+ package org .junit .jupiter .api ;
12+
13+ import static org .junit .jupiter .api .Assertions .assertEquals ;
14+
15+ class NoCoverageTest {
16+
17+ @ Test
18+ void test () {
19+ assertEquals (new NoCoverage ().methodWithoutCoverage (), 4950 );
20+ }
21+ }
You can’t perform that action at this time.
0 commit comments