poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r689636 - /poi/trunk/src/testcases/org/apache/poi/hssf/record/aggregates/TestValueRecordsAggregate.java
Date Wed, 27 Aug 2008 21:54:20 GMT
Author: josh
Date: Wed Aug 27 14:54:20 2008
New Revision: 689636

URL: http://svn.apache.org/viewvc?rev=689636&view=rev
Log:
should have been submitted with c689559

Modified:
    poi/trunk/src/testcases/org/apache/poi/hssf/record/aggregates/TestValueRecordsAggregate.java

Modified: poi/trunk/src/testcases/org/apache/poi/hssf/record/aggregates/TestValueRecordsAggregate.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/record/aggregates/TestValueRecordsAggregate.java?rev=689636&r1=689635&r2=689636&view=diff
==============================================================================
--- poi/trunk/src/testcases/org/apache/poi/hssf/record/aggregates/TestValueRecordsAggregate.java
(original)
+++ poi/trunk/src/testcases/org/apache/poi/hssf/record/aggregates/TestValueRecordsAggregate.java
Wed Aug 27 14:54:20 2008
@@ -64,23 +64,9 @@
 
     }
 
-    public void testUnknownRecordsIgnored()
-    {
-        List records = testData();
-        valueRecord.construct( 0, records );
-        Iterator iterator = valueRecord.getIterator();
-        Record record1 = (Record) iterator.next();
-        Record record2 = (Record) iterator.next();
-        assertNotNull( "No record found", record1 );
-        assertNotNull( "No record found", record2 );
-        assertFalse( iterator.hasNext() );
-
-    }
-
     private List testData(){
         List records = new ArrayList();
         FormulaRecord formulaRecord = new FormulaRecord();
-        UnknownRecord unknownRecord = new UnknownRecord();
         BlankRecord blankRecord = new BlankRecord();
         WindowOneRecord windowOneRecord = new WindowOneRecord();
         formulaRecord.setRow( 1 );
@@ -88,7 +74,6 @@
         blankRecord.setRow( 2 );
         blankRecord.setColumn( (short) 2 );
         records.add( formulaRecord );
-        records.add( unknownRecord );
         records.add( blankRecord );
         records.add( windowOneRecord );
         return records;



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message