diff options
Diffstat (limited to 'libxml2/test/XPath/expr')
-rw-r--r-- | libxml2/test/XPath/expr/base | 7 | ||||
-rw-r--r-- | libxml2/test/XPath/expr/compare | 46 | ||||
-rw-r--r-- | libxml2/test/XPath/expr/equality | 26 | ||||
-rw-r--r-- | libxml2/test/XPath/expr/floats | 61 | ||||
-rw-r--r-- | libxml2/test/XPath/expr/functions | 25 | ||||
-rw-r--r-- | libxml2/test/XPath/expr/strings | 34 |
6 files changed, 0 insertions, 199 deletions
diff --git a/libxml2/test/XPath/expr/base b/libxml2/test/XPath/expr/base deleted file mode 100644 index f57e4d0..0000000 --- a/libxml2/test/XPath/expr/base +++ /dev/null @@ -1,7 +0,0 @@ -1 -1+2 -2*3 -1+2*3+4 -(1+2)*(3+4) -1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1 -self::-name diff --git a/libxml2/test/XPath/expr/compare b/libxml2/test/XPath/expr/compare deleted file mode 100644 index 2d52eaf..0000000 --- a/libxml2/test/XPath/expr/compare +++ /dev/null @@ -1,46 +0,0 @@ -0<0 -0<=0 -0>0 -0>=0 -0<1 -0<=1 -0>1 -0>=1 -1<0 -1<=0 -1>0 -1>=0 -1<1 -1<=1 -1>1 -1>=1 -'0'<1 -'0'<=1 -'0'>1 -'0'>=1 -0<'1.2' -0<='1.2' -0>'1.2' -0>='1.2' -0<'-0.2' -0<='-0.2' -0>'-0.2' -0>='-0.2' -false()<1 -false()<=1 -0>true() -0>=true() -'a' > 'a' -'a' > 'b' -'b' > 'a' -'a' < 'a' -'a' < 'b' -'b' < 'a' -'a' >= 'a' -'a' >= 'b' -'b' >= 'a' -'a' <= 'a' -'a' <= 'b' -'b' <= 'a' -'a' > '0.0' -'a' < '0.0' diff --git a/libxml2/test/XPath/expr/equality b/libxml2/test/XPath/expr/equality deleted file mode 100644 index 7982173..0000000 --- a/libxml2/test/XPath/expr/equality +++ /dev/null @@ -1,26 +0,0 @@ -1=1 -1!=1 -1=0 -1!=0 -true()=true() -true()!=true() -true()=false() -false()!=true() -'test'='test' -'test'!='test' -'test2'='test' -'test2'!='test' -false()=0 -false()!=0 -false()=1 -false()!=1 -0=true() -0!=true() -1=true() -1!=true() -true()='test' -false()='test' -'test'!=true() -'test'!=false() -'a'=0.0 -'a'!=0.0 diff --git a/libxml2/test/XPath/expr/floats b/libxml2/test/XPath/expr/floats deleted file mode 100644 index 96c10d1..0000000 --- a/libxml2/test/XPath/expr/floats +++ /dev/null @@ -1,61 +0,0 @@ -1 -123 -1.23 -0.123 -4. -.4 -1.23e3 -1.23e-3 -1 div 0 --1 div 0 -0 div 0 -1 div -0 -(1 div 0) > 0 -(1 div 0) < 0 -(-1 div 0) > 0 -(-1 div 0) < 0 -(0 div 0) > 0 -(0 div 0) < 0 -(1 div -0) > 0 -(1 div -0) < 0 -0 div 0 = 0 div 0 -0 div 0 != 0 div 0 -0 div 0 > 0 div 0 -0 div 0 < 0 div 0 -0 div 0 >= 0 div 0 -0 div 0 <= 0 div 0 -1 div 0 = -1 div 0 -1 div 0 != -1 div 0 -1 div 0 > -1 div 0 -1 div 0 < -1 div 0 -1 div 0 >= -1 div 0 -1 div 0 <= -1 div 0 -1 div 0 = 1 div 0 -1 div 0 != 1 div 0 -1 div 0 > 1 div 0 -1 div 0 < 1 div 0 -1 div 0 >= -1 div 0 -1 div 0 <= -1 div 0 --2 div 0 = -1 div 0 -1 div floor(0.1) -1 div floor(-0.1) -1 div floor(-0) -1 div floor(0) -1 div ceiling(0.1) -1 div ceiling(-0.1) -1 div ceiling(-0) -1 div ceiling(0) -1 div round(0.1) -1 div round(-0.1) -1 div round(-0) -1 div round(0) -1 div number('f') -number('f') div 1 -1 div (1 div 0) -(1 div 0) div 1 --(1 div 0) div 1 -5 mod 2 -5 mod -2 --5 mod 2 --5 mod -2 -8 mod 3 = 2 diff --git a/libxml2/test/XPath/expr/functions b/libxml2/test/XPath/expr/functions deleted file mode 100644 index d168b18..0000000 --- a/libxml2/test/XPath/expr/functions +++ /dev/null @@ -1,25 +0,0 @@ -true() -false() -number("1.5") -number('abc') --number('abc') -floor(0.1) -floor(-0.1) -floor(-0) -floor(0) -floor(5.2) -floor(-5.2) -ceiling(0.1) -ceiling(-0.1) -ceiling(-0) -ceiling(0) -ceiling(5.2) -ceiling(-5.2) -round(0.1) -round(5.2) -round(5.5) -round(5.6) -round(-0.1) -round(-5.2) -round(-5.5) -round(-5.6) diff --git a/libxml2/test/XPath/expr/strings b/libxml2/test/XPath/expr/strings deleted file mode 100644 index 849ca14..0000000 --- a/libxml2/test/XPath/expr/strings +++ /dev/null @@ -1,34 +0,0 @@ -string(5) -string(0.5) -string(-0.5) -string(true()) -string(false()) -concat("titi","toto") -concat("titi","toto","tata") -concat("titi",'toto') -concat("titi",'toto',"tata","last") -starts-with("tititoto","titi") -starts-with("tititoto","to") -contains("tititototata","titi") -contains("tititototata","toto") -contains("tititototata","tata") -contains("tititototata","tita") -substring("12345",2,3) -substring("12345",2) -substring("12345",-4) -substring("12345",3.4) -substring("12345",3.6) -substring("12345",1.5,2.6) -substring("12345",2.2,2.2) -substring("12345",0,3) -substring("12345",-8,10) -substring("12345",4,-10) -substring("12345",0 div 0, 3) -substring("12345",1, 0 div 0) -substring("12345",1 div 0, 3) -substring("12345",3,-1 div 0) -substring("12345",-42, 1 div 0) -substring("12345",-1 div 0, 1 div 0) -substring("12345",-1 div 0,5) -string-length("") -string-length("titi") |