object ODKTest extends MMTIntegrationTest
- Source
- ODKTest.scala
- Alphabetic
- By Inheritance
- ODKTest
- MMTIntegrationTest
- CheckTester
- ArchiveTester
- ActionTester
- ExtensionTester
- MMTUnitTest
- BaseTester
- Logger
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
archives: String*
set of archives to be installed
set of archives to be installed
- Definition Classes
- MMTIntegrationTest → ArchiveTester
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
lazy val
contentFolder: File
- Definition Classes
- MMTIntegrationTest
-
lazy val
controller: Controller
controller we are using during tests
controller we are using during tests
- Definition Classes
- MMTUnitTest → BaseTester
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
extensions: List[ExtensionSpec]
list of extensions to be checked
list of extensions to be checked
- Definition Classes
- MMTIntegrationTest → ExtensionTester
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getArchive(id: String): Archive
gets an Archive instance given an ID
gets an Archive instance given an ID
- Attributes
- protected
- Definition Classes
- ArchiveTester
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
handleLine(s: String, showLog: Boolean = true): Unit
handle a single line in the controller
handle a single line in the controller
- Definition Classes
- ActionTester
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
init(): Unit
initialize the test class
initialize the test class
- Definition Classes
- MMTIntegrationTest → MMTUnitTest → BaseTester
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
log(e: Error): Unit
logs an error - always logged
logs an error - always logged
- Attributes
- protected
- Definition Classes
- Logger
-
def
log(s: ⇒ String, subgroup: Option[String] = None): Unit
logs a message with this logger's logprefix
logs a message with this logger's logprefix
- Attributes
- protected
- Definition Classes
- Logger
-
def
logError(s: ⇒ String): Unit
log as an error message
log as an error message
- Attributes
- protected
- Definition Classes
- Logger
-
def
logGroup[A](a: ⇒ A): A
wraps around a group to create nested logging
wraps around a group to create nested logging
- Attributes
- protected
- Definition Classes
- Logger
-
def
logPrefix: String
- Definition Classes
- BaseTester → Logger
-
def
logTemp(s: ⇒ String): Unit
temporary logging - always logged
temporary logging - always logged
- Attributes
- protected
- Definition Classes
- Logger
-
def
main(): Unit
the test program
the test program
- Definition Classes
- ODKTest → MMTIntegrationTest → BaseTester
-
def
main(args: Array[String]): Unit
main entry point when running this test in a stand-alone fashion
main entry point when running this test in a stand-alone fashion
- Definition Classes
- BaseTester
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
report: Report
- Definition Classes
- BaseTester → Logger
-
lazy val
rootFolder: File
the root folder to use for all test data
the root folder to use for all test data
- Definition Classes
- MMTIntegrationTest
-
def
run(): Boolean
runs the test safely
runs the test safely
- Definition Classes
- BaseTester
-
def
shouldCheck(archiveID: String, files: String*)(onlyfiles: Boolean = false, mayfail: List[String] = Nil, mustfail: List[String] = Nil): Unit
Checks a set of files inside an archive
Checks a set of files inside an archive
- archiveID
ID of the archive that we should check files in
- files
Set of files to check in
- onlyfiles
If set to true, only build those files expliticly
- mayfail
a list of archives that are ignored in the return value of the error
- mustfail
a list of archives that may not file in the return value of the error
- Definition Classes
- CheckTester
-
def
shouldClearTarget(archiveID: String, dimensionName: String): Unit
Checks that a given dimension is deleted from an archive
Checks that a given dimension is deleted from an archive
- Definition Classes
- CheckTester
-
def
shouldHandleLine(s: String): Unit
handle a line and assert that it should properly run
handle a line and assert that it should properly run
- Definition Classes
- ActionTester
-
def
shouldInstallArchives(): Unit
check that all the archives get installed properly
check that all the archives get installed properly
- Definition Classes
- ArchiveTester
-
def
shouldLoadExtensions(): Unit
checks that all extensions are loaded
checks that all extensions are loaded
- Definition Classes
- ExtensionTester
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
lazy val
systemFolder: File
- Definition Classes
- MMTIntegrationTest
-
def
test[T](s: String, test: ⇒ T): T
runs a test or aborts if needed
runs a test or aborts if needed
- Definition Classes
- BaseTester
-
lazy val
testBranch: Option[String]
- Attributes
- protected
- Definition Classes
- ArchiveTester
-
def
testError(message: String, causedBy: Option[Throwable] = None): TestError
logs an error
logs an error
- Definition Classes
- BaseTester
-
def
testWarn(msg: ⇒ String): Unit
logs a warning
logs a warning
- Definition Classes
- BaseTester
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()