N°2737 - RenderBlockTemplate enhancement, uilinkswidget UIBlock refactor

This commit is contained in:
Eric
2020-12-16 11:05:30 +01:00
parent d2bc651fc6
commit 1b115624a2
25 changed files with 612 additions and 286 deletions

View File

@@ -28,7 +28,6 @@ namespace Combodo\iTop\Test\UnitTest\Core;
use CMDBSource;
use Combodo\iTop\Renderer\BlockRenderer;
use Combodo\iTop\Test\UnitTest\ItopDataTestCase;
use CoreOqlMultipleResultsForbiddenException;
use DBSearch;
@@ -685,7 +684,7 @@ class DBSearchTest extends ItopDataTestCase
// $oP = new \iTopWebPage("test");
// $oBlock = new \DisplayBlock($oSet->GetFilter(), 'list', false);
// $oHtml = $oBlock->GetDisplay($oP, 'package_table', array('menu' => true, 'display_limit' => false));
// $sHtml = BlockRenderer::RenderBlockTemplates($oHtml);
// $sHtml = BlockRenderer::RenderBlockTemplate($oHtml);
//
// $iHtmlUserRequestLineCount = substr_count($sHtml, '<tr><td data-object-class="UserRequest"');
// static::assertEquals(4, $iHtmlUserRequestLineCount, "Failed Generated html :".$sHtml);