Examples of asMaps()


Examples of cucumber.api.DataTable.asMaps()

    if ( dataTable != null ) {
      DataTable cleanedTable = fixTableHeader( dataTable );
      boolean hasTypeSpec = cleanedTable.topCells().size() > 2;

      for ( Map<String, String> row : cleanedTable.asMaps( String.class, String.class ) ) {
        String name = spel.getValueAsString( row.get( "name" ) );
        String value = spel.getValueAsString( row.get( "value" ) );
        String type = row.get( "type" );

        if ( type != null ) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.