Skip to content

Conversation

@rtaneja1
Copy link
Contributor

@rtaneja1 rtaneja1 commented Oct 3, 2017

Removed failing test UpdateUnitFactoryTest. This test depends on the test .nbm files that were removed at the time of donation.
Fixed failing test UpdateProviderFactoryCreateTest.

String name = "new-one";
String displayName = "Newone";
URL url = UpdateUnitFactoryTest.class.getResource ("data/catalog.xml");
URL url = CatalogCacheTest.class.getResource ("data/catalog.xml");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not use UpdateProviderFactoryCreateTest.class here? Or even getClass().getResource() ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

String name = "new-one";
String displayName = "Newone";
URL url = UpdateUnitFactoryTest.class.getResource ("data/catalog.xml");
URL url = getClass().getResource ("/org/netbeans/modules/autoupdate/updateprovider/data/catalog.xml");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't the relative path data/catalog.xml work anymore?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no data/catalog.xml in above location

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please approve this?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't know you were waiting for me. Sure, it looks good!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, will merge this one.

@geertjanw
Copy link
Member

What needs to be done to complete this one?

@geertjanw geertjanw merged commit fcd4223 into apache:master Oct 19, 2017
@geertjanw
Copy link
Member

Merged it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants