Commit:    332325c23940184aaa90ef97c76583a66b034767
Author:    Christoph M. Becker <cmbecke...@gmx.de>         Tue, 22 Oct 2019 
15:19:31 +0200
Parents:   2f9a2945a948569229f2cada3bbbbad42d8e8d46
Branches:  master

Link:       
http://git.php.net/?p=pftt2.git;a=commitdiff;h=332325c23940184aaa90ef97c76583a66b034767

Log:
Fix #81: Lower-casing of PHPT file names can break tests

Bugs:
https://bugs.php.net/81

Changed paths:
  M  src/com/mostc/pftt/model/core/PhptTestCase.java


Diff:
diff --git a/src/com/mostc/pftt/model/core/PhptTestCase.java 
b/src/com/mostc/pftt/model/core/PhptTestCase.java
index 2f323eb9..b037991c 100644
--- a/src/com/mostc/pftt/model/core/PhptTestCase.java
+++ b/src/com/mostc/pftt/model/core/PhptTestCase.java
@@ -355,13 +355,13 @@ public class PhptTestCase extends TestCase {
                section_text = new HashMap<EPhptSection,String>();
        }
        
-       /** makes the test case name standard (all lowercase and using / and 
never \\)
+       /** makes the test case name standard (using / and never \\)
         * 
         * @param name
         * @return
         */
        public static String normalizeTestCaseName(String name) {
-               return FileSystemScenario.toUnixPath(name).toLowerCase();
+               return FileSystemScenario.toUnixPath(name);
        }
        
        public PhptSourceTestPack getTestPack() {

Reply via email to