-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Additional rigor when parsing URLs, actually use the public suffix list
- Loading branch information
Showing
19 changed files
with
2,145 additions
and
1,812 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
<phpunit | ||
bootstrap="bootstrap.php" | ||
colors="true" | ||
verbose="true" | ||
> | ||
<testsuites> | ||
<testsuite name="Project Test Suite"> | ||
<directory>./tests</directory> | ||
</testsuite> | ||
</testsuites> | ||
<?xml version="1.0"?> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="bootstrap.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" cacheDirectory=".phpunit.cache"> | ||
<testsuites> | ||
<testsuite name="Application Test Suite"> | ||
<file>tests/WPBlockMarkupProcessorTests.php</file> | ||
<file>tests/WPBlockMarkupUrlProcessorTests.php</file> | ||
<file>tests/WPMigrationURLInTextProcessorTests.php</file> | ||
</testsuite> | ||
</testsuites> | ||
</phpunit> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,4 @@ | ||
#!/bin/bash | ||
#COMMAND="phpunit tests/WP_Migration_*" | ||
#COMMAND="phpunit tests/*.php" | ||
#COMMAND="phpunit tests/WP_Block_Markup_Url_Processor_Tests.php" | ||
#COMMAND="phpunit -c phpunit.xml" | ||
#$COMMAND | ||
#fswatch -o ./**/*.php | xargs -n1 -I{} $COMMAND | ||
|
||
for i in $(ls tests/*.php | grep -v URL_Parser); do | ||
phpunit $i | ||
done | ||
COMMAND="phpunit -c ./phpunit.xml" | ||
$COMMAND | ||
fswatch -o ./**/*.php | xargs -n1 -I{} $COMMAND |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.