org.alfresco.repo.attributes
Class AttributeServiceTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.repo.attributes.AttributeServiceTest
All Implemented Interfaces:
junit.framework.Test

public class AttributeServiceTest
extends junit.framework.TestCase

Basic tests for AttributeService.


Constructor Summary
AttributeServiceTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testBasic()
           
 void testDelete()
           
 void testList()
          Test ListAttributes
 void testLongStrings()
           
 void testQuery()
          Test the query capability.
 
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, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeServiceTest

public AttributeServiceTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

testBasic

public void testBasic()
               throws java.lang.Exception
Throws:
java.lang.Exception

testLongStrings

public void testLongStrings()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testQuery

public void testQuery()
               throws java.lang.Exception
Test the query capability.

Throws:
java.lang.Exception

testDelete

public void testDelete()
                throws java.lang.Exception
Throws:
java.lang.Exception

testList

public void testList()
              throws java.lang.Exception
Test ListAttributes

Throws:
java.lang.Exception


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.