Ben Ramsey
2e674a1713
Merge pull request #118 from barryvdh/optimized
...
Codec to store UUID in an optimized way for InnoDB
2016-08-02 13:53:14 -04:00
Ben Ramsey
e53270fa14
Merge pull request #129 from ifunny/fix-random-node-provider
...
Fix RandomNodeProvider: change the max value in mt_rand() call to prevent invalid node generation
2016-08-02 12:05:02 -04:00
Ondrej Mirtes
aa869f93ff
Fixed undefined classes in GuidStringCodecTest properties
2016-08-01 21:07:53 +02:00
Anton Vasetskiy
4872dac723
Fix code style
2016-07-28 17:49:27 +03:00
Anton Vasetskiy
879fe3cfe2
Fix RandomNodeProvider: change the max value in mt_rand() call to prevent invalid node generation
2016-07-28 16:44:26 +03:00
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
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
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
Barry vd. Heuvel
9112b2bd95
Test OrderedTimeCodecTest exception
2016-04-27 22:32:15 +02:00
Barry vd. Heuvel
ca0cc642aa
Add OrderedTimeCodec + test
2016-04-27 21:38:55 +02:00
Ben Ramsey
fcc5432d74
Fixed test that violated a PHP CodeSniffer rule, breaking the build
2016-04-23 19:29:59 -05:00
Alex Farcas
49cc97f5ee
Implemented timestamp first and timestamp last comb generators
2016-03-29 22:32:55 +03: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
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
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