FileDocCategorySizeDatePackage
RawResourceTest.javaAPI DocAndroid 1.5 API1259Wed May 06 22:42:02 BST 2009com.android.unit_tests.content

RawResourceTest

public class RawResourceTest extends android.test.AndroidTestCase

Fields Summary
private android.content.res.Resources
mResources
Constructors Summary
Methods Summary
protected voidsetUp()

        super.setUp();
        mResources = mContext.getResources();
    
public voidtestReadToEnd()

        InputStream is = mResources.openRawResource(R.raw.text);
        AssetTest.verifyTextAsset(is);