This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 254120
Collapse All | Expand All

(-)a/php.codeception/src/org/netbeans/modules/php/codeception/commands/Codecept.java (-3 / +5 lines)
Lines 356-362 Link Here
356
                        if (startFile.isFolder() && !relativePath.endsWith("/")) { // NOI18N
356
                        if (startFile.isFolder() && !relativePath.endsWith("/")) { // NOI18N
357
                            relativePath += "/"; // NOI18N
357
                            relativePath += "/"; // NOI18N
358
                        }
358
                        }
359
                        if (!customTests.isEmpty() && !runInfo.isRerun()) {
359
                        if (customTests.size() == 1) {
360
                            relativePath = relativePath + ":" + customTests.get(0).getName(); // NOI18N
360
                            relativePath = relativePath + ":" + customTests.get(0).getName(); // NOI18N
361
                        }
361
                        }
362
                        params.add(relativePath);
362
                        params.add(relativePath);
Lines 379-386 Link Here
379
        if (!customTests.isEmpty()) {
379
        if (!customTests.isEmpty()) {
380
            // rerun failed tests
380
            // rerun failed tests
381
            if (runInfo.isRerun()) {
381
            if (runInfo.isRerun()) {
382
                params.add(GROUP_PARAM);
382
                if (runInfo.allTests() || customTests.size() > 1) {
383
                params.add(FAILED_GROUP);
383
                    params.add(GROUP_PARAM);
384
                    params.add(FAILED_GROUP);
385
                }
384
            }
386
            }
385
        }
387
        }
386
        params.add(String.format(XML_PARAM, XML_LOG.getAbsolutePath()));
388
        params.add(String.format(XML_PARAM, XML_LOG.getAbsolutePath()));

Return to bug 254120