tests fixed - method iterating order is slightly different in newer STX versions
authorJakub Nesveda <jakubnesveda@seznam.cz>
Sat, 08 Nov 2014 11:19:40 +0100
changeset 729 2f976696555a
parent 728 fae223e31a0d
child 730 a18417c3cee7
tests fixed - method iterating order is slightly different in newer STX versions
CustomDummyTests.st
CustomRBAbstractClassTests.st
CustomRefactoryBuilderTests.st
jn_refactoring_custom.st
patches/jn_refactoring_custom_patches.st
patches/patches.rc
refactoring_custom.rc
--- a/CustomDummyTests.st	Wed Nov 05 23:27:37 2014 +0100
+++ b/CustomDummyTests.st	Sat Nov 08 11:19:40 2014 +0100
@@ -7,6 +7,7 @@
 	category:'Interface-Refactoring-Custom-Tests'
 !
 
+
 !CustomDummyTests methodsFor:'tests'!
 
 test_dummy
@@ -46,3 +47,10 @@
     "Modified: / 22-07-2013 / 17:47:02 / user"
 ! !
 
+!CustomDummyTests class methodsFor:'documentation'!
+
+version_HG
+
+    ^ '$Changeset: <not expanded> $'
+! !
+
--- a/CustomRBAbstractClassTests.st	Wed Nov 05 23:27:37 2014 +0100
+++ b/CustomRBAbstractClassTests.st	Sat Nov 08 11:19:40 2014 +0100
@@ -575,8 +575,8 @@
         compile:'selector_02 ^ 2'.
 
     expectedMethods := OrderedCollection new
+        add:(rbClass compiledMethodAt:#selector_01);
         add:(rbClass compiledMethodAt:#selector_02);
-        add:(rbClass compiledMethodAt:#selector_01);
         yourself.
 
     actualMethods := OrderedCollection new.
@@ -588,6 +588,7 @@
     self assert:expectedMethods = actualMethods
 
     "Created: / 02-11-2014 / 11:28:42 / Jakub Nesveda <nesvejak@fit.cvut.cz>"
+    "Modified: / 08-11-2014 / 11:13:34 / Jakub Nesveda <nesvejak@fit.cvut.cz>"
 !
 
 test_methods_do_with_real_class
--- a/CustomRefactoryBuilderTests.st	Wed Nov 05 23:27:37 2014 +0100
+++ b/CustomRefactoryBuilderTests.st	Sat Nov 08 11:19:40 2014 +0100
@@ -346,8 +346,8 @@
     context selectedClassCategories: (Array with:'Some-Category01').    
 
     expectedResult := OrderedCollection new
+        add: (class01 compiledMethodAt:#selector_01);
         add: (class01 compiledMethodAt:#selector_02);
-        add: (class01 compiledMethodAt:#selector_01);
         yourself.
 
     actualResult := OrderedCollection new.
@@ -359,6 +359,7 @@
     self assert: expectedResult = actualResult.
 
     "Created: / 05-11-2014 / 21:21:21 / Jakub Nesveda <nesvejak@fit.cvut.cz>"
+    "Modified: / 08-11-2014 / 11:12:22 / Jakub Nesveda <nesvejak@fit.cvut.cz>"
 !
 
 test_search_in_context_with_result_do_categories_model_classes
@@ -390,8 +391,8 @@
 
     expectedResult := OrderedCollection new
         add: (class03 compiledMethodAt:#selector_04);
+        add: (class01 compiledMethodAt:#selector_01);
         add: (class01 compiledMethodAt:#selector_02);
-        add: (class01 compiledMethodAt:#selector_01);
         yourself.
 
     actualResult := OrderedCollection new.
@@ -403,6 +404,7 @@
     self assert: expectedResult = actualResult.
 
     "Created: / 04-11-2014 / 21:03:26 / Jakub Nesveda <nesvejak@fit.cvut.cz>"
+    "Modified: / 08-11-2014 / 11:15:32 / Jakub Nesveda <nesvejak@fit.cvut.cz>"
 !
 
 test_search_in_context_with_result_do_categories_real_category
--- a/jn_refactoring_custom.st	Wed Nov 05 23:27:37 2014 +0100
+++ b/jn_refactoring_custom.st	Sat Nov 08 11:19:40 2014 +0100
@@ -9,11 +9,6 @@
 
 !jn_refactoring_custom class methodsFor:'documentation'!
 
-extensionsVersion_HG
-
-    ^ '$Changeset: <not expanded> $'
-! 
-
 documentation
 "
     Package documentation:
@@ -23,6 +18,11 @@
     [author:]
         Jakub Nesveda <nesvejak@fit.cvut.cz>
 "
+!
+
+extensionsVersion_HG
+
+    ^ '$Changeset: <not expanded> $'
 ! !
 
 !jn_refactoring_custom class methodsFor:'description'!
--- a/patches/jn_refactoring_custom_patches.st	Wed Nov 05 23:27:37 2014 +0100
+++ b/patches/jn_refactoring_custom_patches.st	Sat Nov 08 11:19:40 2014 +0100
@@ -19,6 +19,11 @@
     [author:]
         Jakub Nesveda <nesvejak@fit.cvut.cz>
 "
+!
+
+extensionsVersion_HG
+
+    ^ '$Changeset: <not expanded> $'
 ! !
 
 !jn_refactoring_custom_patches class methodsFor:'description'!
--- a/patches/patches.rc	Wed Nov 05 23:27:37 2014 +0100
+++ b/patches/patches.rc	Sat Nov 08 11:19:40 2014 +0100
@@ -4,7 +4,7 @@
 //
 VS_VERSION_INFO VERSIONINFO
   FILEVERSION     6,2,32767,32767
-  PRODUCTVERSION  6,2,4,1378
+  PRODUCTVERSION  6,2,4,1420
 #if (__BORLANDC__)
   FILEFLAGSMASK   VS_FF_DEBUG | VS_FF_PRERELEASE
   FILEFLAGS       VS_FF_PRERELEASE | VS_FF_SPECIALBUILD
@@ -24,9 +24,8 @@
       VALUE "InternalName", "jn:refactoring_custom/patches\0"
       VALUE "LegalCopyright", "My CopyRight or CopyLeft\0"
       VALUE "ProductName", "LibraryName\0"
-      VALUE "ProductVersion", "6.2.4.1378\0"
-
-      VALUE "ProductDate", "Wed, 05 Nov 2014 22:15:58 GMT\0"
+      VALUE "ProductVersion", "6.2.4.1420\0"
+      VALUE "ProductDate", "Sat, 08 Nov 2014 10:18:04 GMT\0"
     END
 
   END
--- a/refactoring_custom.rc	Wed Nov 05 23:27:37 2014 +0100
+++ b/refactoring_custom.rc	Sat Nov 08 11:19:40 2014 +0100
@@ -4,7 +4,7 @@
 //
 VS_VERSION_INFO VERSIONINFO
   FILEVERSION     6,2,32767,32767
-  PRODUCTVERSION  6,2,4,1378
+  PRODUCTVERSION  6,2,4,1420
 #if (__BORLANDC__)
   FILEFLAGSMASK   VS_FF_DEBUG | VS_FF_PRERELEASE
   FILEFLAGS       VS_FF_PRERELEASE | VS_FF_SPECIALBUILD
@@ -24,8 +24,8 @@
       VALUE "InternalName", "jn:refactoring_custom\0"
       VALUE "LegalCopyright", "My CopyRight or CopyLeft\0"
       VALUE "ProductName", "ProductName\0"
-      VALUE "ProductVersion", "6.2.4.1378\0"
-      VALUE "ProductDate", "Wed, 05 Nov 2014 22:15:55 GMT\0"
+      VALUE "ProductVersion", "6.2.4.1420\0"
+      VALUE "ProductDate", "Sat, 08 Nov 2014 10:18:01 GMT\0"
     END
 
   END