cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r772027 - in /incubator/cassandra/trunk/test/unit/org/apache/cassandra/config: ./ DatabaseDescriptorTest.java
Date Wed, 06 May 2009 02:00:06 GMT
Author: jbellis
Date: Wed May  6 02:00:06 2009
New Revision: 772027

URL: http://svn.apache.org/viewvc?rev=772027&view=rev
Log:
add test for null configFileName_.  patch by Jeff Hodges; reviewed by jbellis for CASSANDRA-129

Added:
    incubator/cassandra/trunk/test/unit/org/apache/cassandra/config/
    incubator/cassandra/trunk/test/unit/org/apache/cassandra/config/DatabaseDescriptorTest.java

Added: incubator/cassandra/trunk/test/unit/org/apache/cassandra/config/DatabaseDescriptorTest.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/test/unit/org/apache/cassandra/config/DatabaseDescriptorTest.java?rev=772027&view=auto
==============================================================================
--- incubator/cassandra/trunk/test/unit/org/apache/cassandra/config/DatabaseDescriptorTest.java
(added)
+++ incubator/cassandra/trunk/test/unit/org/apache/cassandra/config/DatabaseDescriptorTest.java
Wed May  6 02:00:06 2009
@@ -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");
+    }
+}



Mime
View raw message