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

Mutations

39

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

40

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

41

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

42

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

43

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

44

1.1
Location : standardWithPreprocessing
Killed by : pro.verron.officestamper.test.RegressionTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.RegressionTests]/[method:test64()]
replaced return value with null for pro/verron/officestamper/preset/OfficeStamperConfigurations::standardWithPreprocessing → KILLED

56

1.1
Location : lambda$standard$0
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:#6]
replaced return value with null for pro/verron/officestamper/preset/OfficeStamperConfigurations::lambda$standard$0 → KILLED

58

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

71

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

74

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

76

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

78

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

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

93

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

95

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

97

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

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$NeedsFunctionImpl::withImplementation → KILLED

102

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

104

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

106

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

108

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

110

1.1
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

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

112

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

114

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

116

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

118

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:#6]
replaced return value with null for pro/verron/officestamper/preset/OfficeStamperConfigurations::standard → KILLED

126

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

128

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

129

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:#21]
replaced return value with null for pro/verron/officestamper/preset/OfficeStamperConfigurations::raw → KILLED

Active mutators

Tests examined


Report generated by PIT 1.21.0