kd.bos.form.unittest

## 类 KDUnitTestRunner

- java.lang.Object
- - kd.bos.form.unittest.KDUnitTestRunner

-     public class KDUnitTestRunner
      extends java.lang.Object

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `static java.lang.String` | `CASE_FORM_VIEW`
    `static java.lang.String` | `CASE_PLUGIN_INFOS`
    `static java.lang.String` | `RERAN_ERROR`
    `static java.lang.String` | `RERAN_FAILURE`
    `static java.lang.String` | `RERAN_OK`

  - ### 构造器概要

    构造器
    构造器和说明
    `KDUnitTestRunner()`

  - ### 方法概要

    所有方法 静态方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `createLoader(java.lang.String className)`
    `kd.bos.context.RequestContext` | `getRequestContext()`
    `java.util.HashMap<java.lang.String,java.lang.Object>` | `getRunnerParams()`
    `IKDTestLoader` | `getTestLoader()`
    `void` | `initDefaultLoader()`
    `java.lang.Class<?>` | `loadClass(java.lang.String className, KDUnitTestRunner listener)`
    `static void` | `run(kd.bos.context.RequestContext rc, java.util.HashMap<java.lang.String,java.lang.Object> runMapArgs, IKDUnitTestClientView UnitTestClientView)`
    `void` | `runFailed(java.lang.String message, java.lang.Exception exception)`
    `void` | `runTests(KDUnitTestPluginRunner execution)`
    `void` | `setLoader(IKDTestLoader newInstance)`
    `void` | `setRequestContext(kd.bos.context.RequestContext rc)`
    `void` | `setUnitTestClientView(IKDUnitTestClientView UnitTestClientView)`
    `void` | `visitTreeEntry(IKDTestIdentifier id, boolean b, int i)`

    - ### 从类继承的方法 java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 字段详细资料

    - #### RERAN_FAILURE

          public static final java.lang.String RERAN_FAILURE

      另请参阅:
        常量字段值

    - #### RERAN_ERROR

          public static final java.lang.String RERAN_ERROR

      另请参阅:
        常量字段值

    - #### RERAN_OK

          public static final java.lang.String RERAN_OK

      另请参阅:
        常量字段值

    - #### CASE_PLUGIN_INFOS

          public static final java.lang.String CASE_PLUGIN_INFOS

      另请参阅:
        常量字段值

    - #### CASE_FORM_VIEW

          public static final java.lang.String CASE_FORM_VIEW

      另请参阅:
        常量字段值

  - ### 构造器详细资料

    - #### KDUnitTestRunner

          public KDUnitTestRunner()

  - ### 方法详细资料

    - #### setRequestContext

          public void setRequestContext(kd.bos.context.RequestContext rc)

    - #### getRequestContext

          public kd.bos.context.RequestContext getRequestContext()

    - #### getRunnerParams

          public java.util.HashMap<java.lang.String,java.lang.Object> getRunnerParams()

    - #### setUnitTestClientView

          public void setUnitTestClientView(IKDUnitTestClientView UnitTestClientView)

    - #### run

          public static void run(kd.bos.context.RequestContext rc,
                                 java.util.HashMap<java.lang.String,java.lang.Object> runMapArgs,
                                 IKDUnitTestClientView UnitTestClientView)
                          throws java.lang.Throwable

      抛出:
        `java.lang.Throwable`

    - #### initDefaultLoader

          public void initDefaultLoader()

    - #### createLoader

          public void createLoader(java.lang.String className)

    - #### setLoader

          public void setLoader(IKDTestLoader newInstance)

    - #### runFailed

          public void runFailed(java.lang.String message,
                                java.lang.Exception exception)

    - #### runTests

          public void runTests(KDUnitTestPluginRunner execution)
                        throws java.lang.ClassNotFoundException

      抛出:
        `java.lang.ClassNotFoundException`

    - #### visitTreeEntry

          public void visitTreeEntry(IKDTestIdentifier id,
                                     boolean b,
                                     int i)

    - #### getTestLoader

          public IKDTestLoader getTestLoader()

    - #### loadClass

          public java.lang.Class<?> loadClass(java.lang.String className,
                                              KDUnitTestRunner listener)
                                       throws java.lang.ClassNotFoundException

      抛出:
        `java.lang.ClassNotFoundException`