You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2005/11/29 11:57:50 UTC
svn commit: r349706 - in
/incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/test/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard:
AbstractJavaScriptTestCase.java DateUnitTest.java JavaScriptTestCase.java
Author: lofwyr
Date: Tue Nov 29 02:57:35 2005
New Revision: 349706
URL: http://svn.apache.org/viewcvs?rev=349706&view=rev
Log:
fix to make compilable under Linux/MacOSX: abstract TestCases should be start with Abstract
Added:
incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/test/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/AbstractJavaScriptTestCase.java
- copied, changed from r349697, incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/test/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/JavaScriptTestCase.java
Removed:
incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/test/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/JavaScriptTestCase.java
Modified:
incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/test/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/DateUnitTest.java
Copied: incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/test/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/AbstractJavaScriptTestCase.java (from r349697, incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/test/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/JavaScriptTestCase.java)
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/test/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/AbstractJavaScriptTestCase.java?p2=incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/test/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/AbstractJavaScriptTestCase.java&p1=incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/test/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/JavaScriptTestCase.java&r1=349697&r2=349706&rev=349706&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/test/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/JavaScriptTestCase.java (original)
+++ incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/test/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/AbstractJavaScriptTestCase.java Tue Nov 29 02:57:35 2005
@@ -30,7 +30,7 @@
import org.mozilla.javascript.Context;
import org.mozilla.javascript.JavaScriptException;
-public abstract class JavaScriptTestCase extends TestCase {
+public abstract class AbstractJavaScriptTestCase extends TestCase {
protected Context cx;
protected Scriptable scope;
@@ -44,6 +44,10 @@
protected void tearDown() throws Exception {
Context.exit();
}
+
+ public void testDummy() {
+
+}
protected Object eval(String script) throws JavaScriptException {
return cx.evaluateString(scope, script, "test", 1, null);
Modified: incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/test/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/DateUnitTest.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/test/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/DateUnitTest.java?rev=349706&r1=349705&r2=349706&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/test/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/DateUnitTest.java (original)
+++ incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/test/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/DateUnitTest.java Tue Nov 29 02:57:35 2005
@@ -32,7 +32,7 @@
import java.text.DecimalFormat;
import java.text.SimpleDateFormat;
-public class DateUnitTest extends JavaScriptTestCase {
+public class DateUnitTest extends AbstractJavaScriptTestCase {
private static final int[] YEAR_MONTH_DAY
= {Calendar.YEAR, Calendar.MONTH, Calendar.DAY_OF_MONTH};