Hi everyone,
The following method: SqueakSSLTest >> #expectedFailures is implemented thusly:
expectedFailures
"If we don't have a cert all the tests fail"
SqueakSSL platformName = 'Mac OS' ifTrue:[
"The following tests all need certificate selection
to work properly."
^#(
testConnectAccept
testEncryptDecrypt
testMultiFrameDecrypt
testSingleByteDecrypt
testSplitTlsFrameRead
testStreamAccept
testStreamConnect
testStreamTransfer
)
].
This clearly doesn't work on Windows at all, since TestCase >> #shouldPass sends #includes: to the result of that method, which (if you're not running Mac OS) is the SqueakSSLTest instance.
I added:
^super expectedFailures
at the bottom, and the tests at least don't choke before they start now.
I'm hoping to be able to send & receive email from a specific gmail account using this - any suggestions?
- Jon