File path: /sql12/test/src/net/sourceforge/squirrel_sql/client/update/downloader/event/DownloadEventTypeTest.java | File path: /sql12/test/src/net/sourceforge/squirrel_sql/client/update/gui/ArtifactActionTest.java | |||
Method name:
|
Method name:
|
|||
Number of AST nodes: 0 | Number of AST nodes: 0 | |||
1 | public class DownloadEventTypeTest↵ | 1 | public class ArtifactActionTest↵ | |
2 | {↵ | 2 | {↵ | |
3 | @Test ↵ | 3 | @Test ↵ | |
4 | public void testEnumMethods() {↵ | 4 | public void testEnumMethods() {↵ | |
5 | for (DownloadEventType action : DownloadEventType.values()) {↵ | 5 | for (↵ | |
6 | DownloadEventType a = DownloadEventType↵ | 6 | ArtifactAction action : ArtifactAction.values()) {↵ | |
7 | .valueOf(action.name());↵ | 7 | ArtifactAction a = ArtifactAction.valueOf(action.name());↵ | |
8 | assertEquals(0, a.compareTo(action));↵ | 8 | assertEquals(0, a.compareTo(action));↵ | |
9 | assertEquals(action.ordinal(), a.ordinal());↵ | 9 | assertEquals(action.ordinal(), a.ordinal());↵ | |
10 | | 10 |
| |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |