73747576777879808182
public LogQueryResultImpl createDummy() { final LogQueryEntryImpl entry = LogQueryEntryImplTest.createDummy(); final LogQueryResultImpl impl = new LogQueryResultImpl( FIELD_NAMES, new LogQueryEntryImpl[] { entry } ); return impl; }
96979899100101102103104105
final LogQueryResult d = createDummy(); assertEquals( d, d ); final LogQueryResult dCopy = new LogQueryResultImpl( d.getFieldNames(), d.getEntries() ); assertEquals( d, dCopy ); assertEquals( dCopy, d ); }
106107108109110111112113114115116117
public void testGetters() throws OpenDataException { final LogQueryResultImpl d = createDummy(); d.getFieldNames(); d.getEntries(); // d.getCompositeType(); //d.asCompositeData(); }
204205206207208209210
} entries[ recordIdx ] = new LogQueryEntryImpl( fieldValues ); } return new LogQueryResultImpl( fieldHeaders, entries ); }
7879808182838485868788
if ( method.getName().equals( "queryServerLog" ) ) { final List<Serializable[]> ls = TypeCast.asList( resultIn ); final LogQueryResult converted = new LogQueryResultImpl( ls ); resultOut = converted; } return resultOut; }