JUNIT TEST for http://adempiere.svn.sourceforge.net/adempiere/?rev=11690 &view=rev
-- no failure of method but failure due to subject context Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2214883
This commit is contained in:
parent
3c2b16695f
commit
5be63716af
|
@ -33,9 +33,9 @@ public class MColorTest extends AdempiereTestCase
|
||||||
|
|
||||||
public void testQuery() throws Exception
|
public void testQuery() throws Exception
|
||||||
{
|
{
|
||||||
MColor clr = new MColor(getCtx(),1,getTrxName());
|
MColor clr = new MColor(getCtx(),1,getTrxName()); //red1 put in dummy record that has COLORTYPE = 'R' for and ADImageID = 101
|
||||||
CompiereColor url = clr.getAdempiereColor();
|
CompiereColor url = clr.getAdempiereColor();
|
||||||
assertTrue("Color must be right", url.toString()=="");
|
assertTrue("Color must be right", url.toString().length()>0);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue