Skip to content

Commit

Permalink
Improved: Turn ‘AssertTests’ into a unit test class
Browse files Browse the repository at this point in the history
(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 c43b99c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
1 change: 0 additions & 1 deletion framework/base/testdef/basetests.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>
Expand Down

0 comments on commit c43b99c

Please sign in to comment.