OfficeStamperConfigurations.java

1
package pro.verron.officestamper.preset;
2
3
import pro.verron.officestamper.api.OfficeStamperConfiguration;
4
import pro.verron.officestamper.api.OfficeStamperException;
5
import pro.verron.officestamper.core.DocxStamper;
6
import pro.verron.officestamper.core.DocxStamperConfiguration;
7
import pro.verron.officestamper.preset.CommentProcessorFactory.*;
8
import pro.verron.officestamper.preset.processors.displayif.DisplayIfProcessor;
9
import pro.verron.officestamper.preset.processors.repeat.RepeatProcessor;
10
import pro.verron.officestamper.preset.processors.repeatdocpart.RepeatDocPartProcessor;
11
import pro.verron.officestamper.preset.processors.repeatparagraph.ParagraphRepeatProcessor;
12
import pro.verron.officestamper.preset.processors.replacewith.ReplaceWithProcessor;
13
import pro.verron.officestamper.preset.processors.table.TableResolver;
14
15
import java.time.temporal.TemporalAccessor;
16
import java.util.List;
17
18
import static java.time.format.DateTimeFormatter.*;
19
import static java.time.format.FormatStyle.valueOf;
20
import static java.util.Locale.forLanguageTag;
21
22
23
/**
24
 * The OfficeStamperConfigurations class provides static methods
25
 * to create different configurations for the OfficeStamper.
26
 */
