Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

βœ… Test code samples from API reference #645

Closed
67 tasks done
LVMVRQUXL opened this issue Apr 16, 2024 · 0 comments
Closed
67 tasks done

βœ… Test code samples from API reference #645

LVMVRQUXL opened this issue Apr 16, 2024 · 0 comments
Assignees
Labels
common Item related to all platforms. documentation Improvements or additions to documentation.
Milestone

Comments

@LVMVRQUXL
Copy link
Contributor

LVMVRQUXL commented Apr 16, 2024

πŸ“ Description

We want to test all code samples present in the API reference of the types Gradle subproject by moving them to the samples subproject and referencing them from the documentation.

πŸ”— Dependencies

This issue is blocked by the following items:

βœ… Checklist

  • βœ… Test samples of StrictlyPositiveInt.unaryMinus() function.
  • βœ… Test samples of NegativeInt.unaryMinus() function.
  • βœ… Test samples of AnyInt.unaryMinus() function.
  • βœ… Test samples of NonZeroInt.unaryMinus() function.
  • βœ… Test samples of StrictlyNegativeInt.unaryMinus() function.
  • βœ… Test samples of PositiveInt.unaryMinus() function.
  • βœ… Test samples of notEmptyListOf(E, vararg E) function.
  • βœ… Test samples of Collection.toNotEmptyList() function.
  • βœ… Test samples of NotEmptyList's serialization processes.
  • βœ… Test samples of NotEmptyList.toList() function.
  • βœ… Test samples of NotEmptyList.Companion.create(Collection) function.
  • βœ… Test samples of NotEmptyList.Companion.createOrNull(Collection) function.
  • βœ… Test samples of NotEmptyList.Companion.of(E, vararg E) function.
  • βœ… Test samples of NotEmptyCollection.head property.
  • βœ… Test samples of NotEmptyCollection.tail property.
  • βœ… Test samples of NotEmptyCollection.toString() function.
  • βœ… Test samples of notEmptyMapOf(Pair, vararg Pair) function.
  • βœ… Test samples of Map.toNotEmptyMap() function.
  • βœ… Test samples of NotEmptyMap's serialization processes.
  • βœ… Test samples of NotEmptyMap.Companion.create(Map) function.
  • βœ… Test samples of NotEmptyMap.Companion.createOrNull(Map) function.
  • βœ… Test samples of NotEmptyMap.Companion.of(Pair, vararg Pair) function.
  • βœ… Test samples of NotEmptyMap.head property.
  • βœ… Test samples of NotEmptyMap.tail property.
  • βœ… Test samples of NotEmptyMap.entries property.
  • βœ… Test samples of NotEmptyMap.keys property.
  • βœ… Test samples of NotEmptyMap.values property.
  • βœ… Test samples of NotEmptyMap.size property.
  • βœ… Test samples of NotEmptyMap.toMap() function.
  • βœ… Test samples of NotEmptyMap.toString() function.
  • βœ… Test samples of notEmptySetOf(E, vararg E) function.
  • βœ… Test samples of Collection.toNotEmptySet() function.
  • βœ… Test samples of NotEmptySet's serialization processes.
  • βœ… Test samples of NotEmptySet.Companion.create(Collection) function.
  • βœ… Test samples of NotEmptySet.Companion.createOrNull(Collection) function.
  • βœ… Test samples of NotEmptySet.Companion.of(E, vararg E) function.
  • βœ… Test samples of NotEmptySet.toSet() function.
  • βœ… Test samples of AnyInt's serialization processes.
  • βœ… Test samples of NegativeInt's serialization processes.
  • βœ… Test samples of NegativeInt.Companion.create function.
  • βœ… Test samples of NegativeInt.Companion.createOrNull function.
  • βœ… Test samples of NonZeroInt's serialization processes.
  • βœ… Test samples of NonZeroInt.Companion.create function.
  • βœ… Test samples of NonZeroInt.Companion.createOrNull function.
  • βœ… Test samples of PositiveInt's serialization processes.
  • βœ… Test samples of PositiveInt.Companion.create function.
  • βœ… Test samples of PositiveInt.Companion.createOrNull function.
  • βœ… Test samples of StrictlyNegativeDouble's serialization processes.
  • βœ… Test samples of StrictlyNegativeDouble.Companion.create function.
  • βœ… Test samples of StrictlyNegativeDouble.Companion.createOrNull function.
  • βœ… Test samples of StrictlyNegativeDouble.equals function.
  • βœ… Test samples of StrictlyNegativeDouble.hashCode function.
  • βœ… Test samples of StrictlyNegativeDouble.toDouble function.
  • βœ… Test samples of StrictlyNegativeDouble.toString function.
  • βœ… Test samples of StrictlyNegativeInt's serialization processes.
  • βœ… Test samples of StrictlyNegativeInt.Companion.create function.
  • βœ… Test samples of StrictlyNegativeInt.Companion.createOrNull function.
  • βœ… Test samples of StrictlyPositiveInt's serialization processes.
  • βœ… Test samples of StrictlyPositiveInt.Companion.create function.
  • βœ… Test samples of StrictlyPositiveInt.Companion.createOrNull function.
  • βœ… Test samples of ZeroInt's serialization processes.
  • βœ… Test samples of NotBlankString's serialization processes.
  • βœ… Test samples of NotBlankString.Companion.create function.
  • βœ… Test samples of NotBlankString.Companion.createOrNull function.
  • βœ… Test samples of NotBlankString.plus function.
  • πŸ‘· Enable samples checks in the Gradle build script of the types subproject.
