mirror of https://github.com/apache/cassandra
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:
parent
8042a4e441
commit
c568dc733e
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue