test method for com.google.iosched.model.dataextractor #extractrooms com.google.iosched.model.jsondatasources . concode_field_sep JsonDataSources sources concode_field_sep void setUp concode_elem_sep void testExtractFromDataSources
void function ( ) { JsonArray loc0 = new DataExtractor ( false ) . extractRooms ( sources ) ; assertEquals ( 8 , loc0 . size ( ) ) ; JsonObject loc1 = loc0 . get ( 0 ) . getAsJsonObject ( ) ; String loc2 = loc1 . get ( OutputJsonKeys . Rooms . name . name ( ) ) . getAsString ( ) ; assertEquals ( true , loc2 . startsWith ( "srini_string" ) ) ; }