org.alfresco.repo.web.scripts.solr
Class SOLRWebScriptTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.repo.web.scripts.BaseWebScriptTest
              extended by org.alfresco.repo.web.scripts.solr.SOLRWebScriptTest
All Implemented Interfaces:
junit.framework.Test

public class SOLRWebScriptTest
extends BaseWebScriptTest

Test the SOLR web scripts

Since:
4.0

Nested Class Summary
 
Nested classes/interfaces inherited from class org.alfresco.repo.web.scripts.BaseWebScriptTest
BaseWebScriptTest.BaseWebScriptTestListener, BaseWebScriptTest.HttpMethodResponse, BaseWebScriptTest.PatchMethod, BaseWebScriptTest.RemoteServer, BaseWebScriptTest.WebScriptTestListener
 
Field Summary
protected static org.apache.commons.logging.Log logger
           
 
Constructor Summary
SOLRWebScriptTest()
           
 
Method Summary
 void DISABLED_testGetContent()
           
static java.lang.String join(java.util.Collection s, java.lang.String delimiter)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testAclChangeSetsGet()
           
 void testAclReadersGet()
           
 void testAclsGet()
           
 void testNodeMetaData()
           
 void testNodeMetaDataManyNodes()
           
 void testNodeMetaDataStringEscaping()
           
 
Methods inherited from class org.alfresco.repo.web.scripts.BaseWebScriptTest
getDefaultRunAs, getRemoteServer, getServer, isLogEnabled, log, sendLocalRequest, sendRemoteRequest, sendRequest, sendRequest, setCustomContext, setDefaultRunAs, setListener, setRemoteServer, setTraceReqRes
 
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
 

Field Detail

logger

protected static final org.apache.commons.logging.Log logger
Constructor Detail

SOLRWebScriptTest

public SOLRWebScriptTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class BaseWebScriptTest
Throws:
java.lang.Exception

tearDown

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

testAclChangeSetsGet

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

testAclsGet

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

testAclReadersGet

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

join

public static java.lang.String join(java.util.Collection s,
                                    java.lang.String delimiter)

testNodeMetaData

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

testNodeMetaDataStringEscaping

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

testNodeMetaDataManyNodes

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

DISABLED_testGetContent

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


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