SubscriberScan.java

1
/*******************************************************************************
2
 * Copyhacked (H) 2012-2025.
3
 * This program and the accompanying materials
4
 * are made available under no term at all, use it like
5
 * you want, but share and discuss it
6
 * every time possible with every body.
7
 *
8
 * Contributors:
9
 *      ron190 at ymail dot com - initial implementation
10
 ******************************************************************************/
11
package com.jsql.view.subscriber;
12
13
import com.jsql.view.swing.util.MediatorHelper;
14
15
public class SubscriberScan extends AbstractSubscriber {
16
    @Override
17
    protected void execute(Seal request) {
18
        var urlByUser = MediatorHelper.model().getMediatorUtils().connectionUtil().getUrlByUser();
19
        switch (request) {
20 1 1. execute : removed call to com/jsql/view/swing/manager/ManagerScan::highlight → NO_COVERAGE
            case Seal.MarkEngineFound(var engine) -> MediatorHelper.managerScan().highlight(urlByUser, engine.toString());
21 1 1. execute : removed call to com/jsql/view/swing/manager/ManagerScan::highlight → NO_COVERAGE
            case Seal.ActivateEngine(var engine) -> MediatorHelper.managerScan().highlight(urlByUser, engine.toString());
22 1 1. execute : removed call to com/jsql/view/swing/manager/ManagerScan::highlight → NO_COVERAGE
            case Seal.MarkStrategyVulnerable(int ignored, var strategy) -> MediatorHelper.managerScan().highlight(urlByUser, strategy.toString());
23
            default -> {
24
                // empty
25
            }
26
        }
27
    }
28
}

Mutations

20

1.1
Location : execute
Killed by : none
removed call to com/jsql/view/swing/manager/ManagerScan::highlight → NO_COVERAGE

21

1.1
Location : execute
Killed by : none
removed call to com/jsql/view/swing/manager/ManagerScan::highlight → NO_COVERAGE

22

1.1
Location : execute
Killed by : none
removed call to com/jsql/view/swing/manager/ManagerScan::highlight → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.22.1