mirror of
https://github.com/revanced/jadb.git
synced 2025-06-01 06:10:15 +02:00
Fixing a problem in the mock where failed expectations did not throw.
This commit is contained in:
parent
5b0e0025b8
commit
77814e09d4
@ -108,7 +108,7 @@ public class FakeAdbServer implements AdbResponder {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
new JadbException("Unexpected push to device " + serial + " at " + path);
|
throw new JadbException("Unexpected push to device " + serial + " at " + path);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -122,7 +122,7 @@ public class FakeAdbServer implements AdbResponder {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
new JadbException("Unexpected push to device " + serial + " at " + path);
|
throw new JadbException("Unexpected push to device " + serial + " at " + path);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void verifyExpectations() {
|
public void verifyExpectations() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user