scala.tools

partest

package partest

Linear Supertypes
AnyRef, Any
Content Hierarchy Learn more about scaladoc diagrams
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. trait ASMConverters extends AnyRef

    Makes using ASM from ByteCodeTests more convenient.

  2. sealed trait AsmNode[+T] extends AnyRef

  3. abstract class BytecodeTest extends ASMConverters

    Provides utilities for inspecting bytecode using ASM library.

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

  5. abstract class CompilerTest extends DirectTest

    For testing compiler internals directly.

  6. implicit final class Copier extends AnyVal

  7. abstract class DirectTest extends App

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

  8. type Directory = reflect.io.Directory

  9. implicit class ExecutorOps extends AnyRef

  10. type File = java.io.File

  11. implicit class FileOps extends AnyRef

  12. abstract class IcodeTest extends DirectTest

    A trait for testing icode.

  13. abstract class JavapTest extends ReplTest

    A trait for testing repl's javap command or possibly examining its output.

  14. implicit final class LoaderOps extends AnyVal

  15. abstract class MemoryTest extends AnyRef

  16. class PartestTask extends Task with CompilationPathProperty

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

  17. type Path = reflect.io.Path

  18. implicit class PathOps extends FileOps

  19. type PathResolver = util.PathResolver

  20. abstract class ReplTest extends DirectTest

    A trait for testing repl code.

  21. type SFile = reflect.io.File

  22. abstract class SecurityTest extends App

  23. trait SigTest extends AnyRef

    Support code for testing signatures.

  24. trait StoreReporterDirectTest extends DirectTest

  25. type StringWriter = java.io.StringWriter

  26. sealed abstract class TestState extends AnyRef

  27. trait TestUtil extends AnyRef

Value Members

  1. object AsmNode

  2. val ClassPath: nsc.util.ClassPath.type

  3. val Directory: reflect.io.Directory.type

  4. val EOL: String

  5. object PartestDefaults

  6. val Path: reflect.io.Path.type

  7. val PathResolver: util.PathResolver.type

  8. val SFile: File.type

  9. object TestKinds

  10. object TestState

  11. object TestUtil extends TestUtil

  12. def allPropertiesString: String

  13. def basename(name: String): String

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

  15. def canonicalizeSlashes(line: String): String

  16. implicit val codec: Codec

  17. def elapsedString(millis: Long): String

  18. def file2String(f: File): String

  19. def fileSeparator: String

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

  21. implicit lazy val implicitConversions: implicitConversions

  22. package instrumented

  23. def isPartestDebug: Boolean

  24. def isPartestTerse: Boolean

  25. def isPartestVerbose: Boolean

  26. package nest

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

  28. def now: String

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

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

  31. def onull(s: String): String

  32. def pathSeparator: String

  33. def pathToTestIdent(path: Path): String

  34. implicit lazy val postfixOps: postfixOps

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

    In order to allow for spaces in flags/options, this parses .

    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.

  36. def setUncaughtHandler(): Unit

  37. def showAllJVMInfo(): Unit

  38. val space: String

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

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

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

  42. def trace[A](a: A): A

    trace("".isEmpty) will return true and as a side effect print the following to standard out.

    trace("".isEmpty) will return true and as a side effect print the following to standard out.

    trace> "".isEmpty
    res: Boolean = true

    An alternative to scala.tools.partest.ReplTest that avoids the inconvenience of embedding test code in a string.

    Annotations
    @macroImpl( ... )
  43. def traceImpl[A](c: Context)(a: reflect.macros.Context.Expr[A])(implicit arg0: reflect.macros.Context.WeakTypeTag[A]): reflect.macros.Context.Expr[A]

  44. package utils

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

  46. def vmArgString: String

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

Inherited from AnyRef

Inherited from Any

Ungrouped