Lines Matching refs:movie
16 function testMovieBuf(movie) { argument
17 assert.strictEqual(movie.charactersTypeLength(), charTypes.length);
18 assert.strictEqual(movie.charactersLength(), movie.charactersTypeLength());
21 assert.strictEqual(movie.charactersType(i), charTypes[i]);
24 var bookReader7 = movie.characters(0, new BookReader());
27 var attacker = movie.characters(1, new Attacker());
30 var bookReader2 = movie.characters(2, new BookReader());
33 var other = movie.characters(3, '');
37 function testMovieUnpack(movie) { argument
38 assert.strictEqual(movie.charactersType.length, charTypes.length);
39 assert.strictEqual(movie.characters.length, movie.charactersType.length);
42 assert.strictEqual(movie.charactersType[i], charTypes[i]);
45 var bookReader7 = movie.characters[0];
49 var attacker = movie.characters[1];
53 var bookReader2 = movie.characters[2];
57 var other = movie.characters[3];
94 var movie = Movie.getRootAsMovie(buf);
95 testMovieBuf(movie);
97 testMovieUnpack(movie.unpack());
100 movie.unpackTo(movie_to);