junichi11 commented on code in PR #5731:
URL: https://github.com/apache/netbeans/pull/5731#discussion_r1150742211


##########
php/php.editor/test/unit/src/org/netbeans/modules/php/editor/indent/PHPFormatterTestBase.java:
##########
@@ -119,10 +119,14 @@ protected void reformatFileContents(String file, 
Map<String, Object> options) th
     }
 
     protected void reformatFileContents(String file, Map<String, Object> 
options, boolean isTemplate) throws Exception {
-        reformatFileContents(file, options, isTemplate, new IndentPrefs(4, 4));
+        reformatFileContents(file, options, isTemplate, false, new 
IndentPrefs(4, 4));
     }
 
-    private void reformatFileContents(String file, Map<String, Object> 
options, boolean isTemplate, IndentPrefs indentPrefs) throws Exception {
+    protected void reformatFileContents(String file, Map<String, Object> 
options, boolean isTemplate, boolean includeTestName) throws Exception {
+        reformatFileContents(file, options, isTemplate, includeTestName, new 
IndentPrefs(4, 4));
+    }

Review Comment:
   For using the same test file. (Avoid putting the same file for each test.)



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to