File tree Expand file tree Collapse file tree
main/java/com/example/demo Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040 <dependency >
4141 <groupId >io.keploy</groupId >
4242 <artifactId >keploy-sdk</artifactId >
43- <version >1.0.13 </version >
43+ <version >1.1.1 </version >
4444 </dependency >
4545
4646
Original file line number Diff line number Diff line change 11package com .example .demo ;
22
3+ import io .keploy .servlet .KeployMiddleware ;
34import org .springframework .boot .SpringApplication ;
45import org .springframework .boot .autoconfigure .SpringBootApplication ;
6+ import org .springframework .context .annotation .Import ;
57
6- @ SpringBootApplication ( scanBasePackages = { "com.example.demo" , "io.keploy.servlet" })
7- //@SpringBootApplication
8+ @ SpringBootApplication
9+ @ Import ( KeployMiddleware . class )
810public class SamplesJavaApplication {
911 public static void main (String [] args ) {
1012 SpringApplication .run (SamplesJavaApplication .class , args );
Original file line number Diff line number Diff line change 11import com .example .demo .SamplesJavaApplication ;
2- import io .keploy .regression .mode ;
2+ import io .keploy .regression .Mode ;
33import io .keploy .utils .HaltThread ;
44import org .junit .jupiter .api .Test ;
55
@@ -11,7 +11,7 @@ public class SamplesJavaApplication_Test {
1111 public void TestKeploy () throws InterruptedException {
1212
1313 CountDownLatch countDownLatch = HaltThread .getInstance ().getCountDownLatch ();
14- mode .setTestMode ();
14+ Mode .setTestMode ();
1515
1616 new Thread (() -> {
1717 SamplesJavaApplication .main (new String []{"" });
You can’t perform that action at this time.
0 commit comments