public class ModelTest extends Model
Model.Align, Model.Side
限定符和类型 | 字段和说明 |
---|---|
private static java.lang.String |
COMPONENT1 |
private static java.lang.String |
COMPONENT2 |
private static java.lang.String |
COUPLING |
private Component |
dummyComponent
Component validating to component.xsd
|
private static Model.Align |
LEFT |
private static Model.Align |
RIGHT |
org.junit.rules.ExpectedException |
thrown |
(专用程序包) java.util.List<TransientGridRef> |
transientGridRefLeft |
(专用程序包) java.util.List<TransientGridRef> |
transientGridRefRight |
activeCoupleId, connections, coupling, leftSide, NONE, rightSide
构造器和说明 |
---|
ModelTest() |
addComponent, addConnection, createNewCouple, getCollectionSize, getComponentId, getComponentModel, getComponentName, getComponentSimulated, getConnectionAt, getConnections, getCoupling, getDefaultCouplingParameter, getGridName, getGrids, getLastSelectedTransientPanelIndex, getSize, getTimestepUnit, getTransientCouple, getTransientGridRefs, getTransientPanelsData, getTransients, getTransientStandardName, hasLastSelectedTransient, isComponentCoupled, isConnectedAt, isEmpty, isEmpty, isSource, loadComponents, loadCoupling, removeConnection, resetData, resetLastSelectedTransientPanelIndex, resetTimestepValuesForAllTransientCouples, setDefaultCouplingParameter, setLastSelectedTransientPanelIndex, updateTransientCoupleParameters
private static final java.lang.String COMPONENT1
private static final java.lang.String COMPONENT2
private static final java.lang.String COUPLING
private static final Model.Align LEFT
private static final Model.Align RIGHT
java.util.List<TransientGridRef> transientGridRefLeft
java.util.List<TransientGridRef> transientGridRefRight
private Component dummyComponent
public org.junit.rules.ExpectedException thrown
public void setUp() throws java.lang.Exception
java.lang.Exception
public void testModel()
public void testLoadComponent_leftFirst()
public void testLoadComponent_rightFirst()
public void testLoadComponent_leftOverwrite()
public void testLoadComponent_leftSecond()
public void testLoadComponent_rightSecond()
public void testLoadCoupling()
public void testLoadCouplingException_notLoaded() throws java.lang.Error
java.lang.Error
public void testLoadCouplingException_onlyLeftLoaded() throws java.lang.Error, XmlDomHandlerException
java.lang.Error
XmlDomHandlerException
public void testLoadCouplingException_onlyRightLoaded() throws java.lang.Error, XmlDomHandlerException
java.lang.Error
XmlDomHandlerException
public void testLoadCouplingCoupling_EmptyCoupling()
public void testLoadCouplingCoupling_fromFile()
public void testLoadCouplingCouplingException_noComponents()
public void testLoadCouple_detailed()
public void testResetData()
public void testGetSize()
public void testGetComponentId()
public void testGetComponentName()
public void testGetComponentModel()
public void testGetComponentSimulated()
public void testGetTransientStandardName()
public void testGetTransientStandardNameException()
public void testGetGridName()
public void testGetGridNameException()
public void testGetTransients()
public void testGetGrids()
public void testHasLastSelectedTransient()
public void testGetLastSelectedTransientPanelIndex()
public void testSetLastSelectedTransientPanelIndex()
public void testResetLastSelectedTransientPanelIndex()
public void testIsConnected()
public void testIsSource()
public void testGetConnection()
public void testSetCouplingDataStringStringStringListOfString()
public void testSetCouplingDataStringStringStringIntIntIntStringInt()
public void testSetCouplingDataStringStringStringDoubleStringBooleanBoolean()
private void loadCouplingXml()