@Test
  public void testListPartitionNamesNoTable() throws Exception {
    List<String> names = client.listPartitionNames(DB_NAME, TABLE_NAME, (short)-1);
    Assert.assertEquals(0, names.size());
  }
Testing listPartitionNames(String,String,short) ->
        get_partition_names(String,String,short).
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestListPartitions.java