summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikayla Ray <mikayla@livioconnect.com>2015-05-08 08:48:56 -0400
committerMikayla Ray <mikayla@livioconnect.com>2015-05-08 08:48:56 -0400
commite95e0f400e6163298ed30a030eefea2130a7994c (patch)
tree2a028f5ffecfd8acc82be55f6c6091e07e049fc2
parentc5fb0469bc6d306765576907273a868c16259ec3 (diff)
downloadsdl_android-e95e0f400e6163298ed30a030eefea2130a7994c.tar.gz
Fixed a minor bug in the SendLocation unit tests with Longitude degrees tests calling the wrong method.
-rw-r--r--sdl_android_tests/src/com/smartdevicelink/test/rpc/requests/SendLocationTests.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdl_android_tests/src/com/smartdevicelink/test/rpc/requests/SendLocationTests.java b/sdl_android_tests/src/com/smartdevicelink/test/rpc/requests/SendLocationTests.java
index b809ea359..4eeece263 100644
--- a/sdl_android_tests/src/com/smartdevicelink/test/rpc/requests/SendLocationTests.java
+++ b/sdl_android_tests/src/com/smartdevicelink/test/rpc/requests/SendLocationTests.java
@@ -83,7 +83,7 @@ public class SendLocationTests extends BaseRpcTests {
}
public void testLongitudeDegrees() {
- Float longitude = ((SendLocation) msg).getLatitudeDegrees();
+ Float longitude = ((SendLocation) msg).getLongitudeDegrees();
assertEquals("Longitude didn't match input longitude.", KEY_LON_DEGREES, longitude);
}