mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 18:28:55 +07:00
12 lines
408 B
Java
12 lines
408 B
Java
import testutils.RequiresReadLock;
|
|
import testutils.ThreadingAssertions;
|
|
import test.ExpectedPath
|
|
|
|
@ExpectedPath("BothAnnotationAndAssertion.testMethod -> @RequiresReadLock")
|
|
@ExpectedPath("BothAnnotationAndAssertion.testMethod -> ThreadingAssertions.assertReadAccess()")
|
|
class BothAnnotationAndAssertion {
|
|
@RequiresReadLock
|
|
void testMethod() {
|
|
ThreadingAssertions.assertReadAccess();
|
|
}
|
|
} |