ProtocolComplianceSuite

smithy4s.tests.ProtocolComplianceSuite
abstract class ProtocolComplianceSuite extends EffectSuite[IO], BaseCatsSuite

Attributes

Graph
Supertypes
trait BaseCatsSuite
trait Provider[IO]
trait EffectSuite[IO]
trait Here
trait Suite[IO]
trait BaseSuiteClass
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited types

final type EffectType[A] = F[A]

Attributes

Inherited from:
EffectSuite

Value members

Abstract methods

def allRules(dsi: DynamicSchemaIndex): IO[ComplianceTest[IO] => ShouldRun]
def allTests(dsi: DynamicSchemaIndex): List[ComplianceTest[IO]]
def dynamicSchemaIndexLoader: IO[DynamicSchemaIndex]

Concrete methods

def decodeDocument(bytes: Array[Byte], codecApi: Compiler): Document
def expectSuccess(res: ComplianceResult): Expectations
def genClientAndServerTests(impl: ReverseRouter[IO] & Router[IO], shapeIds: ShapeId*)(dsi: DynamicSchemaIndex): List[ComplianceTest[IO]]
def genClientTests(impl: ReverseRouter[IO], shapeIds: ShapeId*)(dsi: DynamicSchemaIndex): List[ComplianceTest[IO]]
def genServerTests(impl: Router[IO], shapeIds: ShapeId*)(dsi: DynamicSchemaIndex): List[ComplianceTest[IO]]
def getSuite: EffectSuite[IO]
def loadDynamic(doc: Document): Either[PayloadError, DynamicSchemaIndex]
def spec(args: List[String]): Stream[IO, TestOutcome]
def unsureWhetherShouldSucceed(test: ComplianceTest[IO], res: ComplianceResult): Expectations

Inherited methods

def cancel(reason: String)(implicit pos: SourceLocation): F[Nothing]

Raise an error that leads to the running test being tagged as "cancelled".

Raise an error that leads to the running test being tagged as "cancelled".

Attributes

Inherited from:
EffectSuite
inline def here: SourceLocation

Pulls source location without being affected by implicit scope.

Pulls source location without being affected by implicit scope.

Attributes

Inherited from:
Here
def ignore(reason: String)(implicit pos: SourceLocation): F[Nothing]

Raises an error that leads to the running test being tagged as "ignored"

Raises an error that leads to the running test being tagged as "ignored"

Attributes

Inherited from:
EffectSuite
override def name: String

Attributes

Definition Classes
EffectSuite -> Suite
Inherited from:
EffectSuite
final def run(args: List[String])(report: TestOutcome => IO[Unit]): F[Unit]

Attributes

Inherited from:
EffectSuite

Implicits

Implicits

implicit protected def effectCompat: EffectCompat[IO]