Class TestDiscovery
java.lang.Object
software.amazon.smithy.rulesengine.testutil.TestDiscovery
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetTestSuite
(String name) Retrieves aTestDiscovery.RulesTestSuite
by name.Provides a stream ofTestDiscovery.RulesTestSuite
that can be used a rule-set engine's implementation compliance.
-
Constructor Details
-
TestDiscovery
public TestDiscovery()
-
-
Method Details
-
testSuites
Provides a stream ofTestDiscovery.RulesTestSuite
that can be used a rule-set engine's implementation compliance.- Returns:
- a stream of
TestDiscovery.RulesTestSuite
.
-
getTestSuite
Retrieves aTestDiscovery.RulesTestSuite
by name.- Parameters:
name
- the test name.- Returns:
- the
TestDiscovery.RulesTestSuite
>
-