uProxy-p2p icon indicating copy to clipboard operation
uProxy-p2p copied to clipboard

Add tests for webrtc/* and it's freedom interface (in uproxy-lib)

Open lucyhe opened this issue 12 years ago • 2 comments

Including:

  • a test for multiple data channels on a single connection (simple-webrtc-chat just has one)
  • a test for the correct opening/closing of the connection given the peer's behaviour (e.g. should disconnect when peer disconnects)

lucyhe avatar Oct 20 '14 13:10 lucyhe

In particular for: https://github.com/uProxy/uproxy-lib/blob/dev/src/freedom/interfaces/uproxypeerconnection.fdom-interface.ts and https://github.com/uProxy/uproxy-lib/blob/dev/src/webrtc/peerconnection.ts

iislucas avatar Oct 20 '14 13:10 iislucas

So, we should definitely have tests for: https://github.com/uProxy/uproxy-lib/blob/dev/src/webrtc/peerconnection.ts

However, Freedom 0.6 will let us remove uproxypeerconnection: peerconnection.ts will wrap an instance of Freedom's lightweight webrtc wrapper.

This is very closely related to this issue which is a little more specific: https://github.com/uProxy/uproxy/issues/462

trevj avatar Oct 21 '14 15:10 trevj