Author: doogie
Date: Fri Mar 27 16:58:28 2009 New Revision: 759242 URL: http://svn.apache.org/viewvc?rev=759242&view=rev Log: Fix lines that *only* have whitespace. Modified: ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/EntityXmlAssertTest.java ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/JunitSuiteWrapper.java ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/JythonTest.java ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/ModelTestSuite.java ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/SimpleMethodTest.java ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/TestCaseBase.java Modified: ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/EntityXmlAssertTest.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/EntityXmlAssertTest.java?rev=759242&r1=759241&r2=759242&view=diff ============================================================================== --- ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/EntityXmlAssertTest.java (original) +++ ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/EntityXmlAssertTest.java Fri Mar 27 16:58:28 2009 @@ -68,7 +68,7 @@ public void run(TestResult result) { result.startTest(this); - + try { URL entityXmlURL = FlexibleLocation.resolveLocation(entityXmlUrlString); GenericDelegator delegator = modelTestSuite.getDelegator(); @@ -92,7 +92,7 @@ } catch (Exception e) { result.addError(this, e); } - + result.endTest(this); } } Modified: ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/JunitSuiteWrapper.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/JunitSuiteWrapper.java?rev=759242&r1=759241&r2=759242&view=diff ============================================================================== --- ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/JunitSuiteWrapper.java (original) +++ ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/JunitSuiteWrapper.java Fri Mar 27 16:58:28 2009 @@ -38,9 +38,9 @@ public class JunitSuiteWrapper { public static final String module = JunitSuiteWrapper.class.getName(); - + protected List<ModelTestSuite> modelTestSuiteList = FastList.newInstance(); - + public JunitSuiteWrapper(String componentName, String suiteName, String testCase) { for (ComponentConfig.TestSuiteInfo testSuiteInfo: ComponentConfig.getAllTestSuiteInfos(componentName)) { ResourceHandler testSuiteResource = testSuiteInfo.createResourceHandler(); @@ -90,7 +90,7 @@ return testSuites; } - + public List<Test> getAllTestList() { List<Test> allTestList = FastList.newInstance(); @@ -99,7 +99,7 @@ allTestList.add(tst); } } - + return allTestList; } } Modified: ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/JythonTest.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/JythonTest.java?rev=759242&r1=759241&r2=759242&view=diff ============================================================================== --- ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/JythonTest.java (original) +++ ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/JythonTest.java Fri Mar 27 16:58:28 2009 @@ -27,7 +27,7 @@ public static final String module = JythonTest.class.getName(); protected String scriptLocation; - + /** * @param modelTestSuite */ @@ -43,7 +43,7 @@ public void run(TestResult result) { // TODO Auto-generated method stub result.startTest(this); - + result.endTest(this); } } Modified: ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/ModelTestSuite.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/ModelTestSuite.java?rev=759242&r1=759241&r2=759242&view=diff ============================================================================== --- ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/ModelTestSuite.java (original) +++ ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/ModelTestSuite.java Fri Mar 27 16:58:28 2009 @@ -42,28 +42,28 @@ public class ModelTestSuite { public static final String module = ModelTestSuite.class.getName(); - + protected String suiteName; protected String delegatorName; protected String dispatcherName; - + protected GenericDelegator delegator; protected LocalDispatcher dispatcher; protected List<Test> testList = FastList.newInstance(); - + public ModelTestSuite(Element mainElement, String testCase) { this.suiteName = mainElement.getAttribute("suite-name"); this.delegatorName = mainElement.getAttribute("delegator-name"); if (UtilValidate.isEmpty(this.delegatorName)) this.delegatorName = "test"; - + this.dispatcherName = mainElement.getAttribute("dispatcher-name"); if (UtilValidate.isEmpty(this.dispatcherName)) this.dispatcherName = "test-dispatcher"; - + this.delegator = GenericDelegator.getGenericDelegator(this.delegatorName); this.dispatcher = GenericDispatcher.getLocalDispatcher(this.dispatcherName, delegator); - + for (Element testCaseElement : UtilXml.childElementList(mainElement, UtilMisc.toSet("test-case", "test-group"))) { String caseName = testCaseElement.getAttribute("case-name"); String nodeName = testCaseElement.getNodeName(); @@ -118,19 +118,19 @@ } } - + String getSuiteName() { return this.suiteName; } - + GenericDelegator getDelegator() { return this.delegator; } - + LocalDispatcher getDispatcher() { return this.dispatcher; } - + List<Test> getTestList() { return testList; } Modified: ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/SimpleMethodTest.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/SimpleMethodTest.java?rev=759242&r1=759241&r2=759242&view=diff ============================================================================== --- ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/SimpleMethodTest.java (original) +++ ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/SimpleMethodTest.java Fri Mar 27 16:58:28 2009 @@ -57,7 +57,7 @@ public void run(TestResult result) { result.startTest(this); - + LocalDispatcher dispatcher = modelTestSuite.getDispatcher(); try { Modified: ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/TestCaseBase.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/TestCaseBase.java?rev=759242&r1=759241&r2=759242&view=diff ============================================================================== --- ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/TestCaseBase.java (original) +++ ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/TestCaseBase.java Fri Mar 27 16:58:28 2009 @@ -26,10 +26,10 @@ public abstract class TestCaseBase implements Test { public static final String module = TestCaseBase.class.getName(); - + protected ModelTestSuite modelTestSuite; protected String caseName; - + public TestCaseBase(String caseName, ModelTestSuite modelTestSuite) { this.modelTestSuite = modelTestSuite; this.caseName = caseName; |
Free forum by Nabble | Edit this page |