Commit 4ae8420b authored by Ryan Berkheimer's avatar Ryan Berkheimer

bugfix in FieldUtils - tests now working same as before, refactoring complete.

parent 3c76a437
Pipeline #5761 failed with stages
in 0 seconds
......@@ -63,7 +63,7 @@ FF=gfortran
#The following vars contain strings representing common libraries used by all code
#at a project level. These should generally not be touched by users.
COMMONC=
COMMONCPP=JniUtils.cpp TypeUtils.cpp ListUtils.cpp PacketUtils.cpp MessageApiEndpoint.cpp MessageApiEndpointLib.cpp
COMMONCPP=JniUtils.cpp TypeUtils.cpp ListUtils.cpp ConditionUtils.cpp FieldUtils.cpp EndpointUtils.cpp ProtocolRecordUtils.cpp RecordUtils.cpp RejectionUtils.cpp PacketUtils.cpp MessageApiEndpoint.cpp MessageApiEndpointLib.cpp
COMMONFORTRAN=
JAVACLASSES:=$(PROJECTPATH)/src/java/main/gov/noaa/messageapi/endpoints/NativeEndpoint.java
JAVAPATH=$(PROJECTPATH)/src/java/main:$(PROJECTPATH)/src/java/main/gov/noaa/messageapi/endpoints
......
......@@ -26,7 +26,6 @@ JNIEXPORT jobject JNICALL Java_gov_noaa_messageapi_endpoints_NativeEndpoint_proc
printf("Field name: %s\n", default_field_name_list->strings[i]);
}
fflush(stdout);
//struct field_list* default_field_list = getFields(message, default_record_list->records[0]);
struct field *testField = getField(message, getRecord(message, default_record_list, 0), "initial-value");
struct field *testField2 = getField(message, getRecord(message, default_record_list, 0), "string-test");
struct field *testField3 = getField(message, getRecord(message, default_record_list, 0), "int-list-test");
......
......@@ -4,7 +4,7 @@
/** Constructor */
FieldUtils::FieldUtils(JNIEnv *jvm, TypeUtils *TypeUtils, ListUtils *listUtils)
FieldUtils::FieldUtils(JNIEnv *jvm, TypeUtils *typeUtils, ListUtils *listUtils)
{
this->loadGlobalRefs(jvm, typeUtils, listUtils);
this->loadMethodIds();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment