-
Notifications
You must be signed in to change notification settings - Fork 979
convert module apache-dubbo-2.7 test case from groovy to java #12008
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 23 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
060c9c4
convert module apache-dubbo-2.7 test case from groovy to java
shalk 6085bcc
fix compile error
shalk 855291b
fix ut
shalk ff776e0
fix ut class
shalk 33790bb
fix ut fail
shalk 051d877
fix some ut fail with dubbo 3.2.15
shalk f3c6b5c
fix more ut problem
shalk deef59c
add comments
shalk 0a0c324
Update AbstractDubboTraceChainTest.java
shalk e2f880b
Update instrumentation/apache-dubbo-2.7/testing/src/main/java/io/open…
shalk 7bf8fe6
Update instrumentation/apache-dubbo-2.7/testing/src/main/java/io/open…
shalk 5c21117
Update instrumentation/apache-dubbo-2.7/testing/src/main/java/io/open…
shalk 1449213
Update instrumentation/apache-dubbo-2.7/testing/src/main/java/io/open…
shalk 7a4ffbd
Update instrumentation/apache-dubbo-2.7/testing/src/main/java/io/open…
shalk bf2da2a
Update instrumentation/apache-dubbo-2.7/testing/src/main/java/io/open…
shalk 538ebf6
Update instrumentation/apache-dubbo-2.7/testing/src/main/java/io/open…
shalk f9d90d3
Update instrumentation/apache-dubbo-2.7/testing/src/main/java/io/open…
shalk 99455e9
Update instrumentation/apache-dubbo-2.7/testing/src/main/java/io/open…
shalk c4ccf1a
Update instrumentation/apache-dubbo-2.7/testing/src/main/java/io/open…
shalk a15a868
Update instrumentation/apache-dubbo-2.7/testing/src/main/java/io/open…
shalk b394429
Update instrumentation/apache-dubbo-2.7/testing/src/main/java/io/open…
shalk 7abd7b5
Update instrumentation/apache-dubbo-2.7/testing/src/main/java/io/open…
shalk a4ba31d
fix compile warn
shalk 3d6fe13
use setUp/tearDown
shalk b6f5cfd
revert dubbo build.gradle.kts
shalk 85878d7
refine ut suppresswarning and cleanup
shalk dba1658
fix SuppressWarnings
shalk f29c195
fix cleanup
shalk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
21 changes: 21 additions & 0 deletions
21
...agent/src/test/java/io/opentelemetry/instrumentation/apachedubbo/v2_7/DubboAgentTest.java
This file contains hidden or 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,21 @@ | ||
/* | ||
* Copyright The OpenTelemetry Authors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package io.opentelemetry.instrumentation.apachedubbo.v2_7; | ||
|
||
import io.opentelemetry.instrumentation.testing.junit.AgentInstrumentationExtension; | ||
import io.opentelemetry.instrumentation.testing.junit.InstrumentationExtension; | ||
import org.junit.jupiter.api.extension.RegisterExtension; | ||
|
||
class DubboAgentTest extends AbstractDubboTest { | ||
|
||
@RegisterExtension | ||
static final InstrumentationExtension testing = AgentInstrumentationExtension.create(); | ||
|
||
@Override | ||
InstrumentationExtension testing() { | ||
return testing; | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...test/java/io/opentelemetry/instrumentation/apachedubbo/v2_7/DubboAgentTraceChainTest.java
This file contains hidden or 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,21 @@ | ||
/* | ||
* Copyright The OpenTelemetry Authors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package io.opentelemetry.instrumentation.apachedubbo.v2_7; | ||
|
||
import io.opentelemetry.instrumentation.testing.junit.AgentInstrumentationExtension; | ||
import io.opentelemetry.instrumentation.testing.junit.InstrumentationExtension; | ||
import org.junit.jupiter.api.extension.RegisterExtension; | ||
|
||
class DubboAgentTraceChainTest extends AbstractDubboTraceChainTest { | ||
|
||
@RegisterExtension | ||
static final InstrumentationExtension testing = AgentInstrumentationExtension.create(); | ||
|
||
@Override | ||
InstrumentationExtension testing() { | ||
return testing; | ||
} | ||
} |
11 changes: 0 additions & 11 deletions
11
...t/src/testDubbo/groovy/io/opentelemetry/instrumentation/apachedubbo/v2_7/DubboTest.groovy
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...Dubbo/groovy/io/opentelemetry/instrumentation/apachedubbo/v2_7/DubboTraceChainTest.groovy
This file was deleted.
Oops, something went wrong.
5 changes: 3 additions & 2 deletions
5
instrumentation/apache-dubbo-2.7/library-autoconfigure/build.gradle.kts
This file contains hidden or 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 hidden or 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 hidden or 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
11 changes: 0 additions & 11 deletions
11
...figure/src/test/groovy/io/opentelemetry/instrumentation/apachedubbo/v2_7/DubboTest.groovy
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
.../test/groovy/io/opentelemetry/instrumentation/apachedubbo/v2_7/DubboTraceChainTest.groovy
This file was deleted.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
...oconfigure/src/test/java/io/opentelemetry/instrumentation/apachedubbo/v2_7/DubboTest.java
This file contains hidden or 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,21 @@ | ||
/* | ||
* Copyright The OpenTelemetry Authors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package io.opentelemetry.instrumentation.apachedubbo.v2_7; | ||
|
||
import io.opentelemetry.instrumentation.testing.junit.InstrumentationExtension; | ||
import io.opentelemetry.instrumentation.testing.junit.LibraryInstrumentationExtension; | ||
import org.junit.jupiter.api.extension.RegisterExtension; | ||
|
||
class DubboTest extends AbstractDubboTest { | ||
|
||
@RegisterExtension | ||
static final InstrumentationExtension testing = LibraryInstrumentationExtension.create(); | ||
|
||
@Override | ||
InstrumentationExtension testing() { | ||
return testing; | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
.../src/test/java/io/opentelemetry/instrumentation/apachedubbo/v2_7/DubboTraceChainTest.java
This file contains hidden or 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,21 @@ | ||
/* | ||
* Copyright The OpenTelemetry Authors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package io.opentelemetry.instrumentation.apachedubbo.v2_7; | ||
|
||
import io.opentelemetry.instrumentation.testing.junit.InstrumentationExtension; | ||
import io.opentelemetry.instrumentation.testing.junit.LibraryInstrumentationExtension; | ||
import org.junit.jupiter.api.extension.RegisterExtension; | ||
|
||
class DubboTraceChainTest extends AbstractDubboTraceChainTest { | ||
|
||
@RegisterExtension | ||
static final InstrumentationExtension testing = LibraryInstrumentationExtension.create(); | ||
|
||
@Override | ||
InstrumentationExtension testing() { | ||
return testing; | ||
} | ||
} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.