test_track_test_support library
Classes
- AppVersionBuildFactory
-
Produces
AppVersionBuilds to be used for testing - AppVisitorConfigFactory
-
Produces
AppVisitorConfigs to be used for testing - AssignmentFactory
-
Produces
Assignments to be used for testing - FakeAnalyticsProvider
-
A fake
AnalyticsProviderwhose state is populated whenAssignments are tracked via trackAssignment and whenVisitorids are identified via identify - FakeDataStorageProvider
-
A fake implementation of
DataStorageProviderthat maintains aVisitorandSplitRegistryin-memory. - FakeTestTrack
-
A fake
TestTrackthat offers sane default functionality but allows for passing in behavior for the core functions such as Ab and Vary operations. - FakeTestTrackLogger
-
A fake
TestTrackLoggerthat internally tracks LogEvents - LogEvent
-
A representation of an invocation to one of the
logging functions on a
TestTrackLogger, used by FakeTestTrackLogger -
Pair<
T1, T2> - A simple Pair implementation because that's not a thing in the dart language
- SplitFactory
-
Produces
Splits to be used for testing - SplitRegistryFactory
-
Produces
SplitRegistrys to be used for testing - VariantFactory
-
Produces
Variants to be used for testing - VisitorFactory
-
Produces
Visitors to be used for testing
Extensions
- AssignmentExtensions on Assignment
-
Supported modifications for
Assignments - SplitExtensions on Split
-
Supported modifications for
Splits - SplitRegistryExtensions on SplitRegistry
-
Supported modifications for
SplitRegistrys - VariantExtensions on Variant
-
Supported modifications for
Variants - VisitorExtensions on Visitor
-
Supported modifications for
Visitors