fr.paris5.shaman.insight.operation
Class PublicationOperationServerTest
fr.paris5.shaman.system.AbstractServerTest
|
+--fr.paris5.shaman.insight.operation.PublicationOperationServerTest
- public class PublicationOperationServerTest
- extends AbstractServerTest
Performs a full integration test between Legend and Insight, based on
Publication creation.
- Version:
- $Id: PublicationOperationServerTest.java,v 1.4 2002/07/25 13:18:09 caillette Exp $
- Author:
- Laurent Caillette
DIR2_EXPECTED_FRAGMENT_PATHS
private static final java.lang.String[] DIR2_EXPECTED_FRAGMENT_PATHS
OWNER_TOPIC_NAME
private final java.lang.String OWNER_TOPIC_NAME
OWNER_TOPIC_FQNAME
private final java.lang.String OWNER_TOPIC_FQNAME
testCreatePublicationOperationLastResult
private Publication testCreatePublicationOperationLastResult
- Some kind of global variable for storing result of last
testCreatePublicationOperation()
call. It is used because
a JUnit test method cannot return a value.
PUTFILES_TARGET
private static final java.lang.String PUTFILES_TARGET
SCRIPT_NAME
private static final java.lang.String SCRIPT_NAME
REQUIRED_SERVERS
private static final java.util.Set REQUIRED_SERVERS
operationCombiner
private OperationCombiner operationCombiner
insightManager
private InsightManager insightManager
root
private Topic root
owningTopic
private Topic owningTopic
PublicationOperationServerTest
public PublicationOperationServerTest(java.lang.String name)
testCreatePublicationOperation
public void testCreatePublicationOperation()
testGetPublicationFragments2
public void testGetPublicationFragments2()
testUpdateTopicDefault
public void testUpdateTopicDefault()
testGetPublicationFragments1
public void testGetPublicationFragments1()
testStateUpdate
public void testStateUpdate()
checkFragmentsAllHere
private void checkFragmentsAllHere(java.lang.String[] expectedPaths,
Fragment[] fragments)
static void ()
getRequiredServers
public java.util.Set getRequiredServers()
- Description copied from class:
AbstractServerTest
- Override to require less servers than all servers.
- Overrides:
getRequiredServers
in class AbstractServerTest
- Following copied from class:
fr.paris5.shaman.system.AbstractServerTest
- Returns:
- A Map containg server keys as defined in
ServerSystem
.
doSetUp
public void doSetUp()
- Description copied from class:
AbstractServerTest
- Override for doing things in derived classes. Called at the end
of setUp.
- Overrides:
doSetUp
in class AbstractServerTest
doTearDown
protected void doTearDown()
- Description copied from class:
AbstractServerTest
- Override for doing things in derived classes. Called at the end
of tearDown.
- Overrides:
doTearDown
in class AbstractServerTest
setupTopics
private void setupTopics()
teardownTopics
private void teardownTopics()
suite
public static junit.framework.Test suite()
main
public static void main(java.lang.String[] args)
Copyright © 2002 Laurent Caillette and l'Université René Descartes, Paris 5. All rights reserved.