hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject svn commit: r791049 - /hadoop/hbase/trunk/src/contrib/stargate/src/test/org/apache/hadoop/hbase/stargate/model/TestTableSchemaModel.java
Date Sat, 04 Jul 2009 02:15:09 GMT
Author: apurtell
Date: Sat Jul  4 02:15:09 2009
New Revision: 791049

URL: http://svn.apache.org/viewvc?rev=791049&view=rev
Log:
IN_MEMORY removed from table schemas

Modified:
    hadoop/hbase/trunk/src/contrib/stargate/src/test/org/apache/hadoop/hbase/stargate/model/TestTableSchemaModel.java

Modified: hadoop/hbase/trunk/src/contrib/stargate/src/test/org/apache/hadoop/hbase/stargate/model/TestTableSchemaModel.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/contrib/stargate/src/test/org/apache/hadoop/hbase/stargate/model/TestTableSchemaModel.java?rev=791049&r1=791048&r2=791049&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/contrib/stargate/src/test/org/apache/hadoop/hbase/stargate/model/TestTableSchemaModel.java
(original)
+++ hadoop/hbase/trunk/src/contrib/stargate/src/test/org/apache/hadoop/hbase/stargate/model/TestTableSchemaModel.java
Sat Jul  4 02:15:09 2009
@@ -35,7 +35,6 @@
 public class TestTableSchemaModel extends TestCase {
 
   public static final String TABLE_NAME = "testTable";
-  private static final boolean IN_MEMORY = false;
   private static final boolean IS_META = false;
   private static final boolean IS_ROOT = false;
   private static final boolean READONLY = false;
@@ -44,8 +43,7 @@
     "<TableSchema name=\"testTable\"" +
       " IS_META=\"false\"" +
       " IS_ROOT=\"false\"" +
-      " READONLY=\"false\"" +
-      " IN_MEMORY=\"false\">" +
+      " READONLY=\"false\">" +
       TestColumnSchemaModel.AS_XML + 
     "</TableSchema>";
 
@@ -72,7 +70,6 @@
   public static TableSchemaModel buildTestModel(String name) {
     TableSchemaModel model = new TableSchemaModel();
     model.setName(name);
-    model.__setInMemory(IN_MEMORY);
     model.__setIsMeta(IS_META);
     model.__setIsRoot(IS_ROOT);
     model.__setReadOnly(READONLY);
@@ -108,7 +105,6 @@
 
   public static void checkModel(TableSchemaModel model, String tableName) {
     assertEquals(model.getName(), tableName);
-    assertEquals(model.__getInMemory(), IN_MEMORY);
     assertEquals(model.__getIsMeta(), IS_META);
     assertEquals(model.__getIsRoot(), IS_ROOT);
     assertEquals(model.__getReadOnly(), READONLY);



Mime
View raw message