markt-asf commented on a change in pull request #227: Unit test FileStore utility methods URL: https://github.com/apache/tomcat/pull/227#discussion_r352785380
########## File path: test/org/apache/catalina/session/FileStoreTest.java ########## @@ -0,0 +1,78 @@ +package org.apache.catalina.session; + +import org.apache.catalina.Manager; +import org.apache.tomcat.unittest.TesterContext; +import org.apache.tomcat.unittest.TesterServletContext; +import org.apache.tomcat.util.http.fileupload.FileUtils; +import org.junit.AfterClass; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +import java.io.File; +import java.io.IOException; + +import static org.junit.Assert.assertArrayEquals; +import static org.junit.Assert.assertEquals; + +/** + * Test utility methods of FileStore class + * + * @author Govinda Sakhare + */ +public class FileStoreTest { + + private static final String SESS_TEMPPATH = "SESS_TEMP"; + private static final File dir = new File (SESS_TEMPPATH); + private static FileStore fileStore; Review comment: No spaces before `(` please (throughout this file) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org