META-INF.apidocs.nl.hsac.fitnesse.fixture.slim.XmlFixture.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hsac-fitnesse-fixtures Show documentation
Show all versions of hsac-fitnesse-fixtures Show documentation
Fixtures to assist in testing via FitNesse
{
"constructors" : [ {
"readableName" : "xml fixture",
"usage" : "| xml fixture |",
"name" : "XmlFixture",
"docString" : "",
"annotations" : [ ],
"parameters" : [ ],
"exceptions" : [ ]
} ],
"qualifiedName" : "nl.hsac.fitnesse.fixture.slim.XmlFixture",
"publicMethods" : [ {
"readableName" : "load file",
"usage" : "| load file | [filename] | ",
"contexthelp" : "load file <filename>",
"name" : "loadFile",
"docString" : "@param filename XML file to be loaded.\n@return true",
"annotations" : [ ],
"parameters" : [ {
"name" : "filename",
"description" : "XML file to be loaded.",
"type" : "String"
} ],
"exceptions" : [ ],
"returnType" : "boolean"
}, {
"readableName" : "load",
"usage" : "| load | [xml] | ",
"contexthelp" : "load <xml>",
"name" : "load",
"docString" : "@param xml XML content to be loaded.\n@return true",
"annotations" : [ ],
"parameters" : [ {
"name" : "xml",
"description" : "XML content to be loaded.",
"type" : "String"
} ],
"exceptions" : [ ],
"returnType" : "boolean"
}, {
"readableName" : "document",
"usage" : "| document |",
"contexthelp" : "document",
"name" : "document",
"docString" : "@return formatted loaded XML content.",
"annotations" : [ ],
"parameters" : [ ],
"exceptions" : [ ],
"returnType" : "String"
}, {
"readableName" : "register prefix for namespace",
"usage" : "| register prefix for | [prefix] | namespace | [namespace] | ",
"contexthelp" : "register prefix for <prefix> namespace <namespace>",
"name" : "registerPrefixForNamespace",
"docString" : "Register a prefix to use in XPath expressions.\n@param prefix prefix to be used in xPath expressions.\n@param namespace XML namespace the prefix should point to.",
"annotations" : [ ],
"parameters" : [ {
"name" : "prefix",
"description" : "prefix to be used in xPath expressions.",
"type" : "String"
}, {
"name" : "namespace",
"description" : "XML namespace the prefix should point to.",
"type" : "String"
} ],
"exceptions" : [ ],
"returnType" : "void"
}, {
"readableName" : "x path",
"usage" : "| x path | [xPathExpr] | ",
"contexthelp" : "x path <xPathExpr>",
"name" : "xPath",
"docString" : "@param xPathExpr expression to evaluate.\n@return result of expression evaluation against loaded content.\n@throws RuntimeException if XPath could not be evaluated.",
"annotations" : [ ],
"parameters" : [ {
"name" : "xPathExpr",
"description" : "expression to evaluate.",
"type" : "String"
} ],
"exceptions" : [ ],
"returnType" : "String"
}, {
"readableName" : "list x path matches",
"usage" : "| list x path matches | [xPathExpr] | ",
"contexthelp" : "list x path matches <xPathExpr>",
"name" : "listXPathMatches",
"docString" : "@param xPathExpr expression to evaluate.\n@return results of expression evaluation against loaded content.\n@throws RuntimeException if XPath could not be evaluated.",
"annotations" : [ ],
"parameters" : [ {
"name" : "xPathExpr",
"description" : "expression to evaluate.",
"type" : "String"
} ],
"exceptions" : [ ],
"returnType" : "ArrayList<String>"
}, {
"readableName" : "create file from base 64 content of",
"usage" : "| create file from base 64 content | [baseName] | of | [xPath] | ",
"contexthelp" : "create file from base 64 content <baseName> of <xPath>",
"name" : "createFileFromBase64ContentOf",
"docString" : "@param baseName base of filename to generate (a number might be added to the name to make it unique).\n@param xPath expression to evaluate.\n@return link to created file.",
"annotations" : [ ],
"parameters" : [ {
"name" : "baseName",
"description" : "base of filename to generate (a number might be added to the name to make it unique).",
"type" : "String"
}, {
"name" : "xPath",
"description" : "expression to evaluate.",
"type" : "String"
} ],
"exceptions" : [ ],
"returnType" : "String"
}, {
"readableName" : "validate against xsd file",
"usage" : "| validate against xsd file | [xsdFileName] | ",
"contexthelp" : "validate against xsd file <xsdFileName>",
"name" : "validateAgainstXsdFile",
"docString" : "Validate the loaded xml against a schema in file xsdFileName\n@param xsdFileName filename of the xsd to use\n@return true if the xml validates against the schema. Throws a descriptive exception otherwise",
"annotations" : [ ],
"parameters" : [ {
"name" : "xsdFileName",
"description" : "filename of the xsd to use",
"type" : "String"
} ],
"exceptions" : [ ],
"returnType" : "boolean"
}, {
"readableName" : "validate against xsd",
"usage" : "| validate against xsd | [xsdSchema] | ",
"contexthelp" : "validate against xsd <xsdSchema>",
"name" : "validateAgainstXsd",
"docString" : "Validate the loaded xml against a schema provided from the wiki\n@param xsdSchema xsd schema to use\n@return true if the xml validates against the schema. Throws a descriptive exception otherwise",
"annotations" : [ ],
"parameters" : [ {
"name" : "xsdSchema",
"description" : "xsd schema to use",
"type" : "String"
} ],
"exceptions" : [ ],
"returnType" : "boolean"
}, {
"readableName" : "set global value to",
"usage" : "| set global value | [symbolName] | to | [value] | ",
"contexthelp" : "set global value <symbolName> to <value>",
"name" : "setGlobalValueTo",
"docString" : "Stores a (global) value so it can be accessed by other fixtures/pages.\n@param symbolName name to store value under.\n@param value value to store.",
"annotations" : [ ],
"parameters" : [ {
"name" : "symbolName",
"description" : "name to store value under.",
"type" : "String"
}, {
"name" : "value",
"description" : "value to store.",
"type" : "String"
} ],
"exceptions" : [ ],
"returnType" : "void"
}, {
"readableName" : "global value",
"usage" : "| global value | [symbolName] | ",
"contexthelp" : "global value <symbolName>",
"name" : "globalValue",
"docString" : "Retrieves a (global) value, which was previously stored using #setGlobalValueTo().\n@param symbolName name value was stored under.",
"annotations" : [ ],
"parameters" : [ {
"name" : "symbolName",
"description" : "name value was stored under.",
"type" : "String"
} ],
"exceptions" : [ ],
"returnType" : "String"
}, {
"readableName" : "wait seconds",
"usage" : "| wait seconds | [i] | ",
"contexthelp" : "wait seconds <i>",
"name" : "waitSeconds",
"docString" : "",
"annotations" : [ ],
"parameters" : [ {
"name" : "i",
"type" : "int"
} ],
"exceptions" : [ ],
"returnType" : "boolean"
}, {
"readableName" : "wait milliseconds",
"usage" : "| wait milliseconds | [i] | ",
"contexthelp" : "wait milliseconds <i>",
"name" : "waitMilliseconds",
"docString" : "",
"annotations" : [ ],
"parameters" : [ {
"name" : "i",
"type" : "int"
} ],
"exceptions" : [ ],
"returnType" : "boolean"
}, {
"readableName" : "set repeat interval to milliseconds",
"usage" : "| set repeat interval to milliseconds | [milliseconds] | ",
"contexthelp" : "set repeat interval to milliseconds <milliseconds>",
"name" : "setRepeatIntervalToMilliseconds",
"docString" : "",
"annotations" : [ ],
"parameters" : [ {
"name" : "milliseconds",
"type" : "int"
} ],
"exceptions" : [ ],
"returnType" : "void"
}, {
"readableName" : "repeat interval",
"usage" : "| repeat interval |",
"contexthelp" : "repeat interval",
"name" : "repeatInterval",
"docString" : "",
"annotations" : [ ],
"parameters" : [ ],
"exceptions" : [ ],
"returnType" : "long"
}, {
"readableName" : "repeat at most times",
"usage" : "| repeat at most times | [maxCount] | ",
"contexthelp" : "repeat at most times <maxCount>",
"name" : "repeatAtMostTimes",
"docString" : "",
"annotations" : [ ],
"parameters" : [ {
"name" : "maxCount",
"type" : "int"
} ],
"exceptions" : [ ],
"returnType" : "void"
}, {
"readableName" : "repeat at most times",
"usage" : "| repeat at most times |",
"contexthelp" : "repeat at most times",
"name" : "repeatAtMostTimes",
"docString" : "",
"annotations" : [ ],
"parameters" : [ ],
"exceptions" : [ ],
"returnType" : "int"
}, {
"readableName" : "repeat count",
"usage" : "| repeat count |",
"contexthelp" : "repeat count",
"name" : "repeatCount",
"docString" : "",
"annotations" : [ ],
"parameters" : [ ],
"exceptions" : [ ],
"returnType" : "int"
}, {
"readableName" : "time spent repeating",
"usage" : "| time spent repeating |",
"contexthelp" : "time spent repeating",
"name" : "timeSpentRepeating",
"docString" : "",
"annotations" : [ ],
"parameters" : [ ],
"exceptions" : [ ],
"returnType" : "long"
} ],
"typeName" : "nl.hsac.fitnesse.fixture.slim.XmlFixture",
"name" : "XmlFixture",
"annotations" : [ ]
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy