mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-22 20:47:57 +01:00
sinttest: signal failure if geoloc element does not match
This commit is contained in:
parent
6d9936a0a6
commit
9b20e2efd8
1 changed files with 2 additions and 0 deletions
|
@ -84,6 +84,8 @@ public class GeolocationIntegrationTest extends AbstractSmackIntegrationTest {
|
|||
public void onPepEvent(EntityBareJid jid, GeoLocation geoLocation, String id, Message message) {
|
||||
if (geoLocation.equals(geoLocation1)) {
|
||||
geoLocationReceived.signal();
|
||||
} else {
|
||||
geoLocationReceived.signalFailure("Received non matching GeoLocation");
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue