Skip to content

Improved Coverage for RichDataType#67

Merged
tovbinm merged 5 commits intosalesforce:masterfrom
himsmittal:hm/coverage
Aug 17, 2018
Merged

Improved Coverage for RichDataType#67
tovbinm merged 5 commits intosalesforce:masterfrom
himsmittal:hm/coverage

Conversation

@himsmittal
Copy link
Copy Markdown
Contributor

  • Improved Coverage for RichDataType
    Added test case for checking nullability for ArrayType , MapType

@salesforce-cla
Copy link
Copy Markdown

Thanks for the contribution! Before we can merge this, we need @himsmittal to sign the Salesforce.com Contributor License Agreement.

@codecov
Copy link
Copy Markdown

codecov bot commented Aug 17, 2018

Codecov Report

Merging #67 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #67   +/-   ##
=======================================
  Coverage   85.79%   85.79%           
=======================================
  Files         298      298           
  Lines        9760     9760           
  Branches      535      535           
=======================================
  Hits         8374     8374           
  Misses       1386     1386

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e5e2073...0f83630. Read the comment docs.

Copy link
Copy Markdown
Collaborator

@tovbinm tovbinm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! only one minor comment.

in(ds) noneOf "f2" should ((x: Double) => x > 3.5)
}

it should "only compare types and ignore nullability" in {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor correction: lets replace it in this test case with Spec(com.salesforce.op.utils.spark.RichDataType.getClass).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed usage of "it" to reflect RichDataType.
Thanks

@tovbinm tovbinm merged commit 48b2d9e into salesforce:master Aug 17, 2018
ericwayman pushed a commit that referenced this pull request Feb 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants