Uses of Class
com.hazelcast.jet.core.test.TestSupport
Packages that use TestSupport
-
Uses of TestSupport in com.hazelcast.jet.core.test
Methods in com.hazelcast.jet.core.test that return TestSupportModifier and TypeMethodDescriptionTestSupport.cooperativeTimeout(long timeout) Iftimeout > 0, the test will fail if any call to processing method in a cooperative processor exceeds this timeout.TestSupport.disableCompleteCall()Disables callingcomplete()method during the test.TestSupport.disableLogging()Disables logging of input and output objects.TestSupport.disableProgressAssertion()Disables checking of progress of processing methods (seeclass javadocfor information on what is "progress").TestSupport.disableSnapshots()Disable snapshot save and restore before first item and after eachprocess()andcomplete()call.TestSupport.executeBeforeEachRun(Runnable runnable) Action to execute before each test scenario.TestSupport.globalProcessorIndex(int globalProcessorIndex) Sets the globalProcessorIndex for the ProcessorTestSupport.hazelcastInstance(HazelcastInstance hazelcastInstance) Use the given instance forProcessorMetaSupplier.Context.hazelcastInstance()Sets the input objects for processor.Sets the input objects for the processor on multiple input ordinals.Sets the input objects for the processor on multiple input ordinals.Use the given instance forProcessorMetaSupplier.Context.jobConfig()TestSupport.localParallelism(int localParallelism) Sets the localParallelism for the ProcessorTestSupport.localProcessorIndex(int localProcessorIndex) Sets the localProcessorIndex for the ProcessorTestSupport.outputChecker(BiPredicate<? super List<?>, ? super List<?>> outputChecker) Predicate to compare expected and actual output.TestSupport.runUntilOutputMatches(long timeoutMillis, long extraTimeMillis) Normally, thecomplete()method is run repeatedly until it returnstrue.TestSupport.totalParallelism(int totalParallelism) Sets the totalParallelism for the Processorstatic TestSupportTestSupport.verifyProcessor(SupplierEx<Processor> supplier) static TestSupportTestSupport.verifyProcessor(ProcessorMetaSupplier supplier) static TestSupportTestSupport.verifyProcessor(ProcessorSupplier supplier)