|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.LexGrid.LexBIG.Impl.function.LexBIGServiceTestCase
org.LexGrid.LexBIG.Impl.bugs.GForge23103
public class GForge23103
This class should be used as a place to write JUnit tests which show a bug, and pass when the bug is fixed. LexBIG Bug #23103 - https://gforge.nci.nih.gov/tracker/index.php?func=detail&aid=23103&group_id=491&atid=1850
Field Summary |
---|
Constructor Summary | |
---|---|
GForge23103()
|
Method Summary | |
---|---|
protected Presentation |
getPreferredPresentation(Presentation[] presentations)
Gets the preferred presentation. |
protected java.lang.String |
getTestID()
To be implemented by each descendant testcase. |
void |
setUp()
|
protected boolean |
sourceEquals(Source source,
java.lang.String content,
java.lang.String role,
java.lang.String subRef)
Source equals. |
void |
testEntityNotNull()
Test entity not null. |
void |
testSourceContent()
Test source content. |
void |
testSourceCount()
Test source count. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GForge23103()
Method Detail |
---|
public void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
protected java.lang.String getTestID()
LexBIGServiceTestCase
getTestID
in class LexBIGServiceTestCase
public void testEntityNotNull() throws LBException
LBException
- the LB exceptionpublic void testSourceCount()
public void testSourceContent()
protected boolean sourceEquals(Source source, java.lang.String content, java.lang.String role, java.lang.String subRef)
source
- the sourcecontent
- the contentrole
- the rolesubRef
- the sub ref
protected Presentation getPreferredPresentation(Presentation[] presentations)
presentations
- the presentations
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |