|
The Meta-Environment API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
nl.cwi.sen1.visplugin.screenshotmaker.ScreenshotMakerTest
public class ScreenshotMakerTest
Test the screenshot function with different extensions.
| Constructor Summary | |
|---|---|
ScreenshotMakerTest()
|
|
| Method Summary | |
|---|---|
private boolean |
exportAs(javax.swing.JPanel testPanel,
java.lang.String exportDestination,
java.lang.String fileExtension)
Test the screenshot function with different extensions. |
protected void |
setUp()
|
void |
testExportScreenShot()
Test the screenshot function with different extensions. |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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 ScreenshotMakerTest()
| Method Detail |
|---|
protected void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exceptionpublic void testExportScreenShot()
private boolean exportAs(javax.swing.JPanel testPanel,
java.lang.String exportDestination,
java.lang.String fileExtension)
testPanel - The Jpanel which should be savedexportDestination - The destination of the exported imagefileExtension - The extension of the exported image
|
The Meta-Environment API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||