Commit Graph

310 Commits

Author SHA1 Message Date
Jano Svitok
d5e464e52d Convert "if"s to ternary operators 2018-08-06 13:40:14 +02:00
Jano Svitok
1bd60cd946 Use JadbDevice.send() where possible 2018-08-06 13:39:44 +02:00
Samuel Carlsson
bad9f11441
Merge pull request #92 from janosvitok/remove-duplicate-code
Extract common code from Host{ConnectTo/DisconnectFrom}RemoteTcpDevice
2018-08-03 22:32:47 +02:00
Jano Svitok
3f8b86d8e5 Extract common code to HostConnectionCommand class 2018-08-02 11:28:03 +02:00
Samuel Carlsson
c380a1bcad
Merge pull request #88 from janosvitok/AdbProtocolHandler-cleanup
AdbProtocolHandler cleanup
2018-08-01 13:52:23 +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
Samuel Carlsson
5750321eaa
Merge pull request #91 from janosvitok/fix-sonar-findings
Fix sonar findings
2018-07-31 08:52:47 +02:00
Samuel Carlsson
3b5d74e82e
Merge pull request #90 from janosvitok/add-Bash-quote-test
Add Bash.quote() test
2018-07-31 08:50:43 +02:00
Jano Svitok
b9a86b85fa Fix: Try-with-resources should be used (squid:S2093) 2018-07-30 14:00:27 +02:00
Jano Svitok
9d201a6c83 Add Bash.quote() test 2018-07-30 13:40:35 +02:00
Jano Svitok
9cd5f509ae Fix: "Object.wait(...)" and "Condition.await(...)" should be called inside a "while" loop (squid:S2274) 2018-07-30 13:39:37 +02:00
Jano Svitok
1eeaee1da8 Fix: "notifyAll" should be used (squid:S2446) 2018-07-30 13:39:27 +02:00
Jano Svitok
42f0de589b Fix: Utility classes should not have public constructors (squid:S1118) 2018-07-30 13:39:16 +02:00
Jano Svitok
aec31abf1f Fix: String literals should not be duplicated (squid:S1192) 2018-07-30 13:39:07 +02:00
Jano Svitok
9b6074ce2d Fix: String function use should be optimized for single characters (squid:S3027) 2018-07-30 13:38:57 +02:00
Jano Svitok
23b4dd6b4d Fix: Nested blocks of code should not be left empty (squid:S00108) 2018-07-30 13:38:45 +02:00
Jano Svitok
188aec84d6 Fix: Return of boolean expressions should not be wrapped into an "if-then-else" statement (squid:S1126) 2018-07-30 13:38:35 +02:00
Jano Svitok
1a34d13bbb Fix: Empty statements should be removed (squid:EmptyStatementUsageCheck) 2018-07-30 13:38:24 +02:00
Jano Svitok
9b4be76f3e Fix: Local variable and method parameter names should comply with a naming convention (squid:S00117) 2018-07-30 13:38:07 +02:00
Jano Svitok
aa245626ab Suppress: Method names should comply with a naming convention (squid:S00100) 2018-07-30 13:37:55 +02:00
Jano Svitok
f40d46917b Fix: The diamond operator ("<>") should be used (squid:S2293) 2018-07-30 13:37:45 +02:00
Jano Svitok
17b93cb935 Suppress: Constant names should comply with a naming convention (squid:S00115) 2018-07-30 13:37:37 +02:00
Jano Svitok
70c700a6a1 Fix: Modifiers should be declared in the correct order (squid:ModifiersOrderCheck) 2018-07-30 13:37:23 +02:00
Jano Svitok
c40420a64a Fix Loops should not be infinite (squid:S2189) - suppress this check 2018-07-30 13:37:08 +02:00
Samuel Carlsson
aef604459b
Merge pull request #85 from janosvitok/rename-PackageMangerTests
Fix typo: PackageMangerTests -> PackageManagerTests
2018-06-22 10:22:29 +02:00
Jano Svitok
0b2347ddc9 Fix typo: PackageMangerTests -> PackageManagerTests
Fixes #83
2018-06-21 14:10:20 +02:00
Art
312cd0235a
Merge pull request #81 from janosvitok/fix-typo
Fix typo
2018-05-22 18:38:37 +03:00
Jano Svitok
f7a72e556c Fix typo 2018-05-22 16:37:53 +02:00
Art
c331b07364
Merge pull request #79 from vidstige/v1.1.0
v1.1.0
2018-05-17 17:39:22 +03:00
Samuel Carlsson
2e455416ac
v1.1.0 2018-05-17 10:17:43 +12:00
Samuel Carlsson
f9cfdfa419
Merge pull request #75 from anthonyflynn/package_manager_tests
Package manager tests
2018-02-04 21:23:57 +01:00
anthonyflynn
23bfd4bf7d Simplifying equals method and changing class check to use instanceof. 2018-02-04 19:55:02 +00:00
anthonyflynn
1834bc4812 Comparing attribute equality for equals method (reflecting RemoveFile class). 2018-02-03 19:11:42 +00:00
anthonyflynn
8a6c0d006e Adding PackageManager unit tests for getPackages method. 2018-02-03 19:09:46 +00:00
Samuel Carlsson
39dc7ee90f Merge pull request #71 from vidstige/codecov
codecov with jacoco
2017-10-27 16:11:51 +02:00
Samuel Carlsson
93e5e02192 codecov badge 2017-10-22 19:36:34 +02:00
Samuel Carlsson
36f107da5b codecov with jacoco 2017-10-22 19:30:48 +02:00
Samuel Carlsson
5dfacc8e32 Linking to real android source 2017-10-19 21:27:58 +02:00
Samuel Carlsson
3d168a834f Update README.md 2017-10-19 21:22:55 +02:00
Samuel Carlsson
551d475851 Merge pull request #70 from muhikhsan101/quote-whitespaced-args
Quote Command Arguments with Whitespace
2017-10-19 21:19:29 +02:00
Muhammad Ikhsan
e441c96c85 Check other whitespace characters, e.g. tabs 2017-10-17 16:29:40 +07:00
Muhammad Ikhsan
99555a53f0 Modify testExecuteShellQuotesSpace to test other whitespace characters 2017-10-17 16:29:12 +07:00
Muhammad Ikhsan
b4ccd454a0 Make sure shellExpectations are verified 2017-10-17 16:28:26 +07:00
Muhammad Ikhsan
b4928a40c3 Apply the correct package name 2017-10-17 16:27:34 +07:00
Samuel Carlsson
e6a2ead1b4 Update README.md 2017-10-14 22:07:50 +02:00