Skip to content

Commit 0811e9b

Browse files
committed
build: move validation tests from module
- jooby-apt build fails to be resolved on new SNAPSHOT (move test to integration tests module) - added .editorconfig
1 parent d6e53ba commit 0811e9b

24 files changed

+273
-653
lines changed

.editorconfig

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
continuation_indent_size = 4
11+
max_line_length = 100
12+
13+
[*.md]
14+
trim_trailing_whitespace = false
15+
16+
[*.adoc]
17+
trim_trailing_whitespace = false

docs/asciidoc/responses.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ there is a non-blocking route handler.
241241
<3> Value is provided from *event loop*. No blocking code is permitted
242242
<4> Value is computed/produces from completable future context
243243

244-
Running your `App` in *worker* mode works identically, except for we are able to do blocking calls:
244+
Running your `App3508` in *worker* mode works identically, except for we are able to do blocking calls:
245245

246246
.In worker mode
247247
[source,java,role="primary"]
@@ -284,7 +284,7 @@ Running your `App` in *worker* mode works identically, except for we are able to
284284
<3> Value is provided from *worker mode*. Blocking code is permitted
285285
<4> Value is computed/produces from completable future context
286286

287-
Running your `App` in *default* mode works identically to running in the *event loop* mode:
287+
Running your `App3508` in *default* mode works identically to running in the *event loop* mode:
288288

289289
.In default mode
290290
[source,java,role="primary"]

docs/asciidoc/routing.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1274,7 +1274,7 @@ class App: Kooby({
12741274

12751275
<2> Imports all routes, services, callbacks, etc... from `Bar`. Output: `/bar` => `/bar`
12761276

1277-
This operator lets you for example to deploy `Foo` as a standalone application or integrate it into a main one called `App`.
1277+
This operator lets you for example to deploy `Foo` as a standalone application or integrate it into a main one called `App3508`.
12781278
The install operator shares the state of the main application, so lazy initialization (and therefore _instantiation_) of
12791279
any child applications is *mandatory*.
12801280

modules/jooby-avaje-validator/pom.xml

-5
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@
4545
<artifactId>jooby-apt</artifactId>
4646
<scope>test</scope>
4747
</dependency>
48-
<dependency>
49-
<groupId>io.avaje</groupId>
50-
<artifactId>avaje-validator-generator</artifactId>
51-
<scope>test</scope>
52-
</dependency>
5348

5449
<dependency>
5550
<groupId>io.jooby</groupId>

modules/jooby-avaje-validator/src/test/java/io/jooby/avaje/validator/AvajeValidatorModuleTest.java

-202
This file was deleted.

modules/jooby-avaje-validator/src/test/java/io/jooby/avaje/validator/app/App.java

-24
This file was deleted.

modules/jooby-avaje-validator/src/test/java/io/jooby/avaje/validator/app/Controller.java

-32
This file was deleted.

modules/jooby-hibernate-validator/pom.xml

-27
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,6 @@
3838
<version>5.0.0</version>
3939
</dependency>
4040

41-
<!-- Test dependencies -->
42-
<dependency>
43-
<groupId>io.jooby</groupId>
44-
<artifactId>jooby-netty</artifactId>
45-
<version>${jooby.version}</version>
46-
<scope>test</scope>
47-
</dependency>
48-
<dependency>
49-
<groupId>io.jooby</groupId>
50-
<artifactId>jooby-jackson</artifactId>
51-
<version>${jooby.version}</version>
52-
<scope>test</scope>
53-
</dependency>
54-
5541
<dependency>
5642
<groupId>org.junit.jupiter</groupId>
5743
<artifactId>junit-jupiter-api</artifactId>
@@ -70,19 +56,6 @@
7056
<version>${jooby.version}</version>
7157
<scope>test</scope>
7258
</dependency>
73-
74-
<dependency>
75-
<groupId>io.rest-assured</groupId>
76-
<artifactId>rest-assured</artifactId>
77-
<scope>test</scope>
78-
</dependency>
79-
80-
<dependency>
81-
<groupId>org.assertj</groupId>
82-
<artifactId>assertj-core</artifactId>
83-
<version>3.26.3</version>
84-
<scope>test</scope>
85-
</dependency>
8659
</dependencies>
8760

8861
<build>

0 commit comments

Comments
 (0)