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

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


            String methodName = null;
            if (matcher.matches()) {
                className = matcher.group(2);
                methodName = matcher.group(1);
            }
            return new DefaultTestDescriptor(id, className, methodName);
        }
        // JUnit4TestCaseFacade is-a Describable in junit 4.7+
        if (test instanceof Describable) {
            Describable describable = (Describable) test;
            Description description = describable.getDescription();
            return new DefaultTestDescriptor(id, description.getClassName(), description.getMethodName());
        }
        return super.convert(id, test);
    }
View Full Code Here

TOP

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

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.