aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | [ticket/11620] Fixed a typo on check_ban_testasperous2013-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | [ticket/11620] Refactored check_isvalid_test to use session_test_caseasperous2013-07-221-20/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the continue->isvalid refactoring is now in a branch with the session_test_case framework, this test can be refactored to use that framework. PHPBB3-11620
| * | | | | | [ticket/11615] Refactored isvalid test to be more imperativeAndy Chase2013-07-222-85/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring the continue/is_valid test to remove the confusing data provider work around, while still keeping redundancies down to a minimum. PHPBB3-11615
| * | | | | | [ticket/11615] Rename continue -> check_isvalid for clarityAndy Chase2013-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11615
| * | | | | | [ticket/11620] Added a test for checking if users are bannedasperous2013-07-223-0/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | [ticket/11620] Remove typo in beginning of session_key_testasperous2013-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | [ticket/11620] Typo in file name session_key_tests -> testasperous2013-07-221-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | [ticket/11620] Added a session key reset testasperous2013-07-221-5/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | [ticket/11620] Added manual key testasperous2013-07-222-0/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | [ticket/11620] Cherry-Pick merge tests from session-storage-cacheAndy Chase2013-07-222-7/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | [ticket/11620] Abstracted session setUp into a test_case classasperous2013-07-225-56/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When defining a database test case with a setUp function, it is important to call the parent's setup function, because that is when the database is setup. PHPBB3-11620
| * | | | | | [ticket/11620] Removed unnecessary lines and whitespaceAndy Chase2013-07-092-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | [ticket/11620] Rename provider -> mock_auth_providerAndy Chase2013-07-082-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename the class and file name to better match what the class is mocking, as well as implement the interface of that class. PHPBB3-11620
| * | | | | | [ticket/11620] Minor changes to tests for coding standardsAndy Chase2013-07-084-20/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | [ticket/11620] More mock provider methodsAndy Chase2013-07-081-3/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The mock provider object now better matches the interface given for providers. PHPBB3-11620
| * | | | | | [ticket/11620] Added validate_session to provider.Andy Chase2013-07-051-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | [ticket/11620] Implemented a provider mock object.Andy Chase2013-07-052-1/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to an auth_refactor, there is a new dependency in session.php on phpbb_container and a provider. For purposes of testing, implemented a simple one. PHPBB3-11620
| * | | | | | [ticket/11620] Reworked create_test without data providerAndy Chase2013-07-051-42/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | [ticket/11620] Add create_test with test for bot detectionAndy Chase2013-07-052-10/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a test for the creation of a session with a simple test for detecting whether a bot is present. PHPBB3-11620
| * | | | | | [ticket/11620] Fix typo and confusingly named testAndy Chase2013-07-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | [ticket/11620] Add indentation, change quote style.Andy Chase2013-07-051-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | indentation is probably more important than 80 characters per line apparently. Single quotes instead of double per coding guidelines. PHPBB3-11620
| * | | | | | [ticket/11620] Add validate_referrer testAndy Chase2013-07-052-1/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a test for the validate_referrer function. PHPBB3-11620
| * | | | | | [ticket/11620] Remove unneeded functions from testable facadeAndy Chase2013-07-051-49/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are functions listed in testable facade that don't have a lot of dependencies, instead mostly just take the input and perform database functions on them. These can be tested without a testable facade function and so will be removed. PHPBB3-11620
| * | | | | | [ticket/11620] Add ipv6 test cases and remove extra arguments.Andy Chase2013-07-051-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | [ticket/11620] Make testable_facade non-static, expand.Andy Chase2013-07-053-25/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the class functions of testable_facade no longer static methods, but a class based one and expand the methods to be filled in, in later commits. PHPBB3-11620
| * | | | | | [ticket/11620] Add commas in extract_page_testAndy Chase2013-07-051-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | [ticket/11620] Fix quotes in extract_hostname_testAndy Chase2013-07-051-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | [ticket/11620] Add extract_current_hostnameAndy Chase2013-07-052-1/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a tests for extracting the current hostname from session. PHPBB3-11620
| * | | | | | [ticket/11620] Add data provider to extract_pageAndy Chase2013-07-051-14/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These test cases were taken from a live session, more test cases should be added to test specific functionality in this function. PHPBB3-11620
| * | | | | | [ticket/11620] Rename class_functions_test -> extract_page_testAndy Chase2013-07-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Renaming this file because it is going to contain a large data provider, so I'd rather split this test out. PHPBB3-11620
| * | | | | | [ticket/11620] Remove accidental argument from testable_facade.Andy Chase2013-07-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | [ticket/11620] Add test for test_extract_current_pageAndy Chase2013-07-051-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | [ticket/11620] Add testable facade for sessions.phpAndy Chase2013-07-051-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since many functions in session.php have global variables inside the function, this exposes those functions through a testable facade that uses testable_factory's mock global variables to modify global variables used in the functions. This is using the facade pattern to provide a testable "front" to the functions in sessions.php. PHPBB3-11620
* | | | | | | [ticket/11733] Add browse test for feed.phpJoas Schilling2013-07-232-0/+28
| |/ / / / / |/| | | | | | | | | | | | | | | | | PHPBB3-11733
* | | | | | Merge pull request #1513 from nickvergessen/ticket/11582Nathan Guse2013-07-223-3/+43
|\ \ \ \ \ \ | | | | | | | | | | | | | | Ticket/11582 Split permission logic from translations
| * | | | | | [ticket/11582] Correctly add all required fixturesJoas Schilling2013-07-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11582
| * | | | | | [ticket/11582] Fix little typoJoas Schilling2013-07-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11582
| * | | | | | [ticket/11582] Test the event and and fix it.Joas Schilling2013-07-143-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11582
| * | | | | | [ticket/11582] Fix extension permission testsJoas Schilling2013-07-142-2/+41
| | |/ / / / | |/| | | | | | | | | | | | | | | | PHPBB3-11582
* | | | | | Merge pull request #1401 from marc1706/ticket/11531Nathan Guse2013-07-225-0/+353
|\ \ \ \ \ \ | | | | | | | | | | | | | | [ticket/11531] Add basic set of functional tests for new avatar system
| * | | | | | [ticket/11531] Check if uploaded avatar is properly displayed in testsMarc Alexander2013-07-221-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11531
| * | | | | | [ticket/11531] Reduced amount of avatar functional tests to minimumMarc Alexander2013-07-204-349/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The tests were reduced to only test one case that should be correct and one that should fail. Different test cases have been split up over the specific test files for the acp groups, acp users, ucp groups, and ucp users page. PHPBB3-11531
| * | | | | | [ticket/11531] Use abstract class for avatar tests and unify test casesMarc Alexander2013-07-177-385/+686
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11531
| * | | | | | Merge branch 'develop' of https://github.com/phpbb/phpbb3 into ticket/11531Marc Alexander2013-07-1495-673/+4048
| |\ \ \ \ \ \ | | |/ / / / /
| * | | | | | [ticket/11531] Add changes for supporting modified testing frameworkMarc Alexander2013-06-252-45/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Additionally, the groups avatar is deleted after the avatar tests in the ucp groups page in order to prevent issues with other tests that expect that no avatar has been set for the admin group. PHPBB3-11531
| * | | | | | Merge branch 'develop' of https://github.com/phpbb/phpbb3 into ticket/11531Marc Alexander2013-06-1840-427/+1973
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'develop' of https://github.com/phpbb/phpbb3 into ticket/11531Marc Alexander2013-06-0350-75/+1339
| |\ \ \ \ \ \ \
| * | | | | | | | [ticket/11531] Remove incomplete flags for tests after merging PR #1404Marc Alexander2013-05-252-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issues should be fixed by the now resolved ticket PHPBB3-11535: http://tracker.phpbb.com/browse/PHPBB3-11535 PHPBB3-11531
| * | | | | | | | [ticket/11531] Use assertContainsLang() where possibleMarc Alexander2013-05-252-41/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHBB3-11531
| * | | | | | | | [ticket/11531] Add acp and ucp groups functional tests for avatarsMarc Alexander2013-05-132-1/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test for the acp and ucp groups settings are currently marked as incomplete due to a bug that causes the settings to not show an error when incorrect data is entered. However, the avatar data is not saved. That means that even though the error treatment seems to correctly work, the user is never informed of the issues with the submitted avatar data. PHPBB3-11531