Package litmus

Examples of litmus.Category


        return classloader.getAssignableClasses(Assert.class);
    }


    private void addTest(Class<?> testClass) {
        Category annotation = findCategoryAnnotation(testClass);
        if (annotation != null) {
            addToCategory(testClass, new CategoryInstance(annotation));
        } else {
            addToCategory(testClass, NONE);
        }
View Full Code Here


    private Category findCategoryAnnotation(Class<?> testClass) {
        if (testClass.equals(Object.class)) {
            return null;
        } else {
            Category annotation = testClass.getAnnotation(Category.class);
            return annotation == null ? findCategoryAnnotation(testClass.getSuperclass()) : annotation;
        }
    }
View Full Code Here

TOP

Related Classes of litmus.Category

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.