scala.tools

partest

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
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

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

  2. abstract class CompilerTest extends DirectTest

    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

  4. abstract class DirectTest extends App

    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

  6. implicit class ExecutorOps extends AnyRef

  7. type File = java.io.File

  8. implicit class FileOps extends AnyRef

  9. abstract class IcodeTest extends DirectTest

    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

  11. abstract class MemoryTest extends AnyRef

  12. class PartestTask extends Task with CompilationPathProperty with ScalaTask

    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

  14. implicit class PathOps extends FileOps

  15. type PathResolver = util.PathResolver

  16. type SFile = reflect.io.File

  17. abstract class SecurityTest extends App

  18. trait StoreReporterDirectTest extends DirectTest

  19. type StringWriter = java.io.StringWriter

  20. sealed abstract class TestState extends AnyRef

  21. trait TestUtil extends AnyRef

Value Members

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

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

  3. val EOL: String

  4. object PartestDefaults

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

  6. val PathResolver: util.PathResolver.type

  7. val SFile: File.type

  8. object TestKinds

  9. object TestState

  10. object TestUtil extends TestUtil

  11. def allPropertiesString: String

  12. def basename(name: String): String

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

  14. def canonicalizeSlashes(line: String): String

  15. implicit val codec: Codec

  16. def elapsedString(millis: Long): String

  17. def file2String(f: File): String

  18. def fileSeparator: String

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

  20. implicit lazy val implicitConversions: implicitConversions

  21. def isPartestDebug: Boolean

  22. def isPartestTerse: Boolean

  23. def isPartestVerbose: Boolean

  24. package nest

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

  26. def now: String

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

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

  29. def onull(s: String): String

  30. def pathSeparator: String

  31. def pathToTestIdent(path: Path): String

  32. implicit lazy val postfixOps: postfixOps

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

    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. def setUncaughtHandler(): Unit

  35. def showAllJVMInfo(): Unit

  36. val space: String

  37. implicit def stringPathToJavaFile(path: String): File

  38. implicit def temporaryPath2File(x: Path): File

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

  40. package utils

  41. def vlog(msg: ⇒ String): Unit

  42. def vmArgString: String

  43. def words(s: String): List[String]

Inherited from AnyRef

Inherited from Any

Ungrouped