File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public void setUp() {
38
38
39
39
@ BeforeClass
40
40
public void setUpBeforeTest () {
41
- System .setProperty (AsyncImplHelper .ASYNC_HTTP_CLIENT_IMPL_SYSTEM_PROPERTY , "org.asynchttpclient.TestAsyncHttpClient" );
41
+ System .setProperty (AsyncImplHelper .ASYNC_HTTP_CLIENT_IMPL_SYSTEM_PROPERTY , AbstractAsyncHttpClientFactoryTest . TEST_CLIENT_CLASS_NAME );
42
42
}
43
43
44
44
@ AfterClass
@@ -100,14 +100,14 @@ public void testCustomAsyncHttpClientRegistry() {
100
100
101
101
@ Test (groups = "fast" , expectedExceptions = AsyncHttpClientImplException .class )
102
102
public void testNonExistentAsyncHttpClientRegistry () {
103
- System .setProperty (AsyncImplHelper .ASYNC_HTTP_CLIENT_REGISTRY_SYSTEM_PROPERTY , "org.asynchttpclient.NonExistentAsyncRegistry" );
103
+ System .setProperty (AsyncImplHelper .ASYNC_HTTP_CLIENT_REGISTRY_SYSTEM_PROPERTY , AbstractAsyncHttpClientFactoryTest . NON_EXISTENT_CLIENT_CLASS_NAME );
104
104
AsyncHttpClientRegistryImpl .getInstance ();
105
105
Assert .fail ("Should never have reached here" );
106
106
}
107
107
108
108
@ Test (groups = "fast" , expectedExceptions = AsyncHttpClientImplException .class )
109
109
public void testBadAsyncHttpClientRegistry () {
110
- System .setProperty (AsyncImplHelper .ASYNC_HTTP_CLIENT_REGISTRY_SYSTEM_PROPERTY , "org.asynchttpclient.BadAsyncHttpClientRegistry" );
110
+ System .setProperty (AsyncImplHelper .ASYNC_HTTP_CLIENT_REGISTRY_SYSTEM_PROPERTY , AbstractAsyncHttpClientFactoryTest . BAD_CLIENT_CLASS_NAME );
111
111
AsyncHttpClientRegistryImpl .getInstance ();
112
112
Assert .fail ("Should never have reached here" );
113
113
}
You can’t perform that action at this time.
0 commit comments