Skip to content

Commit 1cf1e20

Browse files
committed
Added Spring Test
1 parent 5a99963 commit 1cf1e20

File tree

54 files changed

+1391
-31
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+1391
-31
lines changed

.DS_Store

10 KB
Binary file not shown.

junit5-test-order/gradle/wrapper/gradle-wrapper.jar renamed to 01-testing-spring-boot/gradle/wrapper/gradle-wrapper.jar

File renamed without changes.

junit5-test-order/gradle/wrapper/gradle-wrapper.properties renamed to 01-testing-spring-boot/gradle/wrapper/gradle-wrapper.properties

File renamed without changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rootProject.name = '01-testing-spring-boot'
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package com.stacktips.movies;
2+
3+
import org.springframework.boot.SpringApplication;
4+
import org.springframework.boot.autoconfigure.SpringBootApplication;
5+
6+
@SpringBootApplication
7+
public class MoviesApplication {
8+
9+
public static void main(String[] args) {
10+
SpringApplication.run(MoviesApplication.class, args);
11+
}
12+
13+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package com.stacktips.movies.api;
2+
3+
import org.springframework.web.bind.annotation.RequestMapping;
4+
import org.springframework.web.bind.annotation.RestController;
5+
6+
@RestController
7+
public class GreetingController {
8+
9+
@RequestMapping("/")
10+
public String greeting() {
11+
return "Hello, Spring Boot!";
12+
}
13+
}

0 commit comments

Comments
 (0)