mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-08 12:01:09 +01:00
s/occured/occurred/
This commit is contained in:
parent
b0277d7e74
commit
eb4c2c5572
50 changed files with 196 additions and 196 deletions
|
|
@ -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