Commit Graph

2662 Commits

Author SHA1 Message Date
Robert Stoll
94f32506ad add isNoneOf and isNotIn to scala api 2020-08-25 23:23:58 +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
bfc5ad1541 Merge pull request #558 from robstoll/#337-filter-jasmine-in-stacktraces
#337 filter jasmine in stacktraces
2020-08-22 22:51:55 +02:00
Robert Stoll
b95925c49d filter jasmine (mocha) only out if sub-dir of node_modules 2020-08-20 22:52:24 +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
cf330c8d82 Merge pull request #557 from robstoll/#507-Path.hasSameTextualContent-infix
#507 Path.hasSameTextualContent for the infix API
2020-08-19 22:22:43 +02:00
Zaza
b63677aa98 filter jasmine out in stackframes 2020-08-19 22:05:24 +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
e0ee949af1 add infix API and adjust Spec accordingly 2020-08-19 21:49:07 +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
1d3b1838ae add string overload for ChronoLocalDateTime fun to infix API 2020-08-19 21:10:38 +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
Robert Stoll
f20a4d8bdf Change travis link to .com 2020-08-06 06:34:52 +02:00
Robert Stoll
41094ac4dc Change travis link to .com 2020-08-06 06:31:05 +02:00
Anes Abismail
3a3f0468e0 Update Any.isNotIn to expect IterableLike 2020-07-29 22:27:31 +01:00
Anes Abismail
b156fd7c36 Add Any.isNoneOf and Any.isNotIn assertions 2020-07-29 11:54:14 +01:00
Robert Stoll
b3800212f8 Merge pull request #553 from robstoll/finalise-IterableLike
Finalise iterable like
2020-07-29 07:56:05 +02: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
Robert Stoll
09a3091d72 improve KDoc concerning IterableLike and CharSequenceOrNumberOrChar 2020-07-28 13:46:22 +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
dependabot[bot]
cda32284f9 Bump lodash from 4.17.15 to 4.17.19 in /gradle
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-20 09:28:19 +02:00
Zaza
fca5afa56f removed unused imports from AdjustStackTest.kt 2020-07-16 07:53:15 +02:00
Robert Stoll
825f96a42c Merge pull request #547 from z13z/477-fix-2
#477 fix deprecation of containsDefaultTranslationOf
2020-07-15 19:39:11 +02:00
Zaza
f5db0f3a69 API #477 #comment removed wrong replaceWith from new deprecations 2020-07-15 21:15:31 +04:00
Robert Stoll
f3b3a888a2 Merge pull request #546 from z13z/477-fx
API #477 added deprecations for containsDefaultTranslationOf
2020-07-15 15:58:59 +02:00
Zaza
3483324fa5 API #477 #comment added required deprecations again 2020-07-14 03:10:37 +04:00
Robert Stoll
13f90be5ac Merge pull request #543 from robstoll/#483-description-is-less-than-or-equal
API #483 #comment replaced usages IS_LESS_OR_EQUALS and IS_GREATER_OR…
2020-07-13 16:26:55 +02: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
477d0923ff suppress symbol-from-unnamed-modul-bug in atrium-logic-jvm 2020-07-11 23:45:29 +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
5cc17e036c re-phrase might create to creates in api-infix
might create comes from old times `Assert` where we did not check yet
that an assertionCreator-lambda has to create an assertion
2020-07-11 23:42:56 +02:00
Robert Stoll
96c829693e Merge pull request #538 from robstoll/deprecate-part-of-ExpectImpl
Deprecate part of expect impl
2020-07-11 23:40:47 +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
4988d942b6 Merge pull request #537 from robstoll/documentation-update
Documentation update
2020-07-10 23:30:02 +02:00
Robert Stoll
f6fb618046 add KDoc to AssertionContainer and all Expect types 2020-07-10 23:04:44 +02:00
Robert Stoll
9df9fea14a mark all new Expect types as experimental including getImpl 2020-07-10 23:00:29 +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
3449818d9f Merge pull request #535 from robstoll/spec-isEqualComparingTo
add test case for class with different equals/compareTo
2020-07-10 07:19:20 +02:00
Robert Stoll
23ed3301f6 add test case for class with different equals/compareTo 2020-07-09 22:01:21 +02:00