public class TestLuceneCatalog
extends junit.framework.TestCase
Test suite for the LuceneCatalog
and LuceneCatalogFactory
.
Constructor and Description |
---|
TestLuceneCatalog() |
Modifier and Type | Method and Description |
---|---|
protected void |
setUp() |
void |
setUpProperties() |
protected void |
tearDown() |
void |
testAddMetadata() |
void |
testAddProduct() |
void |
testCreateCatalogException() |
void |
testFirstProductOnlyOnFirstPage() |
void |
testGetLastProductOnLastPage() |
void |
testGetMetadata() |
void |
testGetNextPageCurrentPageIsLastPage() |
void |
testGetNextPageNullCurrentPage() |
void |
testGetNextPageNullType() |
void |
testGetPrevPage() |
void |
testGetPrevPageCurrentPageIsFirstPage() |
void |
testGetPrevPageNullCurrentPage() |
void |
testGetPrevPageNullProductType() |
void |
testGetReducedMetadata() |
void |
testGetReducedMetadataNull() |
void |
testGetTopNProducts() |
void |
testGetTopNProductsByType() |
void |
testModifyProduct() |
void |
testNoCatalogDirectoryQueries() |
void |
testPagedQuery() |
void |
testRemoveMetadata() |
void |
testRemoveProduct() |
void |
testTopResults() |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
public void setUpProperties()
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
public void testNoCatalogDirectoryQueries()
public void testGetMetadata() throws CatalogException
CatalogException
public void testGetReducedMetadata() throws CatalogException
CatalogException
public void testGetReducedMetadataNull() throws CatalogException
CatalogException
public void testRemoveProduct()
public void testModifyProduct()
public void testFirstProductOnlyOnFirstPage()
public void testGetLastProductOnLastPage()
public void testGetTopNProducts()
public void testGetNextPageNullType()
public void testGetNextPageNullCurrentPage()
public void testGetNextPageCurrentPageIsLastPage()
public void testGetPrevPage()
public void testGetPrevPageNullCurrentPage()
public void testGetPrevPageCurrentPageIsFirstPage()
public void testGetPrevPageNullProductType()
public void testGetTopNProductsByType()
public void testTopResults()
public void testAddProduct()
public void testAddMetadata()
public void testRemoveMetadata()
public void testPagedQuery()
public void testCreateCatalogException()
Copyright © 1999–2017 Apache OODT. All rights reserved.