Commit Graph

20 Commits

Author SHA1 Message Date
Lucaskyy
2531a28109
feat: Add support for shell v2 commands (vidstige/jadb#121) 2022-06-11 18:14:23 +02:00
Kris Heid
3ace8c814d fix FakeADBServer testcases which expect certain commands...however due to previous commits these commands are now quoted 2021-03-05 14:37:12 +01:00
Kris Heid
f4f41efbc3 add unit test to verify special character handling for commands 2021-03-04 13:27:04 +01:00
Jano Svitok
a6dcb3ec38 Replace long with int in RemoteFile.getLastModified()
It seems that only ints are passed in and out...
2019-02-19 15:30:04 +01:00
Daniel Llewellyn
d0f2d7ff59 Updating for pull request changes:
* Renaming of main function
* Returning void instead of a boolean
2019-01-08 18:50:38 +00: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
Jano Svitok
71689e4757 Use StandardCharsets.UTF_8 instead of Charset.forName("utf-8); add charset where needed
Application should always work with utf-8 strings regardless of locale.
2018-08-06 13:45:31 +02:00
Muhammad Ikhsan
99555a53f0 Modify testExecuteShellQuotesSpace to test other whitespace characters 2017-10-17 16:29:12 +07:00
Giemsa
251b3ac970 fix NullPointerException in test 2016-12-12 08:49:30 +01:00
Giemsa
d1af94d257 minor changes to some API 2016-12-12 08:49:30 +01:00
Daniel Friederich
f8c9098a7e minor changes to address warnings, etc 2016-11-07 09:42:06 +01:00
Giemsa
86ccd4ab42 add unit test for getState 2016-10-26 21:10:26 +02:00
Samuel Carlsson
70ea021bf0 Merge pull request #39 from SKART1/IMP-38-getprop
Imp 38 getprop
2016-10-03 17:57:17 +02:00
Arthur
db5d9e13bc vidstige/jadb#38 some more changes for PR 2016-10-03 15:41:08 +03:00
Arthur
f4c44d6e3f vidstige/jadb#38 pull-request fixes 2016-10-03 14:04:49 +03:00
Samuel Carlsson
5b66a90c3b Refactor: Adding dummy test for getprop function.
- The FakeServer can now return a string as stdout.
2016-10-03 13:36:00 +03:00
Samuel Carlsson
6e4e4f948e Removing getprop test again 2016-10-01 17:03:42 +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
Arthur
c94d080159 vidstige/jadb#26 separate tests for unit and integration 2016-07-29 19:51:52 +03:00