mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-06 02:51:11 +01:00
s/occured/occurred/
This commit is contained in:
parent
b0277d7e74
commit
eb4c2c5572
50 changed files with 196 additions and 196 deletions
|
|
@ -58,7 +58,7 @@ public class MessageEventManagerTest extends SmackTestCase {
|
|||
try {
|
||||
chat1.sendMessage(msg);
|
||||
} catch (Exception e) {
|
||||
fail("An error occured sending the message");
|
||||
fail("An error occurred sending the message");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -113,7 +113,7 @@ public class MessageEventManagerTest extends SmackTestCase {
|
|||
// Wait a few seconds so that the XMPP client can send any event
|
||||
Thread.sleep(200);
|
||||
} catch (Exception e) {
|
||||
fail("An error occured sending the message");
|
||||
fail("An error occurred sending the message");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -229,7 +229,7 @@ public class MessageEventManagerTest extends SmackTestCase {
|
|||
results.containsAll(resultsExpected));
|
||||
|
||||
} catch (Exception e) {
|
||||
fail("An error occured sending the message");
|
||||
fail("An error occurred sending the message");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ public class RosterExchangeManagerTest extends SmackTestCase {
|
|||
}
|
||||
catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
fail("An error occured sending the roster");
|
||||
fail("An error occurred sending the roster");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -76,7 +76,7 @@ public class RosterExchangeManagerTest extends SmackTestCase {
|
|||
}
|
||||
catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
fail("An error occured sending the roster");
|
||||
fail("An error occurred sending the roster");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -121,7 +121,7 @@ public class RosterExchangeManagerTest extends SmackTestCase {
|
|||
}
|
||||
}
|
||||
catch (Exception e) {
|
||||
fail("An error occured sending the message with the roster");
|
||||
fail("An error occurred sending the message with the roster");
|
||||
}
|
||||
assertEquals(
|
||||
"Number of sent and received entries does not match",
|
||||
|
|
@ -179,7 +179,7 @@ public class RosterExchangeManagerTest extends SmackTestCase {
|
|||
}
|
||||
}
|
||||
catch (Exception e) {
|
||||
fail("An error occured sending the message with the roster");
|
||||
fail("An error occurred sending the message with the roster");
|
||||
}
|
||||
assertEquals(
|
||||
"Number of sent and received entries does not match",
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ public class XHTMLManagerTest extends SmackTestCase {
|
|||
chat1.sendMessage(msg);
|
||||
Thread.sleep(200);
|
||||
} catch (Exception e) {
|
||||
fail("An error occured sending the message with XHTML");
|
||||
fail("An error occurred sending the message with XHTML");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -116,7 +116,7 @@ public class XHTMLManagerTest extends SmackTestCase {
|
|||
try {
|
||||
chat1.sendMessage(msg);
|
||||
} catch (Exception e) {
|
||||
fail("An error occured sending the message with XHTML");
|
||||
fail("An error occurred sending the message with XHTML");
|
||||
}
|
||||
|
||||
Packet packet = chat2.nextResult(2000);
|
||||
|
|
@ -197,7 +197,7 @@ public class XHTMLManagerTest extends SmackTestCase {
|
|||
bodiesReceived = 0;
|
||||
chat1.sendMessage(msg);
|
||||
} catch (Exception e) {
|
||||
fail("An error occured sending the message with XHTML");
|
||||
fail("An error occurred sending the message with XHTML");
|
||||
}
|
||||
|
||||
Packet packet = chat2.nextResult(2000);
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ public class MessageEventTest extends SmackTestCase {
|
|||
Thread.sleep(200);
|
||||
}
|
||||
catch (Exception e) {
|
||||
fail("An error occured sending the message");
|
||||
fail("An error occurred sending the message");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -122,7 +122,7 @@ public class MessageEventTest extends SmackTestCase {
|
|||
Thread.sleep(200);
|
||||
}
|
||||
catch (Exception e) {
|
||||
fail("An error occured sending the message");
|
||||
fail("An error occurred sending the message");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ public class RosterExchangeTest extends SmackTestCase {
|
|||
try {
|
||||
chat1.sendMessage(msg);
|
||||
} catch (Exception e) {
|
||||
fail("An error occured sending the message with the roster");
|
||||
fail("An error occurred sending the message with the roster");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -87,7 +87,7 @@ public class RosterExchangeTest extends SmackTestCase {
|
|||
try {
|
||||
chat1.sendMessage(msg);
|
||||
} catch (Exception e) {
|
||||
fail("An error occured sending the message with the roster");
|
||||
fail("An error occurred sending the message with the roster");
|
||||
}
|
||||
// Wait for 2 seconds for a reply
|
||||
Packet packet = chat2.nextResult(2000);
|
||||
|
|
@ -131,7 +131,7 @@ public class RosterExchangeTest extends SmackTestCase {
|
|||
try {
|
||||
chat1.sendMessage(msg);
|
||||
} catch (Exception e) {
|
||||
fail("An error occured sending the message with the roster");
|
||||
fail("An error occurred sending the message with the roster");
|
||||
}
|
||||
// Wait for 10 seconds for a reply
|
||||
Packet packet = chat2.nextResult(5000);
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ public class XHTMLExtensionTest extends SmackTestCase {
|
|||
Thread.sleep(200);
|
||||
}
|
||||
catch (Exception e) {
|
||||
fail("An error occured sending the message with XHTML");
|
||||
fail("An error occurred sending the message with XHTML");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -101,7 +101,7 @@ public class XHTMLExtensionTest extends SmackTestCase {
|
|||
chat1.sendMessage(msg);
|
||||
}
|
||||
catch (Exception e) {
|
||||
fail("An error occured sending the message with XHTML");
|
||||
fail("An error occurred sending the message with XHTML");
|
||||
}
|
||||
Packet packet = chat2.nextResult(2000);
|
||||
Message message = (Message) packet;
|
||||
|
|
@ -172,7 +172,7 @@ public class XHTMLExtensionTest extends SmackTestCase {
|
|||
chat1.sendMessage(msg);
|
||||
}
|
||||
catch (Exception e) {
|
||||
fail("An error occured sending the message with XHTML");
|
||||
fail("An error occurred sending the message with XHTML");
|
||||
}
|
||||
Packet packet = chat2.nextResult(2000);
|
||||
int received = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue