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 with ScalaTask

    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. abstract class SessionTest extends ReplTest with FileUtil

  24. trait SigTest extends AnyRef

    Support code for testing signatures.

  25. trait StoreReporterDirectTest extends DirectTest

  26. type StringWriter = java.io.StringWriter

  27. sealed abstract class TestState extends AnyRef

  28. trait TestUtil extends AnyRef

Value Members

  1. object AsmNode

  2. object BytecodeTest

  3. val ClassPath: nsc.util.ClassPath.type

  4. val Directory: reflect.io.Directory.type

  5. val EOL: String

  6. object PartestDefaults

  7. val Path: reflect.io.Path.type

  8. val PathResolver: util.PathResolver.type

  9. val SFile: File.type

  10. object TestKinds

  11. object TestState

  12. object TestUtil extends TestUtil

  13. def allPropertiesString: String

  14. def basename(name: String): String

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

  16. def canonicalizeSlashes(line: String): String

  17. implicit val codec: Codec

  18. def elapsedString(millis: Long): String

  19. def file2String(f: File): String

  20. def fileSeparator: String

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

  22. implicit lazy val implicitConversions: implicitConversions

  23. package instrumented

  24. def isPartestDebug: Boolean

  25. def isPartestTerse: Boolean

  26. def isPartestVerbose: Boolean

  27. package nest

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

  29. def now: String

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

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

  32. def onull(s: String): String

  33. def pathSeparator: String

  34. def pathToTestIdent(path: Path): String

  35. implicit lazy val postfixOps: postfixOps

  36. 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.

  37. def setUncaughtHandler(): Unit

  38. def showAllJVMInfo(): Unit

  39. val space: String

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

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

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

  43. 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( ... )
  44. def traceImpl[A](c: Context)(a: reflect.macros.Context.Expr[A])(implicit arg0: reflect.macros.Context.WeakTypeTag[A]): reflect.macros.Context.Expr[A]

  45. package utils

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

  47. def vmArgString: String

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

Inherited from AnyRef

Inherited from Any

Ungrouped