Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate Network-Tests-Mail into new package #4146

Merged
merged 3 commits into from Jul 30, 2019

Conversation

jgfoster
Copy link

I'd like to be able to load Network-Tests into a minimal image without these tests since they test things that aren't in the minimal image (MailAddressParser, MailAddressTokenizer, and MailMessage). This appears to do it but I've not created a new package before so anticipate issues. Advice and guidance is welcome! Thanks.

@bencoman
Copy link
Contributor

I guess you do the file rename from the command line, since the class-category was not updated.
Class {
#name : #MailAddressParserTest,
#superclass : #TestCase,
#category : #'Network-Tests-RFC822'
}

@jgfoster
Copy link
Author

Actually, I didn't rename the file. Should the category be #'Network-Tests-Mail-RFC822'?

@bencoman
Copy link
Contributor

bencoman commented Jul 29, 2019

Oh, I saw this in the File Changed tab...
image

and wondered how the class(/file) changed packages(/directory) without the "Category:" of the class being changed to match the package (as seen inside the file) . Any ideas?

'Network-Tests-Mail-RFC822'

It didn't occur to me, but yes, it might be worth not throwing that info away.

@Ducasse
Copy link
Member

Ducasse commented Jul 30, 2019

Thanks James. I like this change!

@Ducasse Ducasse merged commit 91464d4 into pharo-project:Pharo8.0 Jul 30, 2019
@jgfoster jgfoster deleted the Network_Tests_Mail branch August 2, 2019 03:38
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.

None yet

3 participants