ko/fx/src/test/java/org/apidesign/bck2brwsr/kofx/KnockoutFXTest.java
changeset 1933 3c9060276b2d
parent 1787 ea12a3bb4b33
     1.1 --- a/ko/fx/src/test/java/org/apidesign/bck2brwsr/kofx/KnockoutFXTest.java	Tue Feb 24 11:12:53 2015 +0100
     1.2 +++ b/ko/fx/src/test/java/org/apidesign/bck2brwsr/kofx/KnockoutFXTest.java	Sun Apr 24 06:51:32 2016 +0200
     1.3 @@ -52,11 +52,21 @@
     1.4  
     1.5      @Factory public static Object[] compatibilityTests() {
     1.6          return VMTest.newTests().
     1.7 -            withClasses(testClasses()).
     1.8 +            withClasses(filterTestClasses()).
     1.9              withTestAnnotation(KOTest.class).
    1.10              withLaunchers("fxbrwsr").build();
    1.11      }
    1.12 -
    1.13 +    
    1.14 +    private static Class[] filterTestClasses() {
    1.15 +        Class[] arr = testClasses();
    1.16 +        for (int i = 0; i < arr.length; i++) {
    1.17 +            if (arr[i].getName().contains("GCBodyTest")) {
    1.18 +                arr[i] = Object.class;
    1.19 +            }
    1.20 +        }
    1.21 +        return arr;
    1.22 +    }
    1.23 +    
    1.24      @Override
    1.25      public BrwsrCtx createContext() {
    1.26          final Fn.Presenter p = Fn.activePresenter();