summaryrefslogtreecommitdiff
path: root/comphelper/qa/complex
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-01-04 15:35:46 +0000
committerOliver Bolte <obo@openoffice.org>2008-01-04 15:35:46 +0000
commitcf970f7fc48b44a87f442aef5ee82ceb296651f2 (patch)
tree62e733b6003bae10a4ad25082ff9cca31a1aab5c /comphelper/qa/complex
parent3007fcc1ad5bbbb577bd2c59a9d51448efaa7e0f (diff)
INTEGRATION: CWS fwk77 (1.1.2); FILE ADDED
2007/10/18 12:59:33 mav 1.1.2.1: #i81435# test for SequenceOutputStream
Diffstat (limited to 'comphelper/qa/complex')
-rw-r--r--comphelper/qa/complex/sequenceoutputstream/SequenceOutputStreamUnitTest.java75
1 files changed, 75 insertions, 0 deletions
diff --git a/comphelper/qa/complex/sequenceoutputstream/SequenceOutputStreamUnitTest.java b/comphelper/qa/complex/sequenceoutputstream/SequenceOutputStreamUnitTest.java
new file mode 100644
index 000000000000..14b367e3d650
--- /dev/null
+++ b/comphelper/qa/complex/sequenceoutputstream/SequenceOutputStreamUnitTest.java
@@ -0,0 +1,75 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: SequenceOutputStreamUnitTest.java,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: obo $ $Date: 2008-01-04 16:35:46 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************/
+package complex.sequenceoutputstream;
+
+import complexlib.ComplexTestCase;
+import com.sun.star.lang.XMultiServiceFactory;
+import com.sun.star.uno.UnoRuntime;
+
+/* Document.
+ */
+
+public class SequenceOutputStreamUnitTest extends ComplexTestCase {
+ private XMultiServiceFactory m_xMSF = null;
+
+ public String[] getTestMethodNames() {
+ return new String[] {
+ "ExecuteTest01"};
+ }
+
+ public String getTestObjectName () {
+ return "SequenceOutputStreamUnitTest";
+ }
+
+ public void before() {
+ try {
+ m_xMSF = (XMultiServiceFactory)param.getMSF ();
+ } catch (Exception e) {
+ failed ("Cannot create service factory!");
+ }
+ if (m_xMSF==null) {
+ failed ("Cannot create service factory!");
+ }
+ }
+
+ public void after() {
+ m_xMSF = null;
+ }
+
+ public void ExecuteTest01() {
+ SequenceOutputStreamTest aTest = new Test01 (m_xMSF, log);
+ assure ( "Test01 failed!", aTest.test() );
+ }
+} \ No newline at end of file