+ var description;
+
+ if (test.description) {
+ description = test.description;
+ } else {
+ // No description given, so create a basic one from the given test parameters.
+ description = "loop from " + test.loopStartFrame + " -> " + test.loopEndFrame;
+ if (test.offsetFrame)
+ description += " with offset " + test.offsetFrame;
+ if (test.playbackRate && test.playbackRate != 1)
+ description += " with playbackRate of " + test.playbackRate;
+ }