mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-26 03:58:45 +02:00
N°8772 - xml description wip
This commit is contained in:
@@ -70,6 +70,8 @@ class FormBindingTest extends AbstractFormsTest
|
||||
$oInputIO = $this->GivenInput('test');
|
||||
$oOutputIO = $this->GivenOutput('test1');
|
||||
|
||||
$this->assertFalse($oInputIO->IsBound(), 'Input must not be Bound by default');
|
||||
|
||||
// When
|
||||
$oOutputIO->BindToInput($oInputIO);
|
||||
|
||||
@@ -86,7 +88,7 @@ class FormBindingTest extends AbstractFormsTest
|
||||
$oInputIO1->BindToInput($oInputIO2);
|
||||
|
||||
// Then
|
||||
$this->assertTrue($oInputIO2->IsBound(), 'Input must be Bound when binding from an output');
|
||||
$this->assertTrue($oInputIO2->IsBound(), 'Input must be Bound when binding from an input');
|
||||
}
|
||||
|
||||
public function testOutputCanBeBoundToAnotherOutputAndItIsBoundAfterThat()
|
||||
@@ -94,6 +96,8 @@ class FormBindingTest extends AbstractFormsTest
|
||||
$oOutputIO1 = $this->GivenOutput('test1');
|
||||
$oOutputIO2 = $this->GivenOutput('test2');
|
||||
|
||||
$this->assertFalse($oOutputIO2->IsBound(), 'Output must not be bound by default');
|
||||
|
||||
// When
|
||||
$oOutputIO1->BindToOutput($oOutputIO2);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user