/*
 * Copyright 2010 Ning, Inc.
 *
 * Ning licenses this file to you 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 com.ning.http.client.async.apache;

import com.ning.http.client.AsyncCompletionHandler;
import com.ning.http.client.AsyncCompletionHandlerBase;
import com.ning.http.client.AsyncHttpClient;
import com.ning.http.client.AsyncHttpClientConfig;
import com.ning.http.client.ConnectionsPool;
import com.ning.http.client.Response;
import com.ning.http.client.async.ConnectionPoolTest;
import com.ning.http.client.async.ProviderUtil;
import org.jboss.netty.channel.Channel;
import org.testng.Assert;
import org.testng.annotations.Test;

import java.io.IOException;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicInteger;

import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertNotNull;
import static org.testng.Assert.assertNull;
import static org.testng.Assert.fail;

public class ApacheConnectionPoolTest extends ConnectionPoolTest {

    @Override
    public AsyncHttpClient getAsyncHttpClient(AsyncHttpClientConfig config) {
        return ProviderUtil.apacheProvider(config);
    }

    @Test(enabled = false)
    public void testMaxTotalConnections() {
    }

    @Test(enabled = false)
    public void asyncDoGetKeepAliveHandlerTest_channelClosedDoesNotFail() throws Throwable {
    }

    @Test(enabled = false)
    public void testInvalidConnectionsPool() {
    }

    @Test(enabled = false)
    public void testValidConnectionsPool() {
    }

    @Test(enabled = false)
    public void multipleMaxConnectionOpenTest() throws Throwable {
    }

    @Test(enabled = false)
    public void multipleMaxConnectionOpenTestWithQuery() throws Throwable {
    }

    @Test(enabled = false)
    public void asyncDoGetMaxConnectionsTest() throws Throwable {
    }

    @Test(enabled = false)
    public void win7DisconnectTest() throws Throwable {
    }

    @Test(enabled = false)
    public void asyncHandlerOnThrowableTest() throws Throwable {
    }
}

@@ -659,116 +659,8 @@
 e;%0A%0A
-import com.ning.http.client.AsyncCompletionHandler;%0Aimport com.ning.http.client.AsyncCompletionHandlerBase;%0A
 impo
@@ -755,91 +755,8 @@
 ig;%0A
-import com.ning.http.client.ConnectionsPool;%0Aimport com.ning.http.client.Response;%0A
 impo
@@ -868,551 +868,31 @@
 org.
-jboss.netty.channel.Channel;%0Aimport org.testng.Assert;%0Aimport org.testng.annotations.Test;%0A%0Aimport java.io.IOException;%0Aimport java.util.Map;%0Aimport java.util.concurrent.ConcurrentHashMap;%0Aimport java.util.concurrent.CountDownLatch;%0Aimport java.util.concurrent.ExecutionException;%0Aimport java.util.concurrent.TimeUnit;%0Aimport java.util.concurrent.atomic.AtomicInteger;%0A%0Aimport static org.testng.Assert.assertEquals;%0Aimport static org.testng.Assert.assertNotNull;%0Aimport static org.testng.Assert.assertNull;%0Aimport static org.testng.Assert.fail
+testng.annotations.Test
 ;%0A%0Ap

Clean up