rt/emul/compacttest/src/test/java/org/apidesign/bck2brwsr/tck/ReflectionTest.java
changeset 1902 c3dee54ecc15
parent 1900 7865a00c30ef
     1.1 --- a/rt/emul/compacttest/src/test/java/org/apidesign/bck2brwsr/tck/ReflectionTest.java	Sun Mar 20 09:25:47 2016 +0100
     1.2 +++ b/rt/emul/compacttest/src/test/java/org/apidesign/bck2brwsr/tck/ReflectionTest.java	Sun Mar 20 15:26:19 2016 +0100
     1.3 @@ -75,6 +75,10 @@
     1.4          return Runnable.class.getMethod("run").getName();
     1.5      }
     1.6  
     1.7 +    @Compare public boolean RunnableRunReturnsVoid() throws NoSuchMethodException {
     1.8 +        return Runnable.class.getMethod("run").getReturnType() == Void.TYPE;
     1.9 +    }
    1.10 +
    1.11      @Compare public String isRunnableDeclaresRunMethod() throws NoSuchMethodException {
    1.12          return Runnable.class.getDeclaredMethod("run").getName();
    1.13      }