src/main/java/org/s2n/ddt/util/DriverUtil.java
public String compareResults(String expected, String actual) {
		String result = null;
		if (actual.equalsIgnoreCase(TestCaseConstants.PASS)
				&& expected.equalsIgnoreCase(TestCaseConstants.PASS)) {
			result = TestCaseConstants.PASS;
		} else if (actual.equalsIgnoreCase(TestCaseConstants.FAIL)
				&& (expected.equalsIgnoreCase(TestCaseConstants.FAIL))) {
			result = TestCaseConstants.PASS;
		} else if (actual.equalsIgnoreCase(TestCaseConstants.PASS)
				&& (expected.equalsIgnoreCase(TestCaseConstants.EMPTY_STRING))) {
			result = TestCaseConstants.PASS;
		} else if (actual.equalsIgnoreCase(TestCaseConstants.FAIL)
				&& (expected.equalsIgnoreCase(TestCaseConstants.EMPTY_STRING))) {
			result = TestCaseConstants.FAIL;
		} else if ((actual.equalsIgnoreCase(TestCaseConstants.PASS))
				&& (expected.equalsIgnoreCase(TestCaseConstants.FAIL))) {
			result = TestCaseConstants.FAIL;
		} else if ((actual.equalsIgnoreCase(TestCaseConstants.FAIL))
				&& (expected.equalsIgnoreCase(TestCaseConstants.PASS))) {
			result = TestCaseConstants.FAIL;
		}
		return result;
	}
/**
	 * This methid is used to compare the Expected result and Actual result
	 * @param expected
	 * @param actual
	 * @return
	 */
This methid is used to compare the Expected result and Actual result
@param expected
@param actual
@return
This methid is used to compare the Expected result and Actual result @param expected @param actual @return
public String compareResults(String expected, String actual) {
		String result = null;
		if (actual.equalsIgnoreCase(TestCaseConstants.PASS)
				&& expected.equalsIgnoreCase(TestCaseConstants.PASS)) {
			result = TestCaseConstants.PASS;
		} else if (actual.equalsIgnoreCase(TestCaseConstants.FAIL)
				&& (expected.equalsIgnoreCase(TestCaseConstants.FAIL))) {
			result = TestCaseConstants.PASS;
		} else if (actual.equalsIgnoreCase(TestCaseConstants.PASS)
				&& (expected.equalsIgnoreCase(TestCaseConstants.EMPTY_STRING))) {
			result = TestCaseConstants.PASS;
		} else if (actual.equalsIgnoreCase(TestCaseConstants.FAIL)
				&& (expected.equalsIgnoreCase(TestCaseConstants.EMPTY_STRING))) {
			result = TestCaseConstants.FAIL;
		} else if ((actual.equalsIgnoreCase(TestCaseConstants.PASS))
				&& (expected.equalsIgnoreCase(TestCaseConstants.FAIL))) {
			result = TestCaseConstants.FAIL;
		} else if ((actual.equalsIgnoreCase(TestCaseConstants.FAIL))
				&& (expected.equalsIgnoreCase(TestCaseConstants.PASS))) {
			result = TestCaseConstants.FAIL;
		}
		return result;
	}
public String compareResults ( String expected , String actual ) { String result = null ; if ( actual . equalsIgnoreCase ( TestCaseConstants . PASS ) && expected . equalsIgnoreCase ( TestCaseConstants . PASS ) ) { result = TestCaseConstants . PASS ; } else if ( actual . equalsIgnoreCase ( TestCaseConstants . FAIL ) && ( expected . equalsIgnoreCase ( TestCaseConstants . FAIL ) ) ) { result = TestCaseConstants . PASS ; } else if ( actual . equalsIgnoreCase ( TestCaseConstants . PASS ) && ( expected . equalsIgnoreCase ( TestCaseConstants . EMPTY_STRING ) ) ) { result = TestCaseConstants . PASS ; } else if ( actual . equalsIgnoreCase ( TestCaseConstants . FAIL ) && ( expected . equalsIgnoreCase ( TestCaseConstants . EMPTY_STRING ) ) ) { result = TestCaseConstants . FAIL ; } else if ( ( actual . equalsIgnoreCase ( TestCaseConstants . PASS ) ) && ( expected . equalsIgnoreCase ( TestCaseConstants . FAIL ) ) ) { result = TestCaseConstants . FAIL ; } else if ( ( actual . equalsIgnoreCase ( TestCaseConstants . FAIL ) ) && ( expected . equalsIgnoreCase ( TestCaseConstants . PASS ) ) ) { result = TestCaseConstants . FAIL ; } return result ; }
This methid is used to compare the Expected result and Actual result
 @param expected
 @param actual
 @return
This methid is used to compare the Expected result and Actual result @param expected @param actual @return