summaryrefslogtreecommitdiffstats
path: root/tests/AndroidTests
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-06-17 15:38:39 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-06-17 15:38:39 -0700
commit587c89e25be4e93f85434a17d67f2b563cec85a2 (patch)
treee5c9ef3a81674c6c26324bca3ef77a1d563e1bf6 /tests/AndroidTests
parenta06a9267fd6f5b87c758319c5d94c142db50bfa0 (diff)
parent5c1c40d28cb4c0dc5efbdb6e9e695685044606e9 (diff)
downloadframeworks_base-587c89e25be4e93f85434a17d67f2b563cec85a2.zip
frameworks_base-587c89e25be4e93f85434a17d67f2b563cec85a2.tar.gz
frameworks_base-587c89e25be4e93f85434a17d67f2b563cec85a2.tar.bz2
am 5c1c40d2: Merge change 4455 into donut
Merge commit '5c1c40d28cb4c0dc5efbdb6e9e695685044606e9' * commit '5c1c40d28cb4c0dc5efbdb6e9e695685044606e9': add feedback test with gsm7bit special case characters
Diffstat (limited to 'tests/AndroidTests')
-rw-r--r--tests/AndroidTests/src/com/android/unit_tests/CdmaSmsTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/AndroidTests/src/com/android/unit_tests/CdmaSmsTest.java b/tests/AndroidTests/src/com/android/unit_tests/CdmaSmsTest.java
index 16aca4d..b2529811 100644
--- a/tests/AndroidTests/src/com/android/unit_tests/CdmaSmsTest.java
+++ b/tests/AndroidTests/src/com/android/unit_tests/CdmaSmsTest.java
@@ -103,6 +103,9 @@ public class CdmaSmsTest extends AndroidTestCase {
assertEquals(userData.msgEncoding, revBearerData.userData.msgEncoding);
assertEquals(userData.payloadStr.length(), revBearerData.userData.numFields);
assertEquals(userData.payloadStr, revBearerData.userData.payloadStr);
+ userData.payloadStr = "More @ testing\nis great^|^~woohoo";
+ revBearerData = BearerData.decode(BearerData.encode(bearerData));
+ assertEquals(userData.payloadStr, revBearerData.userData.payloadStr);
}
@SmallTest