From 4ef3ea11bffc073db104a6da7c32300b265323ed Mon Sep 17 00:00:00 2001 From: Ed Morley Date: Fri, 5 Oct 2012 17:48:15 +0100 Subject: [PATCH] Bug 798419 - Fix incorrect spellings of success(ful) in test output; r=me --- .../test/browser_dbg_bug723071_editor-breakpoints-pane.js | 2 +- .../test/browser_webconsole_bug_595934_message_categories.js | 2 +- build/mobile/sutagent/android/DoCommand.java | 2 +- dom/network/tests/marionette/test_mobile_networks.js | 2 +- dom/tests/mochitest/ajax/jquery/test/unit/ajax.js | 2 +- gfx/layers/d3d9/DeviceManagerD3D9.cpp | 4 ++-- gfx/tests/TestRegion.cpp | 4 ++-- layout/reftests/canvas/ctm-sanity.html | 2 +- mobile/android/base/GeckoSmsManager.java | 2 +- mobile/android/base/tests/testBookmark.java.in | 2 +- mobile/android/base/tests/testHistoryTab.java.in | 2 +- toolkit/components/telemetry/Histograms.json | 2 +- 12 files changed, 14 insertions(+), 14 deletions(-) diff --git a/browser/devtools/debugger/test/browser_dbg_bug723071_editor-breakpoints-pane.js b/browser/devtools/debugger/test/browser_dbg_bug723071_editor-breakpoints-pane.js index 3feedb206d59..a9e25c9aa31d 100644 --- a/browser/devtools/debugger/test/browser_dbg_bug723071_editor-breakpoints-pane.js +++ b/browser/devtools/debugger/test/browser_dbg_bug723071_editor-breakpoints-pane.js @@ -247,7 +247,7 @@ function test() let check = bkp.querySelector("checkbox"); is(bkp.id, id, - "Breakpoint element " + id + " found succesfully."); + "Breakpoint element " + id + " found successfully."); is(info.getAttribute("value"), getExpectedBreakpointInfo(this.line), "The expected information wasn't found in the breakpoint element."); is(text.getAttribute("value"), getExpectedLineText(this.line).trim(), diff --git a/browser/devtools/webconsole/test/browser_webconsole_bug_595934_message_categories.js b/browser/devtools/webconsole/test/browser_webconsole_bug_595934_message_categories.js index 8d64bbbdf6c0..58fdf2b885cb 100644 --- a/browser/devtools/webconsole/test/browser_webconsole_bug_595934_message_categories.js +++ b/browser/devtools/webconsole/test/browser_webconsole_bug_595934_message_categories.js @@ -152,7 +152,7 @@ function testNext() { pos++; if (pos < TESTS.length) { waitForSuccess({ - name: "test #" + pos + " succesful finish", + name: "test #" + pos + " successful finish", validatorFn: function() { return foundCategory && foundText && pageLoaded && pageError; diff --git a/build/mobile/sutagent/android/DoCommand.java b/build/mobile/sutagent/android/DoCommand.java index ba0dd5f7978d..e9b2e172841a 100755 --- a/build/mobile/sutagent/android/DoCommand.java +++ b/build/mobile/sutagent/android/DoCommand.java @@ -1275,7 +1275,7 @@ private void CancelNotification() zis.close(); System.out.println("Checksum: "+checksum.getChecksum().getValue()); sRet += "Checksum: "+checksum.getChecksum().getValue(); - sRet += lineSep + nNumExtracted + " of " + nNumEntries + " sucessfully extracted"; + sRet += lineSep + nNumExtracted + " of " + nNumEntries + " successfully extracted"; } catch(Exception e) { diff --git a/dom/network/tests/marionette/test_mobile_networks.js b/dom/network/tests/marionette/test_mobile_networks.js index b4fe0a51c2ba..f0da12e15b34 100644 --- a/dom/network/tests/marionette/test_mobile_networks.js +++ b/dom/network/tests/marionette/test_mobile_networks.js @@ -131,7 +131,7 @@ function throwsException(fn) { fn(); ok(false, "function did not throw an exception: " + fn); } catch (e) { - ok(true, "function succesfully caught exception: " + e); + ok(true, "function successfully caught exception: " + e); } } diff --git a/dom/tests/mochitest/ajax/jquery/test/unit/ajax.js b/dom/tests/mochitest/ajax/jquery/test/unit/ajax.js index cd45de35ae40..b60d39e72f20 100644 --- a/dom/tests/mochitest/ajax/jquery/test/unit/ajax.js +++ b/dom/tests/mochitest/ajax/jquery/test/unit/ajax.js @@ -239,7 +239,7 @@ test("synchronous request", function() { test("synchronous request with callbacks", function() { expect(2); var result; - $.ajax({url: url("data/json_obj.js"), async: false, success: function(data) { ok(true, "sucess callback executed"); result = data; } }); + $.ajax({url: url("data/json_obj.js"), async: false, success: function(data) { ok(true, "success callback executed"); result = data; } }); ok( /^{ "data"/.test( result ), "check returned text" ); }); diff --git a/gfx/layers/d3d9/DeviceManagerD3D9.cpp b/gfx/layers/d3d9/DeviceManagerD3D9.cpp index 98f6bea707fd..8fc3d2eee3be 100644 --- a/gfx/layers/d3d9/DeviceManagerD3D9.cpp +++ b/gfx/layers/d3d9/DeviceManagerD3D9.cpp @@ -456,7 +456,7 @@ DeviceManagerD3D9::Init() if (console) { nsString msg; msg += - NS_LITERAL_STRING("Direct3D 9 DeviceManager Initialized Succesfully.\nDriver: "); + NS_LITERAL_STRING("Direct3D 9 DeviceManager Initialized Successfully.\nDriver: "); msg += NS_ConvertUTF8toUTF16( nsDependentCString((const char*)identifier.Driver)); msg += NS_LITERAL_STRING("\nDescription: "); @@ -544,7 +544,7 @@ LoadMaskTexture(Layer* aMask, IDirect3DDevice9* aDevice, gfxMatrix maskTransform; bool maskIs2D = aMask->GetEffectiveTransform().CanDraw2D(&maskTransform); - NS_ASSERTION(maskIs2D, "How did we end up with a 3D transform here?!"); + NS_ASSERTION(maskIs2D, "How did we end up with a 3D transform here?!"); gfxRect bounds = gfxRect(gfxPoint(), size); bounds = maskTransform.TransformBounds(bounds); diff --git a/gfx/tests/TestRegion.cpp b/gfx/tests/TestRegion.cpp index ac0cc5ad158c..39f491bbcced 100644 --- a/gfx/tests/TestRegion.cpp +++ b/gfx/tests/TestRegion.cpp @@ -62,7 +62,7 @@ class TestLargestRegion { nsRect largest = r2.GetLargestRectangle(); if (largest.width * largest.height != tests[i].expectedArea) { - fail("Did not succesfully find largest rectangle in non-rectangular region on iteration %d", i); + fail("Did not successfully find largest rectangle in non-rectangular region on iteration %d", i); success = false; } } @@ -93,7 +93,7 @@ class TestLargestRegion { nsRect largest = r2.GetLargestRectangle(); if (largest.width * largest.height != tests[i].expectedArea) { - fail("Did not succesfully find largest rectangle in two-rect-subtract region on iteration %d", i); + fail("Did not successfully find largest rectangle in two-rect-subtract region on iteration %d", i); success = false; } } diff --git a/layout/reftests/canvas/ctm-sanity.html b/layout/reftests/canvas/ctm-sanity.html index 991d683c8c3a..19990f24a3bd 100644 --- a/layout/reftests/canvas/ctm-sanity.html +++ b/layout/reftests/canvas/ctm-sanity.html @@ -32,7 +32,7 @@ window.onload = function() { var m = [ 1, 2, 3, 4, 5, 6 ]; ctx.mozCurrentTransform = m; assert(isSameTM(m, ctx.mozCurrentTransform), - "currentTransform sucessfully set"); + "currentTransform successfully set"); var badVals = [ -1, "string", { obj: true }, diff --git a/mobile/android/base/GeckoSmsManager.java b/mobile/android/base/GeckoSmsManager.java index 26fd451e749c..c333fe5bd77c 100644 --- a/mobile/android/base/GeckoSmsManager.java +++ b/mobile/android/base/GeckoSmsManager.java @@ -438,7 +438,7 @@ public class GeckoSmsManager bundle.getString("number"), bundle.getString("message"), envelope.getMessageTimestamp()); - Log.i("GeckoSmsManager", "SMS succesfully delivered!"); + Log.i("GeckoSmsManager", "SMS successfully delivered!"); } } diff --git a/mobile/android/base/tests/testBookmark.java.in b/mobile/android/base/tests/testBookmark.java.in index 3d2a38f11b29..b12d7ad59abc 100644 --- a/mobile/android/base/tests/testBookmark.java.in +++ b/mobile/android/base/tests/testBookmark.java.in @@ -188,7 +188,7 @@ public class testBookmark extends PixelTest { // Bookmark a page for the test loadAndPaint(BOOKMARK_URL); toggleBookmark(); - mAsserter.is(mSolo.waitForText("Bookmark added"), true, "bookmark added sucessfully"); + mAsserter.is(mSolo.waitForText("Bookmark added"), true, "bookmark added successfully"); // Navigate back to about:home for the test loadAndPaint(ABOUT_HOME_URL); diff --git a/mobile/android/base/tests/testHistoryTab.java.in b/mobile/android/base/tests/testHistoryTab.java.in index f3c4980fec45..56f7c0c52846 100644 --- a/mobile/android/base/tests/testHistoryTab.java.in +++ b/mobile/android/base/tests/testHistoryTab.java.in @@ -62,7 +62,7 @@ public class testHistoryTab extends PixelTest { mActions.sendSpecialKey(Actions.SpecialKey.MENU); mSolo.waitForText("Bookmark"); mSolo.clickOnText("Bookmark"); - mAsserter.is(mSolo.waitForText("Bookmark added"), true, "bookmark added sucessfully"); + mAsserter.is(mSolo.waitForText("Bookmark added"), true, "bookmark added successfully"); testList(url); testContextMenu(url); diff --git a/toolkit/components/telemetry/Histograms.json b/toolkit/components/telemetry/Histograms.json index 5a38cc6e17e7..092209d81fdf 100644 --- a/toolkit/components/telemetry/Histograms.json +++ b/toolkit/components/telemetry/Histograms.json @@ -2297,7 +2297,7 @@ }, "READ_SAVED_PING_SUCCESS": { "kind": "boolean", - "description": "Sucessful reading a saved ping file" + "description": "Successfully reading a saved ping file" }, "TOUCH_ENABLED_DEVICE": { "kind": "boolean",