dnet40/modules/icm-iis-statistics/trunk/core/README.md @ 29173
1 | 24016 | dominika.t | This directory and its subdirectories and files are here as a hack to make the Oozie unit tests work. |
---|---|---|---|
2 | |||
3 | Details
|
||
4 | -------
|
||
5 | Oozie tests assume that they're placed inside directory tree of Oozie source code -- see the source code of class `XTestCase` which is an ancestor of `MiniOozieTestCase` class which, in turn, should be inherited by your test case class. |
||
6 | |||
7 | How to get the source code of the `XTestCase` class:
|
||
8 | |||
9 | - download source code of the Ubuntu's `oozie` package prepared by Cloudera (`apt-get source oozie`). It is version 3.1.3+155 of this package. |
||
10 | - open file `oozie-3.1.3+155/src/core/src/test/java/org/apache/oozie/test/XTestCase.java` and look at lines 93-105. |