[Libreoffice-commits] core.git: jurt/test
Stephan Bergmann
sbergman at redhat.com
Fri Mar 11 10:51:15 UTC 2016
jurt/test/com/sun/star/lib/uno/environments/remote/TestWorkAt.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
New commits:
commit b2d53cc003d070181d80af92d1568de1bdcfe73b
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Mar 11 11:50:50 2016 +0100
typo
Change-Id: I8ae443a69aab715a59f347a2de5a36b458a934f5
diff --git a/jurt/test/com/sun/star/lib/uno/environments/remote/TestWorkAt.java b/jurt/test/com/sun/star/lib/uno/environments/remote/TestWorkAt.java
index e753c65..e63be6f 100644
--- a/jurt/test/com/sun/star/lib/uno/environments/remote/TestWorkAt.java
+++ b/jurt/test/com/sun/star/lib/uno/environments/remote/TestWorkAt.java
@@ -37,7 +37,7 @@ class TestWorkAt implements TestIWorkAt {
private Thread _sync_thread;
private Thread _async_thread;
- private boolean _passedAync = true;
+ private boolean _passedAsync = true;
boolean _notified = false;
public synchronized void syncCall() throws Throwable {
@@ -47,12 +47,12 @@ class TestWorkAt implements TestIWorkAt {
// defer the check until passedAsyncTest and assert here
assertEquals(MESSAGES, _async_counter);
if(_async_counter != MESSAGES)
- _passedAync = false;
+ _passedAsync = false;
if(_sync_thread == null)
_sync_thread = Thread.currentThread();
- if(DEBUG) System.err.println("syncCall:" + _sync_counter + " " + _passedAync + " " + Thread.currentThread());
+ if(DEBUG) System.err.println("syncCall:" + _sync_counter + " " + _passedAsync + " " + Thread.currentThread());
}
public synchronized void asyncCall() throws Throwable {
@@ -81,7 +81,7 @@ class TestWorkAt implements TestIWorkAt {
public synchronized boolean passedAsyncTest() {
assertEquals(MESSAGES, _sync_counter);
- assertTrue(_passedAync);
- return _passedAync && (_sync_counter == MESSAGES);
+ assertTrue(_passedAsync);
+ return _passedAsync && (_sync_counter == MESSAGES);
}
}
More information about the Libreoffice-commits
mailing list