-
Notifications
You must be signed in to change notification settings - Fork 0
/
DoubleAgents-SUnitToo.pst
106 lines (87 loc) · 4.12 KB
/
DoubleAgents-SUnitToo.pst
1
<?xml version="1.0"?><st-source><!-- Name: DoubleAgents-SUnitTooNotice: The MIT LicenseCopyright (c) 2013 , Randy CoulmanPermission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included inall copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS INTHE SOFTWARE.Comment: DoubleAgents is licensed under the MIT license. See the copyright tabin the RB, the 'notice' property of this package, or the License.txtfile on GitHub.This package contains an SUnitToo TestCase subclass that verifies allmocks at tearDown. See the DoubleAgents package comment for moreinformation.DbIdentifier: /Users/randy/repositories/store/RCSmalltalkDbTrace: 1704DbUsername: randyDbVersion: 9DevelopmentPrerequisites: #(#(#any 'Base VisualWorks' '') #(#any 'SUnitToo' '') #(#any 'DoubleAgents' ''))PackageName: DoubleAgents-SUnitTooParcel: #('DoubleAgents-SUnitToo')PrerequisiteDescriptions: #(#(#name 'Base VisualWorks' #componentType #bundle) #(#name 'SUnitToo' #componentType #package) #(#name 'DoubleAgents' #componentType #package))PrerequisiteParcels: #(#('Base VisualWorks' '') #('SUnitToo' '') #('DoubleAgents' ''))PrintStringCache: (9,randy)Version: 9Date: 7:45:56 AM October 7, 2014 --><time-stamp>From VisualWorks® Personal Use Edition, 7.10.1 of February 6, 2014 on October 7, 2014 at 7:45:56 AM</time-stamp><do-it>(Dialog confirm: 'You are filing-in a Parcel source file!\\While this is possible it will not have\the same effect as loading the parcel.\None of the Parcel''s prerequisites will\be loaded and none of its load actions\will be performed.\\Are you sure you want to file-in?' withCRs) ifFalse: [self error: 'Parcel file-in abandoned. Choose terminate or close.']</do-it><class><name>DoubleAgentTestCase</name><environment>DoubleAgents</environment><super>SUnit.TestCase</super><private>false</private><indexed-type>none</indexed-type><inst-vars></inst-vars><class-inst-vars></class-inst-vars><imports></imports><category></category><attributes><package>DoubleAgents-SUnitToo</package></attributes></class><comment><class-id>DoubleAgents.DoubleAgentTestCase</class-id><body>DoubleAgentTestCase is a subclass of SUnitToo's TestCase. It contains setUp and tearDown methods that forward to the singleton Agency. setUp ensures that the Agency is in a clean state before each test run, and tearDown verifies all mock expections and performs any necessary clean up.If you inherit from this class, make sure that your setUp and tearDown also send to super in addition to their own actions.</body></comment><methods><class-id>DoubleAgents.DoubleAgentTestCase</class-id> <category>initialize-release</category><body package="DoubleAgents-SUnitToo">setUp super setUp. Agency setUp</body><body package="DoubleAgents-SUnitToo">tearDown [Agency tearDown] ensure: [super tearDown]</body></methods><do-it>"Imported Classes:"</do-it><do-it>self error: 'Attempting to file-in parcel imports. Choose terminate or close'</do-it><class><name>TestCase</name><environment>SUnit</environment><super>Core.Object</super><private>false</private><indexed-type>none</indexed-type><inst-vars>testSelector </inst-vars><class-inst-vars></class-inst-vars><imports></imports><category>SUnit</category><attributes><package>SUnitToo</package></attributes></class></st-source>