Commit Graph

548 Commits

Author SHA1 Message Date
Ben Ramsey f03d3216fe Follow similar pattern to that shown in other tests for system node 2016-06-25 00:23:57 +02:00
Ben Ramsey 42d24d5b44 Fix failing test due to collisions caused by not being run in isolation 2016-06-25 00:20:21 +02:00
Ben Ramsey e865a0e2ff Merge branch '107_cache_system_node_provider' of https://github.com/MLoureiro/uuid into MLoureiro-107_cache_system_node_provider 2016-06-24 23:58:19 +02:00
Ben Ramsey 3080c7c5fb Merge pull request #122 from MLoureiro/remove_duplicated_str_replace_method_call
Remove duplicated call to str_replace()
2016-06-24 16:21:32 -05:00
Marcos ab81ad278a Remove duplicated call to str_replace() 2016-06-24 20:46:51 +02:00
Marcos 6cb7128cbe Cover that SystemNodeProvider::getNode returns false when it doesn't find node 2016-06-24 20:46:21 +02:00
Ben Ramsey 369bd5ae21 Ignore coding standards on lines in test 2016-06-24 16:44:21 +02:00
Ben Ramsey 5c46b950c1 Merge branch 'MLoureiro-fix_failure_test_on_travis' 2016-06-24 16:42:21 +02:00
Ben Ramsey 39fffde153 Merge branch 'fix_failure_test_on_travis' of https://github.com/MLoureiro/uuid into MLoureiro-fix_failure_test_on_travis 2016-06-24 16:41:56 +02:00
Ben Ramsey 22226169cd Limit PHPUnit use to <5.4 to avoid deprecation warnings in master 2016-06-24 16:40:07 +02:00
Ben Ramsey 6da0571b6e Update Travis builds to use Travis-installed PHP instead of Docker
The Docker images currently do not have all the proper dependencies for
some newly-updated dependent packages (i.e. iconv), so we're using
standard Travis for the moment.
2016-06-24 16:14:04 +02:00
Marcos dce9d0cb7d Remove real call to ifconfig on unit test 2016-06-23 21:37:29 +02:00
Marcos 5dbd993b4b Execute system call only once even if the node is not found 2016-06-23 21:03:07 +02:00
Ben Ramsey b4fe3b7387 Updating CHANGELOG notes for version 3.4.1 3.4.1 2016-04-23 19:30:41 -05:00
Ben Ramsey ec9774cc0f Updated CONTRIBUTING to include "tests" when running phpcs 2016-04-23 19:30:18 -05:00
Ben Ramsey fcc5432d74 Fixed test that violated a PHP CodeSniffer rule, breaking the build 2016-04-23 19:29:59 -05:00
Ben Ramsey fb12163881 Update CHANGELOG notes for version 3.4.0 3.4.0 2016-04-23 19:08:55 -05:00
Ben Ramsey f75a9afda9 Merge pull request #102 from ghola/master
Implemented timestamp first and timestamp last comb generators
2016-03-29 19:15:16 -05:00
Alex Farcas 49cc97f5ee Implemented timestamp first and timestamp last comb generators 2016-03-29 22:32:55 +03:00
Ben Ramsey ced5ee568b Merge pull request #112 from jmauerhan/test-coverage-codec
Test coverage Codec
2016-03-29 13:34:39 -05:00
Jessica Mauerhan 53e4bfe231 add uuid teardown - tearing down all set private variables reduces memory usage, prevents phpunit from running out of memory 2016-03-27 17:16:48 -04:00
Jessica Mauerhan 9e096d64e5 add bigEndian versions 2016-03-27 16:50:24 -04:00
Jessica Mauerhan 152eb4098d fix covers annotation 2016-03-27 16:46:44 -04:00
Jessica Mauerhan 0cc0f861c8 these tests don't work on little-end systems 2016-03-27 16:20:54 -04:00
Jessica Mauerhan 520a9b373e these tests don't work on little-end systems 2016-03-27 16:09:49 -04:00
Jessica Mauerhan 0438b61701 adding aspect mock back, accidentally removed it 2016-03-27 15:26:19 -04:00
Jessica Mauerhan 85122cce5a Test File Cleanup
- Added coverage annotations
- Fixed one test that didn't extend library's base test case
- Removed tear downs that are duplicated by test case default
- Added Mockery::close into test case default tear down
2016-03-27 15:23:35 -04:00
Jessica Mauerhan fce5d67a0f guidstringcodec tests 2016-03-27 15:15:30 -04:00
Jessica Mauerhan 7a070982c6 test stubs 2016-03-27 14:50:50 -04:00
Jessica Mauerhan ed04e666d0 decode tests 2016-03-27 13:53:38 -04:00
Jessica Mauerhan 0ec7e7e68e StringCodec encode tests 2016-03-27 10:39:13 -04:00
Jessica Mauerhan b3b6576057 Test stubs for StringCodec 2016-03-27 10:29:04 -04:00
Ben Ramsey 3c1e3ebeed Merge pull request #108 from jmauerhan/test-coverage-providers
Test coverage providers
2016-03-26 10:55:56 -05:00
Jessica Mauerhan 085ad639b3 Update assertion messages 2016-03-25 22:16:18 -04:00
Jessica Mauerhan 90de4d9699 phpcbf 2016-03-24 18:42:12 -04:00
Jessica Mauerhan 9c7394340c time provider test 2016-03-24 15:25:08 -04:00
Jessica Mauerhan 05735aa7b7 SystemTimeProviderTests 2016-03-24 14:59:38 -04:00
Jessica Mauerhan 4a01e13524 FixedTimeProviderTests 2016-03-24 14:51:03 -04:00
Jessica Mauerhan b96296a8e0 phpcbf 2016-03-24 14:08:36 -04:00
Jessica Mauerhan 1f611f92a2 need to skip this test on HHVM, Aspect Mock doesn't work there. 2016-03-24 10:57:04 -04:00
Jessica Mauerhan c8ba5c05cc fixing formatting 2016-03-24 10:33:24 -04:00
Jessica Mauerhan cca8b814e7 Switching to Mocks instead of Anon Classes
Yay PHP7, whoops everyone else :) Updated mocks/stubs to use the mock
builder instead of using the anon classes which only work in PHP7.
2016-03-24 10:25:39 -04:00
Jessica Mauerhan 8417fe5b4f Added tests for subsequent calls to getNode 2016-03-24 10:12:07 -04:00
Jessica Mauerhan 0c5d83178e SystemNodeProviderTest 2016-03-24 10:00:35 -04:00
Jessica Mauerhan 1d2b4b429f AspectMock all src 2016-03-24 10:00:28 -04:00
Jessica Mauerhan 8be30d6f57 AspectMock teardown into TestCase
This way we don't have to remember to clean the AspectMocks whenever we
use it, it's automatically cleaned.
2016-03-24 09:59:52 -04:00
Jessica Mauerhan 56bb897a88 RandomNodeProvider tests 2016-03-24 08:29:05 -04:00
Jessica Mauerhan d2ba73fe13 FallbackNodeProvider tests. 2016-03-24 08:19:55 -04:00
Ben Ramsey e1154f94bf Merge pull request #105 from localheinz/fix/unused
Fix: Remove unused imports
2016-03-23 15:17:11 -03:00
Andreas Möller 33d758c0ca Fix: Remove unused imports 2016-03-23 18:51:13 +01:00