/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/tests/System/Xml/XPath/FuncExpressions/ |
H A D | BooleansTests.cs | 280 var testExpression = @"0.09 = 0.09"; in BooleansTest2018() 294 var testExpression = @"0.09 != 0.09"; in BooleansTest2019() 308 var testExpression = @"0.09 = 0.08"; in BooleansTest2020() 322 var testExpression = @"0.09 != 0.08"; in BooleansTest2021() 406 var testExpression = @"true() = 5"; in BooleansTest2027() 420 var testExpression = @"5 = true()"; in BooleansTest2028() 434 var testExpression = @"""Test"" = 0"; in BooleansTest2029() 448 var testExpression = @"0 = ""Test"""; in BooleansTest2030() 1302 var testExpression = @"0.09 > 0.09"; in BooleansTest2091() 1316 var testExpression = @"1.09 > 0.09"; in BooleansTest2092() [all …]
|
H A D | NumbersTests.cs | 26 var testExpression = @"1 + 1"; in NumbersTest211() 40 var testExpression = @"0.5 + 0.5"; in NumbersTest212() 84 var testExpression = @"2 - 1"; in NumbersTest215() 98 var testExpression = @"1.5 - 0.5"; in NumbersTest216() 112 var testExpression = @"5 mod 2"; in NumbersTest217() 126 var testExpression = @"5 mod -2"; in NumbersTest218() 140 var testExpression = @"-5 mod 2"; in NumbersTest219() 226 var testExpression = @"2 * 1"; in NumbersTest2115() 310 var testExpression = @"1 mod 0"; in NumbersTest2121() 362 var testExpression = @"0 mod 5"; in NumbersTest2125() [all …]
|
H A D | NodeSetsMatchesTests.cs | 27 var testExpression = @"Title | Chap"; in MatchesTest191() 30 Utils.XPathMatchTest(xml, testExpression, expected, startingNodePath: startingNodePath); in MatchesTest191() 42 var testExpression = @"Title | Chap"; in MatchesTest192() 45 Utils.XPathMatchTest(xml, testExpression, expected, startingNodePath: startingNodePath); in MatchesTest192() 57 var testExpression = @"Chap//Para"; in MatchesTest193() 60 Utils.XPathMatchTest(xml, testExpression, expected, startingNodePath: startingNodePath); in MatchesTest193() 72 var testExpression = @"//Chap//Para"; in MatchesTest194() 75 Utils.XPathMatchTest(xml, testExpression, expected, startingNodePath: startingNodePath); in MatchesTest194() 87 var testExpression = @"Chap/Para"; in MatchesTest195() 102 var testExpression = @"Doc/Para"; in MatchesTest196() [all …]
|
H A D | SetContextMatchesTests.cs | 27 var testExpression = @"//NSbook:book[1]"; in MatchesTest441() 33 Utils.XPathMatchTest(xml, testExpression, expected, namespaceManager: namespaceManager, in MatchesTest441() 45 var testExpression = @"//NSbook:book[1]"; in MatchesTest442() 47 Utils.XPathMatchTestThrows<System.Xml.XPath.XPathException>(xml, testExpression); in MatchesTest442() 59 var testExpression = @"/doc/prefix1:elem/prefix2:elem"; in MatchesTest443() 66 Utils.XPathMatchTest(xml, testExpression, expected, namespaceManager: namespaceManager, in MatchesTest443() 79 var testExpression = @"//NSbook:book[1]"; in MatchesTest444() 98 var testExpression = @"(//book)[1]"; in MatchesTest445() 103 Utils.XPathMatchTestThrows<System.Xml.XPath.XPathException>(xml, testExpression, in MatchesTest445() 116 var testExpression = @"//book[1]"; in MatchesTest446() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/tests/System/Xml/XPath/CoreFunctionLibrary/ |
H A D | StringFunctionsTests.cs | 27 var testExpression = @"string()"; in StringFunctionsTest241() 41 var testExpression = @"string(1)"; in StringFunctionsTest242() 55 var testExpression = @"string(-0)"; in StringFunctionsTest243() 69 var testExpression = @"string(+0)"; in StringFunctionsTest244() 96 var testExpression = @"string(true())"; in StringFunctionsTest246() 110 var testExpression = @"string(false())"; in StringFunctionsTest247() 496 var testExpression = @"string-length()"; in StringFunctionsTest2434() 907 var testExpression = @"string(-0)"; in StringFunctionsTest2456() 1020 var testExpression = @"string()"; in StringFunctionsTest2464() 1039 var testExpression = @"string()"; in StringFunctionsTest2465() [all …]
|
H A D | NumberFunctionsTests.cs | 26 var testExpression = @"number(""1"")"; in NumberFunctionsTest261() 40 var testExpression = @"number(""-1"")"; in NumberFunctionsTest262() 153 var testExpression = @"number(2)"; in NumberFunctionsTest2610() 197 var testExpression = @"floor(2.9)"; in NumberFunctionsTest2613() 211 var testExpression = @"floor(2.1)"; in NumberFunctionsTest2614() 225 var testExpression = @"floor(0.9)"; in NumberFunctionsTest2615() 339 var testExpression = @"round(2.9)"; in NumberFunctionsTest2623() 353 var testExpression = @"round(2.1)"; in NumberFunctionsTest2624() 367 var testExpression = @"round(2.5)"; in NumberFunctionsTest2625() 409 var testExpression = in NumberFunctionsTest2628() [all …]
|
H A D | NodeSetMatchesTests.cs | 27 var testExpression = @"child::*[last()]"; in MatchesTest231() 42 var testExpression = @"child::*[last() - 1]"; in MatchesTest232() 171 var testExpression = @"*[last() = 1]"; in MatchesTest2310() 186 var testExpression = @"*[last() = 1]"; in MatchesTest2311() 231 var testExpression = @"child::*[2]"; in MatchesTest2314() 246 var testExpression = @"attribute::*[2]"; in MatchesTest2315() 351 var testExpression = @"*[2]"; in MatchesTest2322() 366 var testExpression = @"*[2]"; in MatchesTest2323() 381 var testExpression = @"@*[2]"; in MatchesTest2324() 396 var testExpression = @"@*[2]"; in MatchesTest2325() [all …]
|
H A D | NodeSetFunctionsTests.cs | 27 var testExpression = @"child::*[last()]"; in NodeSetFunctionsTest221() 502 var testExpression = @"*[2]"; in NodeSetFunctionsTest2222() 517 var testExpression = @"*[2]"; in NodeSetFunctionsTest2223() 532 var testExpression = @"@*[2]"; in NodeSetFunctionsTest2224() 547 var testExpression = @"@*[2]"; in NodeSetFunctionsTest2225() 728 var testExpression = @"name()"; in NodeSetFunctionsTest2241() 747 var testExpression = @"name()"; in NodeSetFunctionsTest2242() 880 var testExpression = @"id(""1"")"; in NodeSetFunctionsTest2267() 971 var testExpression = @"name()"; in NodeSetFunctionsTest2298() 990 var testExpression = @"name()"; in NodeSetFunctionsTest2299() [all …]
|
H A D | BooleanFunctionsTests.cs | 26 var testExpression = @"boolean(1)"; in BooleanFunctionsTest251() 40 var testExpression = @"boolean(0)"; in BooleanFunctionsTest252() 82 var testExpression = @"boolean(-0)"; in BooleanFunctionsTest255() 96 var testExpression = @"boolean(2.5)"; in BooleanFunctionsTest256() 124 var testExpression = @"boolean("""")"; in BooleanFunctionsTest258() 168 var testExpression = @"not(false())"; in BooleanFunctionsTest2511() 182 var testExpression = @"not(true())"; in BooleanFunctionsTest2512() 211 var testExpression = @"true()"; in BooleanFunctionsTest2514() 225 var testExpression = @"false()"; in BooleanFunctionsTest2515() 240 var testExpression = @"lang(""en"")"; in BooleanFunctionsTest2516() [all …]
|
H A D | ParameterTypeCoercionTests.cs | 42 var testExpression = @"count(true())"; in ParameterTypeCoercionTest282() 57 var testExpression = @"count(10)"; in ParameterTypeCoercionTest283() 72 var testExpression = @"count()"; in ParameterTypeCoercionTest284() 87 var testExpression = @"count(//foo)"; in ParameterTypeCoercionTest285() 147 var testExpression = @"local-name()"; in ParameterTypeCoercionTest289() 192 var testExpression = @"name(true())"; in ParameterTypeCoercionTest2812() 207 var testExpression = @"name(10)"; in ParameterTypeCoercionTest2813() 222 var testExpression = @"name(//foo)"; in ParameterTypeCoercionTest2814() 327 var testExpression = @"position(10)"; in ParameterTypeCoercionTest2821() 387 var testExpression = @"last(10)"; in ParameterTypeCoercionTest2825() [all …]
|
H A D | ComplexExpressionsTests.cs | 29 Utils.XPathNumberTest(xml, testExpression, expected); in ComplexExpressionsTest272() 43 Utils.XPathStringTest(xml, testExpression, expected); in ComplexExpressionsTest273() 72 Utils.XPathStringTest(xml, testExpression, expected); in ComplexExpressionsTest275() 101 Utils.XPathStringTest(xml, testExpression, expected); in ComplexExpressionsTest277() 127 var testExpression = @"namespace-uri(/*/*)"; in ComplexExpressionsTest279() 130 Utils.XPathStringTest(xml, testExpression, expected); in ComplexExpressionsTest279() 141 var testExpression = @"namespace-uri(/*/*/*[1])"; in ComplexExpressionsTest2710() 144 Utils.XPathStringTest(xml, testExpression, expected); in ComplexExpressionsTest2710() 158 Utils.XPathStringTest(xml, testExpression, expected); in ComplexExpressionsTest2711() 168 var testExpression = in ComplexExpressionsTest2712() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/tests/System/Xml/XPath/FuncLocation/ |
H A D | PathPredicateMatchesTests.cs | 27 var testExpression = @"descendant::*[3]"; in MatchesTest111() 117 var testExpression = @"book[price=55]"; in MatchesTest1110() 402 var testExpression = @"(book/title)[2+1]"; in MatchesTest1129() 507 var testExpression = @"*[@style]"; in MatchesTest1139() 567 var testExpression = @"book['!']"; in MatchesTest1143() 943 var testExpression = in MatchesTest1168() 959 var testExpression = in MatchesTest1169() 1005 var testExpression = in MatchesTest1172() 1021 var testExpression = in MatchesTest1173() 1094 var testExpression = in MatchesTest1178() [all …]
|
H A D | PathAxeMatchesTests.cs | 27 var testExpression = @"ancestor::*"; in MatchesTest71() 42 var testExpression = @"attribute::*"; in MatchesTest72() 57 var testExpression = @"attribute::*"; in MatchesTest73() 102 var testExpression = @"child::*"; in MatchesTest76() 117 var testExpression = @"child::*"; in MatchesTest77() 192 var testExpression = @"following::*"; in MatchesTest712() 222 var testExpression = @"parent::*"; in MatchesTest714() 267 var testExpression = @"self::*"; in MatchesTest717() 281 var testExpression = @"/"; in MatchesTest718() 296 var testExpression = @"/"; in MatchesTest719() [all …]
|
H A D | StepMatchesTests.cs | 26 var testExpression = @"/::bookstore"; in MatchesTest151() 39 var testExpression = @"/child::"; in MatchesTest152() 52 var testExpression = @"/bookstore/sibling::book"; in MatchesTest153() 65 var testExpression = @"/bookstore/child::ancestor::book"; in MatchesTest154() 91 var testExpression = @"/bookstore/book and magazine"; in MatchesTest156() 104 var testExpression = @"/bookstore/book or magazine"; in MatchesTest157() 118 var testExpression = @"/bookstore/* [name()='book']"; in MatchesTest158() 148 var testExpression = @"/bookstore/book"; in MatchesTest1510() 178 var testExpression = @"/."; in MatchesTest1512() 193 var testExpression = @"/bookstore/book/.."; in MatchesTest1513() [all …]
|
H A D | PathNodeMatchesTests.cs | 27 var testExpression = @"text()"; in MatchesTest91() 42 var testExpression = @"text()"; in MatchesTest92() 57 var testExpression = @"comment()"; in MatchesTest93() 72 var testExpression = @"comment()"; in MatchesTest94() 87 var testExpression = @"node()"; in MatchesTest95() 102 var testExpression = @"node()"; in MatchesTest96() 116 var testExpression = @"node()"; in MatchesTest97() 131 var testExpression = @"processing-instruction()"; in MatchesTest98() 146 var testExpression = @"processing-instruction()"; in MatchesTest99() 161 var testExpression = @"Para"; in MatchesTest910() [all …]
|
H A D | PathAbbreviatedSyntaxMatchesTests.cs | 27 var testExpression = @"@*"; in MatchesTest131() 42 var testExpression = @"@*"; in MatchesTest132() 57 var testExpression = @"@Attr1"; in MatchesTest133() 72 var testExpression = @"@Attr1"; in MatchesTest134() 87 var testExpression = @"Title[@Attr1=""value1""]"; in MatchesTest135() 102 var testExpression = @"Title[@Attr1=""value2""]"; in MatchesTest136() 117 var testExpression = @"//title"; in MatchesTest137() 132 var testExpression = @"/bookstore/..//title"; in MatchesTest138() 147 var testExpression = @"/bookstore/book/./title"; in MatchesTest139() 161 var testExpression = @"@frequency[.=""monthly""]"; in MatchesTest1310() [all …]
|
H A D | StepsTests.cs | 26 var testExpression = @"/::bookstore"; in StepsTest141() 39 var testExpression = @"/child::"; in StepsTest142() 52 var testExpression = @"/bookstore/sibling::book"; in StepsTest143() 65 var testExpression = @"/bookstore/child::ancestor::book"; in StepsTest144() 91 var testExpression = @"/bookstore/book and magazine"; in StepsTest146() 104 var testExpression = @"/bookstore/book or magazine"; in StepsTest147() 117 var testExpression = @"/bookstore/* [name()='book']"; in StepsTest148() 284 var testExpression = @"/bookstore/book"; in StepsTest1410() 401 var testExpression = @"/."; in StepsTest1412() 423 var testExpression = @"/bookstore/book/.."; in StepsTest1413() [all …]
|
H A D | PathAxeComplexExprMatchesTests.cs | 27 … var testExpression = @"node()[starts-with(string(name()),'p')]//node()[local-name()=""""]"; in MatchesTest41() 30 Utils.XPathMatchTest(xml, testExpression, expected, startingNodePath: startingNodePath); in MatchesTest41() 42 var testExpression = @"node()//node()[local-name()=""""]"; in MatchesTest42() 45 Utils.XPathMatchTest(xml, testExpression, expected, startingNodePath: startingNodePath); in MatchesTest42() 57 var testExpression = @"my:*"; in MatchesTest43() 63 Utils.XPathMatchTest(xml, testExpression, expected, namespaceManager: namespaceManager, in MatchesTest43() 76 var testExpression = @"bookstore//articles[story1[details]]//node()"; in MatchesTest44() 91 var testExpression = in MatchesTest45() 98 Utils.XPathMatchTest(xml, testExpression, expected, namespaceManager: namespaceManager, in MatchesTest45() 110 var testExpression = @"book[3]//node()"; in MatchesTest46() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/tests/System/Xml/XPath/MiscellaneousCases/ |
H A D | RegressionTestsTests.cs | 25 var testExpression = @"translate('++', '', 'x')"; in RegressionTestsTest552() 28 Utils.XPathStringTest(xml, testExpression, expected); in RegressionTestsTest552() 38 var testExpression = @"translate('++', '', 'xy')"; in RegressionTestsTest553() 41 Utils.XPathStringTest(xml, testExpression, expected); in RegressionTestsTest553() 54 Utils.XPathStringTest(xml, testExpression, expected); in RegressionTestsTest554() 77 var testExpression = @"translate('abc', 'abc', '')"; in RegressionTestsTest556() 90 var testExpression = @"//namespace::*"; in RegressionTestsTest557() 162 var testExpression = @"position()"; in RegressionTestsTest558() 335 var testExpression = @"last()"; in RegressionTestsTest5515() 363 var testExpression = @"/*['6' > *]"; in RegressionTestsTest5519() [all …]
|
H A D | MiscellaneousCasesTests.cs | 57 Utils.XPathNodesetTest(xml, testExpression, expected); in MiscellaneousCasesTest531() 69 var testExpression = @"child::*[$$abc=1]"; in MiscellaneousCasesTest532() 83 var testExpression = @"true() and true()"; in MiscellaneousCasesTest533() 96 var testExpression = @"false() or true()"; in MiscellaneousCasesTest534() 108 var testExpression = @"1 and 1"; in MiscellaneousCasesTest535() 120 var testExpression = @"1[true()]"; in MiscellaneousCasesTest536() 132 var testExpression = @"1"; in MiscellaneousCasesTest537() 145 var testExpression = @"//node()[abc:xyz()]"; in MiscellaneousCasesTest538() 158 var testExpression = @"//node()[abc:xyz()]"; in MiscellaneousCasesTest539() 193 var testExpression = @"//*[abc()]"; in MiscellaneousCasesTest5311() [all …]
|
H A D | MatchesTests.cs | 27 var testExpression = @"child::*[$$abc=1]"; in MatchesTest541() 41 var testExpression = @"true() and true()"; in MatchesTest542() 54 var testExpression = @"true() and true()"; in MatchesTest543() 66 var testExpression = @"1 and 1"; in MatchesTest544() 78 var testExpression = @"1"; in MatchesTest545() 90 var testExpression = @"//node()[abc:xyz()]"; in MatchesTest546() 103 var testExpression = @"//node()[abc:xyz()]"; in MatchesTest547() 139 var testExpression = @"//*[abc()]"; in MatchesTest549() 154 var testExpression = @"//*[abc()]"; in MatchesTest5410() 172 var testExpression = @"/bookstore | /bookstore//@* | //magazine"; in MatchesTest5411() [all …]
|
H A D | LexicalStructureTests.cs | 26 var testExpression = @"/*[node ()]"; in LexicalStructureTest521() 53 var testExpression = @"name ()"; in LexicalStructureTest522() 66 var testExpression = @" in LexicalStructureTest523() 187 var testExpression = @"name( )"; in LexicalStructureTest525() 202 var testExpression = @"name() "; in LexicalStructureTest526() 799 var testExpression = @" name()"; in LexicalStructureTest5212() 955 var testExpression = @"ns:ns:ns"; in LexicalStructureTest5215() 972 var testExpression = @"ns:ns:ns"; in LexicalStructureTest5216() 985 var testExpression = @"ns : ns"; in LexicalStructureTest5217() 1082 var testExpression = @"1..3/book"; in LexicalStructureTest5224() [all …]
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/markers/ |
H A D | MarkerTesterTest.java | 92 result = testExpression.evaluate(context); in testSeverity() 113 result = testExpression.evaluate(context); in testType() 130 result = testExpression.evaluate(context); in testSuperType() 156 result = testExpression.evaluate(context); in testPriority() 182 result = testExpression.evaluate(context); in testDone() 190 result = testExpression.evaluate(context); in testDone() 210 result = testExpression.evaluate(context); in testMessage() 215 result = testExpression.evaluate(context); in testMessage() 220 result = testExpression.evaluate(context); in testMessage() 225 result = testExpression.evaluate(context); in testMessage() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/tests/System/Xml/XPath/TestsWithEncoding/ |
H A D | MiscWithEncodings.cs | 34 … var testExpression = @"OrderIDs/CustomerIDs/EmployeeIDs/OrderDates/OrderDate[.='11/16/94']"; in AbbreviatedSyntaxTest125() 37 Utils.XPathNodesetTest(xml, testExpression, expected); in AbbreviatedSyntaxTest125() 49 var testExpression = @"//root[contains(text(), ""?? ¤ ?? ?? © ? ® ??"")]"; in GlobalizationTest5612() 61 Utils.XPathNodesetTest(xml, testExpression, expected); in GlobalizationTest5612() 78 Utils.XPathMatchTest(xml, testExpression, expected, startingNodePath: startingNodePath); in MatchesTest1136() 92 var testExpression = in MatchesTest1137() 96 Utils.XPathMatchTest(xml, testExpression, expected, startingNodePath: startingNodePath); in MatchesTest1137() 113 Utils.XPathMatchTest(xml, testExpression, expected, startingNodePath: startingNodePath); in MatchesTest1138() 130 … Utils.XPathNodesetTest(xml, testExpression, expected, startingNodePath: startingNodePath); in PredicatesTest1038() 169 var testExpression = in PredicatesTest1040() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/tests/System/Xml/XPath/Common/ |
H A D | Utils.cs | 49 var result = XPathMatch(xml, testExpression, namespaceManager, startingNodePath); in XPathMatchTest() 57 var xPathExpression = xPathNavigator.Compile(testExpression); in XPathMatch() 67 …espaceManager == null ? current.Matches(testExpression) : current.Matches(XPathExpression.Compile(… in XPathMatch() 73 … Assert.Throws<T>(() => XPathMatch(xml, testExpression, namespaceManager, startingNodePath)); 80 var xPathExpression = xPathNavigator.Compile(testExpression); in XPathObject() 92 … var result = XPathObject<string>(xml, testExpression, namespaceManager, startingNodePath); in XPathStringTest() 100 … Assert.Throws<T>(() => XPathObject<string>(xml, testExpression, null, startingNodePath)); 105 … var result = XPathObject<double>(xml, testExpression, namespaceManager, startingNodePath); in XPathNumberTest() 111 var result = XPathObject<bool>(xml, testExpression, namespaceManager, startingNodePath); in XPathBooleanTest() 124 var xExpression = xPathNavigator.Compile(testExpression); in XPathNodesetTest() [all …]
|