Package org.gradle.api.internal.tasks.testing

Examples of org.gradle.api.internal.tasks.testing.DefaultTestClassRunInfo


     * class).
     */
    protected void publishTestClass(boolean isTest, TestClassVisitor classVisitor, boolean superClass) {
        if (isTest && !classVisitor.isAbstract() && !superClass) {
            String className = Type.getObjectType(classVisitor.getClassName()).getClassName();
            testClassProcessor.processTestClass(new DefaultTestClassRunInfo(className));
        }
    }
View Full Code Here


    private void filenameScan() {
        candidateClassFiles.visit(new ClassFileVisitor() {
            public void visitClassFile(FileVisitDetails fileDetails) {
                String className = fileDetails.getRelativePath().getPathString().replaceAll("\\.class", "").replace('/', '.');
                TestClassRunInfo testClass = new DefaultTestClassRunInfo(className);
                testClassProcessor.processTestClass(testClass);
            }
        });
    }
View Full Code Here

     * times (for each extending class).
     */
    protected void publishTestClass(boolean isTest, TestClassVisitor classVisitor, boolean superClass) {
        if (isTest && !classVisitor.isAbstract() && !superClass) {
            String className = Type.getObjectType(classVisitor.getClassName()).getClassName();
            testClassProcessor.processTestClass(new DefaultTestClassRunInfo(className));
        }
    }
View Full Code Here

    private void filenameScan() {
        candidateClassFiles.visit(new ClassFileVisitor() {
            public void visitClassFile(FileVisitDetails fileDetails) {
                String className = fileDetails.getRelativePath().getPathString().replaceAll("\\.class", "").replace('/', '.');
                TestClassRunInfo testClass = new DefaultTestClassRunInfo(className);
                testClassProcessor.processTestClass(testClass);
            }
        });
    }
View Full Code Here

TOP

Related Classes of org.gradle.api.internal.tasks.testing.DefaultTestClassRunInfo

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.