myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From we...@apache.org
Subject svn commit: r815217 - in /myfaces/extensions/scripting/trunk/core/core/src/test/java/org/apache/myfaces/scripting/core/util: Probe.java ReflectUtilTest.java TestProbe.java
Date Tue, 15 Sep 2009 08:30:35 GMT
Author: werpu
Date: Tue Sep 15 08:30:35 2009
New Revision: 815217

URL: http://svn.apache.org/viewvc?rev=815217&view=rev
Log:
reworking of the tests

Added:
    myfaces/extensions/scripting/trunk/core/core/src/test/java/org/apache/myfaces/scripting/core/util/Probe.java
  (contents, props changed)
      - copied, changed from r815215, myfaces/extensions/scripting/trunk/core/core/src/test/java/org/apache/myfaces/scripting/core/util/TestProbe.java
Removed:
    myfaces/extensions/scripting/trunk/core/core/src/test/java/org/apache/myfaces/scripting/core/util/TestProbe.java
Modified:
    myfaces/extensions/scripting/trunk/core/core/src/test/java/org/apache/myfaces/scripting/core/util/ReflectUtilTest.java

Copied: myfaces/extensions/scripting/trunk/core/core/src/test/java/org/apache/myfaces/scripting/core/util/Probe.java
(from r815215, myfaces/extensions/scripting/trunk/core/core/src/test/java/org/apache/myfaces/scripting/core/util/TestProbe.java)
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/core/core/src/test/java/org/apache/myfaces/scripting/core/util/Probe.java?p2=myfaces/extensions/scripting/trunk/core/core/src/test/java/org/apache/myfaces/scripting/core/util/Probe.java&p1=myfaces/extensions/scripting/trunk/core/core/src/test/java/org/apache/myfaces/scripting/core/util/TestProbe.java&r1=815215&r2=815217&rev=815217&view=diff
==============================================================================
--- myfaces/extensions/scripting/trunk/core/core/src/test/java/org/apache/myfaces/scripting/core/util/TestProbe.java
(original)
+++ myfaces/extensions/scripting/trunk/core/core/src/test/java/org/apache/myfaces/scripting/core/util/Probe.java
Tue Sep 15 08:30:35 2009
@@ -18,6 +18,8 @@
  */
 package org.apache.myfaces.scripting.core.util;
 
+import org.junit.Ignore;
+
 /**
  * @author Werner Punz (latest modification by $Author$)
  * @version $Revision$ $Date$
@@ -25,9 +27,10 @@
  * testprobe for our reflectutils
  */
 
-public class TestProbe {
+@Ignore
+public class Probe {
 
-    public TestProbe() {
+    public Probe() {
     }
 
     public void testMethod1() {

Propchange: myfaces/extensions/scripting/trunk/core/core/src/test/java/org/apache/myfaces/scripting/core/util/Probe.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/extensions/scripting/trunk/core/core/src/test/java/org/apache/myfaces/scripting/core/util/Probe.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Modified: myfaces/extensions/scripting/trunk/core/core/src/test/java/org/apache/myfaces/scripting/core/util/ReflectUtilTest.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/core/core/src/test/java/org/apache/myfaces/scripting/core/util/ReflectUtilTest.java?rev=815217&r1=815216&r2=815217&view=diff
==============================================================================
--- myfaces/extensions/scripting/trunk/core/core/src/test/java/org/apache/myfaces/scripting/core/util/ReflectUtilTest.java
(original)
+++ myfaces/extensions/scripting/trunk/core/core/src/test/java/org/apache/myfaces/scripting/core/util/ReflectUtilTest.java
Tue Sep 15 08:30:35 2009
@@ -21,7 +21,6 @@
 import static org.junit.Assert.*;
 import static org.apache.myfaces.scripting.core.util.ReflectUtil.*;
 
-import org.junit.Before;
 import org.junit.Test;
 
 
@@ -32,7 +31,7 @@
 
 public class ReflectUtilTest {
 
-    TestProbe probe = new TestProbe();
+    Probe probe = new Probe();
 
     @Test
     public void executeMethod1() {
@@ -66,7 +65,7 @@
 
     @Test
     public void executeStatic() {
-        boolean retVal = (Boolean) executeStaticMethod(TestProbe.class, "testMethod4", "1",
"2");
+        boolean retVal = (Boolean) executeStaticMethod(Probe.class, "testMethod4", "1", "2");
     }
 
 }



Mime
View raw message