Robert Stoll
48ca077ccf
introduce expectLambda in atrium-logic, deprecate subExpect in builders
2020-09-19 14:31:03 +02:00
Robert Stoll
d6dcda2854
move nullable helpers to atrium-logic
...
- deprecate the one in domain-builders
- update links in README, point to logic
2020-09-18 22:32:25 +02:00
Robert Stoll
4dedab42da
move mapArguments to atrium-logic
...
- deprecate the one in domain-builders
- update usages
- update ReadmeSpec (and in consequence README.md)
2020-09-18 22:28:01 +02:00
Robert Stoll
2e8ab2e2f9
move toVarArg to atrium-logic
...
- deprecate the one in domain-builders
- allow that one can define further IterableLikeToIterable converters
2020-09-18 21:13:32 +02:00
Robert Stoll
9acd057a69
deprecate IterableAssertionsBuilder and co. in domain-builders
...
as well as CharSequenceContainsAssertionsBuilder and co.
2020-09-18 21:04:14 +02:00
Robert Stoll
f2f248755c
deprecate ...OptionBase in domain-builders
...
as well as the helper methods for IterableContains.Builder and
CheckerOption
2020-09-18 21:04:14 +02:00
Robert Stoll
9340199fd5
add IterableLike and CharSequenceOrNumberOrChar to atrium-logic
2020-09-18 21:04:13 +02:00
Robert Stoll
88d26c7a10
cleanup impl packages, should always come last
2020-09-11 22:29:17 +02:00
Robert Stoll
7812092258
api-infix excluding bcc-tests and deprecation
...
had to update some Specs which used `size` instead of translated `SIZE`
2020-09-11 21:45:51 +02:00
Robert Stoll
f3fc569a58
fix IterableLikeSpec, no idea why I added the deprecated parameter
2020-09-11 21:45:50 +02:00
Robert Stoll
26b6f626e1
api-fluent excluding bcc-tests and deprecation
2020-09-11 21:45:49 +02:00
Valefant
4974b35c39
Provide type information for the backwards compatibility generated ChronoLocalDateAssertionSpec
2020-09-08 21:24:35 +02:00
Valefant
502343d714
Accept a string for ChronoLocalDate (WIP)
2020-09-06 09:30:30 +02:00
Robert Stoll
0592373d46
deprecate steps in API as well as base steps in domain-builders
...
as well as ExpectImpl.charSequence and all related classes in
domain-builders and domain-robstoll(-lib)
2020-09-01 21:37:34 +02:00
Robert Stoll
daf7def673
re-add old CharSequenceContains classes to retain bbc
2020-09-01 21:34:52 +02:00
Robert Stoll
b760a59a35
improve KDoc of CharSequenceContains and co. / update packages.md
2020-09-01 20:19:58 +02:00
Robert Stoll
7880e9b2ba
implement CharSequenceContains in atrium-logic incl. checkers etc.
...
- move the builders from the API to atrium-logic and reuse them in both
APIs. So far we separated it because another API could have other
steps. However, it is very unlikely that someone else comes up with an
entirely different API.
- move the implementation from atrium-domain-builders to atrium-logic
- use the same generative approach for CharSequenceContainsAssertions as
it was used for other assertions (re-factor generateLogic accordingly)
this commit does not include the deprecation of corresponding builders
in atrium-domain-builders and the APIs (will follow in a separate
commit).
2020-09-01 20:19:58 +02:00
Robert Stoll
4a3a2ff291
remove cc-infix tests, they are covered by bcTests
...
and we don't plan to provide fixes for this API any more.
2020-08-28 22:34:37 +02:00
Robert Stoll
a405fe5561
fix typo in module description, specs instead of spec
2020-08-26 21:48:46 +02:00
Robert Stoll
7029cc6985
Merge pull request #554 from anesabml/#180-add-isNoneOf-isNotIn
...
Add Any.isNoneOf and Any.isNotIn assertions
2020-08-25 21:55:49 +02:00
Anes Abismail
bdd894b892
Add tests for Any.isNoneOf and Any.isNotIn assertions
...
and update error message, reflect IterableLike
2020-08-25 21:55:32 +02:00
Robert Stoll
12a7a24616
Merge pull request #556 from robstoll/#481-ChronoLocalDateTime-as-string
...
#481 ChronoLocalDateTime as string
2020-08-19 22:43:23 +02:00
Robert Stoll
9bb53ee3bd
fix bc for 0.12.0 due to Kotlin type inference problems
2020-08-19 22:03:26 +02:00
Robert Stoll
951b0e1c62
cleanup wrong changes in fluent and improvements in infix API
...
replace EncodingWithCreator with PathWithEncoding (and move to
correct package)
2020-08-19 21:53:41 +02:00
Zaza
66ca042f90
also check default arguments in spec for hasSameTextualContent
2020-08-19 21:42:22 +02:00
Robert Stoll
2d4a80bbe9
check that shortcut with only hours fails
2020-08-19 21:11:07 +02:00
Robert Stoll
f62807d780
move spec for ChronoLocalDateTime as String to specs
...
this way it can be re-used by the infix API.
moreover:
- add missing import
- add ambiguity tests for the string overloads
2020-08-19 21:01:33 +02:00
rkiselev
a87ad04c89
accept ChronoLocalDateTime as String in ISO 8601 format
2020-08-19 21:01:33 +02:00
Anes Abismail
3a3f0468e0
Update Any.isNotIn to expect IterableLike
2020-07-29 22:27:31 +01:00
Robert Stoll
eaec449e60
introduce IterableLikeSpec and simplify existing specs
2020-07-28 14:27:15 +02:00
Robert Stoll
9fef310a63
add TODO to move IterableLike and VarArgHelper to atrium-logic
2020-07-28 13:51:08 +02:00
Anes Abismail
b176ea8be0
#479 Allow Iterable, Sequence and Array to be passed to elementsOf ( #551 )
...
* Add IterableLike typealias
* Rewrite toVarArg to accept IterableLike
* Add elementsOf functions to api-fluent that take IterableLike
* Add tests for elementsOf that accepts IterableLike
* Add elementsOf functions that take IterableLike to api-infix and add tests
2020-07-27 20:51:32 +02:00
Zaza
f5db0f3a69
API #477 #comment removed wrong replaceWith from new deprecations
2020-07-15 21:15:31 +04:00
Zaza
3483324fa5
API #477 #comment added required deprecations again
2020-07-14 03:10:37 +04:00
Robert Stoll
4892a2c0d1
configure exceptions for bcTests due to reporting change
2020-07-13 15:00:29 +02:00
Zaza
022c5e1a4b
API #483 #comment replaced usages IS_LESS_OR_EQUALS and IS_GREATER_OR_EQUALS with IS_LESS_THAN_OR_EQUAL and IS_GREATER_THAN_OR_EQUAL
2020-07-13 12:47:09 +02:00
Robert Stoll
d63a8956a2
reformat @file:Suppress JAVA_MODULE_DOES_NOT_READ_UNNAMED_MODULE
2020-07-11 23:45:50 +02:00
Robert Stoll
4981df0581
update packages.md and add KDoc to assertion functions in atrium-logic
...
adopt generateLogic accordingly, don't output the KDoc of the assertion
interface to the generated file.
2020-07-11 23:45:24 +02:00
Robert Stoll
6a58622656
move LazyThreadUnsafeAssertionGroup to impl.assertions
2020-07-11 23:42:56 +02:00
Robert Stoll
6248e4e2fb
deprecate ExpectImpl.changeSubject; use _logic.changeSubject
2020-07-11 21:58:37 +02:00
Robert Stoll
c2269c8a89
deprecate ExpectImpl.builder; use assertionBuilder directly
2020-07-11 21:58:37 +02:00
Robert Stoll
771b5ccf1c
deprecate ExpectImpl.collector
2020-07-11 21:27:58 +02:00
Robert Stoll
f414de16e6
update README, use _logic instead of ExpectImpl
...
and get rid of domain-robstoll mentions and links
2020-07-10 22:57:56 +02:00
Robert Stoll
b194aa68ec
add KDoc to utils in atrium-logic and add collectForComposition
2020-07-10 22:57:55 +02:00
Robert Stoll
23ed3301f6
add test case for class with different equals/compareTo
2020-07-09 22:01:21 +02:00
Robert Stoll
56c86c4c1d
deprecate properties of AssertImpl and add some TODOs for 0.14.0
2020-07-09 21:29:57 +02:00
Robert Stoll
9fb93c6af7
deprecate LazyThreadUnsafe...AssertionGroup in domain-robstoll-lib
...
and remove LazyThreadUnsafeBasicAssertion from atrium-logic we
don't use it anywhere so better not port it to atrium-logic but let
it die instead
2020-07-09 21:29:56 +02:00
Robert Stoll
a534308807
deprecate dependOn_atrium_domain_robstoll
2020-07-08 23:09:31 +02:00
Robert Stoll
4f9b08ae09
move EitherSpec from domain-builders to atrium-logic
...
and rename changeLeft/Right to extractLeft/Right
2020-07-08 23:02:53 +02:00
Robert Stoll
3221e632d3
deprecate assertion interface entry points in domain-api
2020-07-08 22:59:10 +02:00