auto import from //branches/cupcake/...@137197
This commit is contained in:
@@ -31,7 +31,6 @@ import com.android.ide.eclipse.mock.FolderMock;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
import java.lang.reflect.Method;
|
||||
import java.util.ArrayList;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
@@ -47,7 +46,6 @@ public class ConfigMatchTest extends TestCase {
|
||||
private FolderConfiguration config2;
|
||||
private FolderConfiguration config1;
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
protected void setUp() throws Exception {
|
||||
super.setUp();
|
||||
|
||||
@@ -20,7 +20,6 @@ import com.android.ide.eclipse.editors.resources.configurations.FolderConfigurat
|
||||
import com.android.ide.eclipse.editors.resources.configurations.ResourceQualifier;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
import java.util.ArrayList;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
@@ -41,7 +40,6 @@ public class QualifierListTest extends TestCase {
|
||||
mManager = null;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public void testQualifierList() {
|
||||
try {
|
||||
// get the list of qualifier in the resource manager
|
||||
|
||||
@@ -424,11 +424,13 @@ public class FileMock implements IFile {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Map getPersistentProperties() throws CoreException {
|
||||
@SuppressWarnings("unchecked")
|
||||
public Map getPersistentProperties() throws CoreException {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Map getSessionProperties() throws CoreException {
|
||||
@SuppressWarnings("unchecked")
|
||||
public Map getSessionProperties() throws CoreException {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
|
||||
@@ -428,11 +428,11 @@ public final class FolderMock implements IFolder {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Map getPersistentProperties() throws CoreException {
|
||||
public Map<?,?> getPersistentProperties() throws CoreException {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Map getSessionProperties() throws CoreException {
|
||||
public Map<?,?> getSessionProperties() throws CoreException {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
|
||||
@@ -42,6 +42,7 @@ import sun.reflect.generics.reflectiveObjects.NotImplementedException;
|
||||
import java.net.URI;
|
||||
import java.util.Map;
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public class ProjectMock implements IProject {
|
||||
|
||||
public void build(int kind, IProgressMonitor monitor) throws CoreException {
|
||||
@@ -95,7 +96,6 @@ public class ProjectMock implements IProject {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public IPath getPluginWorkingLocation(IPluginDescriptor plugin) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
@@ -459,6 +459,8 @@ public class ProjectMock implements IProject {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public Object getAdapter(Class adapter) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
@@ -476,11 +478,11 @@ public class ProjectMock implements IProject {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Map getPersistentProperties() throws CoreException {
|
||||
public Map<?,?> getPersistentProperties() throws CoreException {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Map getSessionProperties() throws CoreException {
|
||||
public Map<?,?> getSessionProperties() throws CoreException {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user