27
public class OfficeStamperConfigurations {
28
29
30
    private OfficeStamperConfigurations() {
31
        throw new OfficeStamperException("OfficeStamperConfigurations cannot be instantiated");
32
    }
33
34
    /**
35
     * Creates a new OfficeStamperConfiguration with the standard configuration and additional preprocessors.
36
     *
37
     * @return the OfficeStamperConfiguration
38
     *
39
     * @see OfficeStamperConfiguration
40
     */
41
    public static OfficeStamperConfiguration standardWithPreprocessing() {
42
        var configuration = standard();
43 1 1. standardWithPreprocessing : removed call to pro/verron/officestamper/api/OfficeStamperConfiguration::addPreprocessor → KILLED
        configuration.addPreprocessor(Preprocessors.removeLanguageProof());
44 1 1. standardWithPreprocessing : removed call to pro/verron/officestamper/api/OfficeStamperConfiguration::addPreprocessor → KILLED
        configuration.addPreprocessor(Preprocessors.removeLanguageInfo());
45 1 1. standardWithPreprocessing : removed call to pro/verron/officestamper/api/OfficeStamperConfiguration::addPreprocessor → SURVIVED
        configuration.addPreprocessor(Preprocessors.mergeSimilarRuns());
46 1 1. standardWithPreprocessing : removed call to pro/verron/officestamper/api/OfficeStamperConfiguration::addPostprocessor → KILLED
        configuration.addPostprocessor(Postprocessors.removeOrphanedFootnotes());
47 1 1. standardWithPreprocessing : removed call to pro/verron/officestamper/api/OfficeStamperConfiguration::addPostprocessor → KILLED
        configuration.addPostprocessor(Postprocessors.removeOrphanedEndnotes());
48 1 1. standardWithPreprocessing : replaced return value with null for pro/verron/officestamper/preset/OfficeStamperConfigurations::standardWithPreprocessing → KILLED
        return configuration;
49
    }
50
51
    /**
52
     * Creates a new standard OfficeStamperConfiguration.
53
     *
54
     * @return the standard OfficeStamperConfiguration
55
     */
56
    public static OfficeStamperConfiguration standard() {
57
        var configuration = new DocxStamperConfiguration();
58
59
        configuration.addCommentProcessor(IRepeatProcessor.class, RepeatProcessor::newInstance);
60
        configuration.addCommentProcessor(IParagraphRepeatProcessor.class, ParagraphRepeatProcessor::newInstance);
61
        configuration.addCommentProcessor(IRepeatDocPartProcessor.class,
62 1 1. lambda$standard$1 : replaced return value with null for pro/verron/officestamper/preset/OfficeStamperConfigurations::lambda$standard$1 → KILLED
                pr -> RepeatDocPartProcessor.newInstance(pr,
63
                        (template, context, output) -> new DocxStamper(configuration)
64 1 1. lambda$standard$0 : removed call to pro/verron/officestamper/core/DocxStamper::stamp → TIMED_OUT
                                .stamp(template, context, output)));
65
        configuration.addCommentProcessor(ITableResolver.class, TableResolver::newInstance);
66
        configuration.addCommentProcessor(IDisplayIfProcessor.class, DisplayIfProcessor::newInstance);
67
        configuration.addCommentProcessor(IReplaceWithProcessor.class, ReplaceWithProcessor::newInstance);
68
69
        configuration.setResolvers(List.of(Resolvers.image(),
70
                Resolvers.legacyDate(),
71
                Resolvers.isoDate(),
72
                Resolvers.isoTime(),
73
                Resolvers.isoDateTime(),
74
                Resolvers.nullToEmpty(),
75
                Resolvers.fallback()));
76
77 1 1. standard : removed call to pro/verron/officestamper/core/DocxStamperConfiguration::addPreprocessor → SURVIVED
        configuration.addPreprocessor(Preprocessors.removeMalformedComments());
78
79
        configuration.addCustomFunction("ftime", TemporalAccessor.class)
80 1 1. standard : removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED
                     .withImplementation(ISO_TIME::format);
81
        configuration.addCustomFunction("fdate", TemporalAccessor.class)
82 1 1. standard : removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED
                     .withImplementation(ISO_DATE::format);
83
        configuration.addCustomFunction("fdatetime", TemporalAccessor.class)
84 1 1. standard : removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED
                     .withImplementation(ISO_DATE_TIME::format);
85
        configuration.addCustomFunction("finstant", TemporalAccessor.class)
86 1 1. standard : removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED
                     .withImplementation(ISO_INSTANT::format);
87
        configuration.addCustomFunction("fordinaldate", TemporalAccessor.class)
88 1 1. standard : removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED
                     .withImplementation(ISO_ORDINAL_DATE::format);
89
        configuration.addCustomFunction("f1123datetime", TemporalAccessor.class)
90 1 1. standard : removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED
                     .withImplementation(RFC_1123_DATE_TIME::format);
91
        configuration.addCustomFunction("flocaldate", TemporalAccessor.class)
92 1 1. standard : removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED
                     .withImplementation(ISO_LOCAL_DATE::format);
93
        configuration.addCustomFunction("fbasicdate", TemporalAccessor.class)
94 1 1. standard : removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED
                     .withImplementation(BASIC_ISO_DATE::format);
95
        configuration.addCustomFunction("fweekdate", TemporalAccessor.class)
96 1 1. standard : removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED
                     .withImplementation(ISO_WEEK_DATE::format);
97
        configuration.addCustomFunction("flocaldatetime", TemporalAccessor.class)
98 1 1. standard : removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED
                     .withImplementation(ISO_LOCAL_DATE_TIME::format);
99
        configuration.addCustomFunction("flocaldatetime", TemporalAccessor.class, String.class)
100 2 1. standard : removed call to pro/verron/officestamper/api/CustomFunction$NeedsBiFunctionImpl::withImplementation → KILLED
2. lambda$standard$2 : replaced return value with null for pro/verron/officestamper/preset/OfficeStamperConfigurations::lambda$standard$2 → KILLED
                     .withImplementation((date, style) -> ofLocalizedDateTime(valueOf(style)).format(date));
101
        configuration.addCustomFunction("flocaldatetime", TemporalAccessor.class, String.class, String.class)
102 2 1. lambda$standard$3 : replaced return value with null for pro/verron/officestamper/preset/OfficeStamperConfigurations::lambda$standard$3 → KILLED
2. standard : removed call to pro/verron/officestamper/api/CustomFunction$NeedsTriFunctionImpl::withImplementation → KILLED
                     .withImplementation((date, dateStyle, timeStyle) -> ofLocalizedDateTime(valueOf(dateStyle),
103
                             valueOf(timeStyle)).format(date));
104
        configuration.addCustomFunction("foffsetdatetime", TemporalAccessor.class)
105 1 1. standard : removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED
                     .withImplementation(ISO_OFFSET_DATE_TIME::format);
106
        configuration.addCustomFunction("fzoneddatetime", TemporalAccessor.class)
107 1 1. standard : removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED
                     .withImplementation(ISO_ZONED_DATE_TIME::format);
108
        configuration.addCustomFunction("foffsetdate", TemporalAccessor.class)
109 1 1. standard : removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED
                     .withImplementation(ISO_OFFSET_DATE::format);
110
        configuration.addCustomFunction("flocaltime", TemporalAccessor.class)
111 1 1. standard : removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED
                     .withImplementation(ISO_LOCAL_TIME::format);
112
        configuration.addCustomFunction("foffsettime", TemporalAccessor.class)
113 1 1. standard : removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED
                     .withImplementation(ISO_OFFSET_TIME::format);
114
        configuration.addCustomFunction("flocaldate", TemporalAccessor.class, String.class)
115 2 1. standard : removed call to pro/verron/officestamper/api/CustomFunction$NeedsBiFunctionImpl::withImplementation → KILLED
2. lambda$standard$4 : replaced return value with null for pro/verron/officestamper/preset/OfficeStamperConfigurations::lambda$standard$4 → KILLED
                     .withImplementation((date, style) -> ofLocalizedDate(valueOf(style)).format(date));
116
        configuration.addCustomFunction("flocaltime", TemporalAccessor.class, String.class)
117 2 1. standard : removed call to pro/verron/officestamper/api/CustomFunction$NeedsBiFunctionImpl::withImplementation → KILLED
2. lambda$standard$5 : replaced return value with null for pro/verron/officestamper/preset/OfficeStamperConfigurations::lambda$standard$5 → KILLED
                     .withImplementation((date, style) -> ofLocalizedTime(valueOf(style)).format(date));
118
        configuration.addCustomFunction("fpattern", TemporalAccessor.class, String.class)
119 2 1. lambda$standard$6 : replaced return value with null for pro/verron/officestamper/preset/OfficeStamperConfigurations::lambda$standard$6 → KILLED
2. standard : removed call to pro/verron/officestamper/api/CustomFunction$NeedsBiFunctionImpl::withImplementation → KILLED
                     .withImplementation((date, pattern) -> ofPattern(pattern).format(date));
120
        configuration.addCustomFunction("fpattern", TemporalAccessor.class, String.class, String.class)
121 2 1. lambda$standard$7 : replaced return value with null for pro/verron/officestamper/preset/OfficeStamperConfigurations::lambda$standard$7 → KILLED
2. standard : removed call to pro/verron/officestamper/api/CustomFunction$NeedsTriFunctionImpl::withImplementation → KILLED
                     .withImplementation((date, pattern, locale) -> ofPattern(pattern, forLanguageTag(locale))
122
                             .format(date));
123 1 1. standard : replaced return value with null for pro/verron/officestamper/preset/OfficeStamperConfigurations::standard → KILLED
        return configuration;
124
    }
125
126
    /**
127
     * Creates a new standard OfficeStamperConfiguration.
128
     *
129
     * @return the standard OfficeStamperConfiguration
130
     */
131
    public static OfficeStamperConfiguration raw() {
132
        var configuration = new DocxStamperConfiguration();
133 1 1. raw : removed call to pro/verron/officestamper/core/DocxStamperConfiguration::resetResolvers → SURVIVED
        configuration.resetResolvers();
134
        configuration.setEvaluationContextConfigurer(EvaluationContextConfigurers.defaultConfigurer());
135 1 1. raw : removed call to pro/verron/officestamper/core/DocxStamperConfiguration::resetCommentProcessors → SURVIVED
        configuration.resetCommentProcessors();
136 1 1. raw : replaced return value with null for pro/verron/officestamper/preset/OfficeStamperConfigurations::raw → KILLED
        return configuration;
137
    }
138
}

