mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 798419 - Fix incorrect spellings of success(ful) in test output; r=me
This commit is contained in:
parent
e619d20092
commit
4ef3ea11bf
@ -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(),
|
||||
|
@ -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;
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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" );
|
||||
});
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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 },
|
||||
|
@ -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!");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user