Bug 798419 - Fix incorrect spellings of success(ful) in test output; r=me

This commit is contained in:
Ed Morley 2012-10-05 17:48:15 +01:00
parent e619d20092
commit 4ef3ea11bf
12 changed files with 14 additions and 14 deletions

View File

@ -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(),

View File

@ -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;

View File

@ -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)
{

View File

@ -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);
}
}

View File

@ -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" );
});

View File

@ -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: ");

View File

@ -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;
}
}

View File

@ -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 },

View File

@ -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!");
}
}

View File

@ -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);

View File

@ -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);

View File

@ -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",