[GRADLE-3218] 'test.testLogging.setShowStandardStreams(false)' enables standard streams Created: 18/Dec/14  Updated: 18/Dec/14  Resolved: 18/Dec/14

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 2.4-rc-1

Type: Bug
Reporter: Daz DeBoer Assignee: Unassigned
Resolution: Fixed Votes: 0


 Description   

The setter is ignoring the flag, so it's not possible to disable standardStreams using this setter.

The following sample easily demonstrates the problem with Gradle 2.2.1+:

test {
testLogging

{ showStandardStreams = false }

// this prints true no matter what value you actually will use in assignment
println("In-tests logging configured: ${project.test.testLogging.showStandardStreams}")
}


Generated at Wed Jun 30 12:43:03 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.