FrontiersApplicationRunner.java

1
package edu.ucsb.cs156.frontiers.startup;
2
3
import lombok.extern.slf4j.Slf4j;
4
import org.springframework.boot.ApplicationArguments;
5
import org.springframework.boot.ApplicationRunner;
6
import org.springframework.stereotype.Component;
7
8
@Slf4j
9
@Component
10
public class FrontiersApplicationRunner implements ApplicationRunner {
11
12
  private final FrontiersStartup frontiersStartup;
13
14
  public FrontiersApplicationRunner(FrontiersStartup frontiersStartup) {
15
    this.frontiersStartup = frontiersStartup;
16
  }
17
18
  @Override
19
  public void run(ApplicationArguments args) {
20
    log.info("FrontiersApplicationRunner.run called");
21 1 1. run : removed call to edu/ucsb/cs156/frontiers/startup/FrontiersStartup::alwaysRunOnStartup → KILLED
    frontiersStartup.alwaysRunOnStartup();
22
  }
23
}

Mutations

21

1.1
Location : run
Killed by : edu.ucsb.cs156.frontiers.startup.FrontiersApplicationRunnerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.startup.FrontiersApplicationRunnerTests]/[method:run_shouldInvokeAlwaysRunOnStartup()]
removed call to edu/ucsb/cs156/frontiers/startup/FrontiersStartup::alwaysRunOnStartup → KILLED

Active mutators

Tests examined


Report generated by PIT 1.17.0