Moved the test data to their own package.

This allows us to select the whole package for binary inclusion
in adt-test (which doesn't automatically take any non java file for
packaging)

Change-Id: Idc3d3b2f27623de1b0fccd7e01dd88948923081c
This commit is contained in:
Xavier Ducrohet
2009-10-06 12:02:35 -07:00
parent cce979fcf5
commit 3f71486cbd
4 changed files with 6 additions and 3 deletions

View File

@@ -123,9 +123,9 @@ public class TestSdkRepository extends TestCase {
/** Validate a valid sample using an InputStream */
public void testValidateLocalRepositoryFile() throws Exception {
InputStream xmlStream =
TestSdkRepository.class.getResourceAsStream("repository_sample.xml");
TestSdkRepository.class.getResourceAsStream(
"/com/android/sdklib/testdata/repository_sample.xml");
Source source = new StreamSource(xmlStream);
CaptureErrorHandler handler = new CaptureErrorHandler();