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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user