Package

scala.tools

partest

Permalink

package partest

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. partest
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. type ClassPath[T] = nsc.util.ClassPath[T]

    Permalink
  2. abstract class CompilerTest extends DirectTest

    Permalink

    For testing compiler internals directly.

    For testing compiler internals directly. Each source code string in "sources" will be compiled, and the check function will be called with the source code and the resulting CompilationUnit. The check implementation should test for what it wants to test and fail (via assert or other exception) if it is not happy.

  3. implicit final class Copier extends AnyVal

    Permalink
  4. abstract class DirectTest extends App

    Permalink

    A class for testing code which is embedded as a string.

    A class for testing code which is embedded as a string. It allows for more complete control over settings, compiler configuration, sequence of events, etc. than does partest.

  5. type Directory = reflect.io.Directory

    Permalink
  6. implicit class ExecutorOps extends AnyRef

    Permalink
  7. type File = java.io.File

    Permalink
  8. implicit class FileOps extends AnyRef

    Permalink
  9. abstract class IcodeTest extends DirectTest

    Permalink

    A trait for testing icode.

    A trait for testing icode. All you need is this in a partest source file:

    object Test extends IcodeTest

    And then the generated output will be the icode for everything in that file. See source for possible customizations.

  10. implicit final class LoaderOps extends AnyVal

    Permalink
  11. abstract class MemoryTest extends AnyRef

    Permalink
  12. class PartestTask extends Task with CompilationPathProperty with ScalaTask

    Permalink

    An Ant task to execute the Scala test suite (NSC).

    An Ant task to execute the Scala test suite (NSC).

    This task can take the following parameters as attributes:

    • srcdir,
    • classpath,
    • classpathref,
    • erroronfailed,
    • javacmd,
    • javaccmd,
    • scalacopts,
    • debug,
    • junitreportdir.

    It also takes the following parameters as nested elements:

    • compilationpath. -- TODO: this parameter is now redundant: it's the same as the classpath used to run the task
  13. type Path = reflect.io.Path

    Permalink
  14. implicit class PathOps extends FileOps

    Permalink
  15. type PathResolver = util.PathResolver

    Permalink
  16. type SFile = reflect.io.File

    Permalink
  17. abstract class SecurityTest extends App

    Permalink
  18. trait StoreReporterDirectTest extends DirectTest

    Permalink
  19. type StringWriter = java.io.StringWriter

    Permalink
  20. sealed abstract class TestState extends AnyRef

    Permalink
  21. trait TestUtil extends AnyRef

    Permalink

Value Members

  1. val ClassPath: nsc.util.ClassPath.type

    Permalink
  2. val Directory: reflect.io.Directory.type

    Permalink
  3. val EOL: String

    Permalink
  4. object PartestDefaults

    Permalink
  5. val Path: reflect.io.Path.type

    Permalink
  6. val PathResolver: util.PathResolver.type

    Permalink
  7. val SFile: File.type

    Permalink
  8. object TestKinds

    Permalink
  9. object TestState

    Permalink
  10. object TestUtil extends TestUtil

    Permalink
  11. def allPropertiesString: String

    Permalink
  12. def basename(name: String): String

    Permalink
  13. def callable[T](body: ⇒ T): Callable[T]

    Permalink
  14. def canonicalizeSlashes(line: String): String

    Permalink
  15. implicit val codec: Codec

    Permalink
  16. def elapsedString(millis: Long): String

    Permalink
  17. def file2String(f: File): String

    Permalink
  18. def fileSeparator: String

    Permalink
  19. def findProgram(name: String): Option[File]

    Permalink
  20. implicit lazy val implicitConversions: implicitConversions

    Permalink
  21. def isPartestDebug: Boolean

    Permalink
  22. def isPartestTerse: Boolean

    Permalink
  23. def isPartestVerbose: Boolean

    Permalink
  24. package nest

    Permalink
  25. def nljoin(xs: String*): String

    Permalink
  26. def now: String

    Permalink
  27. def oempty(xs: String*): collection.Seq[String]

    Permalink
  28. def ojoin(xs: String*): String

    Permalink
  29. def onull(s: String): String

    Permalink
  30. def pathSeparator: String

    Permalink
  31. def pathToTestIdent(path: Path): String

    Permalink
  32. implicit lazy val postfixOps: postfixOps

    Permalink
  33. def readOptionsFile(file: File): List[String]

    Permalink

    In order to allow for spaces in flags/options, this parses .flags, .javaopts, javacopts etc files as follows: If it is exactly one line, it is split (naively) on spaces.

    In order to allow for spaces in flags/options, this parses .flags, .javaopts, javacopts etc files as follows: If it is exactly one line, it is split (naively) on spaces. If it contains more than one line, each line is its own token, spaces and all.

  34. package sbt

    Permalink
  35. def setUncaughtHandler(): Unit

    Permalink
  36. def showAllJVMInfo(): Unit

    Permalink
  37. val space: String

    Permalink
  38. implicit def stringPathToJavaFile(path: String): File

    Permalink
  39. implicit def temporaryPath2File(x: Path): File

    Permalink
  40. def timed[T](body: ⇒ T): (T, Long)

    Permalink
  41. package utils

    Permalink
  42. def vlog(msg: ⇒ String): Unit

    Permalink
  43. def vmArgString: String

    Permalink
  44. def words(s: String): List[String]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped