You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ce...@apache.org on 2016/12/11 20:58:12 UTC

svn commit: r1773635 - /poi/trunk/src/testcases/org/apache/poi/hssf/dev/TestOneFile.java

Author: centic
Date: Sun Dec 11 20:58:12 2016
New Revision: 1773635

URL: http://svn.apache.org/viewvc?rev=1773635&view=rev
Log:
Local test to run one of the multi-file tests on only one file

Added:
    poi/trunk/src/testcases/org/apache/poi/hssf/dev/TestOneFile.java

Added: poi/trunk/src/testcases/org/apache/poi/hssf/dev/TestOneFile.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/dev/TestOneFile.java?rev=1773635&view=auto
==============================================================================
--- poi/trunk/src/testcases/org/apache/poi/hssf/dev/TestOneFile.java (added)
+++ poi/trunk/src/testcases/org/apache/poi/hssf/dev/TestOneFile.java Sun Dec 11 20:58:12 2016
@@ -0,0 +1,31 @@
+/* ====================================================================
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+==================================================================== */
+package org.apache.poi.hssf.dev;
+
+import java.io.File;
+
+import org.junit.Test;
+
+public class TestOneFile {
+    @Test
+    public void test() throws Exception {
+        //Biff8EncryptionKey.setCurrentUserPassword("blabla");
+        TestEFBiffViewer test = new TestEFBiffViewer();
+        test.file = new File("test-data/spreadsheet/50833.xls"); 
+        test.testMain();
+    }
+}



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org