13e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert/* 23e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * Copyright (C) 2009 The Android Open Source Project 33e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * 43e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * Licensed under the Apache License, Version 2.0 (the "License"); 53e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * you may not use this file except in compliance with the License. 63e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * You may obtain a copy of the License at 73e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * 83e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * http://www.apache.org/licenses/LICENSE-2.0 93e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * 103e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * Unless required by applicable law or agreed to in writing, software 113e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * distributed under the License is distributed on an "AS IS" BASIS, 123e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 133e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * See the License for the specific language governing permissions and 143e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * limitations under the License. 153e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert */ 163e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert 173e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringertpackage com.android.quicksearchbox; 183e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert 193e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringertimport android.test.suitebuilder.annotation.MediumTest; 203e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert 213e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert/** 223e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * Tests for {@link CachingIconLoader}. 233e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert * 243e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert */ 253e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert@MediumTest 263e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringertpublic class CachingIconLoaderTest extends IconLoaderTest { 273e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert 2804a180b52fb4100a2f3747e795fb5d26e3207a4aBjorn Bringert @Override 293e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert protected IconLoader create() { 303e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert return new CachingIconLoader(new MockIconLoader(mContext)); 313e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert } 323e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert 333e44ff1f2a204db3f479698cf0b3eab3d451dec2Bjorn Bringert} 34