forked from wildfly/wildfly-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WFCORE-6609] remove obsolete JMockit
- Loading branch information
1 parent
775319f
commit 93d0824
Showing
6 changed files
with
1 addition
and
50 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,6 @@ | |
import org.jboss.msc.service.ServiceName; | ||
import org.junit.Assert; | ||
import org.junit.Test; | ||
import org.junit.runner.RunWith; | ||
import org.wildfly.security.asn1.ASN1Encodable; | ||
import org.wildfly.security.auth.permission.LoginPermission; | ||
import org.wildfly.security.auth.principal.NamePrincipal; | ||
|
@@ -51,13 +50,10 @@ | |
import org.wildfly.security.x500.cert.SubjectAlternativeNamesExtension; | ||
import org.wildfly.security.x500.cert.X509CertificateBuilder; | ||
|
||
import mockit.integration.junit4.JMockit; | ||
|
||
|
||
/** | ||
* @author <a href="mailto:[email protected]">Jan Kalina</a> | ||
*/ | ||
@RunWith(JMockit.class) | ||
public class DomainTestCase extends AbstractSubsystemTest { | ||
|
||
public DomainTestCase() { | ||
|
@@ -81,7 +77,6 @@ private ModelNode assertFail(ModelNode response) { | |
} | ||
|
||
private void init() throws Exception { | ||
TestEnvironment.mockCallerModuleClassloader(); | ||
services = super.createKernelServicesBuilder(new TestEnvironment()).setSubsystemXmlResource("domain-test.xml").build(); | ||
if (!services.isSuccessfulBoot()) { | ||
if (services.getBootError() != null) { | ||
|
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 |
---|---|---|
|
@@ -26,7 +26,6 @@ | |
import org.jboss.msc.service.ServiceName; | ||
import org.junit.Assert; | ||
import org.junit.Test; | ||
import org.junit.runner.RunWith; | ||
import org.wildfly.security.auth.callback.ChannelBindingCallback; | ||
import org.wildfly.security.auth.callback.CredentialCallback; | ||
import org.wildfly.security.auth.server.SaslAuthenticationFactory; | ||
|
@@ -37,12 +36,10 @@ | |
import org.wildfly.security.password.spec.ClearPasswordSpec; | ||
import org.wildfly.security.sasl.util.SaslMechanismInformation; | ||
|
||
import mockit.integration.junit4.JMockit; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">Jan Kalina</a> | ||
*/ | ||
@RunWith(JMockit.class) | ||
public class SaslTestCase extends AbstractSubsystemTest { | ||
|
||
public SaslTestCase() { | ||
|
@@ -52,7 +49,6 @@ public SaslTestCase() { | |
private KernelServices services = null; | ||
|
||
private void init() throws Exception { | ||
TestEnvironment.mockCallerModuleClassloader(); // to allow loading classes from testsuite | ||
services = super.createKernelServicesBuilder(new TestEnvironment()).setSubsystemXmlResource("sasl-test.xml").build(); | ||
if (!services.isSuccessfulBoot()) { | ||
if (services.getBootError() != null) { | ||
|
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
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