Commit Graph

26 Commits

Author SHA1 Message Date
tshirtman 7baebbb465 test unicode handling 2013-04-17 17:03:20 +02:00
Mathieu Virbel 2a95adc674 cleanup proxy code 2013-03-13 21:38:10 +01:00
Mathieu Virbel 5fa7030778 fix proxy tests, it works! 2013-03-13 19:13:08 +01:00
tshirtman 9dd20611fe small fixes 2013-01-17 02:33:50 +01:00
tshirtman f840d9a253 doing a call to ListIterator() before fix the issue XXX find why
add get/set to TestImplemIterator so it does the shuffle correctly
2013-01-17 02:27:34 +01:00
tshirtman e10ed056bb move testImpl to tests/test_proxy.py and move NativeInvocationHandler
adapt jnius_jvm_desktop to have access to java jnius package
2013-01-03 12:57:46 +01:00
Amirouche Boubekki fcfb1e64a8 added support for Python class as parameter of java methods that takes Java Class object as parameter 2012-10-14 23:00:19 +02:00
Amirouche Boubekki 99a4c3be71 added some tests for Interface, enums and nested enums in Interface 2012-10-12 16:51:40 +02:00
Amirouche Boubekki c216057647 convert arrays returned as Java Object to python list 2012-10-01 02:20:58 +02:00
Amirouche Boubekki 4bcf4c5e16 proper indentation of according to emacs :> 2012-10-01 01:34:31 +02:00
Amirouche Boubekki 4a6945accd convert list of integer, float and long to their equivalent Java Array object 2012-10-01 01:30:51 +02:00
Amirouche Boubekki 20b4bd5d62 allow to use python list and tuple as Object params 2012-10-01 01:21:24 +02:00
Amirouche Boubekki b8ee0f8ab5 fix method resolution when they are varargs 2012-09-30 22:39:38 +02:00
gabriel.pettier 858bff6e25 varargs works!
at least for printf, and probably for other methods accepting Strings

need more tests cases!
2012-08-26 17:52:19 +02:00
gabriel.pettier 708b2d075f Doesn't break the tests anymore, add test for varargs, not passing (yet) 2012-08-26 15:53:11 +02:00
Mathieu Virbel 77f2928e0b fixes for subclasses. closes #3 2012-08-20 10:34:14 +02:00
Mathieu Virbel 60ee14ed6f add the previous tests from python-for-android/javawrapper branch.
+ fix findclass (need cleaning)
+ fix array return with chars
+ export reflect module by default (it's already used in jnius so..)
2012-08-18 12:59:15 +02:00
Mathieu Virbel bb0923d77d fix System.out.println('hello') crash due to a race condition: the instancatied JavaClass for "out" was deallocated before the __call__ of the println. >_< 2012-08-18 04:14:53 +02:00
Mathieu Virbel 774fc295e9 add cast(classname, obj) method to be able to use an instance from another class def 2012-08-16 00:16:17 +02:00
Mathieu Virbel 77139529ad add support for multiple signatures on constructors and methods. 2012-08-15 19:16:39 +02:00
Mathieu Virbel a4af093aa1 raise exception correctly now + add more unittests 2012-08-15 16:31:22 +02:00
Mathieu Virbel d15564cf23 add a test for overflow 2012-08-14 18:26:58 +02:00
Mathieu Virbel 68ef892cd1 little fixes for android, remove the recursive part in autoclass for the moment 2012-08-14 17:21:55 +02:00
Mathieu Virbel 7319fab9e5 fix package import, make tests work again. 2012-08-14 15:12:34 +02:00
Mathieu Virbel 162d011912 add autoclass/ensureclass, auto reflection for JavaObject, and fixes around j_self 2012-08-14 15:09:48 +02:00
Mathieu Virbel 47a9ceb931 first commit. Just use "make tests" 2012-08-14 03:42:43 +02:00