Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHPTests for the DOMDocument::loadHTMLfile #340

Closed
wants to merge 1 commit into from

Conversation

dejalatele
Copy link
Contributor

PHPTests for the DOMDocument::loadHTMLfile method
They cover

  • The basic behaviour
  • When the method receives as argument a file which doesn't exist
  • When the argument is an empty string
  • When an empty file is loaded
  • When a not-well formed html file is loaded

It also includes 2 auxilary files

  • An empty html file
  • A not well formed html file

Tested in:
PHP_VERSION : 5.3.5-1ubuntu7.11
ZEND_VERSION: 2.3.0
PHP_OS : Linux - Linux 2.6.38-16-generic #67-Ubuntu SMP Thu Sep 6 18:00:43 UTC 2012 i686

They cover
- The basic behaviour
- When the method receives as argument a file which doesn't exist
- When the argument is an empty string
- When an empty file is loaded
- When a not-well formed html file is loaded

It also includes 2 auxilary files
- An empty html file
- A not well formed html file
@php-pulls
Copy link

Comment on behalf of stas at php.net:

merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants