Add zipFileStream method that will zip FileStream to a zipped one. Add unzipFileToFolder method to unzip a given archive to a given Folder. Add fileUtil groovy test suite that create zip file containing README.md, then unzip it to tmp folder and compare original and unzipped files. Thanks Jacques for the review. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1823567 13f79535-47bb-0310-9956-ffa450edef68
50 lines
3.2 KiB
XML
50 lines
3.2 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<!--
|
|
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.
|
|
-->
|
|
|
|
<test-suite suite-name="basetests"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/test-suite.xsd">
|
|
<test-group case-name="basetests">
|
|
<junit-test-suite class-name="org.apache.ofbiz.base.lang.test.ComparableRangeTests"/>
|
|
<junit-test-suite class-name="org.apache.ofbiz.base.util.test.AssertTests"/>
|
|
<junit-test-suite class-name="org.apache.ofbiz.base.util.test.IndentingWriterTests"/>
|
|
<junit-test-suite class-name="org.apache.ofbiz.base.util.test.ObjectTypeTests"/>
|
|
<!--junit-test-suite class-name="org.apache.ofbiz.base.util.test.ReferenceCleanerTests"/-->
|
|
<junit-test-suite class-name="org.apache.ofbiz.base.util.test.UtilMiscTests"/>
|
|
<junit-test-suite class-name="org.apache.ofbiz.base.util.test.UtilObjectTests"/>
|
|
<junit-test-suite class-name="org.apache.ofbiz.base.util.test.StringUtilTests"/>
|
|
<junit-test-suite class-name="org.apache.ofbiz.base.util.test.UtilHttpTests"/>
|
|
<junit-test-suite class-name="org.apache.ofbiz.base.util.string.test.FlexibleStringExpanderTests"/>
|
|
<junit-test-suite class-name="org.apache.ofbiz.base.util.collections.test.FlexibleMapAccessorTests"/>
|
|
<junit-test-suite class-name="org.apache.ofbiz.base.util.test.TimeDurationTests"/>
|
|
<junit-test-suite class-name="org.apache.ofbiz.base.util.cache.test.UtilCacheTests"/>
|
|
<junit-test-suite class-name="org.apache.ofbiz.base.conversion.test.DateTimeTests"/>
|
|
<junit-test-suite class-name="org.apache.ofbiz.base.conversion.test.MiscTests"/>
|
|
<junit-test-suite class-name="org.apache.ofbiz.base.conversion.test.TestBooleanConverters"/>
|
|
<junit-test-suite class-name="org.apache.ofbiz.base.conversion.test.TestJSONConverters"/>
|
|
<!--junit-test-suite class-name="org.apache.ofbiz.base.util.test.UtilIOTests"/-->
|
|
<junit-test-suite class-name="org.apache.ofbiz.base.test.BaseUnitTests"/>
|
|
<junit-test-suite class-name="org.apache.ofbiz.base.util.test.UtilPropertiesTests"/>
|
|
<junit-test-suite class-name="org.apache.ofbiz.base.util.test.UtilXmlTests"/>
|
|
<groovy-test-suite name="simple" location="component://base/groovyScript/test/SimpleTests.groovy"/>
|
|
<groovy-test-suite name="fileUtil" location="component://base/groovyScript/test/FileUtilTests.groovy"/>
|
|
</test-group>
|
|
</test-suite>
|