Craig Macdonald
0c1db7b280
moved __len__ to java.util.Collection plus tests, as per review
2020-04-09 09:52:08 +01:00
Craig Macdonald
af7cd7b4ea
addressed comment feedback
2020-04-09 09:51:33 +01:00
Craig Macdonald
7a195a42a1
change test name
2020-04-09 01:46:41 +01:00
Craig Macdonald
afe15b00a6
rename to protocol_map, change comments
2020-04-08 21:46:37 +01:00
Craig Macdonald
cbc9b21290
Merge branch 'master' of https://github.com/kivy/pyjnius
2020-04-08 21:29:37 +01:00
Craig Macdonald
5388f7a1ae
undid forced logging, as per review
2020-04-08 17:02:09 +01:00
Craig Macdonald
ffd9aacd58
pep8 fixes as per review
2020-04-08 17:01:52 +01:00
Craig Macdonald
528967d65c
test cases for identify_hierarchy
2020-04-08 10:38:19 +01:00
Craig Macdonald
049c97d55e
issue 465 - revised reflect
2020-04-07 16:04:32 +01:00
Craig Macdonald
21f3c25166
remove java.io.Closeable in interface_map - AutoCloseable is enough
2020-04-07 12:52:24 +01:00
Craig Macdonald
9a3bcaba45
add support for java.lang.AutoCloseable #494
2020-04-04 10:02:05 +01:00
Gabriel Pettier
1df2fb6426
fix collection warning errors
2020-04-04 00:09:25 +02:00
Gabriel Pettier
dba732a0b4
fix deprecation warning about Equals vs Equal
2020-04-03 23:48:26 +02:00
Craig Macdonald
b8c29f635f
change method arg to signature
2020-02-09 20:42:45 +00:00
Craig Macdonald
cdd653edf5
Python workarounds for wrong constructor selection. #474
2020-02-08 23:10:38 +00:00
Gabriel Pettier
c355b74a8a
sort signatures in test
2019-12-15 11:04:42 +01:00
Gabriel Pettier
a5d3bb4069
expose the signatures as a signature object instead of `__dir__`
2019-12-15 11:01:10 +01:00
Gabriel Pettier
601dfa15fb
make tests more useful
2019-12-15 10:51:41 +01:00
Young Ryul Bae
1ee5d29587
add more comments and typo fix
2019-12-15 10:51:41 +01:00
Young Ryul Bae
e515e002dd
test added
2019-12-15 10:51:41 +01:00
Gabriel Pettier
eae4f2232d
switch from nose to pytest
2019-12-06 00:39:14 +01:00
Gabriel Pettier
807bc5be7d
make sure Interface have access to Object's methods
...
as specified in https://docs.oracle.com/javase/specs/jls/se8/html/jls-9.html#jls-9.2
2019-12-03 21:10:33 +01:00
Gabriel Pettier
5fd6a53f98
add simple test case or method order in inheritance
...
fixes #408
2019-02-20 21:39:29 +01:00
Peter Badida
27b43cd5dd
Add test for INT vs LONG conversion on Py2
...
int and long are the same on py3, but we do care about the conversion from Python too which in case INT is >=2**31 then Java might have problem with that and it could cause issues for the users
2019-02-02 23:18:30 +01:00
Peter Badida
62a8e10dbc
Add test for Java constructor
2019-02-01 14:05:45 +01:00
Peter Badida
144f71c2b3
Merge pull request #394 from kivy/fix_conversion
...
Fix conversion methods accepting java.lang.Object
2019-02-01 11:32:41 +01:00
Peter Badida
920fd32809
Refactor test for java.lang.Enum
2019-02-01 02:10:47 +01:00
Peter Badida
4731266a17
Add test for Python numeric types as parameters
2019-01-31 16:53:39 +01:00
Peter Badida
5dd372656d
Fix incorrect test case for bytes as argument
2019-01-05 15:10:49 +01:00
Peter Badida
e83ca49978
Add test for Python to Java function arguments conversion
2019-01-03 22:42:59 +01:00
Hadrien Mary
85215f75e8
Fix tests
2018-12-01 19:29:35 +01:00
Hadrien Mary
657c7fef24
Disable some tests in Python 2
2018-12-01 19:29:31 +01:00
Hadrien Mary
d55fd1a5d5
Add appveyor CI
2018-12-01 19:29:19 +01:00
Gabriel Pettier
42a06f84a4
Merge pull request #325 from djlambert/truncated_props
...
Only remove 2 characters from field names when method begins with "is"
2018-08-23 13:30:58 +02:00
Derek J. Lambert
3a6e6a3471
Add test for getter names starting with "is"
2018-01-30 09:21:37 -06:00
Dan
8d66f198db
Add tests for isinstance, fix edge cases.
2017-12-11 14:04:32 -05:00
Dan
69766e9caa
Check j_self for null when converting PythonJavaClass objects.
2017-12-11 14:04:32 -05:00
brandonherzog
85131bc4ee
Merge branch 'master' into fix-unicode
2017-12-05 19:50:20 -05:00
Mathieu Virbel
406dd2099f
Merge pull request #268 from b3b/empty_bytearray
...
bytearray: fix #267 operations on empty arrays
2017-08-22 10:27:33 +02:00
Mathieu Virbel
efe610b89d
Merge pull request #271 from InvalidCo/list_getitem_indexerror
...
for...in iteration of list interfaces
2017-08-22 10:26:59 +02:00
Juan Toledo
a912e1a87e
Fixed long literals for Python3 compatibility
2017-08-21 18:00:04 +02:00
Juan Toledo
f0c5b97915
Added new tests to confirm that longs are not properly handled with multiplemethods
2017-08-21 16:48:27 +02:00
Brandon Herzog
61592eedb0
Switching to JNI UTF-16 API for strings to fix supplementary unicode char encoding
2017-07-04 00:09:54 -04:00
Mikael Kasimir Harvilahti
39c0ee8075
add test for for...in iteration of list interfaces
2017-05-08 11:27:18 +03:00
b3b
d36d3b6d65
bytearray: fix #267 operations on empty arrays
2017-04-12 16:59:07 +03:00
espes
57efacb311
fix longs
2016-08-29 13:43:32 -07:00
Mathieu Virbel
ac2324d96e
fixes bytearray tests again (python3)
2015-12-10 14:14:48 +01:00
Mathieu Virbel
c8ede02ae0
fix bytearray test, and check more input/output signed/unsigned with unittests
2015-12-10 13:20:39 +01:00
Mathieu Virbel
f11f88e2df
Merge branch 'master' of github.com:kivy/pyjnius
...
Conflicts:
jnius/jnius_conversion.pxi
2015-12-10 00:56:06 +01:00
Mathieu Virbel
5bb7e6cfdb
supports bytearray as argument for byte[]. Useful for socket/bluetooth reading (no need to read one by one)
2015-12-10 00:55:08 +01:00