Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
swingx
swingx-java7-treepath-compat.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File swingx-java7-treepath-compat.patch of Package swingx
--- swingx-core/src/test/java/org/jdesktop/swingx/tree/TreeModelSupportTest.java.orig 2009-08-27 14:17:10.000000000 +0100 +++ swingx-core/src/test/java/org/jdesktop/swingx/tree/TreeModelSupportTest.java 2013-07-30 16:20:10.364320524 +0100 @@ -73,12 +73,14 @@ */ @Test public void testPathChangedNotNullPathElements() { - TreePath path = new TreePath(new Object[] {null}); try { + TreePath path = new TreePath(new Object[] {null}); support.firePathChanged(path); fail("must not allow null path elements"); } catch (NullPointerException e) { - // expected + // expected on java 6 + } catch (IllegalArgumentException e) { + // expected on java 7 } // unexpected exception } @@ -125,12 +127,14 @@ */ @Test public void testTreeStructureChangedNotNullPathElements() { - TreePath path = new TreePath(new Object[] {null}); try { + TreePath path = new TreePath(new Object[] {null}); support.fireTreeStructureChanged(path); fail("must not allow null path elements"); } catch (NullPointerException e) { - // expected + // expected on java 6 + } catch (IllegalArgumentException e) { + // expected on java 7 } // unexpected exception }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor