File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
approvaltests-tests/src/test/java/org/approvaltests Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 11package org .approvaltests ;
22
33import com .spun .util .ClassUtils ;
4+ import com .spun .util .logger .SimpleLogger ;
5+
46import org .junit .jupiter .api .Test ;
57import org .lambda .query .Query ;
68import org .lambda .query .Queryable ;
1517public class CheckedExceptionsTest
1618{
1719 @ Test
18- void testTheVerifyApi ()
20+ void testTheVerifyApi () throws Exception
1921 {
20- verifyMethodSignatures ("Methods with checked exceptions" , getAllClasses (),
21- this ::getMethodsWithCheckedExceptions );
22+ try (var l = SimpleLogger .quiet ())
23+ {
24+ verifyMethodSignatures ("Methods with checked exceptions" , getAllClasses (),
25+ this ::getMethodsWithCheckedExceptions );
26+ }
2227 }
2328 private List <Method > getMethodsWithCheckedExceptions (Class <?> aClass )
2429 {
You can’t perform that action at this time.
0 commit comments