@@ -0,0 +1,1218 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.%0A// Use of this source code is governed by a BSD-style license that can be%0A// found in the LICENSE file.%0A%0Apackage org.chromium.chrome.browser.tabmodel.document;%0A%0Aimport android.test.InstrumentationTestCase;%0Aimport android.test.UiThreadTest;%0Aimport android.test.suitebuilder.annotation.SmallTest;%0A%0Aimport org.chromium.content_public.browser.LoadUrlParams;%0A%0A/**%0A * Tests that the AsyncTabCreationParamsManager works as expected.%0A */%0Apublic class AsyncTabCreationParamsManagerTest extends InstrumentationTestCase %7B%0A    @SmallTest%0A    @UiThreadTest%0A    public void testBasicAddingAndRemoval() throws Exception %7B%0A        AsyncTabCreationParams asyncParams =%0A                new AsyncTabCreationParams(new LoadUrlParams(%22http://google.com%22));%0A        AsyncTabCreationParamsManager.add(11684, asyncParams);%0A%0A        AsyncTabCreationParams retrievedParams = AsyncTabCreationParamsManager.remove(11684);%0A        assertEquals(%22Removed incorrect parameters from the map%22, asyncParams, retrievedParams);%0A%0A        AsyncTabCreationParams failedParams = AsyncTabCreationParamsManager.remove(11684);%0A        assertNull(%22Removed same parameters twice%22, failedParams);%0A    %7D%0A%7D

Add a simple test for AsyncTabCreationParamsManager