Search in sources :

Example 1 with NativeTestSuiteSpec

use of org.gradle.nativeplatform.test.NativeTestSuiteSpec in project gradle by gradle.

the class NativeTestSuiteBinaryRenderer method renderDetails.

@Override
protected void renderDetails(NativeTestSuiteBinarySpec binary, TextReportBuilder builder) {
    NativeTestSuiteSpec testSuite = binary.getTestSuite();
    NativeComponentSpec testedComponent = testSuite.getTestedComponent();
    if (testedComponent != null) {
        builder.item("component under test", testedComponent.getDisplayName());
    }
    NativeBinarySpec testedBinary = binary.getTestedBinary();
    if (testedBinary != null) {
        builder.item("binary under test", testedBinary.getDisplayName());
    }
    super.renderDetails(binary, builder);
}
Also used : NativeTestSuiteSpec(org.gradle.nativeplatform.test.NativeTestSuiteSpec) NativeComponentSpec(org.gradle.nativeplatform.NativeComponentSpec) NativeBinarySpec(org.gradle.nativeplatform.NativeBinarySpec)

Aggregations

NativeBinarySpec (org.gradle.nativeplatform.NativeBinarySpec)1 NativeComponentSpec (org.gradle.nativeplatform.NativeComponentSpec)1 NativeTestSuiteSpec (org.gradle.nativeplatform.test.NativeTestSuiteSpec)1