summaryrefslogtreecommitdiff
path: root/svl/qa/complex/passwordcontainer/TestHelper.java
diff options
context:
space:
mode:
Diffstat (limited to 'svl/qa/complex/passwordcontainer/TestHelper.java')
-rw-r--r--svl/qa/complex/passwordcontainer/TestHelper.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/svl/qa/complex/passwordcontainer/TestHelper.java b/svl/qa/complex/passwordcontainer/TestHelper.java
index 1971b61098f5..489f25c468ef 100644
--- a/svl/qa/complex/passwordcontainer/TestHelper.java
+++ b/svl/qa/complex/passwordcontainer/TestHelper.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -34,32 +34,32 @@ import share.LogWriter;
public class TestHelper {
LogWriter m_aLogWriter;
String m_sTestPrefix;
-
+
public TestHelper( LogWriter aLogWriter, String sTestPrefix ) {
m_aLogWriter = aLogWriter;
m_sTestPrefix = sTestPrefix;
}
-
+
public void Error( String sError ) {
m_aLogWriter.println( m_sTestPrefix + "Error: " + sError );
}
-
+
public void Message( String sMessage ) {
m_aLogWriter.println( m_sTestPrefix + sMessage );
}
-
+
public boolean sameLists(UserRecord aUserList1[], UserRecord aUserList2[]) {
// only works when every name is unique within the list containing it
-
+
if(aUserList1.length != aUserList2.length) {
Message("User list lengths: " + aUserList1.length + " <--> " + aUserList2.length + " respectively ");
return false;
}
-
+
for(int i = 0; i < aUserList1.length; i++) {
int j;
for(j = 0; j < aUserList2.length; j++) {
- if(!aUserList1[i].UserName.equals(aUserList2[j].UserName))
+ if(!aUserList1[i].UserName.equals(aUserList2[j].UserName))
continue;
if(aUserList1[i].Passwords[0].equals(aUserList2[j].Passwords[0])) {
break;