@LVMVRQUXL LVMVRQUXL added documentation Improvements or additions to documentation. common Item related to all platforms. labels Apr 16, 2024
@LVMVRQUXL LVMVRQUXL modified the milestone: 4.5.1 Apr 16, 2024
@LVMVRQUXL LVMVRQUXL self-assigned this Apr 17, 2024
LVMVRQUXL added a commit that referenced this issue Apr 22, 2024
Uses collapsing sections for splitting Kotlin and Java samples.
Also tests these samples.

Ref: #645
@LVMVRQUXL LVMVRQUXL modified the milestones: 4.5.1, 4.6.0 Apr 23, 2024
@LVMVRQUXL LVMVRQUXL modified the milestones: 4.6.0, 4.5.2 Apr 29, 2024
LVMVRQUXL added a commit that referenced this issue May 6, 2024
This commit tests the Kotlin samples present in the documentation of the `NotEmptyList.Companion.createOrNull(Collection)` function.

Ref: #645
LVMVRQUXL added a commit that referenced this issue May 6, 2024
This commit tests the Kotlin sample present in the documentation of the `NotEmptyList.Companion.of(E, vararg E)` function.

Ref: #645
LVMVRQUXL added a commit that referenced this issue May 6, 2024
This commit moves Kotlin samples of top-level declarations associated with the `NotEmptyList` type to a new `NotEmptyListKtKotlinSample` class.

Ref: #645
@LVMVRQUXL LVMVRQUXL modified the milestones: 4.5.2, 4.6.0 May 17, 2024
LVMVRQUXL added a commit that referenced this issue May 26, 2024
This commit tests the samples of the `StrictlyNegativeDouble.Companion.create(Number)` function.
LVMVRQUXL added a commit that referenced this issue May 26, 2024
This commit updates the Kotlin and the Java samples of the `StrictlyNegativeDouble.Companion.create(Number)` function.

Ref: #645
LVMVRQUXL added a commit that referenced this issue May 26, 2024
This commit tests the samples of the `StrictlyNegativeDouble.Companion.createOrNull(Number)` function.

Ref: #645
@LVMVRQUXL LVMVRQUXL changed the title βœ… Testing code samples present in API reference βœ… Testing code samples from API reference May 26, 2024
@LVMVRQUXL LVMVRQUXL changed the title βœ… Testing code samples from API reference βœ… Test code samples from API reference May 26, 2024
LVMVRQUXL added a commit that referenced this issue May 27, 2024
This commit also fixes the Java sample of this function.
LVMVRQUXL added a commit that referenced this issue May 31, 2024
This commit tests the Kotlin sample of the `StrictlyNegativeInt.Companion.create(Number)` function.

Ref: #645
LVMVRQUXL added a commit that referenced this issue May 31, 2024
This commit tests the Kotlin sample of the `StrictlyNegativeInt.Companion.createOrNull(Number)` function.

Ref: #645
LVMVRQUXL added a commit that referenced this issue May 31, 2024
This commit tests the Kotlin sample of the `StrictlyPositiveInt.Companion.create(Number)` function.

Ref: #645
LVMVRQUXL added a commit that referenced this issue May 31, 2024
This commit tests the Kotlin sample of the `StrictlyPositiveInt.Companion.createOrNull(Number)` function.

Ref: #645
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common Item related to all platforms. documentation Improvements or additions to documentation.
Projects
None yet
Development

No branches or pull requests

1 participant