public class FitRestFixture
extends fit.ActionFixture
RestFixture implementation for Fit runner. The class is simply an
ActionFixture implementation that delegates to an instance of
RestFixture.| Constructor and Description |
|---|
FitRestFixture() |
callParseMethod, camel, check, ClearSymbols, counts, doCell, doRow, doRows, doTable, doTables, escape, escape, exception, getArgs, getArgsForTable, getLinkedFixtureWithArgs, getSymbol, getTargetClass, gray, handleBlankCell, hasParseMethod, hasSymbol, ignore, interpretTables, isFriendlyException, label, loadFixture, parse, right, setForcedAbort, setSymbol, wrong, wrongpublic String getLastEvaluation()
public String getBaseUrl()
RestFixture.getBaseUrl()public void baseUrl(String url)
public void setBaseUrl(Url url)
RestFixture.setBaseUrl(Url)url - the base url.public Map<String,String> getDefaultHeaders()
RestFixture.getDefaultHeaders()public CellFormatter<?> getFormatter()
RestFixture.getFormatter()public void setMultipartFileName()
RestFixture.setMultipartFileName()public String getMultipartFileName()
RestFixture.getMultipartFileName()public void setFileName()
RestFixture.setFileName()public String getFileName()
RestFixture.getFileName()public void setMultipartFileParameterName()
RestFixture.setMultipartFileParameterName()public String getMultipartFileParameterName()
RestFixture.getMultipartFileParameterName()public void setBody()
RestFixture.setBody()public void setHeader()
RestFixture.setHeader()public void setHeaders()
RestFixture.setHeaders()public void PUT()
RestFixture.PUT()public void GET()
RestFixture.GET()public void DELETE()
RestFixture.DELETE()public void POST()
RestFixture.POST()public void HEAD()
RestFixture.HEAD()public void OPTIONS()
RestFixture.OPTIONS()public void TRACE()
RestFixture.TRACE()public void let()
RestFixture.let()public void comment()
RestFixture.comment()public void evalJs()
RestFixture.evalJs()public void processRow(RowWrapper<?> currentRow)
RestFixture.processRow(RowWrapper)currentRow - the row to process.public Map<String,String> getHeaders()
RestFixture.getHeaders()public void doCells(fit.Parse parse)
doCells in class fit.ActionFixtureprotected String getConfigNameFromArgs()
protected String getBaseUrlFromArgs()
Fixture) for Fit runner to extract the
baseUrl of each Rest request, first parameter of each RestFixture
table.public Config getConfig()
Copyright © 2017 smartrics. All rights reserved.