MemoryMemberRepositoryTest
+ +|
+
+
+
|
+
+
+
+100%
+successful + |
+
-
+
- +Tests + +
Tests
+| Test | +Duration | +Result | +
|---|---|---|
| findAll() | +0.076s | +passed | +
| findByName() | +0.001s | +passed | +
| save() | +0.001s | +passed | +
diff --git a/hello-spring/HELP.md b/hello-spring/HELP.md new file mode 100644 index 0000000..b64555e --- /dev/null +++ b/hello-spring/HELP.md @@ -0,0 +1,29 @@ +# Read Me First +The following was discovered as part of building this project: + +* The original package name 'hello.hello-spring' is invalid and this project uses 'hello.hellospring' instead. + +# Getting Started + +### Reference Documentation +For further reference, please consider the following sections: + +* [Official Gradle documentation](https://docs.gradle.org) +* [Spring Boot Gradle Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/3.0.4/gradle-plugin/reference/html/) +* [Create an OCI image](https://docs.spring.io/spring-boot/docs/3.0.4/gradle-plugin/reference/html/#build-image) +* [Spring Web](https://docs.spring.io/spring-boot/docs/3.0.4/reference/htmlsingle/#web) +* [Thymeleaf](https://docs.spring.io/spring-boot/docs/3.0.4/reference/htmlsingle/#web.servlet.spring-mvc.template-engines) + +### Guides +The following guides illustrate how to use some features concretely: + +* [Building a RESTful Web Service](https://spring.io/guides/gs/rest-service/) +* [Serving Web Content with Spring MVC](https://spring.io/guides/gs/serving-web-content/) +* [Building REST services with Spring](https://spring.io/guides/tutorials/rest/) +* [Handling Form Submission](https://spring.io/guides/gs/handling-form-submission/) + +### Additional Links +These additional references should also help you: + +* [Gradle Build Scans – insights for your project's build](https://scans.gradle.com#gradle) + diff --git a/hello-spring/bin/hello/hellospring/HelloSpringApplication.class b/hello-spring/bin/hello/hellospring/HelloSpringApplication.class new file mode 100644 index 0000000..cb69b29 Binary files /dev/null and b/hello-spring/bin/hello/hellospring/HelloSpringApplication.class differ diff --git a/hello-spring/bin/hello/hellospring/HelloSpringApplicationTests.class b/hello-spring/bin/hello/hellospring/HelloSpringApplicationTests.class new file mode 100644 index 0000000..9e3ff2a Binary files /dev/null and b/hello-spring/bin/hello/hellospring/HelloSpringApplicationTests.class differ diff --git a/hello-spring/build.gradle b/hello-spring/build.gradle new file mode 100644 index 0000000..5e4d6cf --- /dev/null +++ b/hello-spring/build.gradle @@ -0,0 +1,23 @@ +plugins { + id 'java' + id 'org.springframework.boot' version '3.0.4' + id 'io.spring.dependency-management' version '1.1.0' +} + +group = 'hello' +version = '0.0.1-SNAPSHOT' +sourceCompatibility = '17' + +repositories { + mavenCentral() +} + +dependencies { + implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' + implementation 'org.springframework.boot:spring-boot-starter-web' + testImplementation 'org.springframework.boot:spring-boot-starter-test' +} + +tasks.named('test') { + useJUnitPlatform() +} diff --git a/hello-spring/build/classes/java/main/hello/hellospring/HelloSpringApplication.class b/hello-spring/build/classes/java/main/hello/hellospring/HelloSpringApplication.class new file mode 100644 index 0000000..0c0aafd Binary files /dev/null and b/hello-spring/build/classes/java/main/hello/hellospring/HelloSpringApplication.class differ diff --git a/hello-spring/build/classes/java/main/hello/hellospring/domain/Member.class b/hello-spring/build/classes/java/main/hello/hellospring/domain/Member.class new file mode 100644 index 0000000..7194093 Binary files /dev/null and b/hello-spring/build/classes/java/main/hello/hellospring/domain/Member.class differ diff --git a/hello-spring/build/classes/java/main/hello/hellospring/repository/MemberRepository.class b/hello-spring/build/classes/java/main/hello/hellospring/repository/MemberRepository.class new file mode 100644 index 0000000..70d8941 Binary files /dev/null and b/hello-spring/build/classes/java/main/hello/hellospring/repository/MemberRepository.class differ diff --git a/hello-spring/build/classes/java/main/hello/hellospring/repository/MemoryMemberRepository.class b/hello-spring/build/classes/java/main/hello/hellospring/repository/MemoryMemberRepository.class new file mode 100644 index 0000000..9ce638b Binary files /dev/null and b/hello-spring/build/classes/java/main/hello/hellospring/repository/MemoryMemberRepository.class differ diff --git a/hello-spring/build/classes/java/main/hello/hellospring/servic/MemberService.class b/hello-spring/build/classes/java/main/hello/hellospring/servic/MemberService.class new file mode 100644 index 0000000..db66458 Binary files /dev/null and b/hello-spring/build/classes/java/main/hello/hellospring/servic/MemberService.class differ diff --git a/hello-spring/build/classes/java/test/hello/hellospring/HelloSpringApplicationTests.class b/hello-spring/build/classes/java/test/hello/hellospring/HelloSpringApplicationTests.class new file mode 100644 index 0000000..4c7b38c Binary files /dev/null and b/hello-spring/build/classes/java/test/hello/hellospring/HelloSpringApplicationTests.class differ diff --git a/hello-spring/build/classes/java/test/hello/hellospring/repository/MemoryMemberRepositoryTest.class b/hello-spring/build/classes/java/test/hello/hellospring/repository/MemoryMemberRepositoryTest.class new file mode 100644 index 0000000..5a15526 Binary files /dev/null and b/hello-spring/build/classes/java/test/hello/hellospring/repository/MemoryMemberRepositoryTest.class differ diff --git a/hello-spring/build/classes/java/test/hello/hellospring/servic/MemberServiceTest.class b/hello-spring/build/classes/java/test/hello/hellospring/servic/MemberServiceTest.class new file mode 100644 index 0000000..e0af7f1 Binary files /dev/null and b/hello-spring/build/classes/java/test/hello/hellospring/servic/MemberServiceTest.class differ diff --git a/hello-spring/build/reports/tests/test/classes/hello.hellospring.repository.MemoryMemberRepositoryTest.html b/hello-spring/build/reports/tests/test/classes/hello.hellospring.repository.MemoryMemberRepositoryTest.html new file mode 100644 index 0000000..4f94172 --- /dev/null +++ b/hello-spring/build/reports/tests/test/classes/hello.hellospring.repository.MemoryMemberRepositoryTest.html @@ -0,0 +1,106 @@ + + +
+ + +|
+
+
+
|
+
+
+
+100%
+successful + |
+
| Test | +Duration | +Result | +
|---|---|---|
| findAll() | +0.076s | +passed | +
| findByName() | +0.001s | +passed | +
| save() | +0.001s | +passed | +
|
+
+
+
|
+
+
+
+100%
+successful + |
+
| Package | +Tests | +Failures | +Ignored | +Duration | +Success rate | +
|---|---|---|---|---|---|
| +hello.hellospring.repository + | +3 | +0 | +0 | +0.078s | +100% | +
| Class | +Tests | +Failures | +Ignored | +Duration | +Success rate | +
|---|---|---|---|---|---|
| +hello.hellospring.repository.MemoryMemberRepositoryTest + | +3 | +0 | +0 | +0.078s | +100% | +
|
+
+
+
|
+
+
+
+100%
+successful + |
+
| Class | +Tests | +Failures | +Ignored | +Duration | +Success rate | +
|---|---|---|---|---|---|
| +MemoryMemberRepositoryTest + | +3 | +0 | +0 | +0.078s | +100% | +