Author: apresta
Date: Fri Nov  2 22:02:09 2012
New Revision: 1405180

URL: http://svn.apache.org/viewvc?rev=1405180&view=rev
Log:
GIRAPH-400: Refactoring broke 
TestTextDoubleDoubleAdjacencyListVertexInputFormat (apresta)

Modified:
    giraph/trunk/CHANGELOG
    
giraph/trunk/giraph/src/test/java/org/apache/giraph/io/TestTextDoubleDoubleAdjacencyListVertexInputFormat.java

Modified: giraph/trunk/CHANGELOG
URL: 
http://svn.apache.org/viewvc/giraph/trunk/CHANGELOG?rev=1405180&r1=1405179&r2=1405180&view=diff
==============================================================================
--- giraph/trunk/CHANGELOG (original)
+++ giraph/trunk/CHANGELOG Fri Nov  2 22:02:09 2012
@@ -1,6 +1,9 @@
 Giraph Change Log
 
 Release 0.2.0 - unreleased
+  GIRAPH-400: Refactoring broke
+  TestTextDoubleDoubleAdjacencyListVertexInputFormat (apresta)
+
   GIRAPH-155: Allow creation of graph by adding edges that span
   multiple workers (apresta)
 

Modified: 
giraph/trunk/giraph/src/test/java/org/apache/giraph/io/TestTextDoubleDoubleAdjacencyListVertexInputFormat.java
URL: 
http://svn.apache.org/viewvc/giraph/trunk/giraph/src/test/java/org/apache/giraph/io/TestTextDoubleDoubleAdjacencyListVertexInputFormat.java?rev=1405180&r1=1405179&r2=1405180&view=diff
==============================================================================
--- 
giraph/trunk/giraph/src/test/java/org/apache/giraph/io/TestTextDoubleDoubleAdjacencyListVertexInputFormat.java
 (original)
+++ 
giraph/trunk/giraph/src/test/java/org/apache/giraph/io/TestTextDoubleDoubleAdjacencyListVertexInputFormat.java
 Fri Nov  2 22:02:09 2012
@@ -21,7 +21,6 @@ import org.apache.giraph.GiraphConfigura
 import org.apache.giraph.graph.BspUtils;
 import org.apache.giraph.graph.Edge;
 import org.apache.giraph.graph.EdgeListVertex;
-import org.apache.giraph.graph.GiraphJob;
 import org.apache.giraph.graph.GraphState;
 import org.apache.giraph.graph.Vertex;
 import org.apache.hadoop.conf.Configuration;
@@ -168,7 +167,7 @@ public class TestTextDoubleDoubleAdjacen
 
   @Test
   public void testHappyPath() throws Exception {
-    String input = 
"Hi\t0\tMyEdgeInputFormat\t1.123\tBomdia\t2.234\tOla\t3.345";
+    String input = "Hi\t0\tCiao\t1.123\tBomdia\t2.234\tOla\t3.345";
 
     when(rr.getCurrentValue()).thenReturn(new Text(input));
     TextVertexReader vr = createVertexReader(rr);
@@ -179,7 +178,7 @@ public class TestTextDoubleDoubleAdjacen
         vr.getCurrentVertex();
     setGraphState(vertex, graphState);
     assertValidVertex(conf, graphState, vertex, new Text("Hi"), new 
DoubleWritable(0),
-        new Edge<Text, DoubleWritable>(new Text("MyEdgeInputFormat"), new 
DoubleWritable(1.123d)),
+        new Edge<Text, DoubleWritable>(new Text("Ciao"), new 
DoubleWritable(1.123d)),
         new Edge<Text, DoubleWritable>(new Text("Bomdia"), new 
DoubleWritable(2.234d)),
         new Edge<Text, DoubleWritable>(new Text("Ola"), new 
DoubleWritable(3.345d)));
     assertEquals(vertex.getNumEdges(), 3);
@@ -187,7 +186,7 @@ public class TestTextDoubleDoubleAdjacen
 
   @Test
   public void testLineSanitizer() throws Exception {
-    String input = 
"Bye\t0.01\tMyEdgeInputFormat\t1.001\tTchau\t2.0001\tAdios\t3.00001";
+    String input = "Bye\t0.01\tCiao\t1.001\tTchau\t2.0001\tAdios\t3.00001";
 
     AdjacencyListTextVertexInputFormat.LineSanitizer toUpper =
         new AdjacencyListTextVertexInputFormat.LineSanitizer() {


Reply via email to