Commit Graph

504 Commits

Author SHA1 Message Date
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
Ben Ramsey e8b615187e Merge pull request #104 from jmauerhan/add-generator-test-coverage
Add src/Generator test coverage
2016-03-23 12:02:37 -03:00
Jessica Mauerhan 420d570ac7 phpcbf updates 2016-03-23 10:00:52 -04:00
Jessica Mauerhan ad468a8e14 factory test 2016-03-23 09:55:15 -04:00
Jessica Mauerhan e97b62a643 PECL UUID tests
- Added test case to share common stuff
- Added tests for Random type
2016-03-23 09:50:49 -04:00
Jessica Mauerhan 77dd2bc8f0 fix spacing 2016-03-23 09:26:47 -04:00
Jessica Mauerhan 944a202b0a fixing clean so it doesn't run on hhvm 2016-03-23 09:20:56 -04:00
Jessica Mauerhan 4c2a18bb78 prevent UUID_TYPE_TIME already defined error 2016-03-23 09:13:32 -04:00
Jessica Mauerhan f18ac81244 include unprocessed files in coverage 2016-03-23 09:12:29 -04:00
Jessica Mauerhan 43b9b537a1 file line endings, tried using phpcbf so I can run phpcs locally and not get crazy output 2016-03-23 09:05:37 -04:00
Jessica Mauerhan b0484d3cab Fixing too long lines 2016-03-23 08:58:55 -04:00
Jessica Mauerhan 20ec151c9e Fixing too long lines 2016-03-23 08:43:22 -04:00
Jessica Mauerhan f93018f756 added open ssl generator tests 2016-03-23 08:37:20 -04:00
Jessica Mauerhan 35189e2a72 extend custom test case 2016-03-23 08:29:16 -04:00
Jessica Mauerhan 84cb29bb04 Set clockSeq on most tests, avoid calling mt_rand
- Just to ensure tests run isolated and not waste time using the mt_rand
  method.
2016-03-23 08:26:34 -04:00
Jessica Mauerhan 4cdb910b8c Tests DefaultTimeGenerator->generate 2016-03-23 08:24:43 -04:00
Jessica Mauerhan ce30f4d87a test stubs for DefaultTimeGenerator 2016-03-23 07:31:26 -04:00
Jessica Mauerhan e8cd683385 Move to correct namespace/directory 2016-03-23 07:26:04 -04:00
Jessica Mauerhan 7e8fef0ce1 merge 2016-03-23 07:23:42 -04:00
Jessica Mauerhan 89a1252eb9 add new line - thought I configured PHP Storm to do this already...grrr 2016-03-23 07:03:35 -04:00
Jessica Mauerhan 70d7d6ff0b excluding aspect mock on hhvm 2016-03-22 19:25:52 -04:00
Jessica Mauerhan 61bded7d74 Skipping AspectMock tests on HHVM. 2016-03-22 16:50:36 -04:00
Ben Ramsey 90d81effda Update 2.8 reference in README to 2.9
[ci skip]
2016-03-22 15:49:24 -03:00
Ben Ramsey f44f53e5ce Update CHANGELOG notes for version 3.3.0
[ci skip]
3.3.0
2016-03-22 15:40:53 -03:00
Ben Ramsey e2cda88b33 Merge branch '2.x' 2016-03-22 15:37:08 -03:00
Ben Ramsey 4aac31920d Merge pull request #101 from ramsey/3.x/random_compat
Drop the use of OpenSSL as a fallback and use paragonie/random_compat
2016-03-22 15:35:14 -03:00
Ben Ramsey 7c5751d6fa Add 3.x-dev Composer branch alias for dev-master
[ci skip]
2016-03-22 15:29:26 -03:00
Ben Ramsey b2ef4dd958 Merge pull request #100 from ramsey/2.x/random_compat
Drop OpenSSL support and use paragonie/random_compat
2.9.0
2016-03-22 15:20:19 -03:00
Ben Ramsey 04ad192962 Merge branch '2.x/random_compat' into 3.x/random_compat 2016-03-22 14:54:20 -03:00
Ben Ramsey b64eb3039a Allow ^1.0|^2.0 for paragonie/random_compat for those depending on 1.x 2016-03-22 14:50:32 -03:00
Jessica Mauerhan 0068b1be55 Specifying versions of aspect-mock and goaop that should work on 5.4 2016-03-22 11:33:28 -04:00
Jessica Mauerhan 767a935ff3 revert uuid test 2016-03-22 11:27:43 -04:00
Jessica Mauerhan 2c6e4b8b32 Add new line 2016-03-22 11:26:38 -04:00
Jessica Mauerhan 090c0cf188 PeclUuidGenerator tests. Added collaboration and correctness test 2016-03-22 11:13:01 -04:00
Jessica Mauerhan 737a33270d use AspectMock on Generator tests 2016-03-22 11:12:42 -04:00
Jessica Mauerhan dfd89e2275 Add AspectMock for mocking built-in functions
It's possible to do this without the library, but the library makes it
simpler, so we don't have to have a bunch of extra files in the test code
base for each of the mocked methods in the namespace, and then manually
require them. This is much cleaner and I think makes it more obvious what
the mock is doing.
2016-03-22 11:11:33 -04:00
Ben Ramsey aac769438c Update release date for 3.3.0 in CHANGELOG 2016-03-22 11:57:57 -03:00
Ben Ramsey 78824fdd37 Merge branch '2.x/random_compat' into 3.x/random_compat 2016-03-22 11:57:46 -03:00
Ben Ramsey 0e75414866 Use stable version of paragonie/random_compat 2016-03-22 11:54:28 -03:00
Jessica Mauerhan cfe3f84dbb Added coverage for uuid methods 2016-03-22 10:01:16 -04:00
Ben Ramsey 2e5c7c8e99 Merge branch '2.8' 2016-03-17 11:25:18 -05:00
Ben Ramsey 8d94d71d18 Add code of conduct to the 2.8 branch for inclusion in new 2.x releases 2016-03-17 11:19:53 -05:00
Ben Ramsey 3c636a7e65 Update code to conduct to version 1.4 of the Contributor Covenant 2016-03-17 11:14:50 -05:00