|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.hadoop.hive.ql.io.TestSymlinkTextInputFormat
public class TestSymlinkTextInputFormat
Unittest for SymlinkTextInputFormat.
Constructor Summary | |
---|---|
TestSymlinkTextInputFormat()
|
Method Summary | |
---|---|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testAccuracy1()
Test scenario: Two data directories, one symlink file that contains two paths each point to a file in one of data directories. |
void |
testAccuracy2()
Scenario: Empty input directory, i.e. |
void |
testCombine()
Test combine symlink text input file. |
void |
testFailure()
Scenario: No job input paths. |
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 |
---|
public TestSymlinkTextInputFormat()
Method Detail |
---|
protected void setUp() throws IOException
setUp
in class junit.framework.TestCase
IOException
protected void tearDown() throws IOException
tearDown
in class junit.framework.TestCase
IOException
public void testCombine() throws Exception
Exception
public void testAccuracy1() throws IOException
IOException
public void testAccuracy2() throws IOException
IOException
public void testFailure()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |