Search in sources :

Example 1 with JvmTestSuiteSpec

use of org.gradle.jvm.test.JvmTestSuiteSpec in project gradle by gradle.

the class JvmTestSuiteBinaryRenderer method renderDetails.

@Override
protected void renderDetails(T binary, TextReportBuilder builder) {
    JvmTestSuiteSpec testSuite = binary.getTestSuite();
    JvmComponentSpec testedComponent = testSuite.getTestedComponent();
    if (testedComponent != null) {
        builder.item("component under test", testedComponent.getDisplayName());
    }
    JvmBinarySpec testedBinary = binary.getTestedBinary();
    if (testedBinary != null) {
        builder.item("binary under test", testedBinary.getDisplayName());
    }
    super.renderDetails(binary, builder);
}
Also used : JvmTestSuiteSpec(org.gradle.jvm.test.JvmTestSuiteSpec) JvmBinarySpec(org.gradle.jvm.JvmBinarySpec) JvmComponentSpec(org.gradle.jvm.JvmComponentSpec)

Aggregations

JvmBinarySpec (org.gradle.jvm.JvmBinarySpec)1 JvmComponentSpec (org.gradle.jvm.JvmComponentSpec)1 JvmTestSuiteSpec (org.gradle.jvm.test.JvmTestSuiteSpec)1