This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public CueTest : public testing::Test | |
{ | |
protected: | |
virtual void LoadVTT( char *fileName, uint expectedNumberOfCues ) | |
{ | |
parser = ItemStorageParser( fileName ); | |
//todo (did it work) | |
ASSERT_TRUE( parser.parse() ); << "parser.parse() failed" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public CueVerticalTest : public testing::Test | |
{ | |
protected: | |
virtual void SetUp() | |
{ | |
} | |
virtual void SetFile(char * fileName) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*global text,expect,ok,module,notEqual,Butter,test,window*/ | |
(function (window, document, Butter, undefined) { | |
require( [ "../src/core/page", "../src/core/config", "../src/dependencies" ], | |
function( Page, Config, Dependencies ) { | |
var _config = Config.parse( '{ "test": "derp" }' ), | |
_loader = Dependencies( _config ), | |
_page = new Page( _loader, _config ); | |
var $document = document |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
css: function( url, exclude, callback, checkFn ){ | |
var scriptElement; | |
checkFn = checkFn || function(){ | |
return !!scriptElement; | |
}; | |
url = fixUrl( url ); | |
var interval; | |
function f() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<script src="http://popcornjs.org/code/dist/popcorn-complete.min.js"></script> | |
<script> | |
// ensure the web page (DOM) has loaded | |
document.addEventListener("DOMContentLoaded", function () { | |
// Create a popcorn instance by calling the Youtube player plugin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<script src="http://popcornjs.org/code/dist/popcorn-complete.min.js"></script> | |
<script src="http://popcornjs.org/code/dist/popcorn-super-hack-for-documentation.js"></script> | |
<script> | |
// ensure the web page (DOM) has loaded | |
document.addEventListener("DOMContentLoaded", function () { | |
// Create a popcorn instance by calling the Youtube player plugin |