summaryrefslogtreecommitdiff
path: root/tests/testconcurrentset.vala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testconcurrentset.vala')
-rw-r--r--tests/testconcurrentset.vala38
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/testconcurrentset.vala b/tests/testconcurrentset.vala
new file mode 100644
index 0000000..0b23c4e
--- /dev/null
+++ b/tests/testconcurrentset.vala
@@ -0,0 +1,38 @@
+/* testconcurrentset.vala
+ *
+ * Copyright (C) 2012 Maciej Piechotka
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ * Author:
+ * Maciej Piechotka <uzytkownik2@gmail.com>
+ */
+
+using Gee;
+
+public class ConcurrentSetTests : SortedSetTests {
+ public ConcurrentSetTests () {
+ base ("ConcurrentSet", false);
+ }
+
+ public override void set_up () {
+ test_collection = new Gee.ConcurrentSet<string> ();
+ }
+
+ public override void tear_down () {
+ test_collection = null;
+ }
+}
+