Commit 235371e3 authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter
Browse files

remove invalid type tests as these cause compile errors with recent Vala

2008-05-30  Juerg Billeter  <j@bitron.ch>

	* tests/testarraylist.vala: remove invalid type tests as these
	cause compile errors with recent Vala versions

svn path=/trunk/; revision=35
parent 15f9d9a9
2008-05-30 Jürg Billeter <j@bitron.ch>
* tests/testarraylist.vala: remove invalid type tests as these
cause compile errors with recent Vala versions
2008-05-07 Jürg Billeter <j@bitron.ch>
* gee/Makefile.am:
......
......@@ -231,9 +231,6 @@ void test_arraylist_index_of () {
// Check empty list
assert (arraylistOfString.index_of ("one") == -1);
// Check invalid type
assert (arraylistOfString.index_of (1) == -1);
// Check one item
arraylistOfString.add ("one");
assert (arraylistOfString.index_of ("one") == 0);
......@@ -276,7 +273,6 @@ void test_arraylist_index_of () {
assert (arraylistOfObjects.index_of (object1) == 0);
assert (arraylistOfObjects.index_of (object2) == 1);
assert (arraylistOfObjects.index_of (object3) == 2);
assert (arraylistOfObjects.index_of (4) == -1);
}
......@@ -343,9 +339,6 @@ void test_arraylist_contains () {
// Check on empty list
assert (!arraylistOfString.contains("1"));
// Check incomaptible type
assert (!arraylistOfString.contains(1));
// Check items
arraylistOfString.add ("10");
assert (arraylistOfString.contains("10"));
......@@ -399,9 +392,6 @@ void test_arraylist_remove () {
// Check remove if list is empty
arraylistOfString.remove("42");
// Check remove for incompatible type
arraylistOfString.remove(10);
// Add 5 same elements
arraylistOfString.add ("42");
arraylistOfString.add ("42");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment