diff options
author | Jerome Gaillard <jgaillard@google.com> | 2023-01-20 15:21:15 +0000 |
---|---|---|
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | 2023-02-08 17:54:19 +0000 |
commit | de3651ab814b2168de9135c1e250260e057c7e6d (patch) | |
tree | 4108f0c811f3c249184834f739a122e420283735 | |
parent | a30ccc186d4dd26231147065509044cbdd78f950 (diff) | |
download | layoutlib-de3651ab814b2168de9135c1e250260e057c7e6d.tar.gz |
Delete broken test
HtmlTest is broken and wasn't supposed to have been merged. It was not
added to the test suite that runs on ab/. The feature it was trying to
test is actually tested in RenderTest.testHtmlText.
Bug: N/A
Test: N/A
Change-Id: I58fef7ddf534f1d43ee1b7ba221c10388084de6b
(cherry picked from commit 156ee849af7590ccdd1084fe30a9fd3c8b75944a)
Merged-In: I58fef7ddf534f1d43ee1b7ba221c10388084de6b
(cherry picked from commit b0d305cc0a5b3b3e43ca8f91d94bea292db7dd49)
Merged-In: I58fef7ddf534f1d43ee1b7ba221c10388084de6b
-rw-r--r-- | bridge/tests/src/android/text/HtmlTest.java | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/bridge/tests/src/android/text/HtmlTest.java b/bridge/tests/src/android/text/HtmlTest.java deleted file mode 100644 index 7258b5bdcc..0000000000 --- a/bridge/tests/src/android/text/HtmlTest.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (C) 2023 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package android.text; - -import org.junit.Test; - -import static android.text.Html.FROM_HTML_MODE_COMPACT; -import static org.junit.Assert.assertNotNull; - -public class HtmlTest { - @Test - public void fromHtmlWithBold() { - Spanned spanned = Html.fromHtml("<b>Test bold tag</b>", FROM_HTML_MODE_COMPACT); - assertNotNull(spanned); - } -} |