Package org.gradle.util

Examples of org.gradle.util.TestFile.assertContents()


        mappedDetails.filter(HelperUtil.toClosure("{ 'PREFIX: ' + it } "));

        TestFile destDir = tmpDir.getDir().file("test.txt");
        mappedDetails.copyTo(destDir);
        destDir.assertContents(equalTo("PREFIX: content"));
    }

    @Test
    public void getSizeReturnsSizeOfFilteredContent() {
        final FileCopyDetails mappedDetails = expectActionExecutedWhenFileVisited();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.