nbrugger-tgm / reactj

A reactive ui lib for easy MVC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Testing] Equals & hashCode

nbrugger-tgm opened this issue · comments

Extensive testing is needed if Object.hashCode() and Object.equals() works as expected on

  • ReactiveObjects
  • ReactiveSubjects
  • ReactiveProxies
  • Identifyable<T>

scope of testing

  • Test if all reactive types work as HashMap Keys & values
    • even with serialization & deserialization (expect problems here)
  • Test if equals behaves well
    • also test serialization here

Progress

Most testcases are implemented see commit 47b860a

One thing left to do is inter VM testing. As proxies are runtime generated classes there should be a problem when serializing them into a file, and reading them later on with a VM where the proxy class cannot exist.

This is a thesis verification needed