YuCheng Hu
2336a45881
Fixed the issue of java compile for 17
2024-04-30 15:10:44 -04:00
YuCheng Hu
a51b7b55d9
Merge remote-tracking branch 'Baeldung/master' into active_mq
...
# Conflicts:
# .gitignore
# LICENSE
# README.md
# core-java-modules/README.md
# core-java-modules/core-java-11/README.md
# core-java-modules/core-java-11/pom.xml
# core-java-modules/core-java-8/README.md
# core-java-modules/core-java-8/pom.xml
# core-java-modules/core-java-8/src/main/resources/logback.xml
# core-java-modules/core-java-annotations/README.md
# core-java-modules/core-java-annotations/pom.xml
# core-java-modules/core-java-collections-2/README.md
# core-java-modules/core-java-collections-2/pom.xml
# core-java-modules/core-java-collections-3/README.md
# core-java-modules/core-java-collections-3/pom.xml
# core-java-modules/core-java-collections-conversions-2/README.md
# core-java-modules/core-java-collections-conversions-2/pom.xml
# core-java-modules/core-java-collections-conversions/README.md
# core-java-modules/core-java-collections-conversions/pom.xml
# core-java-modules/core-java-collections-list/README.md
# core-java-modules/core-java-collections-list/pom.xml
# core-java-modules/core-java-collections/pom.xml
# core-java-modules/core-java-datetime-conversion/README.md
# core-java-modules/core-java-datetime-conversion/pom.xml
# core-java-modules/core-java-datetime-conversion/src/test/java/com/baeldung/datetime/ConvertInstantToTimestampUnitTest.java
# core-java-modules/core-java-io-2/pom.xml
# core-java-modules/core-java-io/README.md
# core-java-modules/core-java-io/pom.xml
# core-java-modules/core-java-io/src/test/resources/fileTest.txt
# core-java-modules/core-java-io/src/test/resources/sampleTextFile.txt
# core-java-modules/core-java-lambdas/README.md
# core-java-modules/core-java-lambdas/pom.xml
# core-java-modules/core-java-serialization/pom.xml
# core-java-modules/core-java-streams/README.md
# core-java-modules/core-java-streams/pom.xml
# core-java-modules/core-java-strings/README.md
# core-java-modules/core-java-strings/pom.xml
# core-java-modules/core-java-strings/src/test/resources/stringtoolong.txt
# core-java-modules/core-java-uuid/README.md
# core-java-modules/core-java-uuid/pom.xml
# core-java-modules/pom.xml
# image-processing/README.md
# image-processing/pom.xml
# image-processing/src/main/java/com/baeldung/imageprocessing/addingtext/AddText.java
# image-processing/src/main/java/com/baeldung/imageprocessing/opencv/CameraStream.java
# jackson-modules/jackson-annotations/README.md
# jackson-modules/jackson-annotations/pom.xml
# jackson-modules/jackson-conversions-2/README.md
# jackson-modules/jackson-conversions-2/pom.xml
# jackson-modules/jackson-conversions/README.md
# jackson-modules/jackson-conversions/pom.xml
# jackson-modules/jackson-custom-conversions/README.md
# jackson-modules/jackson-custom-conversions/pom.xml
# jackson-modules/jackson-custom-conversions/src/test/java/com/baeldung/defaultserializercustomserializer/CallingDefaultSerializerUnitTest.java
# jackson-modules/jackson-custom-conversions/src/test/java/com/baeldung/deserialization/CustomDeserializationUnitTest.java
# jackson-modules/jackson-exceptions/README.md
# jackson-modules/jackson-exceptions/pom.xml
# jackson-modules/jackson-exceptions/src/test/java/com/baeldung/exceptions/JacksonExceptionsUnitTest.java
# jackson-modules/jackson-exceptions/src/test/java/com/baeldung/mappingexception/JacksonMappingExceptionUnitTest.java
# jackson-modules/pom.xml
# parent-boot-1/pom.xml
# parent-boot-2/pom.xml
# parent-boot-3/pom.xml
# patterns-modules/design-patterns-architectural/pom.xml
# patterns-modules/design-patterns-architectural/src/main/java/com/baeldung/repositoryvsdaopattern/UserDaoImpl.java
# patterns-modules/design-patterns-behavioral-2/README.md
# patterns-modules/design-patterns-behavioral-2/pom.xml
# patterns-modules/design-patterns-creational-2/README.md
# patterns-modules/design-patterns-creational-2/pom.xml
# patterns-modules/design-patterns-singleton/README.md
# patterns-modules/design-patterns-structural/src/main/resources/log4jstructuraldp.properties
# patterns-modules/enterprise-patterns/pom.xml
# patterns-modules/intercepting-filter/pom.xml
# patterns-modules/pom.xml
# persistence-modules/activejdbc/pom.xml
# persistence-modules/hibernate5/README.md
# persistence-modules/hibernate5/pom.xml
# persistence-modules/hibernate5/src/main/java/com/baeldung/hibernate/interceptors/CustomInterceptor.java
# persistence-modules/hibernate5/src/main/java/com/baeldung/hibernate/interceptors/entity/User.java
# persistence-modules/hibernate5/src/main/java/com/baeldung/hibernate/namingstrategy/CustomPhysicalNamingStrategy.java
# persistence-modules/hibernate5/src/main/java/com/baeldung/hibernate/persistjson/Customer.java
# persistence-modules/hibernate5/src/main/java/com/baeldung/hibernate/persistjson/HashMapConverter.java
# persistence-modules/hibernate5/src/main/java/com/baeldung/hibernate/pojo/OrderEntryIdClass.java
# persistence-modules/hibernate5/src/main/java/com/baeldung/hibernate/pojo/OrderEntryPK.java
# persistence-modules/hibernate5/src/test/java/com/baeldung/hibernate/IdentifiersIntegrationTest.java
# persistence-modules/hibernate5/src/test/java/com/baeldung/hibernate/bootstrap/BootstrapAPIIntegrationTest.java
# persistence-modules/hibernate5/src/test/java/com/baeldung/hibernate/proxy/HibernateProxyUnitTest.java
# persistence-modules/hibernate5/src/test/resources/hibernate-interceptors.properties
# persistence-modules/hibernate5/src/test/resources/hibernate-lifecycle.properties
# persistence-modules/hibernate5/src/test/resources/hibernate-namingstrategy.properties
# persistence-modules/hibernate5/src/test/resources/hibernate-persistjson.properties
# persistence-modules/hibernate5/src/test/resources/hibernate.properties
# persistence-modules/pom.xml
# persistence-modules/spring-data-jpa-crud/pom.xml
# persistence-modules/spring-data-jpa-crud/src/main/java/com/baeldung/repository/FruitRepository.java
# persistence-modules/spring-data-jpa-repo-2/README.md
# persistence-modules/spring-data-jpa-repo-2/pom.xml
# persistence-modules/spring-data-jpa-repo-2/src/main/java/com/baeldung/spring/data/persistence/customrepository/model/User.java
# persistence-modules/spring-data-jpa-repo-2/src/main/java/com/baeldung/spring/data/persistence/customrepository/repository/CustomUserRepositoryImpl.java
# persistence-modules/spring-data-jpa-repo-2/src/main/java/com/baeldung/spring/data/persistence/saveperformance/Book.java
# persistence-modules/spring-data-jpa-repo-2/src/main/resources/application.properties
# persistence-modules/spring-data-mongodb-reactive/pom.xml
# persistence-modules/spring-data-redis/README.md
# persistence-modules/spring-data-redis/pom.xml
# persistence-modules/spring-data-redis/src/main/java/com/baeldung/spring/data/reactive/redis/config/RedisConfig.java
# persistence-modules/spring-data-redis/src/main/java/com/baeldung/spring/data/redis/config/RedisConfig.java
# persistence-modules/spring-data-redis/src/main/java/com/baeldung/spring/data/redis/model/Student.java
# persistence-modules/spring-data-redis/src/main/java/com/baeldung/spring/data/redis/queue/RedisMessageSubscriber.java
# persistence-modules/spring-data-redis/src/test/java/com/baeldung/spring/data/reactive/redis/template/RedisKeyCommandsManualTest.java
# persistence-modules/spring-data-redis/src/test/java/com/baeldung/spring/data/reactive/redis/template/RedisTemplateListOpsManualTest.java
# persistence-modules/spring-data-redis/src/test/java/com/baeldung/spring/data/reactive/redis/template/RedisTemplateValueOpsManualTest.java
# persistence-modules/spring-data-redis/src/test/java/com/baeldung/spring/data/redis/repo/StudentRepositoryManualTest.java
# pom.xml
# testing-modules/assertion-libraries/README.md
# testing-modules/assertion-libraries/pom.xml
# testing-modules/junit-5-basics/README.md
# testing-modules/junit-5-basics/pom.xml
# testing-modules/mockito-2/src/main/java/com/baeldung/nullmatcher/Helper.java
# testing-modules/mockito-2/src/main/java/com/baeldung/nullmatcher/Main.java
# testing-modules/mockito-2/src/main/java/com/baeldung/wantedbutnotinvocked/Helper.java
# testing-modules/mockito-2/src/main/java/com/baeldung/wantedbutnotinvocked/Main.java
# testing-modules/mockito-2/src/test/java/com/baeldung/nullmatcher/MainUnitTest.java
# testing-modules/mockito-2/src/test/java/com/baeldung/wantedbutnotinvocked/MainUnitTest.java
# testing-modules/pom.xml
# testing-modules/spring-mockito/pom.xml
# web-modules/dropwizard/pom.xml
# web-modules/jakarta-ee/README.md
# web-modules/jakarta-ee/pom.xml
# web-modules/jakarta-ee/src/test/java/com/baeldung/eclipse/krazo/UserControllerUnitTest.java
# web-modules/java-lite/pom.xml
# web-modules/javax-servlets-2/README.md
# web-modules/javax-servlets-2/pom.xml
# web-modules/javax-servlets/pom.xml
# web-modules/jee-7/pom.xml
# web-modules/jooby/pom.xml
# web-modules/ninja/pom.xml
# web-modules/pom.xml
# web-modules/ratpack/pom.xml
# web-modules/resteasy/pom.xml
# web-modules/restx/pom.xml
# web-modules/spark-java/pom.xml
# web-modules/vraptor/pom.xml
# xml/README.md
# xml/pom.xml
# xml/src/main/resources/customer-binding.xml
# xml/src/main/resources/sax/baeldung.xml
# xml/src/test/resources/example_default_parser.xml
# xml/src/test/resources/example_dom4j.xml
# xml/src/test/resources/example_jaxb.xml
# xml/src/test/resources/example_jaxen.xml
# xml/src/test/resources/example_jdom.xml
# xml/src/test/resources/example_stax.xml
# xml/src/test/resources/sax/baeldung.xml
# xml/src/test/resources/xml/websites.xml
# xml/src/test/resources/xml/xee_attribute.xml
2024-04-30 12:23:19 -04:00
YuCheng Hu
c18eb6d2ed
add all file to git
2024-04-30 12:21:36 -04:00
Azhwani
54aee18a7f
BAEL-7783: Assert properties of custom exceptions with catchThrowableOfType in AssertJ ( #16442 )
2024-04-27 11:56:24 +02:00
Lucian Snare
267bd54092
BAEL-7735: Add test case demonstrating TestNG SoftAssert ( #16443 )
...
* BAEL-7735: Add test case demonstrating TestNG SoftAssert
* Update package
* Move Book and BookService to separate classes
2024-04-27 09:01:20 +05:30
Eugene Kovko
2d4598d82d
Bael 7891 ( #16494 )
...
* BAEL-7891: Test for equality vs identity
* BAEL-7891: Fixed formatting
* BAEL-7891: Fixed a type and a bug
2024-04-26 09:41:27 -07:00
timis1
611d68f41e
[JAVA-28845] Fix testing-modules/gatling in the context of migration to JDK 21 ( #16487 )
2024-04-25 08:57:26 +02:00
ACHRAF TAITAI
5f0a95c784
Bael 7757 ( #16485 )
...
* BAEL-7765: How to fix JsonParseException: Unexpected character (code 115) when parsing unquoted JSON in Jackson
* BAEL-7757: How to solve MockitoException: the existing mock registration must be deregistered
2024-04-24 20:07:03 +02:00
Harry9656
6b0c4b9a80
JAVA-26760: Updated and standardized the junit-jupiter-engine library ( #16357 )
...
* JAVA-26760: Updated and standardized the junit-jupiter-engine library
* JAVA-26760: Updated and standardized the mockito-junit-jupiter library
* fix mockito-junit-jupiter properties
* fix maven-custom-plugin/usage-example properties
* Fix quarkus-funqy
* JAVA-26760: Fix NamespacedHierarchicalStore error in junit
2024-04-23 18:45:06 +02:00
timis1
0f8559fc75
JAVA-30186 Upgrade assertj library in the main pom.xml ( #16404 )
...
Co-authored-by: timis1 <noreplay@yahoo.com>
2024-04-19 13:56:37 +02:00
Harry9656
acce5c0a91
JAVA-32437: Remove mvnw, mvnw.cmd and files under .mvn/wrapper ( #16413 )
2024-04-18 13:22:59 +03:00
rcalago
9bb4184e20
Update README.md
2024-04-17 15:26:19 +08:00
anuragkumawat
af6d810f48
JAVA-31275 Upgrade spring-cloud-data-flow-stream-processing module ( #16249 )
2024-04-15 15:22:27 +03:00
Loredana Crusoveanu
8006e9d43f
Update README.md
2024-04-11 19:26:29 +03:00
Harry9656
4394e828c1
JAVA-32410: Update mockito-core to version 5.11.0 ( #16199 )
...
* JAVA-32410: Update mockito-core to version 5.11.0
* Fix rollback mockito upgrade.
* wip
* WIP: Update jee-7 wildfly versions
* WIP: Fix jersey tests
* WIP: rollback powermock module
* wip: fix test in spring-data-dynamodb
* wip: fix test in spring-security-legacy-oidc
* wip: rollback quarkus
* wip: fix greeter-spring-boot-autoconfigure
* JAVA-33535: Fix spring-core module integration test
JAVA-33535: rollback junit-5 module mockito version.
* Fix byte-buddy
* Fix log4j dependency in apache-poi
2024-04-11 01:26:19 +02:00
Rajat Garg
e5f9a53f7d
[BAEL-3845] Add JMeter test script ( #16276 )
...
* Add JMeter test script
* Address review comments
* Address review comments
* Refactor large method into smaller parts
---------
Co-authored-by: rajatgarg <rajatgarg@adobe.com>
2024-04-05 16:43:09 -07:00
rcalago
2a4441ceb4
Update README.md
2024-04-04 00:05:54 +08:00
rcalago
19e7692e91
Update README.md
2024-04-03 23:58:02 +08:00
davidmartinezbarua
f82778cc17
Merge pull request #16034 from TanyaOhotnik/BAEL-7238
...
BAEL-7238 Inject mock into Spy object in Mockito
2024-04-03 11:59:43 -03:00
Tetiana Okhotnik
5c18b2e7f7
BAEL-7238 Inject mock into Spy object in Mockito
...
- added "library" service to demonstrate mockito injection features
- updated mockito version to 5.10
2024-03-27 20:47:25 +02:00
vunamtien
82120f03d7
[JAVA-26659] Upgrade jacoco-maven-plugin ( #16223 )
2024-03-25 23:43:41 +01:00
rcalago
d93df50e27
Update README.md
2024-03-21 23:23:37 +08:00
ACHRAF TAITAI
35dcd94d8a
BAEL-7569: Disallow Mocking Using @DoNotMock with Mockito ( #16155 )
2024-03-17 17:19:34 +01:00
vunamtien
90b019d0bf
[JAVA-27511] upgrade spring mockito to boot 3 ( #16127 )
2024-03-17 12:58:04 +02:00
collaboratewithakash
9cadb6f795
backlink updated
2024-03-15 12:08:37 +05:30
panos-kakos
a39f20151d
[JAVA-30626] Clean up guava dependencies ( #16098 )
...
* [JAVA-30626] Clean up guava dependencies
* [JAVA-30626] Clean up guava dependencies
* [JAVA-30626] Clean up guava dependencies
* [JAVA-30626] Clean up guava dependencies
* [JAVA-30626] Clean up guava dependencies
2024-03-14 00:44:56 +01:00
Loredana Crusoveanu
ea56a5b9f4
Merge pull request #16121 from collaboratewithakash/master
...
backlink added or updated
2024-03-13 15:31:18 +02:00
Roger
89eba29a26
BAEL-7315 Add source code for Spock Argument Capture tutorial ( #16083 )
2024-03-11 14:05:44 -07:00
Amit Pandey
ec6f3949cd
JAVA-31814: Upgrade and fix Jenkins failures for spring-testing with Spring boot 3.2.2 ( #16002 )
2024-03-11 21:47:02 +02:00
Dmytro Budym
52e16ef898
Add code examples for article "Finding Element by Attribute in Selenium" ( #16043 )
2024-03-08 17:01:58 +01:00
timis1
6dcabea12b
JAVA-31430 Review add-opens and add-exports in modules - Week 9 - 2024 ( #16008 )
...
* JAVA-31430 Review add-opens and add-exports in modules - Week 9 - 2024
* JAVA-31430 Some fixes
---------
Co-authored-by: timis1 <noreplay@yahoo.com>
2024-03-04 22:44:58 +01:00
collaboratewithakash
e19fef54b1
backlink updated
2024-03-02 14:58:49 +05:30
panos-kakos
924f3ff446
[JAVA-31655] Upgrade testcontainers.postgresql to the latest version ( #16001 )
2024-03-01 09:05:47 +01:00
panos-kakos
1e603ea5a9
[JAVA-30181] Upgraded commons-cli and commons-io libraries in main p… ( #15842 )
...
* [JAVA-30181] Upgraded commons-cli and commons-io libraries in main pom.xml
* [JAVA-30181]
2024-02-26 17:51:33 +01:00
sam-gardner
0d161ef8af
JAVA-31644 Update maven-compiler-plugin to 3.12.1 ( #15952 )
...
* JAVA-31644 Update maven-compiler-plugin to 3.12.1
* JAVA-31644 Update maven compiler plugin to 3.12.1 for more modules
* JAVA-31644 Continue upgrading modules to use maven-compiler-plugin 3.12.1
2024-02-26 17:04:34 +01:00
Oscar Mauricio Forero Carrillo
40952ba2cc
BAEL-7136: Remove spring-testing dependency on the parent POM and fix the dependencies to fix the integration tests ( #15940 )
2024-02-25 22:43:19 +01:00
panos-kakos
cb3b854caa
[JAVA-30180] Upgraded jackson library in main pom.xml ( #15847 )
...
* [JAVA-30180] Upgraded jackson library in main pom.xml
* [JAVA-30180] Reverted jackson upgrade for apache-kafka
* [JAVA-30180]
2024-02-25 22:26:52 +01:00
Oscar Mauricio Forero Carrillo
a61328e328
BAEL-7136: Improve the companion code for the article to include multiple properties in the @PropertySource annotation ( #15885 )
2024-02-16 19:57:57 +01:00
rcalago
14458ca985
Update README.md
2024-02-09 21:20:16 +08:00
anuragkumawat
118a0ac21f
JAVA-27672 Upgrade wiremock dependency in modules ( #15803 )
2024-02-05 14:24:24 +02:00
davidmartinezbarua
a1353ca196
Merge pull request #15710 from thibaultfaure/articles/BAEL-7399-Injecting-@Captor-in-Junit-Method-Parameters
...
BAEL-7399 Code for the Injecting @Mock and @Captor in JUnit5 Method P…
2024-02-03 12:31:19 -03:00
davidmartinezbarua
bd2120a4a2
Merge pull request #15734 from thibaultfaure/improvement/BAEL-7503-Junit-vs-TestNG-comparison
...
BAEL-7503 improvement to JUnit vs TestNG comparison article
2024-02-01 14:06:11 -03:00
panos-kakos
66db54d9bd
[JAVA-30445] Clean up ( #15731 )
2024-01-30 22:56:21 +01:00
panos-kakos
003170eb0d
[JAVA-27826] Upgraded to spring boot 3 ( #15745 )
2024-01-29 23:10:43 +01:00
rcalago
f4d3f57961
Update README.md
2024-01-27 21:32:30 +08:00
Thibault Faure
2284b647ed
BAEL-7503 add example of test ordering in JUnit 5
2024-01-25 23:31:55 +01:00
Thibault Faure
c7b8e634a8
Remove useless public identifiers and fix test suite SelectPackagesSuiteUnitTest which did not discover any tests
2024-01-25 23:00:47 +01:00
Thibault Faure
8356dc6ba2
BAEL-7503 improvement to JUnit vs TestNG comparison article
...
Use @Disabled and not @Ignore in JUnit5
2024-01-25 22:33:49 +01:00
Thibault Faure
267efec81e
BAEL-7399 Code for the Injecting @Mock and @Captor in JUnit5 Method Parameters article
2024-01-22 22:46:14 +01:00
Roger
9014d3007b
Bael 7312 spock data pipes ( #15684 )
...
* BAEL-7312 Add source for tests backing Spock Data Pipes article.
* BAEL-7312 Add source for tests backing Spock Data Pipes article.
* BAEL-7312 Delete non-compliant code
2024-01-18 16:41:46 -08:00