summaryrefslogtreecommitdiff
path: root/sdl_android/src/androidTest/java/com/smartdevicelink/test/rpc/datatypes/BodyInformationTests.java
diff options
context:
space:
mode:
Diffstat (limited to 'sdl_android/src/androidTest/java/com/smartdevicelink/test/rpc/datatypes/BodyInformationTests.java')
-rw-r--r--sdl_android/src/androidTest/java/com/smartdevicelink/test/rpc/datatypes/BodyInformationTests.java15
1 files changed, 8 insertions, 7 deletions
diff --git a/sdl_android/src/androidTest/java/com/smartdevicelink/test/rpc/datatypes/BodyInformationTests.java b/sdl_android/src/androidTest/java/com/smartdevicelink/test/rpc/datatypes/BodyInformationTests.java
index 245ee7ec8..ac715451f 100644
--- a/sdl_android/src/androidTest/java/com/smartdevicelink/test/rpc/datatypes/BodyInformationTests.java
+++ b/sdl_android/src/androidTest/java/com/smartdevicelink/test/rpc/datatypes/BodyInformationTests.java
@@ -7,6 +7,7 @@ import junit.framework.TestCase;
import org.json.JSONException;
import org.json.JSONObject;
+import com.smartdevicelink.proxy.constants.Constants;
import com.smartdevicelink.proxy.rpc.BodyInformation;
import com.smartdevicelink.proxy.rpc.enums.IgnitionStableStatus;
import com.smartdevicelink.proxy.rpc.enums.IgnitionStatus;
@@ -70,13 +71,13 @@ public class BodyInformationTests extends TestCase{
JSONObject reference = new JSONObject();
try{
- reference.put(BodyInformation.KEY_PARK_BRAKE_ACTIVE, Test.GENERAL_BOOLEAN);
- reference.put(BodyInformation.KEY_IGNITION_STATUS, Test.GENERAL_IGNITIONSTATUS);
- reference.put(BodyInformation.KEY_IGNITION_STABLE_STATUS, Test.GENERAL_IGNITIONSTABLESTATUS);
- reference.put(BodyInformation.KEY_DRIVER_DOOR_AJAR, Test.GENERAL_BOOLEAN);
- reference.put(BodyInformation.KEY_PASSENGER_DOOR_AJAR, Test.GENERAL_BOOLEAN);
- reference.put(BodyInformation.KEY_REAR_LEFT_DOOR_AJAR, Test.GENERAL_BOOLEAN);
- reference.put(BodyInformation.KEY_REAR_RIGHT_DOOR_AJAR, Test.GENERAL_BOOLEAN);
+ reference.put(Constants.KEY_PARK_BRAKE_ACTIVE, Test.GENERAL_BOOLEAN);
+ reference.put(Constants.KEY_IGNITION_STATUS, Test.GENERAL_IGNITIONSTATUS);
+ reference.put(Constants.KEY_IGNITION_STABLE_STATUS, Test.GENERAL_IGNITIONSTABLESTATUS);
+ reference.put(Constants.KEY_DRIVER_DOOR_AJAR, Test.GENERAL_BOOLEAN);
+ reference.put(Constants.KEY_PASSENGER_DOOR_AJAR, Test.GENERAL_BOOLEAN);
+ reference.put(Constants.KEY_REAR_LEFT_DOOR_AJAR, Test.GENERAL_BOOLEAN);
+ reference.put(Constants.KEY_REAR_RIGHT_DOOR_AJAR, Test.GENERAL_BOOLEAN);
JSONObject underTest = msg.serializeJSON();
assertEquals(Test.MATCH, reference.length(), underTest.length());