Skip to content

Commit

Permalink
Deprecated bits related to development of AbstractTestSupport
Browse files Browse the repository at this point in the history
  • Loading branch information
JiriOndrusek committed Sep 30, 2024
1 parent 89bb107 commit dc260b1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/modules/ROOT/pages/migration-guide/3.15.0.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ The following methods were mistakenly not marked as deprecated in 3.15.0:
* `doPostSetup`
* `postProcessTest`

This will be corrected in the 3.15.1 release.
This will be corrected in the 3.15.1 release.

Using JUnit Lifecycle.PER_CLASS in conjunction with CamelQuarkusTestSupport is deprecated and will not be supported in future release
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ protected void bindToRegistry(Registry registry) throws Exception {
/**
* The same functionality as {@link CamelTestSupport#postProcessTest()} .
*/
@Deprecated(since = "4.7.0")
protected void postProcessTest() throws Exception {
assertTestClassCamelContextMatchesAppCamelContext();

Expand Down Expand Up @@ -374,6 +375,7 @@ void internalBeforeEach(ExtensionContext context) throws Exception {
* If this method is overridden, <i>super.doPreSetup()</i> must be called.
* </p>
*/
@Deprecated(since = "4.7.0")
protected void doPreSetup() throws Exception {
if (isUseAdviceWith() || isUseDebugger()) {
((FastCamelContext) context).suspend();
Expand All @@ -395,6 +397,7 @@ protected void doPreSetup() throws Exception {
* If this method is overridden, <i>super.doPostSetup()</i> must be called.
* </p>
*/
@Deprecated(since = "4.7.0")
protected void doPostSetup() throws Exception {
if (isUseAdviceWith() || isUseDebugger()) {
((FastCamelContext) context).resume();
Expand Down Expand Up @@ -429,6 +432,7 @@ protected void doPostSetup() throws Exception {
* @return <code>true</code> to apply advice to existing route(s). <code>false</code> to disable advice.
*/
@Override
@Deprecated(since = "4.7.0")
public boolean isUseAdviceWith() {
return false;
}
Expand Down

0 comments on commit dc260b1

Please sign in to comment.