cascading
Class PlatformTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by cascading.CascadingTestCase
              extended by cascading.PlatformTestCase
All Implemented Interfaces:
Serializable, junit.framework.Test

public class PlatformTestCase
extends CascadingTestCase

See Also:
Serialized Form

Field Summary
static String ROOT_OUTPUT_PATH
           
 
Constructor Summary
PlatformTestCase()
           
PlatformTestCase(boolean useCluster)
           
PlatformTestCase(boolean useCluster, int numMapTasks, int numReduceTasks)
           
 
Method Summary
protected  void copyFromLocal(String inputFile)
           
protected  Map<Object,Object> disableDebug()
           
 String getOutputPath(String path)
           
protected  String[] getPathElements()
           
 cascading.test.TestPlatform getPlatform()
           
 String getPlatformName()
           
 Map<Object,Object> getProperties()
           
protected  String getRootPath()
           
 String getTestCaseName()
           
static String getTestRoot()
           
 void installPlatform(cascading.test.TestPlatform platform)
           
 void setUp()
           
 void tearDown()
           
 
Methods inherited from class cascading.CascadingTestCase
asCollection, asCollection, asList, asSet, getSinkAsList, getSourceAsList, invokeAggregator, invokeAggregator, invokeAggregator, invokeBuffer, invokeBuffer, invokeBuffer, invokeFilter, invokeFilter, invokeFilter, invokeFilter, invokeFunction, invokeFunction, invokeFunction, invokeFunction, validateLength, validateLength, validateLength, validateLength, validateLength, validateLength, validateLength, validateLength, validateLength, validateLength
 
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

ROOT_OUTPUT_PATH

public static final String ROOT_OUTPUT_PATH
See Also:
Constant Field Values
Constructor Detail

PlatformTestCase

public PlatformTestCase(boolean useCluster)

PlatformTestCase

public PlatformTestCase(boolean useCluster,
                        int numMapTasks,
                        int numReduceTasks)

PlatformTestCase

public PlatformTestCase()
Method Detail

installPlatform

public void installPlatform(cascading.test.TestPlatform platform)

getPlatform

public cascading.test.TestPlatform getPlatform()

getRootPath

protected String getRootPath()

getPathElements

protected String[] getPathElements()

getOutputPath

public String getOutputPath(String path)

getTestCaseName

public String getTestCaseName()

getPlatformName

public String getPlatformName()

getTestRoot

public static String getTestRoot()

setUp

public void setUp()
           throws IOException
Overrides:
setUp in class junit.framework.TestCase
Throws:
IOException

getProperties

public Map<Object,Object> getProperties()

copyFromLocal

protected void copyFromLocal(String inputFile)
                      throws IOException
Throws:
IOException

disableDebug

protected Map<Object,Object> disableDebug()

tearDown

public void tearDown()
              throws IOException
Overrides:
tearDown in class junit.framework.TestCase
Throws:
IOException


Copyright © 2007-2012 Concurrent, Inc. All Rights Reserved.