N°8772 - xml description wip

This commit is contained in:
Eric Espie
2025-12-01 08:54:49 +01:00
parent e790929cbe
commit a88f33575d
3 changed files with 9 additions and 3 deletions

View File

@@ -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);