OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 package org.chromium.base; | 5 package org.chromium.base; |
6 | 6 |
7 import android.test.InstrumentationTestCase; | 7 import android.test.InstrumentationTestCase; |
8 import android.test.suitebuilder.annotation.SmallTest; | 8 import android.test.suitebuilder.annotation.SmallTest; |
9 | 9 |
10 import org.chromium.base.test.util.Feature; | 10 import org.chromium.base.test.util.Feature; |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 | 115 |
116 toParse = " \"a'b\" 'c\"d' \"e\\\"f\" 'g\\'h' \"i\\'j\" 'k\\\"l'" + | 116 toParse = " \"a'b\" 'c\"d' \"e\\\"f\" 'g\\'h' \"i\\'j\" 'k\\\"l'" + |
117 " m\"n\\'o\"p q'r\\\"s't"; | 117 " m\"n\\'o\"p q'r\\\"s't"; |
118 expected = new String[] { "a'b", | 118 expected = new String[] { "a'b", |
119 "c\"d", | 119 "c\"d", |
120 "e\"f", | 120 "e\"f", |
121 "g'h", | 121 "g'h", |
122 "i\\'j", | 122 "i\\'j", |
123 "k\\\"l", | 123 "k\\\"l", |
124 "mn\\'op", | 124 "mn\\'op", |
125 "qr\\\"st",}; | 125 "qr\\\"st"}; |
126 checkTokenizer(expected, toParse); | 126 checkTokenizer(expected, toParse); |
127 } | 127 } |
128 } | 128 } |
OLD | NEW |