Skip to content

Commit 380cb88

Browse files
committed
Add reproducer for #4076
1 parent 91924ec commit 380cb88

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
/*
3+
* Copyright 2015-2024 the original author or authors.
4+
*
5+
* All rights reserved. This program and the accompanying materials are
6+
* made available under the terms of the Eclipse Public License v2.0 which
7+
* accompanies this distribution and is available at
8+
*
9+
* https://www.eclipse.org/legal/epl-v20.html
10+
*/
11+
import com.example.vintage.VintageTest;
12+
13+
import org.junit.Ignore;
14+
15+
/**
16+
* Reproducer for https://github.com/junit-team/junit5/issues/4076
17+
*/
18+
@Ignore
19+
public class DefaultPackageTest extends VintageTest {
20+
void packagePrivateMethod() {
21+
}
22+
}

platform-tooling-support-tests/projects/vintage/src/test/java/com/example/vintage/VintageTest.java

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
import org.junit.Test;
1616

1717
public class VintageTest {
18+
void packagePrivateMethod() {
19+
}
20+
1821
@Test
1922
public void success() {
2023
// pass

0 commit comments

Comments
 (0)