Commit Graph

88 Commits

Author SHA1 Message Date
Samuel Carlsson
68e92d14f4 Filtering out 0x0d, 0x0a sequences from shell commands. Makes screenshotting work again. :-) 2016-03-28 14:01:17 +02:00
Samuel Carlsson
c9a0a59ace Filtering out 0x0d, 0x0a sequences from shell commands. Makes screenshotting work again. :-) 2016-03-28 09:41:53 +02:00
Samuel Carlsson
41872e3bb9 Refactor: Consistent whitespace & brace style 2016-03-20 09:13:59 +01:00
Samuel Carlsson
d716ba0325 Using UnsupportedOperationException instead of weird NotImplementedException 2016-03-15 09:12:43 +01:00
Samuel Carlsson
7dc5d73d00 Removing unused jar 2016-03-03 07:36:29 +01:00
Samuel Carlsson
d8acf8d45f Build: Using JAVA_HOME to find jdk. 2016-03-03 07:29:34 +01:00
Samuel Carlsson
8e834fd096 Adding test target for travis 2016-03-03 07:11:31 +01:00
Samuel Carlsson
17206e0afa Adding ant build (Generated with IntelliJ 15) 2016-03-03 06:56:15 +01:00
Samuel Carlsson
d406fc3f45 Adding ant build (Generated from IntelliJ 15) 2016-03-03 06:55:28 +01:00
Samuel Carlsson
419d54644f Adding travis status icon 2016-03-02 21:55:05 +01:00
Samuel Carlsson
162fc467ac Adding travis-ci build 2016-03-02 21:39:14 +01:00
Samuel Carlsson
84950ceadb Refactor: Avoids having stale transport lingering around. 2016-03-02 21:14:32 +01:00
Samuel Carlsson
34f4c7813c Build: Ignoring files created by tests 2016-03-02 21:07:36 +01:00
Samuel Carlsson
92506f643d Using streams rather than byte arrays. 2016-03-02 21:06:19 +01:00
Samuel Carlsson
6854642071 Switching back to JDK 1.6 2016-03-02 20:43:15 +01:00
Samuel Carlsson
6eb8817483 Merge pull request #1 from tg44/master
reuseable jadbDevices and the shell command returns a string
2016-03-02 20:33:52 +01:00
Gergő Törcsvári
23b5efa81a Merge branch 'master' of https://github.com/tg44/jadb 2016-03-02 00:19:46 +01:00
Gergő Törcsvári
27bed5a88a fix (codeorg): small code cleanup
fix (test): bugfix
2016-03-02 00:10:05 +01:00
Gergő Törcsvári
5d68ff0e59 fix (codeorg): small code cleanup 2016-03-02 00:06:23 +01:00
Gergő Törcsvári
722ecc4f8b bytearray shell execution added 2016-02-28 10:54:33 +01:00
Gergő Törcsvári
5ab126ddbe reuseable jadbDevices and the shell command returns a string 2016-02-28 03:04:59 +01:00
Samuel Carlsson
31456f7a36 Refactor: Fixing some code issues found by IntelliJ 2014-07-25 19:51:57 +02:00
Samuel Carlsson
77814e09d4 Fixing a problem in the mock where failed expectations did not throw. 2014-07-25 18:41:21 +02:00
Samuel Carlsson
5b0e0025b8 Adding shared run configuration for running mocked test cases. 2014-04-03 12:39:26 +02:00
Samuel Carlsson
622b3e106f Adding jar artifact 2014-04-02 19:44:28 +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
e93bdb1658 Asserting no unexpected pushes where sent. 2014-03-26 10:09:31 +01:00
Samuel Carlsson
ee239467d0 Now actually asserting that non expected pushes are not sent. 2014-03-26 10:07:24 +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
2e9dd17bdd Build: Checking in JUnit4. 2014-03-21 19:38:21 +01:00
Samuel Carlsson
bfca44c536 Build: Marking test package as test in IntelliJ. 2014-03-21 19:30:53 +01:00
Samuel Carlsson
c78583f6c5 Updating documentation with an example. 2014-03-20 21:35:36 +01:00
Samuel Carlsson
c051da8e7f Fixing a problem where errors during pull where not handled correctly. 2014-03-20 21:31:25 +01:00
Samuel Carlsson
c28902385f Adding unit test for when pushing to invalid path. 2014-03-20 21:25:52 +01:00
Samuel Carlsson
5f54c813cc Adding pull and push methods that take streams rather than local files for more flexibility and easier testing. 2014-03-20 21:23:08 +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
1ff8504e3d Refactor: Using FakeAdbServer in unit tests. 2014-03-20 17:04:46 +01:00
Samuel Carlsson
aecd17a446 Refactor: Moving server code into Jadb from the test package. 2014-03-20 17:01:56 +01:00
Samuel Carlsson
728817f95e Refactor: Renaming class. 2014-03-20 11:51:22 +01:00
Samuel Carlsson
700bd71afe Updating documentation. 2014-03-20 11:40:28 +01:00
Samuel Carlsson
e26de967bf Refactor: Making RemoteFileRecord package local. 2014-03-20 11:38:50 +01:00
Samuel Carlsson
29c3a3956a Using strong types File and RemoteFile in public arguments where appropriate. 2014-03-20 11:37:04 +01:00
Samuel Carlsson
ac47d49cc7 Refactor: Creating RemoteFile base class to be used as arguments. 2014-03-20 11:33:03 +01:00
Samuel Carlsson
6c01fcc86c Refactor: Splitting out a general SocketServer from the AdbServer. 2014-03-20 10:45:23 +01:00
Samuel Carlsson
06c62dca59 Specifying port explicitly in unit tests. 2014-03-20 10:37:12 +01:00
Samuel Carlsson
dbe57d0279 Refactor: Fixing warnings 2014-03-20 10:35:08 +01:00