Merge change Ia86f2849 into eclair

* changes:
  Fix layoutlib tests so they pas when run from Eclipse workbench.
This commit is contained in:
Android (Google) Code Review
2009-11-03 14:29:39 -05:00
2 changed files with 2 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ public class BridgeXmlBlockParserTest extends TestCase {
parser = new BridgeXmlBlockParser(parser, null, false /* platformResourceFlag */);
InputStream input = this.getClass().getClassLoader().getResourceAsStream(
"/com/android/layoutlib/testdata/layout1.xml");
"com/android/layoutlib/testdata/layout1.xml");
parser.setInput(input, null /*encoding*/);
assertEquals(XmlPullParser.START_DOCUMENT, parser.next());

View File

@@ -13,7 +13,7 @@ public class NinePatchTest extends TestCase {
@Override
protected void setUp() throws Exception {
URL url = this.getClass().getClassLoader().getResource(
"/com/android/layoutlib/testdata/button.9.png");
"com/android/layoutlib/testdata/button.9.png");
mPatch = NinePatch.load(url, false /* convert */);
}