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/aqljts/ignore.txt b/asterix-app/src/test/resources/aqljts/ignore.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/asterix-app/src/test/resources/aqljts/ignore.txt
diff --git a/asterix-app/src/test/resources/aqljts/only.txt b/asterix-app/src/test/resources/aqljts/only.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/asterix-app/src/test/resources/aqljts/only.txt
diff --git a/asterix-app/src/test/resources/aqljts/queries/gram-tokens_01.aql b/asterix-app/src/test/resources/aqljts/queries/gram-tokens_01.aql
new file mode 100644
index 0000000..5f2b961
--- /dev/null
+++ b/asterix-app/src/test/resources/aqljts/queries/gram-tokens_01.aql
@@ -0,0 +1,4 @@
+let $txt := "Jürgen S. Generic's Car"
+let $tokens := gram-tokens($txt, 3, false)
+for $token in $tokens
+return $token
diff --git a/asterix-app/src/test/resources/aqljts/queries/nested_01.aql b/asterix-app/src/test/resources/aqljts/queries/nested_01.aql
new file mode 100644
index 0000000..968f314
--- /dev/null
+++ b/asterix-app/src/test/resources/aqljts/queries/nested_01.aql
@@ -0,0 +1,9 @@
+for $x in [1]
+return {"x": 
+			[{"r": [["a", "b", "c"], ["d", "e", "f"]]}],
+		"y":
+			[{"s": [[1, 2, 3], [4, 5, 6]]}],
+		"z":
+			[{"t": [datetime("2011-09-16T11:00:00Z")]}]
+		}
+		
\ No newline at end of file
diff --git a/asterix-app/src/test/resources/aqljts/results/gram-tokens_01.adm b/asterix-app/src/test/resources/aqljts/results/gram-tokens_01.adm
new file mode 100644
index 0000000..f0f59c3
--- /dev/null
+++ b/asterix-app/src/test/resources/aqljts/results/gram-tokens_01.adm
@@ -0,0 +1,21 @@
+AString: {jür}
+AString: {ürg}
+AString: {rge}
+AString: {gen}
+AString: {en }
+AString: {n s}
+AString: { s.}
+AString: {s. }
+AString: {. g}
+AString: { ge}
+AString: {gen}
+AString: {ene}
+AString: {ner}
+AString: {eri}
+AString: {ric}
+AString: {ic'}
+AString: {c's}
+AString: {'s }
+AString: {s c}
+AString: { ca}
+AString: {car}
diff --git a/asterix-app/src/test/resources/aqljts/results/nested_01.adm b/asterix-app/src/test/resources/aqljts/results/nested_01.adm
new file mode 100644
index 0000000..54444c7
--- /dev/null
+++ b/asterix-app/src/test/resources/aqljts/results/nested_01.adm
@@ -0,0 +1,33 @@
+ARecordType: 
+field: x
+AbstractCollectionType: 
+ARecordType: 
+field: r
+AbstractCollectionType: 
+AbstractCollectionType: 
+AString: {a}
+AString: {b}
+AString: {c}
+AbstractCollectionType: 
+AString: {d}
+AString: {e}
+AString: {f}
+field: y
+AbstractCollectionType: 
+ARecordType: 
+field: s
+AbstractCollectionType: 
+AbstractCollectionType: 
+AInt32: {1}
+AInt32: {2}
+AInt32: {3}
+AbstractCollectionType: 
+AInt32: {4}
+AInt32: {5}
+AInt32: {6}
+field: z
+AbstractCollectionType: 
+ARecordType: 
+field: t
+AbstractCollectionType: 
+ADateTime: { 2011-9-16:11:0:0:0:0:0 }