Skip to content
Permalink
Browse files

Improved: Turn ‘AssertTests’ into a unit test class

(OFBIZ-11067)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1860021 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
mthl committed May 25, 2019
1 parent c465e73 commit c43b99c812c6a517b27188c34f1a1c8efadacf4e
@@ -14,27 +14,24 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.ofbiz.base.util.test;
package org.apache.ofbiz.base.util;

import static org.junit.Assert.fail;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.ofbiz.base.util.Assert;

import junit.framework.TestCase;
import org.junit.Test;

/**
* Assert tests {@link org.apache.ofbiz.base.util.Assert}.
*
*/
public class AssertTests extends TestCase {

public AssertTests(String name) {
super(name);
}
public class AssertTests {

@Test
public void testAssert(){
Object testObject = new Object();

@@ -22,7 +22,6 @@
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.util.test.AssertTests"/>
<junit-test-suite class-name="org.apache.ofbiz.base.util.test.UtilObjectTests"/>
<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"/>

0 comments on commit c43b99c

Please sign in to comment.
You can’t perform that action at this time.