Class DefaultMartiniStandaloneEngine

  • All Implemented Interfaces:
    MartiniStandaloneEngine, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

    @Configurable
    public class DefaultMartiniStandaloneEngine
    extends java.lang.Object
    implements MartiniStandaloneEngine, org.springframework.context.ApplicationContextAware
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void assertImplementation​(java.util.Collection<guru.qas.martini.Martini> martinis)  
      protected void assertMartinisFound​(java.lang.String filter, java.util.Collection<guru.qas.martini.Martini> martinis)  
      void executeSuite()  
      protected void executeWithTimeLimit​(java.lang.Runnable runnable, long timeoutInMinutes)  
      protected guru.qas.martini.MartiniException getMartiniException​(java.lang.InterruptedException cause)  
      protected guru.qas.martini.MartiniException getMartiniException​(java.util.concurrent.TimeoutException cause)  
      protected java.util.Iterator<java.util.Optional<guru.qas.martini.Martini>> getMartiniIterator​(java.util.Collection<guru.qas.martini.Martini> martinis)  
      protected java.util.Collection<guru.qas.martini.Martini> getMartinis()  
      protected java.lang.Runnable getRunnable​(java.util.Collection<guru.qas.martini.Martini> martinis)  
      protected boolean isUnimplemented​(guru.qas.martini.Martini martini)  
      void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)  
      protected void sleep()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • options

        protected final Options options
      • mixologist

        protected final guru.qas.martini.Mixologist mixologist
      • suiteIdentifier

        protected final guru.qas.martini.event.SuiteIdentifier suiteIdentifier
      • gatedComparator

        protected final java.util.Comparator<guru.qas.martini.Martini> gatedComparator
      • eventManager

        protected final guru.qas.martini.runtime.event.EventManager eventManager
      • forkJoinPool

        protected final java.util.concurrent.ForkJoinPool forkJoinPool
      • logger

        protected final org.slf4j.Logger logger
      • applicationContext

        protected org.springframework.context.ApplicationContext applicationContext
    • Method Detail

      • setApplicationContext

        public void setApplicationContext​(@Nonnull
                                          org.springframework.context.ApplicationContext applicationContext)
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
      • executeWithTimeLimit

        protected void executeWithTimeLimit​(java.lang.Runnable runnable,
                                            long timeoutInMinutes)
      • getMartinis

        protected java.util.Collection<guru.qas.martini.Martini> getMartinis()
      • assertMartinisFound

        protected void assertMartinisFound​(java.lang.String filter,
                                           java.util.Collection<guru.qas.martini.Martini> martinis)
      • assertImplementation

        protected void assertImplementation​(java.util.Collection<guru.qas.martini.Martini> martinis)
      • isUnimplemented

        protected boolean isUnimplemented​(guru.qas.martini.Martini martini)
      • getRunnable

        protected java.lang.Runnable getRunnable​(java.util.Collection<guru.qas.martini.Martini> martinis)
      • getMartiniIterator

        protected java.util.Iterator<java.util.Optional<guru.qas.martini.Martini>> getMartiniIterator​(java.util.Collection<guru.qas.martini.Martini> martinis)
      • sleep

        protected void sleep()
      • getMartiniException

        protected guru.qas.martini.MartiniException getMartiniException​(java.lang.InterruptedException cause)
      • getMartiniException

        protected guru.qas.martini.MartiniException getMartiniException​(java.util.concurrent.TimeoutException cause)