macaw.test.retrieval
Class TestRetrieveVariables

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by macaw.test.retrieval.MacawRetrievalTestCase
              extended by macaw.test.retrieval.TestRetrieveVariables
All Implemented Interfaces:
junit.framework.Test

public class TestRetrieveVariables
extends MacawRetrievalTestCase


Copyright 2010 Medical Research Council Unit for Lifelong Health and Ageing Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Version:
1.0
Author:
Kevin Garwood (kgarwood@users.sourceforge.net)

Field Summary
 
Fields inherited from class macaw.test.retrieval.MacawRetrievalTestCase
admin, curationService, jsmith, log, retrievalService
 
Constructor Summary
TestRetrieveVariables()
           
 
Method Summary
 void testGetCategoriesForVariableA1()
           
 void testGetCategoriesForVariableN1()
           
 void testGetValueLabelsA1()
           
 void testGetValueLabelsN1()
           
 void testGetVariableA1()
          retrieve a non-existent variable.
 void testGetVariableN1()
           
 void testGetVariableNamesA1()
           
 void testGetVariableNamesN1()
           
 void testGetVariableSummariesForCategoryA1()
           
 void testGetVariableSummariesForCategoryA2()
           
 void testGetVariableSummariesForCategoryN1()
           
 
Methods inherited from class macaw.test.retrieval.MacawRetrievalTestCase
setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
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, fail, fail, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestRetrieveVariables

public TestRetrieveVariables()
Method Detail

testGetVariableNamesN1

public void testGetVariableNamesN1()

testGetVariableNamesA1

public void testGetVariableNamesA1()

testGetVariableN1

public void testGetVariableN1()

testGetVariableA1

public void testGetVariableA1()
retrieve a non-existent variable. This shouldn't cause an error but just a NULL result


testGetValueLabelsN1

public void testGetValueLabelsN1()

testGetValueLabelsA1

public void testGetValueLabelsA1()

testGetVariableSummariesForCategoryN1

public void testGetVariableSummariesForCategoryN1()

testGetVariableSummariesForCategoryA1

public void testGetVariableSummariesForCategoryA1()

testGetVariableSummariesForCategoryA2

public void testGetVariableSummariesForCategoryA2()

testGetCategoriesForVariableN1

public void testGetCategoriesForVariableN1()

testGetCategoriesForVariableA1

public void testGetCategoriesForVariableA1()