-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
608: [Backport stable/8.0] Inject ZPT related fields into superclasses r=remcowesterhoud a=github-actions[bot] # Description Backport of #605 to `stable/8.0`. relates to #604 Co-authored-by: Remco Westerhoud <remco@westerhoud.nl>
- Loading branch information
Showing
5 changed files
with
98 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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 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
34 changes: 34 additions & 0 deletions
34
...o/camunda/zeebe/process/test/qa/abstracts/injection/AbstractInheritanceInjectionTest.java
This file contains 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,34 @@ | ||
/* | ||
* Copyright © 2021 camunda services GmbH (info@camunda.com) | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package io.camunda.zeebe.process.test.qa.abstracts.injection; | ||
|
||
import static org.assertj.core.api.Assertions.assertThat; | ||
|
||
import io.camunda.zeebe.client.ZeebeClient; | ||
import io.camunda.zeebe.process.test.api.ZeebeTestEngine; | ||
import org.junit.jupiter.api.Test; | ||
|
||
public abstract class AbstractInheritanceInjectionTest { | ||
protected ZeebeClient client; | ||
protected ZeebeTestEngine engine; | ||
|
||
@Test | ||
void testFieldsAreInjectedSuccessfully() { | ||
assertThat(client).isNotNull(); | ||
assertThat(engine).isNotNull(); | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...st/java/io/camunda/zeebe/process/test/qa/embedded/injection/InheritanceInjectionTest.java
This file contains 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,23 @@ | ||
/* | ||
* Copyright © 2021 camunda services GmbH (info@camunda.com) | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package io.camunda.zeebe.process.test.qa.embedded.injection; | ||
|
||
import io.camunda.zeebe.process.test.extension.ZeebeProcessTest; | ||
import io.camunda.zeebe.process.test.qa.abstracts.injection.AbstractInheritanceInjectionTest; | ||
|
||
@ZeebeProcessTest | ||
class InheritanceInjectionTest extends AbstractInheritanceInjectionTest {} |
23 changes: 23 additions & 0 deletions
23
...va/io/camunda/zeebe/process/test/qa/testcontainer/injection/InheritanceInjectionTest.java
This file contains 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,23 @@ | ||
/* | ||
* Copyright © 2021 camunda services GmbH (info@camunda.com) | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package io.camunda.zeebe.process.test.qa.testcontainer.injection; | ||
|
||
import io.camunda.zeebe.process.test.extension.testcontainer.ZeebeProcessTest; | ||
import io.camunda.zeebe.process.test.qa.abstracts.injection.AbstractInheritanceInjectionTest; | ||
|
||
@ZeebeProcessTest | ||
class InheritanceInjectionTest extends AbstractInheritanceInjectionTest {} |