mirror of
https://github.com/revanced/jadb.git
synced 2025-06-12 13:17:39 +02:00
Refactor: Creating RemoteFile base class to be used as arguments.
This commit is contained in:
@ -6,7 +6,7 @@ import org.junit.Test;
|
||||
|
||||
import se.vidstige.jadb.JadbDevice;
|
||||
import se.vidstige.jadb.JadbConnection;
|
||||
import se.vidstige.jadb.RemoteFile;
|
||||
import se.vidstige.jadb.RemoteFileRecord;
|
||||
|
||||
public class RealDeviceTestCases {
|
||||
|
||||
@ -30,8 +30,8 @@ public class RealDeviceTestCases {
|
||||
{
|
||||
JadbConnection jadb = new JadbConnection();
|
||||
JadbDevice any = jadb.getAnyDevice();
|
||||
List<RemoteFile> files = any.list("/");
|
||||
for (RemoteFile f : files)
|
||||
List<RemoteFileRecord> files = any.list("/");
|
||||
for (RemoteFileRecord f : files)
|
||||
{
|
||||
System.out.println(f.getName());
|
||||
}
|
||||
|
Reference in New Issue
Block a user