Commit Graph

99 Commits

Author SHA1 Message Date
6c84fe6542 Merge pull request #94 from janosvitok/cleanup
Cleanup
2018-09-10 21:21:02 +02:00
93c9506708 #84 PackageManager problems: Fixes issue 1 & 2 - after review 2018-09-09 20:22:39 +02:00
b0fbb4b75f #84 PackageManager problems: Fixes issue 1 & 2 2018-09-04 23:08:44 +02:00
adb0cca09a Convert to try-with-resources 2018-08-06 13:45:33 +02:00
bdbb454acb Java 7: collapse catch clauses 2018-08-06 13:45:32 +02:00
a735c0f693 Java 7: use diamond operator 2018-08-06 13:45:32 +02:00
048291c3ca Cleanup: remove unused member 2018-08-06 13:45:31 +02:00
fef9997edf Performance: Make inner classes static 2018-08-06 13:45:31 +02:00
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
3f8b86d8e5 Extract common code to HostConnectionCommand class 2018-08-02 11:28:03 +02:00
9d201a6c83 Add Bash.quote() test 2018-07-30 13:40:35 +02:00
0b2347ddc9 Fix typo: PackageMangerTests -> PackageManagerTests
Fixes #83
2018-06-21 14:10:20 +02:00
8a6c0d006e Adding PackageManager unit tests for getPackages method. 2018-02-03 19:09:46 +00:00
99555a53f0 Modify testExecuteShellQuotesSpace to test other whitespace characters 2017-10-17 16:29:12 +07:00
b4ccd454a0 Make sure shellExpectations are verified 2017-10-17 16:28:26 +07:00
Art
b4fa17abff #58 fixes in tests 2017-03-20 16:03:34 +03:00
Art
4442663889 #58 migration to InetSocketAddress 2017-03-20 15:17:38 +03:00
Art
64544b5bff #58 fixes in spaces and newline at the end of new files. Fixed typo in test 2017-03-20 14:48:09 +03:00
Art
0a12f784ca #58 implemented disconnect command 2017-03-20 13:48:24 +03:00
Art
f6e7da4f1f #58 connect command implemented and it`s test 2017-03-20 13:18:56 +03:00
Art
ebbceb99d5 #58 skeleton implemented 2017-03-17 19:48:13 +03:00
23d185b015 Merge pull request #52 from nuumio/WinTestFix
Don't use System.out as parameter in executeShell test
2017-01-31 08:43:20 +01:00
d765e8f97f Don't use System.out as parameter in executeShell test
Using System.out as parameter for executeShell causes test run to
stop in Windows host. Probably because deprecated executeShell
closes the given output stream.

Changed parameter stream in test to ByteArrayOutputStream to allow
tests to run in Windows system. Resulting byte array is then written
to System.out to preserve old behavior.
2017-01-28 18:41:24 +02:00
206b9c4352 Allow any character except square brackets in property values
PropertyManager failed to get all properties from certain devices
because it allowed only [a-zA-Z0-9_.-] characters in values but
they can contain other characters too. For example in Nexus 9
ro.product.model is "Nexus 9" (has space).

This commit changes allowed characters in property value to contain
anything except square brackets.
2017-01-28 16:53:13 +02:00
251b3ac970 fix NullPointerException in test 2016-12-12 08:49:30 +01:00
d1af94d257 minor changes to some API 2016-12-12 08:49:30 +01:00
f8c9098a7e minor changes to address warnings, etc 2016-11-07 09:42:06 +01:00
86ccd4ab42 add unit test for getState 2016-10-26 21:10:26 +02:00
70ea021bf0 Merge pull request #39 from SKART1/IMP-38-getprop
Imp 38 getprop
2016-10-03 17:57:17 +02:00
db5d9e13bc vidstige/jadb#38 some more changes for PR 2016-10-03 15:41:08 +03:00
f4c44d6e3f vidstige/jadb#38 pull-request fixes 2016-10-03 14:04:49 +03:00
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
6e4e4f948e Removing getprop test again 2016-10-01 17:03:42 +02:00
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
9c83f0320c vidstige/jadb#38 added unit tests 2016-09-30 18:30:28 +03:00
58a370928e Refactor: Adding unit test for AdbServerLauncher 2016-09-10 09:13:29 +02:00
9b8ba8ff52 Refactor: Using functions/fields instead of classes.
Cleaning up PackageManager.
2016-08-01 19:45:49 +02:00
c94d080159 vidstige/jadb#26 separate tests for unit and integration 2016-07-29 19:51:52 +03:00
9c6dfc2220 Merge pull request #24 from SKART1/develop
vidstige/jadb#23 fixes
2016-07-26 12:21:45 +02:00
f43f014d82 FT-17-install-options-support removed unused imports 2016-07-26 13:09:43 +03:00
983dedf706 vidstige/jadb#17 adding options for pm install command 2016-07-26 13:06:46 +03:00
fbcc6f26a6 vidstige/jadb#23 fixes 2016-07-26 12:20:42 +03:00
be4fa2279c Refactor: Putting test output in out/ directory.
To avoid cluttering the repo root.
2016-07-25 18:51:24 +02:00
2b71a04b4c Refactor: Cleaning up forceInstall 2016-05-13 21:40:14 +02:00
96f2b1fa05 fix test 2016-05-08 14:50:39 +08:00
cadf3d4957 Quoting shell arguments with spaces 2016-04-29 15:02:18 +02:00
07f74cb20a Now possible to launch apps by package name 2016-04-29 10:02:55 +02:00
a1e55f06d8 Now possible to install packages easily. 2016-04-28 13:51:08 +02:00
dfb04af94b Adding package manager 2016-04-27 21:56:12 +02:00
8cee1088a8 The shell command now returns InputStream. 2016-04-27 20:39:14 +02:00