Kaydet (Commit) 809d136e authored tarafından dennisroczek's avatar dennisroczek Kaydeden (comit) Julien Nabet

fix typo: exptected --> expected

Change-Id: Ibefaed54c8fdce22fbae0116b4df5db4023ef7d6
Reviewed-on: https://gerrit.libreoffice.org/35057Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst cb508b7f
......@@ -150,20 +150,20 @@ public class _XPropertyAccess extends MultiMethodTest {
newProps[0] = failedProp;
oObj.setPropertyValues(newProps);
} catch (PropertyVetoException ex) {
log.println("ERROR: unexptected exception was thrown while trying to set null value: " +
log.println("ERROR: unexpected exception was thrown while trying to set null value: " +
ex.toString());
exp = true;
} catch (WrappedTargetException ex) {
log.println("ERROR: unexptected exception was thrown while trying to set null value: " +
log.println("ERROR: unexpected exception was thrown while trying to set null value: " +
ex.toString());
exp = true;
} catch (com.sun.star.lang.IllegalArgumentException ex) {
log.println("OK: exptected exception was thrown while trying to set null value: " +
log.println("OK: expected exception was thrown while trying to set null value: " +
ex.toString());
test = true;
exp = true;
} catch (UnknownPropertyException ex) {
log.println("ERROR: unexptected exception was thrown while trying to set null value: " +
log.println("ERROR: unexpected exception was thrown while trying to set null value: " +
ex.toString());
exp = true;
}
......@@ -191,19 +191,19 @@ public class _XPropertyAccess extends MultiMethodTest {
oObj.setPropertyValues(newProps);
} catch (WrappedTargetException ex) {
log.println("ERROR: unexptected exception was thrown while trying to set invalid value: " +
log.println("ERROR: unexpected exception was thrown while trying to set invalid value: " +
ex.toString());
exp = true;
} catch (com.sun.star.lang.IllegalArgumentException ex) {
log.println("ERROR: unexptected exception was thrown while trying to set invalid value: " +
log.println("ERROR: unexpected exception was thrown while trying to set invalid value: " +
ex.toString());
exp = true;
} catch (PropertyVetoException ex) {
log.println("ERROR: unexptected exception was thrown while trying to set invalid value: " +
log.println("ERROR: unexpected exception was thrown while trying to set invalid value: " +
ex.toString());
exp = true;
} catch (UnknownPropertyException ex) {
log.println("OK: Exptected exception was thrown while trying to set invalid value: " +
log.println("OK: Expected exception was thrown while trying to set invalid value: " +
ex.toString());
exp = true;
test = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment