Branch: Tag:

2015-03-16

2015-03-16 15:49:12 by Martin Nilsson <nilsson@opera.com>

Fix Debug tests.

1: + START_MARKER    -  + test_true(Debug.refs("")); + test_true(Debug.refs(({}))); + test_true(Debug.refs(([]))); + test_true(Debug.refs(this_object())) + test_true(arrayp( Debug.next(({})) || Debug.prev(({})))) + test_do(object o=this_object(); while(o=Debug.next(o))) + test_do(object o=this_object(); while(o=Debug.prev(o))) +  + test_true(objectp(Debug.next_object()) || intp(Debug.next_object()) && Debug.next_object()) + test_any([[ +  object o=Debug.next_object(); +  for(int e=0; e<10000 && (objectp(o) || intp(o) && o); e++) +  o=Debug.next_object(o); +  return o; + ]], 0) +  + END_MARKER   Newline at end of file added.