summaryrefslogtreecommitdiff
path: root/framework/qa/complex/loadAllDocuments
diff options
context:
space:
mode:
Diffstat (limited to 'framework/qa/complex/loadAllDocuments')
-rw-r--r--framework/qa/complex/loadAllDocuments/CheckXComponentLoader.java22
-rw-r--r--framework/qa/complex/loadAllDocuments/InteractionHandler.java4
-rw-r--r--framework/qa/complex/loadAllDocuments/StatusIndicator.java18
-rw-r--r--framework/qa/complex/loadAllDocuments/StreamSimulator.java12
4 files changed, 28 insertions, 28 deletions
diff --git a/framework/qa/complex/loadAllDocuments/CheckXComponentLoader.java b/framework/qa/complex/loadAllDocuments/CheckXComponentLoader.java
index b6ae2a107e96..f224a4130c45 100644
--- a/framework/qa/complex/loadAllDocuments/CheckXComponentLoader.java
+++ b/framework/qa/complex/loadAllDocuments/CheckXComponentLoader.java
@@ -48,7 +48,7 @@ import com.sun.star.ucb.XSimpleFileAccess;
import com.sun.star.uno.UnoRuntime;
import com.sun.star.util.XCloseable;
-//-----------------------------------------------
+
/** @short Check the interface method XComponentLoader.loadComponentFromURL()
@descr A prerequisite for this test is a server which allows access to files
@@ -68,7 +68,7 @@ import com.sun.star.util.XCloseable;
*/
public class CheckXComponentLoader
{
- //-------------------------------------------
+
// some const
/** used to classify the result of a loadComponentFromURL() request. */
@@ -89,7 +89,7 @@ public class CheckXComponentLoader
private static final String PREFIX_PASSWORD_TEMPFILE = ".sxw";
private static final String DEFAULT_PASSWORD = "DefaultPasswordForComponentLoaderTest";
- //-------------------------------------------
+
// member
/** points to the global uno service manager. */
@@ -116,10 +116,10 @@ public class CheckXComponentLoader
/** files of m_sTestDocPath to test. */
private static ArrayList<String> m_lTestFiles = null;
- //-------------------------------------------
+
// test environment
- //-------------------------------------------
+
/** @short A function to tell the framework,
which test functions are available.
@@ -139,7 +139,7 @@ public class CheckXComponentLoader
// };
// }
- //-------------------------------------------
+
/** @short Create the environment for following tests.
@descr Use either a component loader from desktop or
@@ -227,7 +227,7 @@ public class CheckXComponentLoader
}
}
- //-------------------------------------------
+
/** @short close the environment.
*/
@After public void after()
@@ -244,7 +244,7 @@ public class CheckXComponentLoader
m_xLoader = null;
}
- //-------------------------------------------
+
/** @short Look for files in the given directory for loading.
*/
@Test public void checkUsingOfMediaDescriptor()
@@ -292,7 +292,7 @@ public class CheckXComponentLoader
}
}
- //-------------------------------------------
+
/** TODO document me and move this method to a more global helper! */
private String impl_getTempFileName(String sTempPath,
String sSuffix ,
@@ -319,7 +319,7 @@ public class CheckXComponentLoader
return null;
}
- //-------------------------------------------
+
/** TODO document me and move this method to a more global helper! */
private void impl_createTempOfficeDocument(XComponentLoader xLoader ,
String sSourceURL,
@@ -368,7 +368,7 @@ public class CheckXComponentLoader
}
}
- //-------------------------------------------
+
/** @short Check the password handling.
@descr The used password is the one given
diff --git a/framework/qa/complex/loadAllDocuments/InteractionHandler.java b/framework/qa/complex/loadAllDocuments/InteractionHandler.java
index 1101ecd15bc4..ca0ec71bec7a 100644
--- a/framework/qa/complex/loadAllDocuments/InteractionHandler.java
+++ b/framework/qa/complex/loadAllDocuments/InteractionHandler.java
@@ -28,7 +28,7 @@ import com.sun.star.uno.AnyConverter;
*/
public class InteractionHandler implements XInteractionHandler
{
- // ____________________
+
/**
* @const RETRY_COUNT it defines the max count of
@@ -36,7 +36,7 @@ public class InteractionHandler implements XInteractionHandler
*/
private static final int RETRY_COUNT = 3;
- // ____________________
+
/**
* @member m_aRequest the origianl interaction request
diff --git a/framework/qa/complex/loadAllDocuments/StatusIndicator.java b/framework/qa/complex/loadAllDocuments/StatusIndicator.java
index d92e271516e7..1fe78765f9a8 100644
--- a/framework/qa/complex/loadAllDocuments/StatusIndicator.java
+++ b/framework/qa/complex/loadAllDocuments/StatusIndicator.java
@@ -30,7 +30,7 @@ package complex.loadAllDocuments;
*/
public class StatusIndicator implements com.sun.star.task.XStatusIndicator
{
- // ____________________
+
/**
* @const SHOWSTATUS_NO don't show the status - but save information about using of this indicator object
@@ -43,7 +43,7 @@ public class StatusIndicator implements com.sun.star.task.XStatusIndicator
public static final int SHOWSTATUS_DIALOG = 4;
public static final int SHOWSTATUS_LINK = 8;
- // ____________________
+
/**
* @member m_nRange max value for any progress
@@ -51,7 +51,7 @@ public class StatusIndicator implements com.sun.star.task.XStatusIndicator
private int m_nRange ;
private boolean m_bWasUsed ;
- // ____________________
+
/**
* ctor
@@ -63,7 +63,7 @@ public class StatusIndicator implements com.sun.star.task.XStatusIndicator
m_bWasUsed = false;
}
- // ____________________
+
/**
* It starts the progress and set the initial text and range.
@@ -84,7 +84,7 @@ public class StatusIndicator implements com.sun.star.task.XStatusIndicator
impl_show();
}
- // ____________________
+
/**
* Finish the progress and reset internal members.
@@ -99,7 +99,7 @@ public class StatusIndicator implements com.sun.star.task.XStatusIndicator
impl_show();
}
- // ____________________
+
/**
* Set the new description text.
@@ -116,7 +116,7 @@ public class StatusIndicator implements com.sun.star.task.XStatusIndicator
impl_show();
}
- // ____________________
+
/**
* Set the new progress value.
@@ -134,7 +134,7 @@ public class StatusIndicator implements com.sun.star.task.XStatusIndicator
impl_show();
}
- // ____________________
+
/**
* Reset text and progress value to her defaults.
@@ -148,7 +148,7 @@ public class StatusIndicator implements com.sun.star.task.XStatusIndicator
impl_show();
}
- // ____________________
+
/**
* Internal helper to show the status.
diff --git a/framework/qa/complex/loadAllDocuments/StreamSimulator.java b/framework/qa/complex/loadAllDocuments/StreamSimulator.java
index 851bfd2cba79..2930915e2715 100644
--- a/framework/qa/complex/loadAllDocuments/StreamSimulator.java
+++ b/framework/qa/complex/loadAllDocuments/StreamSimulator.java
@@ -31,7 +31,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream ,
com.sun.star.io.XOutputStream ,
com.sun.star.io.XSeekable
{
- //_________________________________
+
/**
* @member m_sFileName name of the corrsponding file on disk
* @member m_xInStream the internal input stream for reading
@@ -177,7 +177,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream ,
return nRead;
}
- //_________________________________
+
public void skipBytes(int nBytesToSkip)
throws com.sun.star.io.NotConnectedException,
@@ -230,7 +230,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream ,
return nAvailable;
}
- //_________________________________
+
public void closeInput() throws com.sun.star.io.NotConnectedException,
com.sun.star.io.IOException
@@ -287,7 +287,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream ,
}
- //_________________________________
+
public void flush() throws com.sun.star.io.NotConnectedException ,
com.sun.star.io.BufferSizeExceededException ,
@@ -314,7 +314,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream ,
}
}
- //_________________________________
+
public void closeOutput() throws com.sun.star.io.NotConnectedException ,
com.sun.star.io.BufferSizeExceededException,
@@ -401,7 +401,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream ,
return nPos;
}
- //_________________________________
+
public long getLength() throws com.sun.star.io.IOException
{