Lucaskyy
|
2531a28109
|
feat: Add support for shell v2 commands (vidstige/jadb#121)
|
2022-06-11 18:14:23 +02:00 |
|
Jano Svitok
|
3c4b0c6997
|
Small fixes
- replace if with switch
- remove unnecessary toString()
|
2019-02-19 15:32:32 +01:00 |
|
Daniel Llewellyn
|
4dd168bb16
|
Code review changes
Adding the following changes:
* Adding a unit test
* Removing a readToStringFunction
* Adding handler into AdbProtocolHandler to enable testing
*
|
2019-01-06 19:09:15 +00:00 |
|
phantamanta44
|
2959e5fb6f
|
Force utf-8 and write test cases for file listing
|
2018-12-25 00:12:51 -06:00 |
|
Mieras Made
|
93101d290b
|
#100 Various methods can be made less accessible to increase encapsulation
|
2018-09-11 20:15:06 +02:00 |
|
Jano Svitok
|
3fd68d337f
|
Various small fixes found by IDEA inspection
|
2018-08-06 13:45:33 +02:00 |
|
Jano Svitok
|
b255b3b618
|
Use more general DataOutput instead of DataOutputStream where possible
|
2018-08-06 13:45:30 +02:00 |
|
Jano Svitok
|
063d7ec1cb
|
AdbProtocolHandler: move try-catch block to sync method
|
2018-07-31 09:08:08 +02:00 |
|
Jano Svitok
|
f679f387eb
|
AdbProtocolHandler: extract command handlers to separate methods
|
2018-07-31 09:08:08 +02:00 |
|
Jano Svitok
|
4761259137
|
AdbProtocolHandler: refactor reading command from input stream
|
2018-07-31 09:08:08 +02:00 |
|
Jano Svitok
|
69695c5a4b
|
AdbProtocolHandler: use try-with-resources
|
2018-07-31 09:08:08 +02:00 |
|
Jano Svitok
|
bc2c76486a
|
AdbProtocolHandler: extract loop body to new method
|
2018-07-31 09:08:08 +02:00 |
|
Jano Svitok
|
ebf5d6b223
|
AdbProtocolHandler: extract SyncTransport creation
|
2018-07-31 09:08:08 +02:00 |
|
Jano Svitok
|
aec31abf1f
|
Fix: String literals should not be duplicated (squid:S1192)
|
2018-07-30 13:39:07 +02:00 |
|
Giemsa
|
86ccd4ab42
|
add unit test for getState
|
2016-10-26 21:10:26 +02:00 |
|
Samuel Carlsson
|
2073817c95
|
Refactor: Adding dummy test for getprop function.
- The FakeServer can now return a string as stdout.
|
2016-10-01 16:36:06 +02:00 |
|
Samuel Carlsson
|
cadf3d4957
|
Quoting shell arguments with spaces
|
2016-04-29 15:02:18 +02:00 |
|
Samuel Carlsson
|
41872e3bb9
|
Refactor: Consistent whitespace & brace style
|
2016-03-20 09:13:59 +01:00 |
|
Samuel Carlsson
|
31456f7a36
|
Refactor: Fixing some code issues found by IntelliJ
|
2014-07-25 19:51:57 +02:00 |
|
Samuel Carlsson
|
a58587f794
|
Adding test case for pulling file.
|
2014-03-26 22:12:29 +01:00 |
|
Samuel Carlsson
|
39ea2d92d6
|
Adding test for pushing to invalid path.
|
2014-03-26 21:46:21 +01:00 |
|
Samuel Carlsson
|
89403cb126
|
Adding callback for file pushed.
|
2014-03-25 15:52:32 +01:00 |
|
Samuel Carlsson
|
0e94c45791
|
Adding mocked unit test for pushing file.
|
2014-03-25 15:46:54 +01:00 |
|
Samuel Carlsson
|
25745857b7
|
Refactor: Using exceptions to send errors back to client in mocked server.
|
2014-03-24 21:06:47 +01:00 |
|
Samuel Carlsson
|
fa74fd88bd
|
Fixing a bug where jadb would hang if no devices where found.
|
2014-03-20 17:30:21 +01:00 |
|
Samuel Carlsson
|
59cc2e9d1e
|
Refactor: Now expected serial is stated in the test for added clarity.
|
2014-03-20 17:22:05 +01:00 |
|
Samuel Carlsson
|
aecd17a446
|
Refactor: Moving server code into Jadb from the test package.
|
2014-03-20 17:01:56 +01:00 |
|