harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From var...@apache.org
Subject svn commit: r592360 - /harmony/enhanced/drlvm/trunk/src/test/regression/H4514/Test.java
Date Tue, 06 Nov 2007 10:23:03 GMT
Author: varlax
Date: Tue Nov  6 02:23:02 2007
New Revision: 592360

URL: http://svn.apache.org/viewvc?rev=592360&view=rev
Log:
Updated hardcoded line numbers, which were shifted after updating license header.
Do we need smarter solution?

Modified:
    harmony/enhanced/drlvm/trunk/src/test/regression/H4514/Test.java

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H4514/Test.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H4514/Test.java?rev=592360&r1=592359&r2=592360&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H4514/Test.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H4514/Test.java Tue Nov  6 02:23:02 2007
@@ -27,7 +27,7 @@
             assertEquals(0, 1); //the number of this line must be in tracktracelement
         } catch (Throwable e) {
             StackTraceElement thisFrame = findThisFrame(e);
-            assertEquals(10, thisFrame.getLineNumber());
+            assertEquals(27, thisFrame.getLineNumber());
         }
     }
 
@@ -39,7 +39,7 @@
             fail();//the number of this line must be in tracktracelement
         } catch (Throwable e) {
             StackTraceElement thisFrame = findThisFrame(e);
-            assertEquals(22, thisFrame.getLineNumber());
+            assertEquals(39, thisFrame.getLineNumber());
         }
     }
 
@@ -51,7 +51,7 @@
             assertEquals(true, false);//the number of this line must be in tracktracelement
         } catch (Throwable e) {
             StackTraceElement thisFrame = findThisFrame(e);
-            assertEquals(34, thisFrame.getLineNumber());
+            assertEquals(51, thisFrame.getLineNumber());
         }
 
     }
@@ -64,7 +64,7 @@
             assertNotNull(null);//the number of this line must be in tracktracelement
         } catch (Throwable e) {
             StackTraceElement thisFrame = findThisFrame(e);
-            assertEquals(47, thisFrame.getLineNumber());
+            assertEquals(64, thisFrame.getLineNumber());
         }
 
     }
@@ -77,7 +77,7 @@
             assertEquals("", "fail");//the number of this line must be in tracktracelement
         } catch (Throwable e) {
             StackTraceElement thisFrame = findThisFrame(e);
-            assertEquals(60, thisFrame.getLineNumber());
+            assertEquals(77, thisFrame.getLineNumber());
         }
 
     }



Mime
View raw message