Mutations

43

1.1
Location : standardWithPreprocessing
Killed by : pro.verron.officestamper.test.DefaultTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.DefaultTests]/[test-template:features(java.lang.String, pro.verron.officestamper.api.OfficeStamperConfiguration, java.lang.Object, java.io.InputStream, java.lang.String)]/[test-template-invocation:#2]
removed call to pro/verron/officestamper/api/OfficeStamperConfiguration::addPreprocessor → KILLED

44

1.1
Location : standardWithPreprocessing
Killed by : pro.verron.officestamper.test.ConditionalDisplayTest.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.ConditionalDisplayTest]/[test-template:conditionalDisplayOfEndnotes(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#1]
removed call to pro/verron/officestamper/api/OfficeStamperConfiguration::addPreprocessor → KILLED

45

1.1
Location : standardWithPreprocessing
Killed by : none
removed call to pro/verron/officestamper/api/OfficeStamperConfiguration::addPreprocessor → SURVIVED
Covering tests

46

1.1
Location : standardWithPreprocessing
Killed by : pro.verron.officestamper.test.ConditionalDisplayTest.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.ConditionalDisplayTest]/[test-template:conditionalDisplayOfFootnotes(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
removed call to pro/verron/officestamper/api/OfficeStamperConfiguration::addPostprocessor → KILLED

47

1.1
Location : standardWithPreprocessing
Killed by : pro.verron.officestamper.test.ConditionalDisplayTest.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.ConditionalDisplayTest]/[test-template:conditionalDisplayOfEndnotes(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#1]
removed call to pro/verron/officestamper/api/OfficeStamperConfiguration::addPostprocessor → KILLED

48

1.1
Location : standardWithPreprocessing
Killed by : pro.verron.officestamper.test.SpelInstantiationTest.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.SpelInstantiationTest]/[test-template:testDateInstantiationAndResolution(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
replaced return value with null for pro/verron/officestamper/preset/OfficeStamperConfigurations::standardWithPreprocessing → KILLED

62

1.1
Location : lambda$standard$1
Killed by : pro.verron.officestamper.test.ResolutionTest.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.ResolutionTest]/[test-template:testStaticResolution(java.lang.String, boolean, boolean, boolean, java.lang.String, java.lang.String)]/[test-template-invocation:#7]
replaced return value with null for pro/verron/officestamper/preset/OfficeStamperConfigurations::lambda$standard$1 → KILLED

64

1.1
Location : lambda$standard$0
Killed by : none
removed call to pro/verron/officestamper/core/DocxStamper::stamp → TIMED_OUT

77

1.1
Location : standard
Killed by : none
removed call to pro/verron/officestamper/core/DocxStamperConfiguration::addPreprocessor → SURVIVED
Covering tests

80

1.1
Location : standard
Killed by : pro.verron.officestamper.test.DateFormatTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.DateFormatTests]/[test-template:features(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED

82

1.1
Location : standard
Killed by : pro.verron.officestamper.test.DateFormatTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.DateFormatTests]/[test-template:features(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED

84

1.1
Location : standard
Killed by : pro.verron.officestamper.test.DateFormatTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.DateFormatTests]/[test-template:features(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED

86

1.1
Location : standard
Killed by : pro.verron.officestamper.test.DateFormatTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.DateFormatTests]/[test-template:features(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED

88

1.1
Location : standard
Killed by : pro.verron.officestamper.test.DateFormatTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.DateFormatTests]/[test-template:features(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED

90

1.1
Location : standard
Killed by : pro.verron.officestamper.test.DateFormatTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.DateFormatTests]/[test-template:features(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED

92

1.1
Location : standard
Killed by : pro.verron.officestamper.test.DateFormatTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.DateFormatTests]/[test-template:features(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED

94

1.1
Location : standard
Killed by : pro.verron.officestamper.test.DateFormatTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.DateFormatTests]/[test-template:features(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED

96

1.1
Location : standard
Killed by : pro.verron.officestamper.test.DateFormatTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.DateFormatTests]/[test-template:features(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED

98

1.1
Location : standard
Killed by : pro.verron.officestamper.test.DateFormatTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.DateFormatTests]/[test-template:features(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED

100

1.1
Location : standard
Killed by : pro.verron.officestamper.test.DateFormatTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.DateFormatTests]/[test-template:features(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
removed call to pro/verron/officestamper/api/CustomFunction$NeedsBiFunctionImpl::withImplementation → KILLED

2.2
Location : lambda$standard$2
Killed by : pro.verron.officestamper.test.DateFormatTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.DateFormatTests]/[test-template:features(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
replaced return value with null for pro/verron/officestamper/preset/OfficeStamperConfigurations::lambda$standard$2 → KILLED

102

1.1
Location : lambda$standard$3
Killed by : pro.verron.officestamper.test.DateFormatTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.DateFormatTests]/[test-template:features(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
replaced return value with null for pro/verron/officestamper/preset/OfficeStamperConfigurations::lambda$standard$3 → KILLED

2.2
Location : standard
Killed by : pro.verron.officestamper.test.DateFormatTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.DateFormatTests]/[test-template:features(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
removed call to pro/verron/officestamper/api/CustomFunction$NeedsTriFunctionImpl::withImplementation → KILLED

105

1.1
Location : standard
Killed by : pro.verron.officestamper.test.DateFormatTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.DateFormatTests]/[test-template:features(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED

107

1.1
Location : standard
Killed by : pro.verron.officestamper.test.DateFormatTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.DateFormatTests]/[test-template:features(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED

109

1.1
Location : standard
Killed by : pro.verron.officestamper.test.DateFormatTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.DateFormatTests]/[test-template:features(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED

111

1.1
Location : standard
Killed by : pro.verron.officestamper.test.DateFormatTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.DateFormatTests]/[test-template:features(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED

113

1.1
Location : standard
Killed by : pro.verron.officestamper.test.DateFormatTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.DateFormatTests]/[test-template:features(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
removed call to pro/verron/officestamper/api/CustomFunction$NeedsFunctionImpl::withImplementation → KILLED

115

1.1
Location : standard
Killed by : pro.verron.officestamper.test.DateFormatTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.DateFormatTests]/[test-template:features(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
removed call to pro/verron/officestamper/api/CustomFunction$NeedsBiFunctionImpl::withImplementation → KILLED

2.2
Location : lambda$standard$4
Killed by : pro.verron.officestamper.test.DateFormatTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.DateFormatTests]/[test-template:features(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
replaced return value with null for pro/verron/officestamper/preset/OfficeStamperConfigurations::lambda$standard$4 → KILLED

117

1.1
Location : standard
Killed by : pro.verron.officestamper.test.DateFormatTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.DateFormatTests]/[test-template:features(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
removed call to pro/verron/officestamper/api/CustomFunction$NeedsBiFunctionImpl::withImplementation → KILLED

2.2
Location : lambda$standard$5
Killed by : pro.verron.officestamper.test.DateFormatTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.DateFormatTests]/[test-template:features(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
replaced return value with null for pro/verron/officestamper/preset/OfficeStamperConfigurations::lambda$standard$5 → KILLED

119

1.1
Location : lambda$standard$6
Killed by : pro.verron.officestamper.test.DateFormatTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.DateFormatTests]/[test-template:features(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
replaced return value with null for pro/verron/officestamper/preset/OfficeStamperConfigurations::lambda$standard$6 → KILLED

2.2
Location : standard
Killed by : pro.verron.officestamper.test.DateFormatTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.DateFormatTests]/[test-template:features(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
removed call to pro/verron/officestamper/api/CustomFunction$NeedsBiFunctionImpl::withImplementation → KILLED

121

1.1
Location : lambda$standard$7
Killed by : pro.verron.officestamper.test.DateFormatTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.DateFormatTests]/[test-template:features(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
replaced return value with null for pro/verron/officestamper/preset/OfficeStamperConfigurations::lambda$standard$7 → KILLED

2.2
Location : standard
Killed by : pro.verron.officestamper.test.DateFormatTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.DateFormatTests]/[test-template:features(pro.verron.officestamper.test.ContextFactory)]/[test-template-invocation:#2]
removed call to pro/verron/officestamper/api/CustomFunction$NeedsTriFunctionImpl::withImplementation → KILLED

123

1.1
Location : standard
Killed by : pro.verron.officestamper.test.ResolutionTest.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.ResolutionTest]/[test-template:testStaticResolution(java.lang.String, boolean, boolean, boolean, java.lang.String, java.lang.String)]/[test-template-invocation:#7]
replaced return value with null for pro/verron/officestamper/preset/OfficeStamperConfigurations::standard → KILLED

133

1.1
Location : raw
Killed by : none
removed call to pro/verron/officestamper/core/DocxStamperConfiguration::resetResolvers → SURVIVED
Covering tests

135

1.1
Location : raw
Killed by : none
removed call to pro/verron/officestamper/core/DocxStamperConfiguration::resetCommentProcessors → SURVIVED
Covering tests

136

1.1
Location : raw
Killed by : pro.verron.officestamper.test.ResolutionTest.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.ResolutionTest]/[test-template:testCustomResolution(java.lang.String, boolean, boolean, boolean, boolean, boolean, java.lang.String, boolean, java.lang.String)]/[test-template-invocation:#29]
replaced return value with null for pro/verron/officestamper/preset/OfficeStamperConfigurations::raw → KILLED

Active mutators

Tests examined


Report generated by PIT 1.20.0