org.kiama.rewriting

RewriterTests

class RewriterTests extends Tests with Checkers with Generator

Rewriting tests.

Linear Supertypes
Generator, Checkers, Configuration, Tests, FunSuite, Suite, Serializable, AbstractSuite, Assertions, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RewriterTests
  2. Generator
  3. Checkers
  4. Configuration
  5. Tests
  6. FunSuite
  7. Suite
  8. Serializable
  9. AbstractSuite
  10. Assertions
  11. AnyRef
  12. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RewriterTests()

Type Members

  1. final class Equalizer extends AnyRef

    Definition Classes
    Assertions
  2. abstract class Expecting extends AnyRef

    The kind of comparison that is expected to be true for a test.

  3. case class MaxDiscarded extends PropertyCheckConfigParam with Product with Serializable

    Definition Classes
    Configuration
  4. case class MaxSize extends PropertyCheckConfigParam with Product with Serializable

    Definition Classes
    Configuration
  5. case class MinSize extends PropertyCheckConfigParam with Product with Serializable

    Definition Classes
    Configuration
  6. case class MinSuccessful extends PropertyCheckConfigParam with Product with Serializable

    Definition Classes
    Configuration
  7. trait NoArgTest extends () ⇒ Unit with TestData

    Attributes
    protected
    Definition Classes
    Suite
  8. case class PropertyCheckConfig extends Product with Serializable

    Definition Classes
    Configuration
  9. sealed abstract class PropertyCheckConfigParam extends AnyRef

    Definition Classes
    Configuration
  10. case class Workers extends PropertyCheckConfigParam with Product with Serializable

    Definition Classes
    Configuration

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object Equal extends Expecting with Product with Serializable

  7. object FocusTest extends Tag

    A ScalaTest tag that enables us to focus attention on particular tests rather than running all of them each time.

  8. object NotSame extends Expecting with Product with Serializable

  9. object Same extends Expecting with Product with Serializable

  10. implicit def arbAsgn: Arbitrary[Asgn]

    Definition Classes
    Generator
  11. implicit def arbExp: Arbitrary[Exp]

    Definition Classes
    Generator
  12. implicit def arbNum: Arbitrary[Num]

    Definition Classes
    Generator
  13. implicit def arbSeqn: Arbitrary[Seqn]

    Definition Classes
    Generator
  14. implicit def arbStmt: Arbitrary[Stmt]

    Definition Classes
    Generator
  15. implicit def arbWhile: Arbitrary[While]

    Definition Classes
    Generator
  16. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  17. def assert(o: Option[String]): Unit

    Definition Classes
    Assertions
  18. def assert(o: Option[String], clue: Any): Unit

    Definition Classes
    Assertions
  19. def assert(condition: Boolean, clue: Any): Unit

    Definition Classes
    Assertions
  20. def assert(condition: Boolean): Unit

    Definition Classes
    Assertions
  21. def assertMessage(index: Int, line: Int, column: Int, msg: String): Unit

    Assert that a message was produced at a given position.

    Assert that a message was produced at a given position.

    Definition Classes
    Tests
  22. def assume(o: Option[String]): Unit

    Definition Classes
    Assertions
  23. def assume(o: Option[String], clue: Any): Unit

    Definition Classes
    Assertions
  24. def assume(condition: Boolean, clue: Any): Unit

    Definition Classes
    Assertions
  25. def assume(condition: Boolean): Unit

    Definition Classes
    Assertions
  26. def cancel(cause: Throwable): Nothing

    Definition Classes
    Assertions
  27. def cancel(message: String, cause: Throwable): Nothing

    Definition Classes
    Assertions
  28. def cancel(message: String): Nothing

    Definition Classes
    Assertions
  29. def cancel(): Nothing

    Definition Classes
    Assertions
  30. def check(p: Prop, configParams: PropertyCheckConfigParam*)(implicit config: PropertyCheckConfig): Unit

    Definition Classes
    Checkers
  31. def check(p: Prop, prms: Params): Unit

    Definition Classes
    Checkers
  32. def check[A1, A2, A3, A4, A5, A6, P](f: (A1, A2, A3, A4, A5, A6) ⇒ P, configParams: PropertyCheckConfigParam*)(implicit config: PropertyCheckConfig, p: (P) ⇒ Prop, a1: Arbitrary[A1], s1: Shrink[A1], pp1: (A1) ⇒ Pretty, a2: Arbitrary[A2], s2: Shrink[A2], pp2: (A2) ⇒ Pretty, a3: Arbitrary[A3], s3: Shrink[A3], pp3: (A3) ⇒ Pretty, a4: Arbitrary[A4], s4: Shrink[A4], pp4: (A4) ⇒ Pretty, a5: Arbitrary[A5], s5: Shrink[A5], pp5: (A5) ⇒ Pretty, a6: Arbitrary[A6], s6: Shrink[A6], pp6: (A6) ⇒ Pretty): Unit

    Definition Classes
    Checkers
  33. def check[A1, A2, A3, A4, A5, P](f: (A1, A2, A3, A4, A5) ⇒ P, configParams: PropertyCheckConfigParam*)(implicit config: PropertyCheckConfig, p: (P) ⇒ Prop, a1: Arbitrary[A1], s1: Shrink[A1], pp1: (A1) ⇒ Pretty, a2: Arbitrary[A2], s2: Shrink[A2], pp2: (A2) ⇒ Pretty, a3: Arbitrary[A3], s3: Shrink[A3], pp3: (A3) ⇒ Pretty, a4: Arbitrary[A4], s4: Shrink[A4], pp4: (A4) ⇒ Pretty, a5: Arbitrary[A5], s5: Shrink[A5], pp5: (A5) ⇒ Pretty): Unit

    Definition Classes
    Checkers
  34. def check[A1, A2, A3, A4, P](f: (A1, A2, A3, A4) ⇒ P, configParams: PropertyCheckConfigParam*)(implicit config: PropertyCheckConfig, p: (P) ⇒ Prop, a1: Arbitrary[A1], s1: Shrink[A1], pp1: (A1) ⇒ Pretty, a2: Arbitrary[A2], s2: Shrink[A2], pp2: (A2) ⇒ Pretty, a3: Arbitrary[A3], s3: Shrink[A3], pp3: (A3) ⇒ Pretty, a4: Arbitrary[A4], s4: Shrink[A4], pp4: (A4) ⇒ Pretty): Unit

    Definition Classes
    Checkers
  35. def check[A1, A2, A3, P](f: (A1, A2, A3) ⇒ P, configParams: PropertyCheckConfigParam*)(implicit config: PropertyCheckConfig, p: (P) ⇒ Prop, a1: Arbitrary[A1], s1: Shrink[A1], pp1: (A1) ⇒ Pretty, a2: Arbitrary[A2], s2: Shrink[A2], pp2: (A2) ⇒ Pretty, a3: Arbitrary[A3], s3: Shrink[A3], pp3: (A3) ⇒ Pretty): Unit

    Definition Classes
    Checkers
  36. def check[A1, A2, P](f: (A1, A2) ⇒ P, configParams: PropertyCheckConfigParam*)(implicit config: PropertyCheckConfig, p: (P) ⇒ Prop, a1: Arbitrary[A1], s1: Shrink[A1], pp1: (A1) ⇒ Pretty, a2: Arbitrary[A2], s2: Shrink[A2], pp2: (A2) ⇒ Pretty): Unit

    Definition Classes
    Checkers
  37. def check[A1, P](f: (A1) ⇒ P, configParams: PropertyCheckConfigParam*)(implicit config: PropertyCheckConfig, p: (P) ⇒ Prop, a1: Arbitrary[A1], s1: Shrink[A1], pp1: (A1) ⇒ Pretty): Unit

    Definition Classes
    Checkers
  38. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  39. implicit def convertToEqualizer(left: Any): Equalizer

    Definition Classes
    Assertions
  40. def createCatchReporter(reporter: Reporter): WrapperCatchReporter

    Attributes
    protected[org.scalatest]
    Definition Classes
    Suite
  41. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  42. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  43. def everywheretdtest(everys: (⇒ Rewriter.Strategy) ⇒ Rewriter.Strategy): Unit

  44. final def execute: Unit

    Definition Classes
    Suite
  45. final def execute(testName: String, configMap: Map[String, Any], color: Boolean, durations: Boolean, shortstacks: Boolean, fullstacks: Boolean, stats: Boolean): Unit

    Definition Classes
    Suite
  46. def expectResult(expected: Any)(actual: Any): Unit

    Definition Classes
    Assertions
  47. def expectResult(expected: Any, clue: Any)(actual: Any): Unit

    Definition Classes
    Assertions
  48. def expectedTestCount(filter: Filter): Int

    Definition Classes
    Suite → AbstractSuite
  49. def expectnotsame(expected: Any)(actual: Any): Unit

    Analogous to ScalaTest's expect but it uses same to compare the two values instead of equality.

    Analogous to ScalaTest's expect but it uses same to compare the two values instead of equality.

    Definition Classes
    Tests
  50. def expectsame(expected: Any)(actual: Any): Unit

    Analogous to ScalaTest's expect but it uses same to compare the two values instead of equality.

    Analogous to ScalaTest's expect but it uses same to compare the two values instead of equality.

    Definition Classes
    Tests
  51. def fail(cause: Throwable): Nothing

    Definition Classes
    Assertions
  52. def fail(message: String, cause: Throwable): Nothing

    Definition Classes
    Assertions
  53. def fail(message: String): Nothing

    Definition Classes
    Assertions
  54. def fail(): Nothing

    Definition Classes
    Assertions
  55. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  56. def genAdd(sz: Int): Gen[Add]

    Definition Classes
    Generator
  57. def genAsgn(sz: Int): Gen[Asgn]

    Definition Classes
    Generator
  58. def genDiv(sz: Int): Gen[Div]

    Definition Classes
    Generator
  59. val genDouble: Gen[Num]

    Definition Classes
    Generator
  60. def genExp(sz: Int): Gen[Exp]

    Definition Classes
    Generator
  61. val genIdn: Gen[String]

    Definition Classes
    Generator
  62. val genInteger: Gen[Num]

    Definition Classes
    Generator
  63. def genInternalExp(sz: Int): Gen[Binary with Serializable]

    Definition Classes
    Generator
  64. def genInternalStmt(sz: Int): Gen[Stmt]

    Definition Classes
    Generator
  65. val genLeafExp: Gen[Exp with Serializable]

    Definition Classes
    Generator
  66. val genLeafStmt: Gen[Null]

    Definition Classes
    Generator
  67. def genMul(sz: Int): Gen[Mul]

    Definition Classes
    Generator
  68. def genNeg(sz: Int): Gen[Neg]

    Definition Classes
    Generator
  69. val genNum: Gen[Num]

    Definition Classes
    Generator
  70. def genSeqn(sz: Int): Gen[Seqn]

    Definition Classes
    Generator
  71. def genStmt(sz: Int): Gen[Stmt]

    Definition Classes
    Generator
  72. def genSub(sz: Int): Gen[Sub]

    Definition Classes
    Generator
  73. val genVar: Gen[Var]

    Definition Classes
    Generator
  74. def genWhile(sz: Int): Gen[While]

    Definition Classes
    Generator
  75. implicit val generatorDrivenConfig: PropertyCheckConfig

    Definition Classes
    Configuration
  76. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  77. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  78. def ignore(testName: String, testTags: Tag*)(testFun: ⇒ Unit): Unit

    Attributes
    protected
    Definition Classes
    FunSuite
  79. implicit def info: Informer

    Attributes
    protected
    Definition Classes
    FunSuite
  80. def innermosttest(imost: (⇒ Rewriter.Strategy) ⇒ Rewriter.Strategy): Unit

  81. def intercept[T <: AnyRef](f: ⇒ Any)(implicit manifest: Manifest[T]): T

    Definition Classes
    Assertions
  82. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  83. implicit def markup: Documenter

    Attributes
    protected
    Definition Classes
    FunSuite
  84. def maxDiscarded(value: Int): MaxDiscarded

    Definition Classes
    Configuration
  85. def maxSize(value: Int): MaxSize

    Definition Classes
    Configuration
  86. def minSize(value: Int): MinSize

    Definition Classes
    Configuration
  87. def minSuccessful(value: Int): MinSuccessful

    Definition Classes
    Configuration
  88. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  89. def nestedSuites: IndexedSeq[Suite]

    Definition Classes
    Suite → AbstractSuite
  90. final def notify(): Unit

    Definition Classes
    AnyRef
  91. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  92. def pending: PendingNothing

    Definition Classes
    Suite
  93. def pendingUntilFixed(f: ⇒ Unit): Unit

    Definition Classes
    Suite
  94. def rerunner: Option[String]

    Definition Classes
    Suite → AbstractSuite
  95. def run(testName: Option[String], args: Args): Status

    Definition Classes
    FunSuite → Suite → AbstractSuite
  96. final def run(testName: Option[String], reporter: Reporter, stopper: Stopper, filter: Filter, configMap: Map[String, Any], distributor: Option[Distributor], tracker: Tracker): Status

    Definition Classes
    AbstractSuite
  97. def runNestedSuites(args: Args): Status

    Attributes
    protected
    Definition Classes
    Suite → AbstractSuite
  98. def runTest(testName: String, args: Args): Status

    Attributes
    protected
    Definition Classes
    FunSuite → Suite → AbstractSuite
  99. def runTests(testName: Option[String], args: Args): Status

    Attributes
    protected
    Definition Classes
    FunSuite → Suite → AbstractSuite
  100. def same(v1: Any, v2: Any): Boolean

    Compare two values.

    Compare two values. Use reference equality for references and value equality for non-references. If the values are both Some values, perform the check on the wrapped values.

    Definition Classes
    Tests
  101. final val styleName: String

    Definition Classes
    FunSuite → Suite → AbstractSuite
  102. def suiteId: String

    Definition Classes
    Suite
  103. def suiteName: String

    Definition Classes
    Suite
  104. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  105. def tags: Map[String, Set[String]]

    Definition Classes
    FunSuite → Suite → AbstractSuite
  106. def test(testName: String, testTags: Tag*)(testFun: ⇒ Unit): Unit

    Attributes
    protected
    Definition Classes
    FunSuite
  107. def testDataFor(testName: String, theConfigMap: Map[String, Any]): TestData

    Definition Classes
    FunSuite → Suite
  108. def testNames: Set[String]

    Definition Classes
    FunSuite → Suite → AbstractSuite
  109. def testsFor(unit: Unit): Unit

    Attributes
    protected
    Definition Classes
    FunSuite
  110. def toString(): String

    Definition Classes
    AnyRef → Any
  111. def travtest(basemsg: String, testmsg: String, trav: (⇒ Rewriter.Strategy) ⇒ Rewriter.Strategy, rewl: Rewriter.Strategy, term: Rewriter.Term, result: Option[Rewriter.Term], expecting: Expecting = Equal): Unit

  112. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  113. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  114. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  115. def withClue[T](clue: Any)(fun: ⇒ T): T

    Definition Classes
    Assertions
  116. def withFixture(test: NoArgTest): Unit

    Attributes
    protected
    Definition Classes
    Suite → AbstractSuite
  117. def workers(value: Int): Workers

    Definition Classes
    Configuration

Deprecated Value Members

  1. def expect(expected: Any)(actual: Any): Unit

    Definition Classes
    Assertions
    Annotations
    @deprecated
    Deprecated

    This expect method has been deprecated. Please replace all invocations of expect with an identical invocation of expectResult instead.

  2. def expect(expected: Any, clue: Any)(actual: Any): Unit

    Definition Classes
    Assertions
    Annotations
    @deprecated
    Deprecated

    This expect method has been deprecated. Please replace all invocations of expect with an identical invocation of expectResult instead.

Inherited from Generator

Inherited from Checkers

Inherited from Configuration

Inherited from Tests

Inherited from FunSuite

Inherited from Suite

Inherited from Serializable

Inherited from AbstractSuite

Inherited from Assertions

Inherited from AnyRef

Inherited from Any

Ungrouped