|
||||||||||
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.eclipse.mylar.monitor.tests.StatisticsReportingTest
public class StatisticsReportingTest
Field Summary | |
---|---|
private MylarUsageAnalysisCollector |
editRatioCollector
|
private InteractionEventLogger |
logger
|
private ReportGenerator |
report
|
private MylarViewUsageCollector |
viewCollector
|
Constructor Summary | |
---|---|
StatisticsReportingTest()
|
Method Summary | |
---|---|
protected void |
mockEdit(java.lang.String handle)
|
protected org.eclipse.mylar.context.core.InteractionEvent |
mockExplorerSelection(java.lang.String handle)
|
protected void |
mockTypesSelection(java.lang.String handle)
|
private void |
mockUserDelay()
Delay enough to make replicated events different |
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testEditRatio()
|
void |
testFilteredModeDetection()
|
void |
testSimpleSelection()
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private InteractionEventLogger logger
private MylarViewUsageCollector viewCollector
private MylarUsageAnalysisCollector editRatioCollector
private ReportGenerator report
Constructor Detail |
---|
public StatisticsReportingTest()
Method Detail |
---|
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
protected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
protected org.eclipse.mylar.context.core.InteractionEvent mockExplorerSelection(java.lang.String handle)
protected void mockEdit(java.lang.String handle)
protected void mockTypesSelection(java.lang.String handle)
public void testEditRatio() throws java.lang.reflect.InvocationTargetException, java.lang.InterruptedException
java.lang.reflect.InvocationTargetException
java.lang.InterruptedException
public void testSimpleSelection()
public void testFilteredModeDetection() throws java.io.IOException
java.io.IOException
private void mockUserDelay()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |