Skip to content

Commit 0a01310

Browse files
committed
Add tests for dotc.core pickling/unpickling
1 parent de529ac commit 0a01310

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

test/dotc/tests.scala

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,40 @@ class tests extends CompilerTest {
230230
@Test def tasty_dotc_printing = compileDir(dotcDir, "printing", testPickling)
231231
//@Test def tasty_dotc_reporting = compileDir(dotcDir, "reporting", testPickling)
232232
@Test def tasty_dotc_util = compileDir(dotcDir, "util", testPickling)
233+
@Test def tasty_core_annotations = compileFile(coreDir, "Annotations", testPickling)
234+
@Test def tasty_core_constants = compileFile(coreDir, "Constants", testPickling)
235+
@Test def tasty_core_constraint = compileFile(coreDir, "Constraint", testPickling)
236+
@Test def tasty_core_constraint_handling = compileFile(coreDir, "ConstraintHandling", testPickling)
237+
@Test def tasty_core_constraint_run_info = compileFile(coreDir, "ConstraintRunInfo", testPickling)
238+
@Test def tasty_core_contexts = compileFile(coreDir, "Contexts", testPickling)
239+
@Test def tasty_core_decorators = compileFile(coreDir, "Decorators", testPickling)
240+
@Test def tasty_core_definitions = compileFile(coreDir, "Definitions", testPickling)
241+
@Test def tasty_core_denot_transformers = compileFile(coreDir, "DenotTransformers", testPickling)
242+
@Test def tasty_core_denotations = compileFile(coreDir, "Denotations", testPickling)
243+
@Test def tasty_core_flags = compileFile(coreDir, "Flags", testPickling)
244+
@Test def tasty_core_hashable = compileFile(coreDir, "Hashable", testPickling)
245+
@Test def tasty_core_name_ops = compileFile(coreDir, "NameOps", testPickling)
246+
@Test def tasty_core_names = compileFile(coreDir, "Names", testPickling)
247+
@Test def tasty_core_ordering_constraint = compileFile(coreDir, "OrderingConstraint", testPickling)
248+
@Test def tasty_core_periods = compileFile(coreDir, "Periods", testPickling)
249+
@Test def tasty_core_phases = compileFile(coreDir, "Phases", testPickling)
250+
@Test def tasty_core_scopes = compileFile(coreDir, "Scopes", testPickling)
251+
@Test def tasty_core_signature = compileFile(coreDir, "Signature", testPickling)
252+
@Test def tasty_core_std_names = compileFile(coreDir, "StdNames", testPickling)
253+
@Test def tasty_core_substituters = compileFile(coreDir, "Substituters", testPickling)
254+
@Test def tasty_core_sym_denotations = compileFile(coreDir, "SymDenotations", testPickling)
255+
@Test def tasty_core_symbol_loaders = compileFile(coreDir, "SymbolLoaders", testPickling)
256+
@Test def tasty_core_symbols = compileFile(coreDir, "Symbols", testPickling)
257+
@Test def tasty_core_type_applications = compileFile(coreDir, "TypeApplications", testPickling)
258+
@Test def tasty_core_type_comparer = compileFile(coreDir, "TypeComparer", testPickling)
259+
@Test def tasty_core_type_erasure = compileFile(coreDir, "TypeErasure", testPickling)
260+
@Test def tasty_core_type_ops = compileFile(coreDir, "TypeOps", testPickling)
261+
@Test def tasty_core_typer_state = compileFile(coreDir, "TyperState", testPickling)
262+
//@Test def tasty_core_types = compileFile(coreDir, "Types", testPickling)
263+
@Test def tasty_core_uniques = compileFile(coreDir, "Uniques", testPickling)
264+
@Test def tasty_tasty = compileDir(coreDir, "tasty", testPickling)
265+
@Test def tasty_classfile = compileDir(coreDir, "classfile", testPickling)
266+
@Test def tasty_unpickleScala2 = compileDir(coreDir, "unpickleScala2", testPickling)
233267
@Test def tasty_tools_io = compileDir(toolsDir, "io", testPickling)
234268
@Test def tasty_tests = compileDir(testsDir, "tasty", testPickling)
235269
}

0 commit comments

Comments
 (0)