| java.lang.Object org.netbeans.test.umllib.util.Utils
Utils | public class Utils (Code) | | |
Method Summary | |
public static void | closeDialog(String dialogName, String dialogButton) | public static void | closeExitDialog() | public static void | closeSaveDialog() | public static void | closeTwoDialogs(String dialogName, String dialogButton) | public static void | makeScreenShot(String testClassName, String lastTestCase) | public static void | makeScreenShot(String lastTestCase) | public static void | makeScreenShot(String lastTestCase, boolean fullscreen) | public static void | makeScreenShot() | public static void | makeScreenShot(boolean fullscreen) | public static void | makeScreenShotCustom(String testClassName, String lastTestCase, String customPrefix) | public static void | makeScreenShotCustom(String testClassName, String lastTestCase, String customPrefix, boolean fullscreen) | public static void | makeScreenShotCustom(String lastTestCase, String customPrefix) | public static void | makeScreenShotCustom(String lastTestCase, String customPrefix, boolean fullscreen) | public static void | makeScreenShotCustom(String customPrefix) | public static void | makeScreenShotCustom(String customPrefix, boolean fullscreen) | public static void | saveAll() | public static void | showClassHierarchy(Object obj) | public static void | showClassHierarchy(String blank, Object obj) | protected static void | showClassHierarchy(Class cls) | protected static void | showClassHierarchy(String blank, Class cls) | public static void | showComponents(Component comp) | public static void | showComponents(String blank, Component comp) | public static void | showIDE() | public static void | tearDown() | public static void | waitScanningClassPath() |
MAX_WAIT_TIME | final public static long MAX_WAIT_TIME(Code) | | |
closeDialog | public static void closeDialog(String dialogName, String dialogButton)(Code) | | Parameters: dialogName - Parameters: dialogButton - |
closeExitDialog | public static void closeExitDialog()(Code) | | |
closeSaveDialog | public static void closeSaveDialog()(Code) | | |
closeTwoDialogs | public static void closeTwoDialogs(String dialogName, String dialogButton)(Code) | | Parameters: dialogName - Parameters: dialogButton - |
makeScreenShot | public static void makeScreenShot(String testClassName, String lastTestCase)(Code) | | screenshot is created in directory accessible from xtest result
call the method from your test methods or teardown/setup (i.e/ from your test class)
method do nothing if there is problems with java.awt.Robot initialization or with file writing
method with default prefix for screenshot file
Parameters: testClassName - Parameters: lastTestCase - - last testase method name (if you want to place scrrenshot to methods's reprort directory) |
makeScreenShot | public static void makeScreenShot(String lastTestCase)(Code) | | make scrrenshot and stores according to last test case name
should be called from test class
method with default prefix for screenshot file
Parameters: lastTestCase - |
makeScreenShot | public static void makeScreenShot(String lastTestCase, boolean fullscreen)(Code) | | make scrrenshot and stores according to last test case name
should be called from test class
method with default prefix for screenshot file
Parameters: lastTestCase - |
makeScreenShot | public static void makeScreenShot()(Code) | | screenshot is created in directory accessible from xtest result
call the method from any method but test method should be in stack
screenshot is paced in report directory fro last executed test* method
method do nothing if there is problems with java.awt.Robot initialization or there is no 'test*' method in trace or with file writing
method with default prefix for screenshot file
|
makeScreenShot | public static void makeScreenShot(boolean fullscreen)(Code) | | screenshot is created in directory accessible from xtest result
call the method from any method but test method should be in stack
screenshot is paced in report directory fro last executed test* method
method do nothing if there is problems with java.awt.Robot initialization or there is no 'test*' method in trace or with file writing
method with default prefix for screenshot file
|
makeScreenShotCustom | public static void makeScreenShotCustom(String testClassName, String lastTestCase, String customPrefix)(Code) | | screenshot is created in directory accessible from xtest result
call the method from your test methods or teardown/setup (i.e/ from your test class)
method do nothing if there is problems with java.awt.Robot initialization or with file writing
by default only ide window is catched
Parameters: testClassName - Parameters: lastTestCase - - last testase method name (if you want to place scrrenshot to methods's reprort directory) Parameters: customPrefix - part of screnshot file name |
makeScreenShotCustom | public static void makeScreenShotCustom(String testClassName, String lastTestCase, String customPrefix, boolean fullscreen)(Code) | | screenshot is created in directory accessible from xtest result
call the method from your test methods or teardown/setup (i.e/ from your test class)
method do nothing if there is problems with java.awt.Robot initialization or with file writing
Parameters: testClassName - Parameters: lastTestCase - - last testase method name (if you want to place scrrenshot to methods's reprort directory) Parameters: customPrefix - part of screnshot file name |
makeScreenShotCustom | public static void makeScreenShotCustom(String lastTestCase, String customPrefix)(Code) | | make scrrenshot and stores according to last test case name
should be called from test class
Parameters: lastTestCase - Parameters: customPrefix - part of screnshot file name |
makeScreenShotCustom | public static void makeScreenShotCustom(String lastTestCase, String customPrefix, boolean fullscreen)(Code) | | make scrrenshot and stores according to last test case name
should be called from test class
Parameters: lastTestCase - Parameters: customPrefix - part of screnshot file name |
makeScreenShotCustom | public static void makeScreenShotCustom(String customPrefix)(Code) | | screenshot is created in directory accessible from xtest result
call the method from any method but test method should be in stack
screenshot is paced in report directory fro last executed test* method
method do nothing if there is problems with java.awt.Robot initialization or there is no 'test*' method in trace or with file writing
Parameters: customPrefix - part of screnshot file name |
makeScreenShotCustom | public static void makeScreenShotCustom(String customPrefix, boolean fullscreen)(Code) | | screenshot is created in directory accessible from xtest result
call the method from any method but test method should be in stack
screenshot is paced in report directory fro last executed test* method
method do nothing if there is problems with java.awt.Robot initialization or there is no 'test*' method in trace or with file writing
Parameters: customPrefix - part of screnshot file name |
saveAll | public static void saveAll()(Code) | | |
showClassHierarchy | public static void showClassHierarchy(Object obj)(Code) | | Parameters: obj - |
showClassHierarchy | public static void showClassHierarchy(String blank, Object obj)(Code) | | Parameters: blank - Parameters: obj - |
showClassHierarchy | protected static void showClassHierarchy(Class cls)(Code) | | Parameters: cls - |
showClassHierarchy | protected static void showClassHierarchy(String blank, Class cls)(Code) | | Parameters: blank - Parameters: cls - |
showComponents | public static void showComponents(Component comp)(Code) | | Parameters: comp - |
showComponents | public static void showComponents(String blank, Component comp)(Code) | | Parameters: blank - Parameters: comp - |
showIDE | public static void showIDE()(Code) | | |
tearDown | public static void tearDown()(Code) | | |
waitScanningClassPath | public static void waitScanningClassPath()(Code) | | |
|
|