Skip to content
Snippets Groups Projects
Commit ff98fa4e authored by Thomas Mortagne's avatar Thomas Mortagne
Browse files

[misc] Fix tests

parent 336f1f21
No related branches found
No related tags found
No related merge requests found
......@@ -22,14 +22,12 @@
import org.junit.Assert;
import org.junit.Test;
import com.xpn.xwiki.XWikiList;
/**
* Unit tests for the {@link XWikiList} class.
*
* @version $Id$
*/
public class XWikiListTest
public class XWikiLinkTest
{
@Test
......@@ -39,9 +37,9 @@ public void testXWikiListEquals()
final String link = "test link";
final String fullName = "test fullName";
XWikiList l1 = new XWikiList(docId, link, fullName);
XWikiList l2 = new XWikiList(docId, link, fullName);
XWikiList l3 = new XWikiList(docId, link, fullName);
XWikiLink l1 = new XWikiLink(docId, link, fullName);
XWikiLink l2 = new XWikiLink(docId, link, fullName);
XWikiLink l3 = new XWikiLink(docId, link, fullName);
// Reflexive
Assert.assertEquals(l1, l1);
......
......@@ -139,8 +139,8 @@ public void testHashCode()
{
final Number value = 101;
NumberProperty n1 = new NumberProperty();
NumberProperty n2 = new NumberProperty();
NumberProperty n1 = new IntegerProperty();
NumberProperty n2 = new IntegerProperty();
n1.setValue(value);
n2.setValue(value);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment