Example usage for org.springframework.boot.test.autoconfigure.web.servlet MockMvcPrint NONE

List of usage examples for org.springframework.boot.test.autoconfigure.web.servlet MockMvcPrint NONE

Introduction

In this page you can find the example usage for org.springframework.boot.test.autoconfigure.web.servlet MockMvcPrint NONE.

Prototype

MockMvcPrint NONE

To view the source code for org.springframework.boot.test.autoconfigure.web.servlet MockMvcPrint NONE.

Click Source Link

Document

Do not print MVC interactions.

Usage

From source file:org.springframework.boot.test.autoconfigure.web.servlet.SpringBootMockMvcBuilderCustomizer.java

private LinesWriter getLinesWriter() {
    if (this.print == MockMvcPrint.NONE) {
        return null;
    }// ww  w .  j a va2s.  c o  m
    if (this.print == MockMvcPrint.LOG_DEBUG) {
        return new LoggingLinesWriter();
    }
    return new SystemLinesWriter(this.print);

}