From dc28a5a1035156d6d25e6adf3e91f905f6e67fa0 Mon Sep 17 00:00:00 2001 From: Michael Bebenita Date: Tue, 3 Feb 2015 15:12:40 -0800 Subject: [PATCH] Fix test and update pass count. --- tests/automation.js | 2 +- tests/com/sun/cldc/i18n/TestUtfReaders.java | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/tests/automation.js b/tests/automation.js index 3127c647..e82570ab 100644 --- a/tests/automation.js +++ b/tests/automation.js @@ -70,7 +70,7 @@ var gfxTests = [ ]; var expectedUnitTestResults = [ - { name: "pass", number: 71566 }, + { name: "pass", number: 71575 }, { name: "fail", number: 0 }, { name: "known fail", number: 215 }, { name: "unknown pass", number: 0 } diff --git a/tests/com/sun/cldc/i18n/TestUtfReaders.java b/tests/com/sun/cldc/i18n/TestUtfReaders.java index eaaefff3..7c5c5279 100644 --- a/tests/com/sun/cldc/i18n/TestUtfReaders.java +++ b/tests/com/sun/cldc/i18n/TestUtfReaders.java @@ -82,12 +82,8 @@ public class TestUtfReaders implements Testlet { th.check(s, s2); } catch (Throwable t) { - if (e.equals("UTF_8")) { - th.todo(false, "Unexpected exception"); - } else { - th.fail("Unexpected exception: " + t); - t.printStackTrace(); - } + th.fail("Unexpected exception: " + t); + t.printStackTrace(); } }