-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add test for @SpringBootTest (#715)
* Add test * clarify the test * test renaming * ignore the newly added test to verify the CI build failed by it * Revert "ignore the newly added test to verify the CI build failed by it" This reverts commit 67d2b02. * use a different port for the vaadin-test-spring-white-list module * use a different jmx port for the test-ts-services module * Revert "use a different jmx port for the test-ts-services module" This reverts commit 0eca71c. Co-authored-by: haijian <[email protected]>
- Loading branch information
1 parent
862b851
commit 7025b0f
Showing
3 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...ring-tests/test-ts-services/src/test/java/com/vaadin/flow/connect/SpringBootTestTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.vaadin.flow.connect; | ||
|
||
import org.junit.Assert; | ||
import org.junit.jupiter.api.Test; | ||
import org.springframework.boot.test.context.SpringBootTest; | ||
|
||
@SpringBootTest | ||
// https://github.com/vaadin/flow/issues/9792 | ||
public class SpringBootTestTest { | ||
|
||
@Test | ||
public void hello() { | ||
// To test if @SpringBootTest works | ||
Assert.assertTrue(true); | ||
} | ||
} |