Searched refs:tmpSerialized (Results 1 – 4 of 4) sorted by relevance
66 File tmpSerialized = SerializationUtil.serialize(b); in testSerialize_Deserialize() local67 Object o = SerializationUtil.deserialize(tmpSerialized, true); in testSerialize_Deserialize()72 assertTrue(!tmpSerialized.exists()); in testSerialize_Deserialize()82 File tmpSerialized = SerializationUtil.serialize(b); in testSerialize_Deserialize_noDelete() local84 Object o = SerializationUtil.deserialize(tmpSerialized, false); in testSerialize_Deserialize_noDelete()89 assertTrue(tmpSerialized.exists()); in testSerialize_Deserialize_noDelete()91 FileUtil.deleteFile(tmpSerialized); in testSerialize_Deserialize_noDelete()113 File tmpSerialized = SerializationUtil.serialize(b); in testSerialize_Deserialize_corrupted() local115 FileUtil.writeToFile("oh I am corrupted", tmpSerialized, false); in testSerialize_Deserialize_corrupted()117 SerializationUtil.deserialize(tmpSerialized, true); in testSerialize_Deserialize_corrupted()[all …]
40 File tmpSerialized = FileUtil.createTempFile("serial-util", ".ser"); in serialize() local44 fileOut = new FileOutputStream(tmpSerialized); in serialize()49 FileUtil.deleteFile(tmpSerialized); in serialize()55 return tmpSerialized; in serialize()
109 File tmpSerialized = SerializationUtil.serialize(mDeviceFolderBuildInfo); in testSerialization() local110 Object o = SerializationUtil.deserialize(tmpSerialized, true); in testSerialization()
120 File tmpSerialized = SerializationUtil.serialize(mBuildInfo); in testSerialization() local121 Object o = SerializationUtil.deserialize(tmpSerialized, true); in testSerialization()