/dports/www/mediawiki136/mediawiki-1.36.3/tests/phpunit/includes/content/ |
H A D | FallbackContentTest.php | 14 public function newContent( $data, $type = 'xyzzy' ) { function in FallbackContentTest 26 $content = $this->newContent( 'Horkyporky' ); 42 $content = $this->newContent( 'Horkyporky ~~~' ); 54 $content = $this->newContent( 'Horkyporky ~~~' ); 89 $content = $this->newContent( 'Horkyporky' ); 97 $content = $this->newContent( 'Horkyporky' ); 105 $content = $this->newContent( 'hello world.' ); 115 $content = $this->newContent( 'hello world.' ); 124 $content = $this->newContent( 'hello world.' ); 133 $content = $this->newContent( 'hello world.' ); [all …]
|
H A D | WikitextContentTest.php | 24 public function newContent( $text ) { function in WikitextContentTest 129 $content = $this->newContent( $text ); 184 $content = $this->newContent( $text ); 195 $content = $this->newContent( 'hello world' ); 328 $content = $this->newContent( "hello world." ); 329 $newContent = $content->updateRedirect( $target ); 342 $newContent->getRedirectTarget()->getFullText() 350 $content = $this->newContent( "hello world." ); 359 $content = $this->newContent( "hello world." ); 386 $content = $this->newContent( 'hello world.' ); [all …]
|
H A D | TextContentTest.php | 45 public function newContent( $text ) { function in TextContentTest 124 $content = $this->newContent( $text ); 151 $content = $this->newContent( $text ); 170 $content = $this->newContent( $text ); 185 $content = $this->newContent( $text ); 212 $content = $this->newContent( $text ); 247 $content = $this->newContent( $text ); 256 $content = $this->newContent( 'hello world.' ); 340 $content = $this->newContent( $text ); 445 $content = $this->newContent( $text ); [all …]
|
/dports/www/mediawiki135/mediawiki-1.35.5/tests/phpunit/includes/content/ |
H A D | UnknownContentTest.php | 12 public function newContent( $data, $type = 'xyzzy' ) { function in UnknownContentTest 24 $content = $this->newContent( 'Horkyporky' ); 40 $content = $this->newContent( 'Horkyporky ~~~' ); 52 $content = $this->newContent( 'Horkyporky ~~~' ); 87 $content = $this->newContent( 'Horkyporky' ); 95 $content = $this->newContent( 'Horkyporky' ); 103 $content = $this->newContent( 'hello world.' ); 113 $content = $this->newContent( 'hello world.' ); 122 $content = $this->newContent( 'hello world.' ); 131 $content = $this->newContent( 'hello world.' ); [all …]
|
H A D | WikitextContentTest.php | 24 public function newContent( $text ) { function in WikitextContentTest 129 $content = $this->newContent( $text ); 184 $content = $this->newContent( $text ); 195 $content = $this->newContent( 'hello world' ); 328 $content = $this->newContent( "hello world." ); 329 $newContent = $content->updateRedirect( $target ); 342 $newContent->getRedirectTarget()->getFullText() 350 $content = $this->newContent( "hello world." ); 359 $content = $this->newContent( "hello world." ); 386 $content = $this->newContent( 'hello world.' ); [all …]
|
H A D | TextContentTest.php | 51 public function newContent( $text ) { function in TextContentTest 130 $content = $this->newContent( $text ); 157 $content = $this->newContent( $text ); 176 $content = $this->newContent( $text ); 191 $content = $this->newContent( $text ); 218 $content = $this->newContent( $text ); 253 $content = $this->newContent( $text ); 262 $content = $this->newContent( 'hello world.' ); 346 $content = $this->newContent( $text ); 451 $content = $this->newContent( $text ); [all …]
|
/dports/www/mediawiki137/mediawiki-1.37.1/tests/phpunit/includes/content/ |
H A D | FallbackContentTest.php | 36 $content = $this->newContent( 'Horkyporky' ); 66 $content = $this->newContent( '[[Horkyporky]]' ); 74 $content = $this->newContent( 'Horkyporky' ); 82 $content = $this->newContent( 'Horkyporky' ); 90 $content = $this->newContent( 'hello world.' ); 100 $content = $this->newContent( 'hello world.' ); 109 $content = $this->newContent( 'hello world.' ); 118 $content = $this->newContent( 'hello world.' ); 127 $content = $this->newContent( 'hello world.' ); 170 $content = $this->newContent( $text ); [all …]
|
H A D | WikitextContentTest.php | 24 public function newContent( $text ) { 63 $content = $this->newContent( $text ); 118 $content = $this->newContent( $text ); 129 $content = $this->newContent( 'hello world' ); 249 $content = $this->newContent( "hello world." ); 250 $newContent = $content->updateRedirect( $target ); 263 $newContent->getRedirectTarget()->getFullText() 271 $content = $this->newContent( "hello world." ); 280 $content = $this->newContent( "hello world." ); 307 $content = $this->newContent( 'hello world.' ); [all …]
|
H A D | TextContentTest.php | 43 public function newContent( $text ) { function in TextContentTest 107 $content = $this->newContent( $text ); 122 $content = $this->newContent( $text ); 149 $content = $this->newContent( $text ); 184 $content = $this->newContent( $text ); 193 $content = $this->newContent( 'hello world.' ); 202 $content = $this->newContent( 'hello world.' ); 213 $content = $this->newContent( 'hello world.' ); 277 $content = $this->newContent( $text ); 334 $content = $this->newContent( $text ); [all …]
|
/dports/sysutils/helm/helm-3.5.2/vendor/k8s.io/apiserver/pkg/server/dynamiccertificates/ |
H A D | tlsconfig.go | 123 newContent := &dynamicCertificateContent{} 130 newContent.clientCA = caBundleContent{caBundle: currClientCABundle} 148 …newContent.sniCerts = append(newContent.sniCerts, sniCertKeyContent{certKeyContent: certKeyContent… 151 return newContent, nil 157 newContent, err := c.newTLSContent() 163 if newContent.Equal(c.currentlyServedContent) { 171 if len(newContent.clientCA.caBundle) > 0 { 173 newClientCAs, err := cert.ParseCertsPEM(newContent.clientCA.caBundle) 189 if len(newContent.servingCert.cert) > 0 && len(newContent.servingCert.key) > 0 { 190 cert, err := tls.X509KeyPair(newContent.servingCert.cert, newContent.servingCert.key) [all …]
|
/dports/sysutils/kubectl/kubernetes-1.22.2/staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/ |
H A D | tlsconfig.go | 123 newContent := &dynamicCertificateContent{} 130 newContent.clientCA = caBundleContent{caBundle: currClientCABundle} 148 …newContent.sniCerts = append(newContent.sniCerts, sniCertKeyContent{certKeyContent: certKeyContent… 151 return newContent, nil 157 newContent, err := c.newTLSContent() 163 if newContent.Equal(c.currentlyServedContent) { 171 if len(newContent.clientCA.caBundle) > 0 { 173 newClientCAs, err := cert.ParseCertsPEM(newContent.clientCA.caBundle) 189 if len(newContent.servingCert.cert) > 0 && len(newContent.servingCert.key) > 0 { 190 cert, err := tls.X509KeyPair(newContent.servingCert.cert, newContent.servingCert.key) [all …]
|
/dports/www/mediawiki135/mediawiki-1.35.5/includes/diff/ |
H A D | SlotDiffRenderer.php | 47 * @param Content|null $newContent 50 abstract public function getDiff( Content $oldContent = null, Content $newContent = null ); argument 79 Content &$oldContent = null, Content &$newContent = null, $allowedClasses = null 81 if ( !$oldContent && !$newContent ) { 90 Assert::parameterType( $allowedClasses . '|null', $newContent, '$newContent' ); 94 $oldContent = $newContent->getContentHandler()->makeEmptyContent(); 95 } elseif ( !$newContent ) { 96 $newContent = $oldContent->getContentHandler()->makeEmptyContent();
|
/dports/www/mediawiki137/mediawiki-1.37.1/includes/diff/ |
H A D | SlotDiffRenderer.php | 47 * @param Content|null $newContent 50 abstract public function getDiff( Content $oldContent = null, Content $newContent = null ); argument 79 Content &$oldContent = null, Content &$newContent = null, $allowedClasses = null 81 if ( !$oldContent && !$newContent ) { 90 Assert::parameterType( $allowedClasses . '|null', $newContent, '$newContent' ); 94 $oldContent = $newContent->getContentHandler()->makeEmptyContent(); 95 } elseif ( !$newContent ) { 96 $newContent = $oldContent->getContentHandler()->makeEmptyContent();
|
/dports/www/mediawiki136/mediawiki-1.36.3/includes/diff/ |
H A D | SlotDiffRenderer.php | 47 * @param Content|null $newContent 50 abstract public function getDiff( Content $oldContent = null, Content $newContent = null ); argument 79 Content &$oldContent = null, Content &$newContent = null, $allowedClasses = null 81 if ( !$oldContent && !$newContent ) { 90 Assert::parameterType( $allowedClasses . '|null', $newContent, '$newContent' ); 94 $oldContent = $newContent->getContentHandler()->makeEmptyContent(); 95 } elseif ( !$newContent ) { 96 $newContent = $oldContent->getContentHandler()->makeEmptyContent();
|
/dports/www/mediawiki135/mediawiki-1.35.5/tests/phpunit/integration/includes/Storage/ |
H A D | UndoIntegrationTest.php | 95 * @param string $newContent 103 string $newContent, argument 121 $newContent, 166 $newContent, 276 * @param string $newContent 286 string $newContent, argument 313 $newContent, 341 string $newContent, argument 353 $newContent, 392 string $newContent, argument [all …]
|
/dports/net/traefik/traefik-2.6.1/vendor/github.com/jcchavezs/porto/ |
H A D | import.go | 52 newContent := []byte{} 54 newContent = append(newContent, content[0:startPackageLinePos]...) 56 newContent = append(newContent, []byte("package "+packageName)...) 57 newContent = append(newContent, importComment...) 58 newContent = append(newContent, content[endPackageLinePos:]...) 60 return bytes.Compare(content, newContent) != 0, newContent, nil 87 hasChanged, newContent, err := addImportPath(absDir+pathSeparator+fileName, moduleName) 95 err = writeContentToFile(absFilepath, newContent) 111 fmt.Println(string(newContent))
|
/dports/www/mediawiki137/mediawiki-1.37.1/tests/phpunit/unit/includes/editpage/Constraint/ |
H A D | AutoSummaryMissingSummaryConstraintTest.php | 36 $newContent = $this->createMock( Content::class ); 37 $newContent->expects( $this->once() ) 41 $newContent->expects( $this->once() ) 48 $newContent, 56 $newContent = $this->createMock( Content::class ); 57 $newContent->expects( $this->once() ) 61 $newContent->expects( $this->once() ) 68 $newContent,
|
/dports/www/mediawiki136/mediawiki-1.36.3/tests/phpunit/unit/includes/editpage/Constraint/ |
H A D | AutoSummaryMissingSummaryConstraintTest.php | 36 $newContent = $this->createMock( Content::class ); 37 $newContent->expects( $this->once() ) 41 $newContent->expects( $this->once() ) 48 $newContent, 56 $newContent = $this->createMock( Content::class ); 57 $newContent->expects( $this->once() ) 61 $newContent->expects( $this->once() ) 68 $newContent,
|
/dports/www/matomo/piwik/plugins/CustomJsTracker/ |
H A D | TrackerUpdater.php | 111 $newContent = $trackingCode->manipulateContent(); 113 return $newContent; 131 $newContent = $this->getUpdatedTrackerFileContent(); 133 if (!$this->toFile->isFileContentSame($newContent)) { 134 $savedFiles = $this->toFile->save($newContent); 148 $this->updateAlternative('piwik.js', 'matomo.js', $newContent); 149 $this->updateAlternative('matomo.js', 'piwik.js', $newContent); 152 private function updateAlternative($fromFile, $toFile, $newContent) argument 157 if ($file->hasWriteAccess() && !$file->isFileContentSame($newContent)) { 158 $savedFiles = $file->save($newContent);
|
/dports/www/mediawiki137/mediawiki-1.37.1/tests/phpunit/unit/includes/diff/ |
H A D | UnsupportedSlotDiffRendererTest.php | 17 $newContent = $this->createMock( TextContent::class ); 18 $newContent->method( 'getModel' )->willReturn( CONTENT_MODEL_TEXT ); 19 $newContent->method( 'getContentHandler' )->willReturn( new TextContentHandler() ); 26 yield [ '(unsupported-content-diff)', null, $newContent ]; 27 yield [ '(unsupported-content-diff)', $oldContent, $newContent ]; 28 yield [ '(unsupported-content-diff2)', $badContent, $newContent ]; 37 public function testDiff( $expected, $oldContent, $newContent ) { argument 48 $this->assertStringContainsString( $expected, $sdr->getDiff( $oldContent, $newContent ) );
|
/dports/www/mediawiki136/mediawiki-1.36.3/tests/phpunit/unit/includes/diff/ |
H A D | UnsupportedSlotDiffRendererTest.php | 17 $newContent = $this->createMock( TextContent::class ); 18 $newContent->method( 'getModel' )->willReturn( CONTENT_MODEL_TEXT ); 19 $newContent->method( 'getContentHandler' )->willReturn( new TextContentHandler() ); 26 yield [ '(unsupported-content-diff)', null, $newContent ]; 27 yield [ '(unsupported-content-diff)', $oldContent, $newContent ]; 28 yield [ '(unsupported-content-diff2)', $badContent, $newContent ]; 37 public function testDiff( $expected, $oldContent, $newContent ) { argument 48 $this->assertStringContainsString( $expected, $sdr->getDiff( $oldContent, $newContent ) );
|
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/matrix-org/gomatrixserverlib/ |
H A D | redactevent.go | 141 var newContent allContent 146 newContent.createContent = event.Content.createContent 148 newContent.memberContent = event.Content.memberContent 155 newContent.memberContent.AuthorisedVia = "" 158 newContent.joinRulesContent = event.Content.joinRulesContent 165 newContent.joinRulesContent.Allow = nil 168 newContent.powerLevelContent = event.Content.powerLevelContent 170 newContent.historyVisibilityContent = event.Content.historyVisibilityContent 175 newContent.aliasesContent = event.Content.aliasesContent 180 event.Content = newContent
|
/dports/www/mediawiki136/mediawiki-1.36.3/includes/editpage/Constraint/ |
H A D | AutoSummaryMissingSummaryConstraint.php | 53 private $newContent; variable in MediaWiki\\EditPage\\Constraint\\AutoSummaryMissingSummaryConstraint 65 * @param Content $newContent 72 Content $newContent, argument 78 $this->newContent = $newContent; 85 !$this->newContent->equals( $this->originalContent ) && 86 !$this->newContent->isRedirect() &&
|
/dports/www/mediawiki137/mediawiki-1.37.1/includes/editpage/Constraint/ |
H A D | AutoSummaryMissingSummaryConstraint.php | 53 private $newContent; variable in MediaWiki\\EditPage\\Constraint\\AutoSummaryMissingSummaryConstraint 65 * @param Content $newContent 72 Content $newContent, argument 78 $this->newContent = $newContent; 85 !$this->newContent->equals( $this->originalContent ) && 86 !$this->newContent->isRedirect() &&
|
/dports/misc/usd/USD-21.11/pxr/base/tf/testenv/ |
H A D | safeOutputFile.cpp | 116 string newContent; in TestReplaceNewFile() local 117 getline(ifs, newContent); in TestReplaceNewFile() 118 TF_AXIOM(newContent == "New Content"); in TestReplaceNewFile() 150 string newContent; in TestReplaceExistingFile() local 151 getline(ifs, newContent); in TestReplaceExistingFile() 152 TF_AXIOM(newContent == "New Content"); in TestReplaceExistingFile() 186 string newContent; in TestUpdateExistingFile() local 187 getline(ifs, newContent); in TestUpdateExistingFile() 188 TF_AXIOM(newContent == "New Content"); in TestUpdateExistingFile() 234 string newContent; in TestReplaceSymlink() local [all …]
|