Class DrlTestUtils


  • public class DrlTestUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Set<java.io.File> collectDrlFiles​(java.lang.String startPath)
      Collect drl files under `startPath`
      static void refreshDrlIndexFile()
      refresh target/classes/IndexFile.drl_json with src/main/resources/IndexFile.drl_json because basically, unit tests should not depend on the file's state
      • Methods inherited from class java.lang.Object

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

      • refreshDrlIndexFile

        public static void refreshDrlIndexFile()
        refresh target/classes/IndexFile.drl_json with src/main/resources/IndexFile.drl_json because basically, unit tests should not depend on the file's state
      • collectDrlFiles

        public static java.util.Set<java.io.File> collectDrlFiles​(java.lang.String startPath)
                                                           throws java.io.IOException
        Collect drl files under `startPath`
        Throws:
        java.io.IOException