groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject groovy git commit: fix serializable compatibility test
Date Tue, 03 Apr 2018 12:11:59 GMT
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_5_X 2fe876fa9 -> d73bd4f4b


fix serializable compatibility test


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/d73bd4f4
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/d73bd4f4
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/d73bd4f4

Branch: refs/heads/GROOVY_2_5_X
Commit: d73bd4f4b2d08fa847a53be84e7386df3dea1761
Parents: 2fe876f
Author: Paul King <paulk@asert.com.au>
Authored: Tue Apr 3 22:11:49 2018 +1000
Committer: Paul King <paulk@asert.com.au>
Committed: Tue Apr 3 22:11:49 2018 +1000

----------------------------------------------------------------------
 src/test/groovy/SerializableCompatibilityTest.groovy | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/d73bd4f4/src/test/groovy/SerializableCompatibilityTest.groovy
----------------------------------------------------------------------
diff --git a/src/test/groovy/SerializableCompatibilityTest.groovy b/src/test/groovy/SerializableCompatibilityTest.groovy
index c0704c1..4acbc44 100644
--- a/src/test/groovy/SerializableCompatibilityTest.groovy
+++ b/src/test/groovy/SerializableCompatibilityTest.groovy
@@ -16,7 +16,6 @@
  *  specific language governing permissions and limitations
  *  under the License.
  */
-
 package groovy
 
 import groovy.bugs.TestSupport
@@ -37,7 +36,7 @@ class SerializableCompatibilityTest extends TestSupport {
 
     void testDeserialize() {
         // generated by testSerialize
-        def serializedObjectStr_2_4_X = 'rO0ABXNyACJncm9vdnkubGFuZy5Hcm9vdnlSdW50aW1lRXhjZXB0aW9uM1jWw9touJUCAAJMAAZtb2R1bGV0ACRMb3JnL2NvZGVoYXVzL2dyb292eS9hc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LkNhY2hlZE1ldGhvZHQAEUNhY2hlZE1ldGhvZC5qYXZhcQB+AB5zcQB+AA4AAAFFdAAWZ3Jvb3Z5LmxhbmcuTWV0YU1ldGhvZHQAD01ldGFNZXRob2QuamF2YXQADmRvTWV0aG9kSW52b2
 tlc3EAfgAOAAABCHQANm9yZy5jb2RlaGF1cy5ncm9vdnkucnVudGltZS5tZXRhY2xhc3MuQ2xvc3VyZU1ldGFDbGFzc3QAFUNsb3N1cmVNZXRhQ2xhc3MuamF2YXQADGludm9rZU1ldGhvZHNxAH4ADgAABAp0ABlncm9vdnkubGFuZy5NZXRhQ2xhc3NJbXBsdAASTWV0YUNsYXNzSW1wbC5qYXZhcQB+AFZzcQB+AA4AAAGidAATZ3Jvb3Z5LmxhbmcuQ2xvc3VyZXQADENsb3N1cmUuamF2YXEAfgA3c3EAfgAOAAABnHEAfgBbcQB+AFxxAH4AN3NxAH4ADgAAAfNxAH4AW3EAfgBccQB+AC1zcQB+AA4AAALsdAAQamF2YS5sYW5nLlRocmVhZHQAC1RocmVhZC5qYXZhcQB+AC1zcgAmamF2YS51dGlsLkNvbGxlY3Rpb25zJFVubW9kaWZpYWJsZUxpc3T8DyUxteyOEAIAAUwABGxpc3RxAH4ACXhyACxqYXZhLnV0aWwuQ29sbGVjdGlvbnMkVW5tb2RpZmlhYmxlQ29sbGVjdGlvbhlCAIDLXvceAgABTAABY3QAFkxqYXZhL3V0aWwvQ29sbGVjdGlvbjt4cHNyABNqYXZhLnV0aWwuQXJyYXlMaXN0eIHSHZnHYZ0DAAFJAARzaXpleHAAAAAAdwQAAAAAeHEAfgBneHBw'
         new ByteArrayInputStream(serializedObjectStr_2_4_X.decodeBase64()).withObjectInputStream
{
             def newObj = it.readObject()
             assert newObj instanceof GroovyRuntimeException
@@ -45,4 +44,3 @@ class SerializableCompatibilityTest extends TestSupport {
         }
     }
 }
-


Mime
View raw message