Added asterix project

git-svn-id: https://asterixdb.googlecode.com/svn/trunk/asterix@12 eaa15691-b419-025a-1212-ee371bd00084
diff --git a/asterix-app/src/test/resources/runtimets/results/comparison/datetime_order.adm b/asterix-app/src/test/resources/runtimets/results/comparison/datetime_order.adm
new file mode 100644
index 0000000..14f3ab1
--- /dev/null
+++ b/asterix-app/src/test/resources/runtimets/results/comparison/datetime_order.adm
@@ -0,0 +1,5 @@
+datetime("2005-01-01T00:00:00:000+04:00")
+datetime("2012-01-01T00:00:00:000+00:00")
+datetime("2011-12-31T14:00:00:000-10:00")
+datetime("2011-12-31T13:00:00:000-11:00")
+datetime("2012-04-06T00:00:00:000+00:00")
diff --git a/asterix-app/src/test/resources/runtimets/results/comparison/datetime_tzeq.adm b/asterix-app/src/test/resources/runtimets/results/comparison/datetime_tzeq.adm
new file mode 100644
index 0000000..5dc225e
--- /dev/null
+++ b/asterix-app/src/test/resources/runtimets/results/comparison/datetime_tzeq.adm
@@ -0,0 +1 @@
+[ true ]
diff --git a/asterix-app/src/test/resources/runtimets/results/comparison/double.adm b/asterix-app/src/test/resources/runtimets/results/comparison/double.adm
new file mode 100644
index 0000000..5828c77
--- /dev/null
+++ b/asterix-app/src/test/resources/runtimets/results/comparison/double.adm
@@ -0,0 +1 @@
+{ "result1": false, "result2": false, "result3": true, "result4": true, "result5": false, "result6": false }
diff --git a/asterix-app/src/test/resources/runtimets/results/comparison/double_gte_01.adm b/asterix-app/src/test/resources/runtimets/results/comparison/double_gte_01.adm
new file mode 100644
index 0000000..691fcdb
--- /dev/null
+++ b/asterix-app/src/test/resources/runtimets/results/comparison/double_gte_01.adm
@@ -0,0 +1,2 @@
+0.9d
+0.901d
diff --git a/asterix-app/src/test/resources/runtimets/results/comparison/double_null.adm b/asterix-app/src/test/resources/runtimets/results/comparison/double_null.adm
new file mode 100644
index 0000000..9f32100
--- /dev/null
+++ b/asterix-app/src/test/resources/runtimets/results/comparison/double_null.adm
@@ -0,0 +1 @@
+{ "result1": null, "result2": null, "result3": null, "result4": null, "result5": null, "result6": null }
diff --git a/asterix-app/src/test/resources/runtimets/results/comparison/eq_01.adm b/asterix-app/src/test/resources/runtimets/results/comparison/eq_01.adm
new file mode 100644
index 0000000..451c1a5
--- /dev/null
+++ b/asterix-app/src/test/resources/runtimets/results/comparison/eq_01.adm
@@ -0,0 +1,2 @@
+2
+2
\ No newline at end of file
diff --git a/asterix-app/src/test/resources/runtimets/results/comparison/float.adm b/asterix-app/src/test/resources/runtimets/results/comparison/float.adm
new file mode 100644
index 0000000..38c3dd3
--- /dev/null
+++ b/asterix-app/src/test/resources/runtimets/results/comparison/float.adm
@@ -0,0 +1 @@
+{ "result1": false, "result2": false, "result3": true, "result4": true, "result5": true, "result6": true }
diff --git a/asterix-app/src/test/resources/runtimets/results/comparison/float_null.adm b/asterix-app/src/test/resources/runtimets/results/comparison/float_null.adm
new file mode 100644
index 0000000..9f32100
--- /dev/null
+++ b/asterix-app/src/test/resources/runtimets/results/comparison/float_null.adm
@@ -0,0 +1 @@
+{ "result1": null, "result2": null, "result3": null, "result4": null, "result5": null, "result6": null }
diff --git a/asterix-app/src/test/resources/runtimets/results/comparison/gt_01.adm b/asterix-app/src/test/resources/runtimets/results/comparison/gt_01.adm
new file mode 100644
index 0000000..446a462
--- /dev/null
+++ b/asterix-app/src/test/resources/runtimets/results/comparison/gt_01.adm
@@ -0,0 +1,2 @@
+3
+2
\ No newline at end of file
diff --git a/asterix-app/src/test/resources/runtimets/results/comparison/gte_01.adm b/asterix-app/src/test/resources/runtimets/results/comparison/gte_01.adm
new file mode 100644
index 0000000..446a462
--- /dev/null
+++ b/asterix-app/src/test/resources/runtimets/results/comparison/gte_01.adm
@@ -0,0 +1,2 @@
+3
+2
\ No newline at end of file
diff --git a/asterix-app/src/test/resources/runtimets/results/comparison/int16.adm b/asterix-app/src/test/resources/runtimets/results/comparison/int16.adm
new file mode 100644
index 0000000..9bf0cea
--- /dev/null
+++ b/asterix-app/src/test/resources/runtimets/results/comparison/int16.adm
@@ -0,0 +1 @@
+{ "result1": true, "result2": true, "result3": true, "result4": false, "result5": false, "result6": true }
diff --git a/asterix-app/src/test/resources/runtimets/results/comparison/int16_null.adm b/asterix-app/src/test/resources/runtimets/results/comparison/int16_null.adm
new file mode 100644
index 0000000..9f32100
--- /dev/null
+++ b/asterix-app/src/test/resources/runtimets/results/comparison/int16_null.adm
@@ -0,0 +1 @@
+{ "result1": null, "result2": null, "result3": null, "result4": null, "result5": null, "result6": null }
diff --git a/asterix-app/src/test/resources/runtimets/results/comparison/int32.adm b/asterix-app/src/test/resources/runtimets/results/comparison/int32.adm
new file mode 100644
index 0000000..4b4b602
--- /dev/null
+++ b/asterix-app/src/test/resources/runtimets/results/comparison/int32.adm
@@ -0,0 +1 @@
+{ "result1": true, "result2": true, "result3": false, "result4": false, "result5": false, "result6": true }
diff --git a/asterix-app/src/test/resources/runtimets/results/comparison/int32_null.adm b/asterix-app/src/test/resources/runtimets/results/comparison/int32_null.adm
new file mode 100644
index 0000000..9f32100
--- /dev/null
+++ b/asterix-app/src/test/resources/runtimets/results/comparison/int32_null.adm
@@ -0,0 +1 @@
+{ "result1": null, "result2": null, "result3": null, "result4": null, "result5": null, "result6": null }
diff --git a/asterix-app/src/test/resources/runtimets/results/comparison/int64.adm b/asterix-app/src/test/resources/runtimets/results/comparison/int64.adm
new file mode 100644
index 0000000..6126426
--- /dev/null
+++ b/asterix-app/src/test/resources/runtimets/results/comparison/int64.adm
@@ -0,0 +1 @@
+{ "result1": false, "result2": false, "result3": true, "result4": false, "result5": false, "result6": true }
diff --git a/asterix-app/src/test/resources/runtimets/results/comparison/int64_null.adm b/asterix-app/src/test/resources/runtimets/results/comparison/int64_null.adm
new file mode 100644
index 0000000..9f32100
--- /dev/null
+++ b/asterix-app/src/test/resources/runtimets/results/comparison/int64_null.adm
@@ -0,0 +1 @@
+{ "result1": null, "result2": null, "result3": null, "result4": null, "result5": null, "result6": null }
diff --git a/asterix-app/src/test/resources/runtimets/results/comparison/int8.adm b/asterix-app/src/test/resources/runtimets/results/comparison/int8.adm
new file mode 100644
index 0000000..6126426
--- /dev/null
+++ b/asterix-app/src/test/resources/runtimets/results/comparison/int8.adm
@@ -0,0 +1 @@
+{ "result1": false, "result2": false, "result3": true, "result4": false, "result5": false, "result6": true }
diff --git a/asterix-app/src/test/resources/runtimets/results/comparison/int8_null.adm b/asterix-app/src/test/resources/runtimets/results/comparison/int8_null.adm
new file mode 100644
index 0000000..9f32100
--- /dev/null
+++ b/asterix-app/src/test/resources/runtimets/results/comparison/int8_null.adm
@@ -0,0 +1 @@
+{ "result1": null, "result2": null, "result3": null, "result4": null, "result5": null, "result6": null }
diff --git a/asterix-app/src/test/resources/runtimets/results/comparison/lt_01.adm b/asterix-app/src/test/resources/runtimets/results/comparison/lt_01.adm
new file mode 100644
index 0000000..7a754f4
--- /dev/null
+++ b/asterix-app/src/test/resources/runtimets/results/comparison/lt_01.adm
@@ -0,0 +1,2 @@
+1
+2
\ No newline at end of file
diff --git a/asterix-app/src/test/resources/runtimets/results/comparison/lte_01.adm b/asterix-app/src/test/resources/runtimets/results/comparison/lte_01.adm
new file mode 100644
index 0000000..7a754f4
--- /dev/null
+++ b/asterix-app/src/test/resources/runtimets/results/comparison/lte_01.adm
@@ -0,0 +1,2 @@
+1
+2
\ No newline at end of file
diff --git a/asterix-app/src/test/resources/runtimets/results/comparison/neq_01.adm b/asterix-app/src/test/resources/runtimets/results/comparison/neq_01.adm
new file mode 100644
index 0000000..56a6051
--- /dev/null
+++ b/asterix-app/src/test/resources/runtimets/results/comparison/neq_01.adm
@@ -0,0 +1 @@
+1
\ No newline at end of file
diff --git a/asterix-app/src/test/resources/runtimets/results/comparison/numeric-comparison_01.adm b/asterix-app/src/test/resources/runtimets/results/comparison/numeric-comparison_01.adm
new file mode 100644
index 0000000..6026afb
--- /dev/null
+++ b/asterix-app/src/test/resources/runtimets/results/comparison/numeric-comparison_01.adm
@@ -0,0 +1,49 @@
+[ 1.1f, 1.1f, "=", true, "<", false, "<=", true, ">", false, ">=", true ]
+[ 1.1f, 1.0f, "=", false, "<", false, "<=", false, ">", true, ">=", true ]
+[ 1.1f, 1.2f, "=", false, "<", true, "<=", true, ">", false, ">=", false ]
+[ 1.1f, 0.9, "=", false, "<", false, "<=", false, ">", true, ">=", true ]
+[ 1.1f, 1.3, "=", false, "<", true, "<=", true, ">", false, ">=", false ]
+[ 1.1f, 1, "=", false, "<", false, "<=", false, ">", true, ">=", true ]
+[ 1.1f, 2, "=", false, "<", true, "<=", true, ">", false, ">=", false ]
+[ 1.0f, 1.1f, "=", false, "<", true, "<=", true, ">", false, ">=", false ]
+[ 1.0f, 1.0f, "=", true, "<", false, "<=", true, ">", false, ">=", true ]
+[ 1.0f, 1.2f, "=", false, "<", true, "<=", true, ">", false, ">=", false ]
+[ 1.0f, 0.9, "=", false, "<", false, "<=", false, ">", true, ">=", true ]
+[ 1.0f, 1.3, "=", false, "<", true, "<=", true, ">", false, ">=", false ]
+[ 1.0f, 1, "=", true, "<", false, "<=", true, ">", false, ">=", true ]
+[ 1.0f, 2, "=", false, "<", true, "<=", true, ">", false, ">=", false ]
+[ 1.2f, 1.1f, "=", false, "<", false, "<=", false, ">", true, ">=", true ]
+[ 1.2f, 1.0f, "=", false, "<", false, "<=", false, ">", true, ">=", true ]
+[ 1.2f, 1.2f, "=", true, "<", false, "<=", true, ">", false, ">=", true ]
+[ 1.2f, 0.9, "=", false, "<", false, "<=", false, ">", true, ">=", true ]
+[ 1.2f, 1.3, "=", false, "<", true, "<=", true, ">", false, ">=", false ]
+[ 1.2f, 1, "=", false, "<", false, "<=", false, ">", true, ">=", true ]
+[ 1.2f, 2, "=", false, "<", true, "<=", true, ">", false, ">=", false ]
+[ 0.9, 1.1f, "=", false, "<", true, "<=", true, ">", false, ">=", false ]
+[ 0.9, 1.0f, "=", false, "<", true, "<=", true, ">", false, ">=", false ]
+[ 0.9, 1.2f, "=", false, "<", true, "<=", true, ">", false, ">=", false ]
+[ 0.9, 0.9, "=", true, "<", false, "<=", true, ">", false, ">=", true ]
+[ 0.9, 1.3, "=", false, "<", true, "<=", true, ">", false, ">=", false ]
+[ 0.9, 1, "=", false, "<", true, "<=", true, ">", false, ">=", false ]
+[ 0.9, 2, "=", false, "<", true, "<=", true, ">", false, ">=", false ]
+[ 1.3, 1.1f, "=", false, "<", false, "<=", false, ">", true, ">=", true ]
+[ 1.3, 1.0f, "=", false, "<", false, "<=", false, ">", true, ">=", true ]
+[ 1.3, 1.2f, "=", false, "<", false, "<=", false, ">", true, ">=", true ]
+[ 1.3, 0.9, "=", false, "<", false, "<=", false, ">", true, ">=", true ]
+[ 1.3, 1.3, "=", true, "<", false, "<=", true, ">", false, ">=", true ]
+[ 1.3, 1, "=", false, "<", false, "<=", false, ">", true, ">=", true ]
+[ 1.3, 2, "=", false, "<", true, "<=", true, ">", false, ">=", false ]
+[ 1, 1.1f, "=", false, "<", true, "<=", true, ">", false, ">=", false ]
+[ 1, 1.0f, "=", true, "<", false, "<=", true, ">", false, ">=", true ]
+[ 1, 1.2f, "=", false, "<", true, "<=", true, ">", false, ">=", false ]
+[ 1, 0.9, "=", false, "<", false, "<=", false, ">", true, ">=", true ]
+[ 1, 1.3, "=", false, "<", true, "<=", true, ">", false, ">=", false ]
+[ 1, 1, "=", true, "<", false, "<=", true, ">", false, ">=", true ]
+[ 1, 2, "=", false, "<", true, "<=", true, ">", false, ">=", false ]
+[ 2, 1.1f, "=", false, "<", false, "<=", false, ">", true, ">=", true ]
+[ 2, 1.0f, "=", false, "<", false, "<=", false, ">", true, ">=", true ]
+[ 2, 1.2f, "=", false, "<", false, "<=", false, ">", true, ">=", true ]
+[ 2, 0.9, "=", false, "<", false, "<=", false, ">", true, ">=", true ]
+[ 2, 1.3, "=", false, "<", false, "<=", false, ">", true, ">=", true ]
+[ 2, 1, "=", false, "<", false, "<=", false, ">", true, ">=", true ]
+[ 2, 2, "=", true, "<", false, "<=", true, ">", false, ">=", true ]
diff --git a/asterix-app/src/test/resources/runtimets/results/comparison/string.adm b/asterix-app/src/test/resources/runtimets/results/comparison/string.adm
new file mode 100644
index 0000000..2e10a1d
--- /dev/null
+++ b/asterix-app/src/test/resources/runtimets/results/comparison/string.adm
@@ -0,0 +1 @@
+{ "result1": false, "result2": false, "result3": true, "result4": true, "result5": false, "result6": true }
diff --git a/asterix-app/src/test/resources/runtimets/results/comparison/string_null.adm b/asterix-app/src/test/resources/runtimets/results/comparison/string_null.adm
new file mode 100644
index 0000000..9f32100
--- /dev/null
+++ b/asterix-app/src/test/resources/runtimets/results/comparison/string_null.adm
@@ -0,0 +1 @@
+{ "result1": null, "result2": null, "result3": null, "result4": null, "result5": null, "result6": null }