Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
RequiredPropertiesSourceTest fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ph4r05 committed Dec 8, 2016
1 parent 46afa50 commit fb3afcd
Showing 1 changed file with 96 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,22 @@ public void testJ6() {
" }",
"",
" /**",
" * Returns true if the required property corresponding to",
" * {@link Person#getName()} is set.",
" */",
" public boolean isPropertyNameSet() {",
" return _unsetProperties.contains(Person_Builder.Property.NAME);",
" }",
"",
" /**",
" * Returns true if the required property corresponding to",
" * {@link Person#getAge()} is set.",
" */",
" public boolean isPropertyAgeSet() {",
" return _unsetProperties.contains(Person_Builder.Property.AGE);",
" }",
"",
" /**",
" * Returns a newly-created {@link Person} based on the contents of the {@code Builder}.",
" *",
" * @throws IllegalStateException if any field has not been set",
Expand Down Expand Up @@ -447,6 +463,22 @@ public void testJ7() {
" }",
"",
" /**",
" * Returns true if the required property corresponding to",
" * {@link Person#getName()} is set.",
" */",
" public boolean isPropertyNameSet() {",
" return _unsetProperties.contains(Person_Builder.Property.NAME);",
" }",
"",
" /**",
" * Returns true if the required property corresponding to",
" * {@link Person#getAge()} is set.",
" */",
" public boolean isPropertyAgeSet() {",
" return _unsetProperties.contains(Person_Builder.Property.AGE);",
" }",
"",
" /**",
" * Returns a newly-created {@link Person} based on the contents of the {@code Builder}.",
" *",
" * @throws IllegalStateException if any field has not been set",
Expand Down Expand Up @@ -708,6 +740,22 @@ public void testJ6_noGuava() {
" }",
"",
" /**",
" * Returns true if the required property corresponding to",
" * {@link Person#getName()} is set.",
" */",
" public boolean isPropertyNameSet() {",
" return _unsetProperties.contains(Person_Builder.Property.NAME);",
" }",
"",
" /**",
" * Returns true if the required property corresponding to",
" * {@link Person#getAge()} is set.",
" */",
" public boolean isPropertyAgeSet() {",
" return _unsetProperties.contains(Person_Builder.Property.AGE);",
" }",
"",
" /**",
" * Returns a newly-created {@link Person} based on the contents of the {@code Builder}.",
" *",
" * @throws IllegalStateException if any field has not been set",
Expand Down Expand Up @@ -981,6 +1029,22 @@ public void testJ7_noGuava() {
" }",
"",
" /**",
" * Returns true if the required property corresponding to",
" * {@link Person#getName()} is set.",
" */",
" public boolean isPropertyNameSet() {",
" return _unsetProperties.contains(Person_Builder.Property.NAME);",
" }",
"",
" /**",
" * Returns true if the required property corresponding to",
" * {@link Person#getAge()} is set.",
" */",
" public boolean isPropertyAgeSet() {",
" return _unsetProperties.contains(Person_Builder.Property.AGE);",
" }",
"",
" /**",
" * Returns a newly-created {@link Person} based on the contents of the {@code Builder}.",
" *",
" * @throws IllegalStateException if any field has not been set",
Expand Down Expand Up @@ -1270,6 +1334,22 @@ public void testJ8() {
" }",
"",
" /**",
" * Returns true if the required property corresponding to",
" * {@link Person#getName()} is set.",
" */",
" public boolean isPropertyNameSet() {",
" return _unsetProperties.contains(Person_Builder.Property.NAME);",
" }",
"",
" /**",
" * Returns true if the required property corresponding to",
" * {@link Person#getAge()} is set.",
" */",
" public boolean isPropertyAgeSet() {",
" return _unsetProperties.contains(Person_Builder.Property.AGE);",
" }",
"",
" /**",
" * Returns a newly-created {@link Person} based on the contents of the {@code Builder}.",
" *",
" * @throws IllegalStateException if any field has not been set",
Expand Down Expand Up @@ -1528,6 +1608,22 @@ public void testPrefixless() {
" }",
"",
" /**",
" * Returns true if the required property corresponding to",
" * {@link Person#name()} is set.",
" */",
" public boolean isPropertyNameSet() {",
" return _unsetProperties.contains(Person_Builder.Property.NAME);",
" }",
"",
" /**",
" * Returns true if the required property corresponding to",
" * {@link Person#age()} is set.",
" */",
" public boolean isPropertyAgeSet() {",
" return _unsetProperties.contains(Person_Builder.Property.AGE);",
" }",
"",
" /**",
" * Returns a newly-created {@link Person} based on the contents of the {@code Builder}.",
" *",
" * @throws IllegalStateException if any field has not been set",
Expand Down

0 comments on commit fb3afcd

Please sign in to comment.