Fyorl
7005002069
[ticket/10972] Added methods for creating and deleting basic users
...
Modified the login method to allow logging in of an arbitrary user.
Also added tests for the new functionality.
PHPBB3-10972
2012-12-06 22:10:09 -05:00
Andreas Fischer
aa9aa28fa2
Merge remote-tracking branch 'p/ticket/11202' into develop
...
* p/ticket/11202:
[ticket/11202] Fix comment char, use more descriptive comment.
[ticket/11202] Add response assertions to file upload functional test.
2012-11-29 20:01:44 +01:00
David King
305f41cf1a
[feature/controller] Fix misnamed route for functional test
...
PHPBB3-10864
2012-11-19 13:16:55 -05:00
David King
01ec608593
[feature/controller] Fix comments, check against more general HttpException
...
PHPBB3-10864
2012-11-19 12:55:15 -05:00
David King
f8614bfc84
[feature/controller] Check for proper status codes from controllers
...
PHPBB3-10864
2012-11-19 12:37:20 -05:00
Oleg Pudeyev
7ec94208c4
[ticket/11202] Fix comment char, use more descriptive comment.
...
PHPBB3-11202
2012-11-18 14:32:48 -05:00
Oleg Pudeyev
440c66267e
[ticket/11202] Add response assertions to file upload functional test.
...
PHPBB3-11202
2012-11-18 14:15:23 -05:00
David King
7a3d9ed85d
[feature/controller] Fix functional tests to use query string for controllers
...
PHPBB3-10864
2012-11-18 13:11:24 -05:00
David King
4efbb893b7
[feature/controller] Fix line endings and permissions, and check responses
...
PHPBB3-10864
2012-11-16 17:36:39 -05:00
David King
5b013ddf5c
[feature/controller] Add controller functional test with template
...
PHPBB3-10864
2012-11-16 17:06:01 -05:00
David King
ba1acdca03
[feature/controller] Use warning instead of echo for copy() and unlink()
...
PHPBB3-10864
2012-11-16 17:06:00 -05:00
David King
0c75d3d7da
[feature/controller] Add test for missing argument in controller class
...
PHPBB3-10864
2012-11-16 17:05:57 -05:00
David King
7691755883
[feature/controller] Adapt functional tests given new controller framework
...
PHPBB3-10864
2012-11-16 17:05:54 -05:00
Oleg Pudeyev
8917b31e31
[ticket/11202] Check response success before content assertions.
...
This does not change tests that perform requests which are either
clearly not supposed to succeed or are a gray area.
PHPBB3-11202
2012-11-15 14:54:13 -05:00
Andreas Fischer
b9e1caa81a
Merge branch 'develop-olympus' into develop
...
* develop-olympus:
[ticket/11202] Custom message does not make sense here, delete it.
[ticket/11202] Check response success before content assertions.
[ticket/11202] Add a heuristic function to check for response success.
Conflicts:
tests/test_framework/phpbb_functional_test_case.php
2012-11-15 20:24:37 +01:00
Oleg Pudeyev
dc61fd1091
[ticket/11202] Check response success before content assertions.
...
This does not change tests that perform requests which are either
clearly not supposed to succeed or are a gray area.
PHPBB3-11202
2012-11-15 08:25:14 -05:00
Nils Adermann
4fde4abe55
Merge branch 'develop-olympus' into develop
...
* develop-olympus:
[task/functional] Fixed DEBUG_TEST related issues
[task/functional] Allow tests to bypass certain restrictions with DEBUG_TEST
[task/functional] Added posting tests (reply and new topic)
2012-09-01 17:06:59 +02:00
David King
7dfe26dd78
[task/functional] Allow tests to bypass certain restrictions with DEBUG_TEST
...
PHPBB3-10758
2012-09-01 10:37:44 -04:00
David King
7cffebbd49
[task/functional] Added posting tests (reply and new topic)
...
PHPBB-10758
2012-09-01 10:37:03 -04:00
Fyorl
fa4eaeb306
[ticket/10992] Changed octetstream to octet-stream
...
PHPBB3-10992
2012-07-16 18:24:45 +02:00
Fyorl
e9a1189bfc
[ticket/10992] test_empty_file() now tries to upload the correct file
...
PHPBB3-10992
2012-07-16 18:24:35 +02:00
Fyorl
91050356d3
[ticket/10992] Modified upload tests to work with new version
...
PHPBB3-10992
2012-07-16 18:24:16 +02:00
Fyorl
c8059cf7e7
[ticket/10941] Fixed form test test_too_large
...
PHPBB3-10941
2012-07-09 14:08:20 +01:00
Fyorl
8d43a6e851
[ticket/10941] Replaced use of English with language system
...
PHPBB3-10941
2012-07-09 14:08:20 +01:00
Fyorl
e0b63df6a4
[ticket/10941] Renamed classes and filenames so that tests run
...
Also fixed some minor issues that weren't flagged before because
the tests were being ignored.
PHPBB3-10941
2012-07-09 14:08:20 +01:00
Fyorl
6a1c686025
[ticket/10941] Moved comment into markTestIncomplete parameter
...
PHPBB3-10941
2012-07-09 14:08:20 +01:00
Fyorl
9f3a02d475
[ticket/10941] Removed manual includes of mock classes
...
Also marked a test as incomplete even though this appears to be
ignored when actually running the tests.
PHPBB3-10941
2012-07-09 14:08:20 +01:00
Fyorl
b65f08dd95
[ticket/10941] Rearranged tests into their own classes or methods
...
PHPBB3-10941
2012-07-09 14:08:19 +01:00
Fyorl
a4717ef525
[ticket/10941] Removed the incomplete mark as is_image is fixed
...
Had to remove one of the tests due to a small limitation with the
functional testing framework. May mark the test as incomplete again
pending further comments.
PHPBB3-10941
2012-07-09 14:08:19 +01:00
Fyorl
61d74007a4
[ticket/10941] Minor typo fixes
...
Removed superfluous $user = null; that was left over from refactoring.
PHPBB3-10941
2012-07-09 14:08:19 +01:00
Fyorl
19405a7f47
[ticket/10941] Now actually checks for the value of errors.
...
Uses phpbb_mock_lang to return the key used when setting errors to
allow that key to be checked for during tests rather than just checking
if any error was set.
PHPBB3-10941
2012-07-09 14:08:19 +01:00
Fyorl
59a7b10f14
[ticket/10941] Added a comment explaining the incomplete test
...
PHPBB3-10941
2012-07-09 14:08:18 +01:00
Fyorl
82ca2c8b08
[ticket/10941] Minor adjustments as per PR comments
...
Added some comments clarifying globals and lowercased fixture filenames
PHPBB3-10941
2012-07-09 14:08:18 +01:00
Fyorl
1233544c4a
[ticket/10941] Marked broken test as incomplete
...
PHPBB3-10941
2012-07-09 14:08:18 +01:00
Fyorl
5693036bf9
[ticket/10941] Added functional tests for the fileupload class
...
NOTE: test_form_upload() is broken. Uploading files via Symfony fails to
retain $_FILES['fileupload']['type'] even if it set explicitely. This appears
to be a bug in Symfony. Since the current version of filespec::is_image()
relies on the mimetype, these tests will __fail__. filespec::is_image() has
been fixed in https://github.com/phpbb/phpbb3/pull/833 however.
PHPBB3-10941
2012-07-09 14:08:17 +01:00
Nils Adermann
3852f78bb4
Merge pull request #796 from imkingdavid/ticket/10837
...
[ticket/10837] Removed tearDownAfterClass() from extension_controller_test.php
2012-06-11 14:30:33 -07:00
Nils Adermann
6956a6eb00
Merge branch 'develop-olympus' into develop
...
By David King
via David King (1) and Nils Adermann (1)
* develop-olympus:
[task/functional] Use proper format for @var doc blocks.
[task/functional] Fix $lang_path variable
[task/functional] Change property visibility, remove globals, reword comment
[task/functional] Make sure missing language values are handled properly
[task/functional] Increase code coverage for functional tests
Conflicts:
tests/test_framework/phpbb_functional_test_case.php
2012-05-22 18:11:08 +02:00
David King
5b96b5fce7
[ticket/10837] Removed tearDownAfterClass() from extension_controller_test.php
...
PHPBB3-10837
2012-05-07 10:39:49 -04:00
David King
b82c77b38f
[task/functional] Make sure missing language values are handled properly
...
PHPBB3-10758
2012-04-24 14:10:50 -04:00
David King
8cf0b79a47
[task/functional] Increase code coverage for functional tests
...
PHPBB3-10758
2012-04-23 17:16:16 -04:00
Patrick Webster
6293bbf099
[ticket/10492] Fix line endings
...
PHPBB3-10492
2012-04-21 05:24:57 -05:00
Patrick Webster
2aa994b5ad
[ticket/10492] Backporting functional tests
...
PHPBB3-10492
2012-04-21 04:37:57 -05:00
David King
caf47f8e19
[ticket/10586] Removed incorrect method call
...
PHPBB3-10586
2012-03-28 20:21:54 -04:00
David King
35805a2740
[ticket/10586] Moved some loading stuff below extension controller, updated tests
...
PHPBB3-10586
2012-03-28 16:48:16 -04:00
David King
7c3ebcc3ff
[ticket/10586] Added space in if statement
...
PHPBB3-10586
2012-03-28 15:34:24 -04:00
David King
6a0bad8c0b
[ticket/10586] Tests finally work (thanks naderman)
...
PHPBB3-10586
2012-03-19 09:56:48 -04:00
Nils Adermann
1bbb32a5cf
[ticket/10586] Correctly purge board cache and don't rename install directory
...
PHPBB3-10586
2012-03-19 09:12:34 -04:00
David King
76e6195194
[ticket/10586] trying to get tests to work
...
PHPBB3-10586
2012-03-19 09:12:34 -04:00
David King
7d1e4bca33
[ticket/10586] more work on getting tests to pass
...
PHPBB3-10586
2012-03-19 09:12:34 -04:00
David King
4100b312bb
[ticket/10586] Tests are coming along, just a little more to go
...
PHPBB3-10586
2012-03-19 09:12:33 -04:00