Skip to content

Add test for dotc.core pickling/unpickling #985

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

Merged
merged 1 commit into from
Dec 2, 2015

Conversation

VladimirNik
Copy link
Contributor

Tests for doc.core pickling/unpickling:
dotc.core
dotc.core.tasty
dotc.core.classfile
dotc.core.unpickleScala2

core/Types.scala is not presented in tests because Types contains transformed OR type after unpickling.

Review by @DarkDimius

@VladimirNik
Copy link
Contributor Author

/rebuild

1 similar comment
@VladimirNik
Copy link
Contributor Author

/rebuild

@VladimirNik VladimirNik force-pushed the tasty-core-test branch 6 times, most recently from 94a30cc to 0a01310 Compare December 1, 2015 16:48
@@ -230,6 +230,40 @@ class tests extends CompilerTest {
@Test def tasty_dotc_printing = compileDir(dotcDir, "printing", testPickling)
//@Test def tasty_dotc_reporting = compileDir(dotcDir, "reporting", testPickling)
@Test def tasty_dotc_util = compileDir(dotcDir, "util", testPickling)
@Test def tasty_core_annotations = compileFile(coreDir, "Annotations", testPickling)
Copy link
Contributor

Choose a reason for hiding this comment

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

instead of having a test per file, would you consider using compileList to test them all together?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@DarkDimius fixed

@DarkDimius
Copy link
Contributor

Otherwise LGTM

@DarkDimius
Copy link
Contributor

LGTM

DarkDimius added a commit that referenced this pull request Dec 2, 2015
Add test for dotc.core pickling/unpickling
@DarkDimius DarkDimius merged commit 2a5a193 into scala:master Dec 2, 2015
@allanrenucci allanrenucci deleted the tasty-core-test branch December 14, 2017 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants