File tree Expand file tree Collapse file tree 9 files changed +193
-5
lines changed
commons/src/test/resources
connector-app/src/test/resources
connector-commons/src/test
java/com/viglet/dumont/connector/commons Expand file tree Collapse file tree 9 files changed +193
-5
lines changed Original file line number Diff line number Diff line change @@ -31,5 +31,4 @@ hs_err_pid*
3131
3232.flattened-pom.xml
3333dependency-reduced-pom.xml
34- /dist /
35- /connector /connector-app /store
34+ /dist /
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <configuration >
3+ <appender name =" STDOUT" class =" ch.qos.logback.core.ConsoleAppender" >
4+ <encoder >
5+ <pattern >%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} -- %msg%n%nopex</pattern >
6+ </encoder >
7+ </appender >
8+
9+ <root level =" INFO" >
10+ <appender-ref ref =" STDOUT" />
11+ </root >
12+ </configuration >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <configuration >
3+ <appender name =" STDOUT" class =" ch.qos.logback.core.ConsoleAppender" >
4+ <encoder >
5+ <pattern >%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} -- %msg%n%nopex</pattern >
6+ </encoder >
7+ </appender >
8+
9+ <root level =" INFO" >
10+ <appender-ref ref =" STDOUT" />
11+ </root >
12+ </configuration >
Original file line number Diff line number Diff line change 1+ /*
2+ *
3+ * Copyright (C) 2016-2024 the original author or authors.
4+ *
5+ * This program is free software: you can redistribute it and/or modify it under the terms of the
6+ * GNU General Public License as published by the Free Software Foundation, either version 3 of the
7+ * License, or (at your option) any later version.
8+ *
9+ * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
10+ * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11+ * General Public License for more details.
12+ *
13+ * You should have received a copy of the GNU General Public License along with this program. If
14+ * not, see <https://www.gnu.org/licenses/>.
15+ */
16+
17+ package com .viglet .dumont .connector .commons ;
18+
19+ import static org .junit .jupiter .api .Assertions .*;
20+
21+ import org .junit .jupiter .api .Test ;
22+ import com .viglet .dumont .connector .commons .DumConnectorContext ;
23+
24+ class DumConnectorContextTest {
25+
26+ @ Test
27+ void testContextClassExists () {
28+ assertNotNull (DumConnectorContext .class );
29+ }
30+
31+ @ Test
32+ void testContextCanBeLoaded () {
33+ assertDoesNotThrow (() -> {
34+ Class .forName ("com.viglet.dumont.connector.commons.DumConnectorContext" );
35+ });
36+ }
37+ }
Original file line number Diff line number Diff line change 1+ /*
2+ *
3+ * Copyright (C) 2016-2024 the original author or authors.
4+ *
5+ * This program is free software: you can redistribute it and/or modify it under the terms of the
6+ * GNU General Public License as published by the Free Software Foundation, either version 3 of the
7+ * License, or (at your option) any later version.
8+ *
9+ * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
10+ * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11+ * General Public License for more details.
12+ *
13+ * You should have received a copy of the GNU General Public License along with this program. If
14+ * not, see <https://www.gnu.org/licenses/>.
15+ */
16+
17+ package com .viglet .dumont .connector .commons ;
18+
19+ import static org .junit .jupiter .api .Assertions .*;
20+
21+ import org .junit .jupiter .api .Test ;
22+ import com .viglet .dumont .connector .commons .plugin .DumConnectorPlugin ;
23+
24+ class DumConnectorPluginTest {
25+
26+ @ Test
27+ void testPluginClassExists () {
28+ assertNotNull (DumConnectorPlugin .class );
29+ }
30+
31+ @ Test
32+ void testPluginCanBeLoaded () {
33+ assertDoesNotThrow (() -> {
34+ Class .forName ("com.viglet.dumont.connector.commons.plugin.DumConnectorPlugin" );
35+ });
36+ }
37+
38+ }
Original file line number Diff line number Diff line change 1+ /*
2+ *
3+ * Copyright (C) 2016-2024 the original author or authors.
4+ *
5+ * This program is free software: you can redistribute it and/or modify it under the terms of the
6+ * GNU General Public License as published by the Free Software Foundation, either version 3 of the
7+ * License, or (at your option) any later version.
8+ *
9+ * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
10+ * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11+ * General Public License for more details.
12+ *
13+ * You should have received a copy of the GNU General Public License along with this program. If
14+ * not, see <https://www.gnu.org/licenses/>.
15+ */
16+
17+ package com .viglet .dumont .connector .commons ;
18+
19+ import static org .junit .jupiter .api .Assertions .*;
20+
21+ import org .junit .jupiter .api .Test ;
22+ import com .viglet .dumont .connector .commons .plugin .DumConnectorRequestPlugin ;
23+
24+ class DumConnectorRequestPluginTest {
25+
26+ @ Test
27+ void testRequestPluginClassExists () {
28+ assertNotNull (DumConnectorRequestPlugin .class );
29+ }
30+
31+ @ Test
32+ void testRequestPluginCanBeLoaded () {
33+ assertDoesNotThrow (() -> {
34+ Class .forName ("com.viglet.dumont.connector.commons.plugin.DumConnectorRequestPlugin" );
35+ });
36+ }
37+
38+ }
Original file line number Diff line number Diff line change 1+ /*
2+ *
3+ * Copyright (C) 2016-2024 the original author or authors.
4+ *
5+ * This program is free software: you can redistribute it and/or modify it under the terms of the
6+ * GNU General Public License as published by the Free Software Foundation, either version 3 of the
7+ * License, or (at your option) any later version.
8+ *
9+ * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
10+ * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11+ * General Public License for more details.
12+ *
13+ * You should have received a copy of the GNU General Public License along with this program. If
14+ * not, see <https://www.gnu.org/licenses/>.
15+ */
16+
17+ package com .viglet .dumont .connector .commons ;
18+
19+ import static org .junit .jupiter .api .Assertions .*;
20+
21+ import org .junit .jupiter .api .Test ;
22+ import com .viglet .dumont .connector .commons .plugin .DumIndexingPlugin ;
23+
24+ class DumIndexingPluginTest {
25+
26+ @ Test
27+ void testIndexingPluginClassExists () {
28+ assertNotNull (DumIndexingPlugin .class );
29+ }
30+
31+ @ Test
32+ void testIndexingPluginCanBeLoaded () {
33+ assertDoesNotThrow (() -> {
34+ Class .forName ("com.viglet.dumont.connector.commons.plugin.DumIndexingPlugin" );
35+ });
36+ }
37+
38+ }
Original file line number Diff line number Diff line change 1616
1717package com .viglet .dumont .connector .commons .domain ;
1818
19- import static org .junit .jupiter .api .Assertions .*;
19+ import static org .junit .jupiter .api .Assertions .assertEquals ;
20+ import static org .junit .jupiter .api .Assertions .assertFalse ;
21+ import static org .junit .jupiter .api .Assertions .assertNotNull ;
22+ import static org .junit .jupiter .api .Assertions .assertNull ;
23+ import static org .junit .jupiter .api .Assertions .assertTrue ;
2024
2125import java .util .Arrays ;
22- import java .util .Collection ;
2326import java .util .HashSet ;
24- import java .util .Locale ;
2527import java .util .Set ;
2628
2729import org .junit .jupiter .api .BeforeEach ;
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <configuration >
3+ <appender name =" STDOUT" class =" ch.qos.logback.core.ConsoleAppender" >
4+ <encoder >
5+ <pattern >%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} -- %msg%n%nopex</pattern >
6+ </encoder >
7+ </appender >
8+
9+ <root level =" INFO" >
10+ <appender-ref ref =" STDOUT" />
11+ </root >
12+ </configuration >
You can’t perform that action at this time.
0 commit comments