File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
Clojure/Clojure.Tests/clojure/test_clojure Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 242242
243243)
244244
245+ (compile-when (= dotnet-platform :framework )
246+
245247(deftest test-proxy-non-serializable
246248 (testing " That proxy classes refuse serialization and deserialization"
247249 ; ; Serializable listed directly in interface list:
265267 .readObject)))
266268 (println " WARNING: Missing serialized proxy for Java" java-version " in test/clojure/test_clojure/java_interop.clj" )))))
267269
270+ ) ; ; compile-when
271+
268272(deftest test-bases
269273 (are [x] (nil? (bases x))
270274 System.Object ; ; no super classes/interfaces ;;; java.lang.Object
Original file line number Diff line number Diff line change 5656 (= (hash v) (hash rt))
5757 (= (.GetHashCode v) (.GetHashCode rt))))) ; ;; .hashCode .hashCode
5858
59+ (compile-when (= :framework dotnet-version)
60+
5961(deftest sequable-serialization
6062 (are [val] (roundtrip val)
6163 ; lists and related
159161
160162 ; vars get serialized back into the same var in the present runtime
161163 #'clojure.core/conj))
162-
164+
165+
163166 (deftest new-var-unbound-on-read
164167 (let [v (intern 'user 'foobarbaz 10 )
165168 sv (serialize v)]
199202 (are [e] (thrown? Exception (.GetHashCode ^Object (-> e serialize deserialize))) ; ;; .hashCode
200203 (repeat 1 )
201204 (iterate identity nil )
202- (cycle [1 ])))
205+ (cycle [1 ])))
206+
207+
208+ ) ; ; compile-when
You can’t perform that action at this time.
0 commit comments