Skip to content

Commit

Permalink
refs #6449 start enabling DB tests
Browse files Browse the repository at this point in the history
  • Loading branch information
abuts committed Apr 6, 2013
1 parent 91a8c44 commit 0cab1dc
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions Code/Mantid/Framework/Kernel/test/DiskBufferTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,28 +134,28 @@ class DiskBufferTest : public CxxTest::TestSuite
void setUp()
{
// Create the ISaveables
//num = 10;
//SaveableTesterWithFile::fakeFile = "";
//data.clear();
//for (size_t i=0; i<num; i++)
// data.push_back( new SaveableTesterWithFile(i,2*i,2,char(i+0x41)) );
num = 10;
SaveableTesterWithFile::fakeFile = "";
data.clear();
for (size_t i=0; i<num; i++)
data.push_back( new SaveableTesterWithFile(i,2*i,2,char(i+0x41)) );
}

void tearDown()
{
//for (size_t i=0; i<data.size(); i++)
// {
// delete data[i];
// data[i]= NULL;
//}
for (size_t i=0; i<data.size(); i++)
{
delete data[i];
data[i]= NULL;
}
}
void test_nothing()
{
TS_WARN("Tests here were disabled for the time being");
}

/** Extreme case with nothing writable but exceeding the writable buffer */
void xest_noWriteBuffer_nothingWritable()
void test_noWriteBuffer_nothingWritable()
{
//Room for 4 in the write buffer
DiskBuffer dbuf(4);
Expand Down

0 comments on commit 0cab1dc

Please sign in to comment.