pt.digitalis.dif.sanitycheck.manager
Class SanityCheckManager

java.lang.Object
  extended by pt.digitalis.dif.sanitycheck.manager.SanityCheckManager

public class SanityCheckManager
extends Object

Author:
Pedro Viegas pviegas@digitalis.pt
Created on:
14 de Jul de 2011

Field Summary
protected static String _SANITY_CHECK_LOGGER_PREFIX
          Sanity check Logger Message Prefix
protected static String CIRCULAR_DEPENDENCY
          Sanity check Logger Message
 
Constructor Summary
SanityCheckManager()
           
 
Method Summary
static Map<String,SanityCheckTestSuiteDefinition> getTestSuites()
          Inspector for the 'testSuites' attribute.
static boolean runAllTests(IDIFContext context)
          Execute all tests
static boolean runAllTests(IDIFContext context, boolean testOnlyErrors)
          Execute all tests.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_SANITY_CHECK_LOGGER_PREFIX

protected static final String _SANITY_CHECK_LOGGER_PREFIX
Sanity check Logger Message Prefix

See Also:
Constant Field Values

CIRCULAR_DEPENDENCY

protected static final String CIRCULAR_DEPENDENCY
Sanity check Logger Message

See Also:
Constant Field Values
Constructor Detail

SanityCheckManager

public SanityCheckManager()
Method Detail

getTestSuites

public static Map<String,SanityCheckTestSuiteDefinition> getTestSuites()
Inspector for the 'testSuites' attribute.

Returns:
the testSuites value

runAllTests

public static boolean runAllTests(IDIFContext context)
Execute all tests

Parameters:
context - the current DIF context
Returns:
T if all tests ran successfully

runAllTests

public static boolean runAllTests(IDIFContext context,
                                  boolean testOnlyErrors)
Execute all tests.

Parameters:
context - the current DIF context
testOnlyErrors - the test only errors
Returns:
T if all tests ran successfully


Copyright © 2014 Digitalis Informática Lda. All Rights Reserved.