/dports/devel/pear-PHPTAL/PHPTAL-1.3.0/tests/ |
H A D | UTF8Test.php | 30 $res = $this->newPHPTAL()->setSource($src)->execute(); 75 $tpl->setSource(rawurldecode('<?xml version="1.0" encoding="UTF-8"?> 92 $tpl->setSource(rawurldecode('<?xml version="1.0" encoding="UTF-8"?> 129 $this->newPHPTAL()->setSource(rawurldecode('<p> 169 $this->newPHPTAL()->setSource(rawurldecode('<p> 183 $this->newPHPTAL()->setSource(rawurldecode('<p> 218 $this->newPHPTAL()->setSource(rawurldecode('<p> 233 $this->newPHPTAL()->setSource(rawurldecode('<p> 290 $this->newPHPTAL()->setSource(rawurldecode('<p> 301 $this->newPHPTAL()->setSource(rawurldecode('<p> [all …]
|
H A D | ContentInterpolationTest.php | 28 $tpl->setSource($src); 43 $tpl->setSource($src); 59 $tpl->setSource($src); 74 $tpl->setSource($src); 89 $tpl->setSource($src); 102 $tpl->setSource('<p> 129 $tpl->setSource('<p tal:content="string: 156 $tpl->setSource('<p> 183 $tpl->setSource('<script><![CDATA[< 210 $tpl->setSource('<script><![CDATA[< [all …]
|
H A D | HTML5ModeTest.php | 23 $tpl->setSource('<!DOCTYPE html><script><![CDATA[ 36 $tpl->setSource('<!DOCTYPE html><p><![CDATA[<hello>]]></p>'); 42 $tpl = $this->newPHPTAL()->setOutputMode(PHPTAL::HTML5)->setSource(' 55 …$tpl->setSource('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xh… 63 $tpl->setSource('<?xml version="1.0"?><!DOCTYPE html><p><![CDATA[<hello>]]></p>'); 70 …$this->newPHPTAL()->setOutputMode(PHPTAL::HTML5)->setSource('<html url="http://example.com/?test#t… 77 $tpl->setSource('<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"> 133 $tpl->setSource('<'.$name.' id="123">foo</'.$name.'>'); 143 $tpl->setSource(' 181 $tpl->setSource('<input checked="checked"/>'); [all …]
|
H A D | MetalSlotTest.php | 30 $tpl = $this->newPHPTAL()->setSource('<div> 68 $tpl->setSource(' 85 $tpl->setSource(' 122 $tpl = $this->newPHPTAL()->setSource('<div> 168 $tpl->setSource(' 199 $tpl->setSource(' 225 $tpl->setSource(' 243 $tpl = $this->newPHPTAL()->setSource(<<<HTML 275 $tpl = $this->newPHPTAL()->setSource(' 315 $tpl = $this->newPHPTAL()->setSource(' [all …]
|
H A D | I18NTranslateTest.php | 55 $tpl->setSource('<p i18n:translate="structure \'translate<b>this</b>\'"/>'); 63 $tpl->setSource('<p i18n:translate="structure"> 78 $tpl->setSource('<div> 98 $tpl->setSource('<div i18n:domain="foo${bar}$${quz}">${t/domain}</div>'); 112 … $tpl->setSource('<div phptal:tales="php" i18n:domain="foo${bar+1}$${quz}">${t.domain}</div>'); 122 $tpl->setSource('<div i18n:translate="foo | string:bar">not translated</div>'); 132 … $tpl->setSource('<div i18n:translate="foo | string:<bar> translated">not translated</div>'); 143 … $tpl->setSource('<div i18n:translate="foo | string:<bar> translated">not translated</div>'); 156 … $tpl->setSource('<div i18n:translate="foo | string:<bar> translated">not translated</div>'); 166 …$this->newPHPTAL()->setTranslator( $t = new DummyTranslator() )->setSource('<div i18n:translate=""… [all …]
|
H A D | AttributesInterpolationTest.php | 28 $tpl->setSource($src); 43 $tpl->setSource($src); 63 $tpl->setSource($src); 77 $tpl = $this->newPHPTAL()->setSource($src); 91 $tpl = $this->newPHPTAL()->setSource($src); 106 $tpl->setSource($src); 121 $tpl->setSource($src); 131 … $tpl->setSource('<p test=\'te&st<?php echo "<x>"; ?>test<?php print("&") ?>test\'/>'); 141 $tpl->setSource('<p test=\'te&st short<? print("<x>"); ?>test<?= "&" ?>test\'/>'); 152 $tpl->setSource('<p test=\'te&st noshort<? print("<x>"); ?>test<?= "&" ?>test\'/>');
|
H A D | TalRepeatTest.php | 77 $tpl->setSource('<div><p tal:repeat="a aobj">${a}${repeat/a/length}</p></div>'); 86 …$tpl->setSource('<div><p tal:repeat="a aobj">${a}<b tal:repeat="b aobj" tal:content="b"/></p></div… 136 $tpl->setSource('<div tal:repeat="x php:${y}">${repeat/x/key}</div>'); 156 …$tpl->setSource( '<span tal:omit-tag="" tal:repeat="item items" tal:content="repeat/item/letter"/>… 176 $tpl->setSource(' 206 $tpl->setSource(' 241 …$tpl->setSource("<tal:block tal:repeat='s php:sxml'><b tal:content='structure s' />\n</tal:block>"… 258 $phptal->setSource('<tal:block tal:repeat="x iter" />'); 268 …$tpl->setSource('<tal:block tal:repeat="i i">${repeat/i/start}[${repeat/i/key}]${repeat/i/end}</ta… 274 $tpl->setSource('<tal:block tal:repeat="i i">aaaaa${repeat/i/length}aaaaa</tal:block>'); [all …]
|
H A D | TalContentTest.php | 93 $tpl->setSource($src); 112 $tpl->setSource($src); 128 $tpl->setSource($src); 140 $tpl->setSource('<p tal:content="erroridontexist"/>'); 152 $tpl->setSource('<p tal:content="erroridontexist2 | erroridontexist2"/>'); 164 $tpl->setSource('<p tal:replace="erroridontexist3 | erroridontexist3"/>'); 176 $tpl->setSource('<p tal:condition="erroridontexist4 | erroridontexist4"/>'); 183 $tpl->setSource('<p tal:content="erroridontexist | nothing"/>'); 191 $tpl->setSource('<p tal:content="zero | erroridontexist"/>'); 199 …$tpl->setSource('<span tal:define="resp_office offices/${one_row/RESPONSIBLE_OFFICE} | false">${re…
|
H A D | CommentTest.php | 23 $tpl->setSource($source); 32 $tpl->setSource($source, __FILE__); 41 $tpl->setSource($source); 53 $tpl->setSource($source); 65 $tpl->setSource($source); 76 $tpl->setSource($source); 89 $tpl->setSource($src);
|
H A D | MetalMacroTest.php | 103 …$tpl->setSource('<tal:block metal:use-macro="input/metal-macro.07.html/this-macro-doesnt-exist"/>'… 114 $tpl->setSource('<tal:block metal:use-macro="this-macro-doesnt-exist"/>'); 124 … $tpl->setSource('<tal:block metal:use-macro="input/metal-macro.09.html/defined_earlier" />'); 135 $tpl->setSource( 148 $tpl->setSource('<tal:block metal:define-macro=" foo ">1</tal:block>'); 152 $tpl->setSource('<tal:block metal:define-macro=" foo ">2</tal:block>'); 162 $tpl->setSource('<phptal:block metal:use-macro="input/metal-macro.10.html/throwerr"/>'); 170 $tpl->setSource('<phptal:block tal:on-error="string:ok" 179 $tpl->setSource('<metal:block>
|
H A D | TalDefineTest.php | 213 $tpl->setSource('<div> 225 $tpl->setSource('<div> 240 $tpl->setSource('<div> 254 $tpl->setSource('<div> 268 $tpl->setSource('<div tal:define="test ${varname}">${test}</div>'); 277 $tpl->setSource('<div tal:define="test php:${varname}">${test}</div>'); 288 … $tpl->setSource('<div tal:define="test php:${'.get_class($this).'::VARNAME}">${test}</div>'); 318 $tpl->setSource('<x tal:define="global foo | default"/>'); 325 $tpl->setSource('<y 341 $tpl->setSource('<script tal:define="global foo bar | default"><![CDATA[ x ]]></script>'); [all …]
|
H A D | TalConditionTest.php | 62 $tpl = $this->newPHPTAL()->setSource('<div tal:condition="true:doesntexist/nope"></div>'); 77 $tpl->setSource('<div tal:repeat="val falsyValues"> 102 $tpl->setSource('<div tal:repeat="val truthyValues"> 126 $tpl->setSource('<div tal:repeat="val truthyValues"> 147 $tpl->setSource('<tal:block tal:condition="foo | bar | baz | nothing">fail!</tal:block>'); 155 $tpl->setSource('<tal:block tal:condition="foo | bar | baz | \'ok!\'">ok</tal:block>'); 163 $tpl->setSource('<tal:block tal:condition="foo | \'ok!\' | bar | nothing">ok</tal:block>'); 174 $tal->setSource('<div tal:condition="event/getArtists">
|
H A D | TalesTest.php | 73 $tpl = $this->newPHPTAL()->setSource('<div tal:condition="exists:a | nothing">ok</div>'); 96 …tEquals('<p>{"foo":"bar"}</p>', $this->newPHPTAL()->setSource('<p tal:content=… 97 …$this->assertEquals('<p>{"foo":"bar"}</p>', $this->newPHPTAL()->setSource('<p tal:content="structu… 102 …$this->assertEquals('<p>Hello%20World</p>', $this->newPHPTAL()->setSource('<p tal:content="urlenco… 156 …$tpl->setSource('<div tal:content="string:foo${php:true?'bar':0}${php:false?0:\'b$$a$z\'… 164 $tpl->setSource('<div tal:content="string:foo${nonexistant | string:bar$var}z"/>'); 172 $tpl->setSource('<div tal:repeat="x php:somearray"><x tal:replace=\'repeat/${php: 183 … $tpl->setSource('<x tal:attributes="y string:$bbb/y/y; x string:$aaaaaaaaaaaaaaaaaaaaa/x/x" />'); 194 $tpl->setSource('<x tal:content="testmodifier:foo"/>')->execute();
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/ |
H A D | ScannerTest.java | 148 scanner.setSource(null); in test006() 160 scanner.setSource(source); in test007() 177 scanner.setSource(source); in test008() 196 scanner.setSource(source); in test009() 211 scanner.setSource(source); in test010() 749 s.setSource(source); in test036() 768 s.setSource(source); in test037() 791 s.setSource(source); in test038() 815 s.setSource(source); in test039() 834 s.setSource(source); in test040() [all …]
|
/dports/converters/wkhtmltopdf/qt-5db36ec/tests/auto/qtextbrowser/ |
H A D | tst_qtextbrowser.cpp | 152 browser->setSource(url); in noReloadOnAnchorJump() 157 browser->setSource(url); in noReloadOnAnchorJump() 200 browser->setSource(QUrl("anchor.html")); in forwardButton() 287 browser->setSource(QUrl("#bottom")); in anchors() 290 browser->setSource(QUrl("bigpage.html")); in anchors() 291 browser->setSource(QUrl("#id-anchor")); in anchors() 320 browser->setSource(QUrl("bigpage.html")); in forwardBackwardAvailable() 420 browser->setSource(QUrl("bigpage.html")); in clearHistory() 451 browser->setSource(url); in sourceInsideLoadResource() 474 browser->setSource(QUrl("#anchor")); in anchorsWithSelfBuiltHtml() [all …]
|
/dports/graphics/qgis/qgis-3.22.3/tests/src/python/ |
H A D | test_qgssvgsourcelineedit.py | 31 w.setSource('source') 37 w.setSource('source') 41 w.setSource('another') 51 w.setSource('source') 57 w.setSource(b64) 62 w.setSource(os.path.join(unitTestDataPath(), 'landsat.tif')) 67 w.setSource(b64) 72 w.setSource('')
|
H A D | test_qgsimagesourcelineedit.py | 32 w.setSource('source') 38 w.setSource('source') 42 w.setSource('another') 52 w.setSource('source') 58 w.setSource(b64) 63 w.setSource(os.path.join(unitTestDataPath(), 'landsat.tif')) 68 w.setSource(b64) 73 w.setSource('')
|
/dports/graphics/qgis-ltr/qgis-3.16.16/tests/src/python/ |
H A D | test_qgsimagesourcelineedit.py | 32 w.setSource('source') 38 w.setSource('source') 42 w.setSource('another') 52 w.setSource('source') 58 w.setSource(b64) 63 w.setSource(os.path.join(unitTestDataPath(), 'landsat.tif')) 68 w.setSource(b64) 73 w.setSource('')
|
H A D | test_qgssvgsourcelineedit.py | 31 w.setSource('source') 37 w.setSource('source') 41 w.setSource('another') 51 w.setSource('source') 57 w.setSource(b64) 62 w.setSource(os.path.join(unitTestDataPath(), 'landsat.tif')) 67 w.setSource(b64) 72 w.setSource('')
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/db/pipeline/ |
H A D | document_source_replace_root_test.cpp | 75 replaceRoot->setSource(mock.get()); in TEST_F() 91 replaceRoot->setSource(mock.get()); in TEST_F() 107 replaceRoot->setSource(mock.get()); in TEST_F() 126 replaceRoot->setSource(mock.get()); in TEST_F() 136 replaceRoot->setSource(mock.get()); in TEST_F() 145 replaceRoot->setSource(mock.get()); in TEST_F() 154 replaceRoot->setSource(mock.get()); in TEST_F() 170 replaceRoot->setSource(mock.get()); in TEST_F() 180 replaceRoot->setSource(mock.get()); in TEST_F() 197 replaceRoot->setSource(mock.get()); in TEST_F() [all …]
|
/dports/graphics/lightzone/LightZone-4.1.8-3-g36e87773/lightcrafts/src/com/lightcrafts/jai/operator/ |
H A D | BlendDescriptor.java | 77 pb.setSource("source0", source0); in create() 78 pb.setSource("source1", source1); in create() 97 pb.setSource("source0", source0); in create() 98 pb.setSource("source1", source1); in create() 99 pb.setSource("colorSelection", colorSelection); in create() 132 pb.setSource("source0", source0); in createRenderable() 133 pb.setSource("source1", source1); in createRenderable()
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/dae/ |
H A D | daeWAnimations.cpp | 155 pDomAccessor->setSource(url.c_str()); in writeAnimations() 179 pDomAccessor->setSource(url.c_str()); in writeAnimations() 207 pDomAccessor->setSource(url.c_str()); in writeAnimations() 228 pDomAccessor->setSource(url.c_str()); in writeAnimations() 249 pDomAccessor->setSource(url.c_str()); in writeAnimations() 284 pDomChannel->setSource(url.c_str()); in writeAnimations() 408 pDomAccessor->setSource(url.c_str()); in writeAnimations() 442 pDomInput->setSource(url.c_str()); in writeAnimations() 447 pDomInput->setSource(url.c_str()); in writeAnimations() 452 pDomInput->setSource(url.c_str()); in writeAnimations() [all …]
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgPlugins/dae/ |
H A D | daeWAnimations.cpp | 155 pDomAccessor->setSource(url.c_str()); 179 pDomAccessor->setSource(url.c_str()); 207 pDomAccessor->setSource(url.c_str()); 228 pDomAccessor->setSource(url.c_str()); 249 pDomAccessor->setSource(url.c_str()); 284 pDomChannel->setSource(url.c_str()); 408 pDomAccessor->setSource(url.c_str()); 442 pDomInput->setSource(url.c_str()); 447 pDomInput->setSource(url.c_str()); 452 pDomInput->setSource(url.c_str()); [all …]
|
/dports/graphics/qgis/qgis-3.22.3/src/app/3d/ |
H A D | qgsskyboxrenderingsettingswidget.cpp | 48 panoramicTextureImageSource->setSource( skyboxSettings.panoramicTexturePath() ); in setSkyboxSettings() 50 posXImageSource->setSource( cubeMapFaces[ QStringLiteral( "posX" ) ] ); in setSkyboxSettings() 51 posYImageSource->setSource( cubeMapFaces[ QStringLiteral( "posY" ) ] ); in setSkyboxSettings() 52 posZImageSource->setSource( cubeMapFaces[ QStringLiteral( "posZ" ) ] ); in setSkyboxSettings() 53 negXImageSource->setSource( cubeMapFaces[ QStringLiteral( "negX" ) ] ); in setSkyboxSettings() 54 negYImageSource->setSource( cubeMapFaces[ QStringLiteral( "negY" ) ] ); in setSkyboxSettings() 55 negZImageSource->setSource( cubeMapFaces[ QStringLiteral( "negZ" ) ] ); in setSkyboxSettings()
|
/dports/graphics/qgis-ltr/qgis-3.16.16/src/app/3d/ |
H A D | qgsskyboxrenderingsettingswidget.cpp | 48 panoramicTextureImageSource->setSource( skyboxSettings.panoramicTexturePath() ); in setSkyboxSettings() 50 posXImageSource->setSource( cubeMapFaces[ QStringLiteral( "posX" ) ] ); in setSkyboxSettings() 51 posYImageSource->setSource( cubeMapFaces[ QStringLiteral( "posY" ) ] ); in setSkyboxSettings() 52 posZImageSource->setSource( cubeMapFaces[ QStringLiteral( "posZ" ) ] ); in setSkyboxSettings() 53 negXImageSource->setSource( cubeMapFaces[ QStringLiteral( "negX" ) ] ); in setSkyboxSettings() 54 negYImageSource->setSource( cubeMapFaces[ QStringLiteral( "negY" ) ] ); in setSkyboxSettings() 55 negZImageSource->setSource( cubeMapFaces[ QStringLiteral( "negZ" ) ] ); in setSkyboxSettings()
|