org.equanda.generate
Class LinksTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.equanda.generate.LinksTest
- All Implemented Interfaces:
- junit.framework.Test
public class LinksTest
- extends junit.framework.TestCase
Checks for invalid and valid links
- Author:
- NetRom team
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 |
LinksTest
public LinksTest()
setUp
protected void setUp()
throws Exception
- Overrides:
setUp
in class junit.framework.TestCase
- Throws:
Exception
testOtherSideSingleFieldNotLink
public void testOtherSideSingleFieldNotLink()
throws Exception
- Throws:
Exception
testOtherSideSingleIncorrect
public void testOtherSideSingleIncorrect()
throws Exception
- Throws:
Exception
testOtherSideMultipleIncorrect
public void testOtherSideMultipleIncorrect()
throws Exception
- Throws:
Exception
testLinkName2Times
public void testLinkName2Times()
throws Exception
- Throws:
Exception
testLinkNameDifferentRelations1
public void testLinkNameDifferentRelations1()
throws Exception
- Throws:
Exception
testLinkNameDifferentRelations2
public void testLinkNameDifferentRelations2()
throws Exception
- Throws:
Exception
testUseRelationTableFieldNotLink
public void testUseRelationTableFieldNotLink()
throws Exception
- Throws:
Exception
testUseRelationTableFieldMultiple
public void testUseRelationTableFieldMultiple()
throws Exception
- Throws:
Exception
testUseRelationTableOtherSideSingle
public void testUseRelationTableOtherSideSingle()
throws Exception
- Throws:
Exception
testCascadeDeleteFieldNotLink
public void testCascadeDeleteFieldNotLink()
throws Exception
- Throws:
Exception
testCascadeKeepFieldNotLink
public void testCascadeKeepFieldNotLink()
throws Exception
- Throws:
Exception
testAllowDeleteFieldNotLink
public void testAllowDeleteFieldNotLink()
throws Exception
- Throws:
Exception
testCascadeDeleteNotBidirectional
public void testCascadeDeleteNotBidirectional()
throws Exception
- Throws:
Exception
testCascadeDeleteMultiple
public void testCascadeDeleteMultiple()
throws Exception
- Throws:
Exception
testValidLinks
public void testValidLinks()
throws Exception
- Throws:
Exception
testUseRelationTableNotBidirectional
public void testUseRelationTableNotBidirectional()
throws Exception
- Throws:
Exception
testLinksWithSuggest
public void testLinksWithSuggest()
throws Exception
- Throws:
Exception
testBidirectionalLinksBothRequired
public void testBidirectionalLinksBothRequired()
throws Exception
- Throws:
Exception
Copyright © 2007-2009. All Rights Reserved.