Location

org.specs2.specification.core.Location
trait Location

Location of a Fragment

This is currently implemented using stacktraces which is very brittle

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def filter(filter: StackTraceFilter): Location

Attributes

Returns

a filtered Location

def traceLocation(filter: StackTraceFilter): Option[TraceLocation]

Concrete methods

def classLocation(filter: StackTraceFilter): Option[String]

the class name and the line number where the Throwable was created

the class name and the line number where the Throwable was created

Attributes

def fullLocation(filter: StackTraceFilter): Option[String]

the class name, file Name and the line number where the Throwable was created

the class name, file Name and the line number where the Throwable was created

Attributes

def lineNumber(filter: StackTraceFilter): Option[Int]

the line number

the line number

Attributes

def location(filter: StackTraceFilter): Option[String]

file name and line number

file name and line number

Attributes

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any