PROTON-214: JNIMessenger now throws ProtonUnsupportedOperation if proton-c functions return failure (non-zero) error codes.
This was done so that proton_tests.messenger.MessengerTest.testSendBogus skips rather than fails when run against proton-jni.

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1448962 13f79535-47bb-0310-9956-ffa450edef68
NO-JIRA: Git ignore php.ini file

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1449934 13f79535-47bb-0310-9956-ffa450edef68
PROTON-215: Added message test to python interop test

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1449935 13f79535-47bb-0310-9956-ffa450edef68
PROTON-215: Add tests for described types and arrays to InteropTest.java.

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1449936 13f79535-47bb-0310-9956-ffa450edef68
PROTON-215: Java InteropTest test for primitve types.

Added Java test coverage for just the primitive types, more types coming soon.

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1449938 13f79535-47bb-0310-9956-ffa450edef68
PROTON-215: Fix bug in JNI map decoding discovered by new tests.

JNIData.getJavaMap() was alwayws returning an empty map.

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1449939 13f79535-47bb-0310-9956-ffa450edef68
PROTON-215: Add type coverage to Java InteropTest.

Covers all types except:
- described types, described arrays: not yet done
- empty array: throws NPE, possible bug in the decoder.

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1449940 13f79535-47bb-0310-9956-ffa450edef68
PROTON-215: Fix bug in JNI described type decoding discovered by new tests.

Add missing calls to next()

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1449941 13f79535-47bb-0310-9956-ffa450edef68
PROTON-215: Add tests for described types and arrays to InteropTest.java.

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1449942 13f79535-47bb-0310-9956-ffa450edef68
PROTON-232: described arrays seem to force the descriptor to be of the same type as the array

Fixed bug in code.c pn_data_encode_node: was always using the parent->type
for everything inside an array, including the descriptor.

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1449943 13f79535-47bb-0310-9956-ffa450edef68
PROTON-215: Fix bug in JNI array decoding discovered by new tests.

getJavaArray() was getting the array type from the first call to next(), which
fails if the array is empty. Fix is to use getArrayType() to get the type.

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1449944 13f79535-47bb-0310-9956-ffa450edef68