[Debtags-commits] [svn] r1751 - in tagcoll/2.0: . tagcoll/coll
tagcoll/diskindex tagcoll/stream
Enrico Zini
enrico at costa.debian.org
Wed May 10 00:58:00 UTC 2006
Author: enrico
Date: Wed May 10 00:57:59 2006
New Revision: 1751
Modified:
tagcoll/2.0/ (props changed)
tagcoll/2.0/tagcoll/coll/fast.cc
tagcoll/2.0/tagcoll/coll/patched.cc
tagcoll/2.0/tagcoll/coll/simple.cc
tagcoll/2.0/tagcoll/diskindex/int.cc
tagcoll/2.0/tagcoll/diskindex/mmap.cc
tagcoll/2.0/tagcoll/diskindex/string.cc
tagcoll/2.0/tagcoll/stream/sink.cc
Log:
r2682 at viaza: enrico | 2006-05-09 19:28:43 -0500
Renamed tests to fit the new namespaces
Modified: tagcoll/2.0/tagcoll/coll/fast.cc
==============================================================================
--- tagcoll/2.0/tagcoll/coll/fast.cc (original)
+++ tagcoll/2.0/tagcoll/coll/fast.cc Wed May 10 00:57:59 2006
@@ -31,9 +31,9 @@
using namespace tagcoll::tests;
using namespace tagcoll::coll;
-struct tagcoll_fast_shar {
+struct tagcoll_coll_fast_shar {
};
-TESTGRP(tagcoll_fast);
+TESTGRP(tagcoll_coll_fast);
template<> template<>
void to::test<1>()
Modified: tagcoll/2.0/tagcoll/coll/patched.cc
==============================================================================
--- tagcoll/2.0/tagcoll/coll/patched.cc (original)
+++ tagcoll/2.0/tagcoll/coll/patched.cc Wed May 10 00:57:59 2006
@@ -212,9 +212,9 @@
using namespace tagcoll::tests;
using namespace tagcoll::coll;
-struct tagcoll_patchcollection_shar {
+struct tagcoll_coll_patched_shar {
};
-TESTGRP(tagcoll_patchcollection);
+TESTGRP(tagcoll_coll_patched);
template<> template<>
void to::test<1>()
Modified: tagcoll/2.0/tagcoll/coll/simple.cc
==============================================================================
--- tagcoll/2.0/tagcoll/coll/simple.cc (original)
+++ tagcoll/2.0/tagcoll/coll/simple.cc Wed May 10 00:57:59 2006
@@ -188,9 +188,9 @@
using namespace tagcoll;
using namespace tagcoll::tests;
-struct tagcoll_inputmerger_shar {
+struct tagcoll_coll_simple_shar {
};
-TESTGRP(tagcoll_inputmerger);
+TESTGRP(tagcoll_coll_simple);
template<> template<>
void to::test<1>()
Modified: tagcoll/2.0/tagcoll/diskindex/int.cc
==============================================================================
--- tagcoll/2.0/tagcoll/diskindex/int.cc (original)
+++ tagcoll/2.0/tagcoll/diskindex/int.cc Wed May 10 00:57:59 2006
@@ -65,8 +65,8 @@
static const char* fname = "tagcoll_intindex.tmp";
-struct tagcoll_intindex_shar {
- tagcoll_intindex_shar() {
+struct tagcoll_diskindex_int_shar {
+ tagcoll_diskindex_int_shar() {
MasterMMapIndexer master(fname);
// Create the index
@@ -81,12 +81,12 @@
master.append(indexer);
master.commit();
}
- ~tagcoll_intindex_shar() {
+ ~tagcoll_diskindex_int_shar() {
// Delete the test index
unlink(fname);
}
};
-TESTGRP(tagcoll_intindex);
+TESTGRP(tagcoll_diskindex_int);
template<> template<>
void to::test<1>()
Modified: tagcoll/2.0/tagcoll/diskindex/mmap.cc
==============================================================================
--- tagcoll/2.0/tagcoll/diskindex/mmap.cc (original)
+++ tagcoll/2.0/tagcoll/diskindex/mmap.cc Wed May 10 00:57:59 2006
@@ -231,8 +231,8 @@
static const char* fname = "tagcoll_mmapindex.tmp";
-struct tagcoll_mmapindex_shar {
- tagcoll_mmapindex_shar() {
+struct tagcoll_diskindex_mmap_shar {
+ tagcoll_diskindex_mmap_shar() {
TestIndexer index1("pippo");
TestIndexer index2("pluto");
TestIndexer index3("paperino");
@@ -242,12 +242,12 @@
master.append(index3);
master.commit();
}
- ~tagcoll_mmapindex_shar() {
+ ~tagcoll_diskindex_mmap_shar() {
// Delete the test index
unlink(fname);
}
};
-TESTGRP(tagcoll_mmapindex);
+TESTGRP(tagcoll_diskindex_mmap);
// Check to see if the data read with the index is the same as encoded
template<> template<>
Modified: tagcoll/2.0/tagcoll/diskindex/string.cc
==============================================================================
--- tagcoll/2.0/tagcoll/diskindex/string.cc (original)
+++ tagcoll/2.0/tagcoll/diskindex/string.cc Wed May 10 00:57:59 2006
@@ -125,8 +125,8 @@
static const char* fname = "tagcoll_stringindex.tmp";
-struct tagcoll_stringindex_shar {
- tagcoll_stringindex_shar() {
+struct tagcoll_diskindex_string_shar {
+ tagcoll_diskindex_string_shar() {
// Create the index
MasterMMapIndexer master(fname);
@@ -143,12 +143,12 @@
master.append(indexer);
master.commit();
}
- ~tagcoll_stringindex_shar() {
+ ~tagcoll_diskindex_string_shar() {
// Delete the test index
unlink(fname);
}
};
-TESTGRP(tagcoll_stringindex);
+TESTGRP(tagcoll_diskindex_string);
template<> template<>
void to::test<1>()
Modified: tagcoll/2.0/tagcoll/stream/sink.cc
==============================================================================
--- tagcoll/2.0/tagcoll/stream/sink.cc (original)
+++ tagcoll/2.0/tagcoll/stream/sink.cc Wed May 10 00:57:59 2006
@@ -28,9 +28,9 @@
namespace tut {
using namespace tagcoll::tests;
-struct tagcoll_sink_shar {
+struct tagcoll_stream_sink_shar {
};
-TESTGRP(tagcoll_sink);
+TESTGRP(tagcoll_stream_sink);
template<> template<>
void to::test<1>()
More information about the Debtags-commits
mailing list