MessageChunk.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.swing.interaction;
12
13
import com.jsql.view.interaction.InteractionCommand;
14
import com.jsql.view.swing.util.MediatorHelper;
15
16
/**
17
 * Append text to the tab Chunk.
18
 */
19
public class MessageChunk implements InteractionCommand {
20
    
21
    /**
22
     * Text to append to the Chunk log area.
23
     */
24
    private final String text;
25
26
    /**
27
     * @param interactionParams Text to append
28
     */
29
    public MessageChunk(Object[] interactionParams) {
30
        this.text = (String) interactionParams[0];
31
    }
32
33
    @Override
34
    public void execute() {
35 1 1. execute : removed call to com/jsql/view/swing/panel/PanelConsoles::messageChunk → NO_COVERAGE
        MediatorHelper.panelConsoles().messageChunk(this.text);
36 1 1. execute : removed call to com/jsql/view/swing/tab/TabbedPaneWheeled::setBold → NO_COVERAGE
        MediatorHelper.tabConsoles().setBold("Chunk");
37
    }
38
}

Mutations

35

1.1
Location : execute
Killed by : none
removed call to com/jsql/view/swing/panel/PanelConsoles::messageChunk → NO_COVERAGE

36

1.1
Location : execute
Killed by : none
removed call to com/jsql/view/swing/tab/TabbedPaneWheeled::setBold → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.19.1