Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed review issues
  • Loading branch information
Damtev committed Jul 7, 2022
commit 4526d3ba3f97d239dcd8195e8e66978753f4bf67
2 changes: 1 addition & 1 deletion docs/SpeculativeFieldNonNullability.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ most of generated branches would be `NPE` branches, while useful paths could be
Beyond that, in many cases the `null` value of a field can't be generated using the public API
of the class. This is particularly true for final fields, especially in system classes.
it is also often true for non-public fields from standard library and third-party libraries (even setters often do not
allow `null` values). Automatically generated tests assign `null` values to fields in questions using reflection,
allow `null` values). Automatically generated tests assign `null` values to fields using reflection,
but these tests may be uninformative as the corresponding `NPE` branches would never occur
in the real code that limits itself to the public API.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ object UtSettings {
var checkNpeInNestedNotPrivateMethods by getBooleanProperty(false)

/**
* This option determines whether should we generate [NullPointerException] checks for final or non-public fields
* This option determines whether we should generate [NullPointerException] checks for final or non-public fields
* in non-application classes. Set by true, this option highly decreases test's readability in some cases
* because of using reflection API for setting final/non-public fields in non-application classes.
*
Expand Down