add test for null configFileName_. patch by Jeff Hodges; reviewed by jbellis for CASSANDRA-129

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@772027 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jonathan Ellis 2009-05-06 02:00:06 +00:00
parent 8042a4e441
commit c568dc733e
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
package org.apache.cassandra.config;
import static org.testng.Assert.assertNotNull;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
public class DatabaseDescriptorTest
{
@Test
public void testShouldHaveConfigFileNameAvailable()
{
assertNotNull(DatabaseDescriptor.getConfigFileName(), "DatabaseDescriptor should always be able to return the file name of the config file");
}
}