summaryrefslogtreecommitdiff
path: root/nejdb/Ejdb.Tests/TestUtils.cs
diff options
context:
space:
mode:
Diffstat (limited to 'nejdb/Ejdb.Tests/TestUtils.cs')
-rw-r--r--nejdb/Ejdb.Tests/TestUtils.cs26
1 files changed, 26 insertions, 0 deletions
diff --git a/nejdb/Ejdb.Tests/TestUtils.cs b/nejdb/Ejdb.Tests/TestUtils.cs
new file mode 100644
index 0000000..23cbe00
--- /dev/null
+++ b/nejdb/Ejdb.Tests/TestUtils.cs
@@ -0,0 +1,26 @@
+// ============================================================================================
+// .NET API for EJDB database library http://ejdb.org
+// Copyright (C) 2012-2013 Softmotions Ltd <info@softmotions.com>
+//
+// This file is part of EJDB.
+// EJDB 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 any later version. EJDB 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 EJDB;
+// if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+// Boston, MA 02111-1307 USA.
+// ============================================================================================
+using System;
+
+namespace Ejdb.Tests {
+
+ public static class TestUtils {
+ internal static string ToHexString(byte[] bv) {
+ return BitConverter.ToString(bv);
+ }
+ }
+}
+