Skip to content

Commit

Permalink
Updating the local combo handler test and adding some additional copy…
Browse files Browse the repository at this point in the history
…right headers to the tests
  • Loading branch information
webdevUser committed Jul 8, 2009
1 parent 1f155e5 commit 16e2e48
Show file tree
Hide file tree
Showing 10 changed files with 76 additions and 9 deletions.
8 changes: 7 additions & 1 deletion phploader/test/2.0.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* Copyright (c) 2009, Yahoo! Inc. All rights reserved.
* Code licensed under the BSD License:
* http://developer.yahoo.net/yui/license.html
* version: 1.0.0b1
*/

include("/home/y/share/pear/Yahoo/YUI/loader.php");

function encoded_out($str) {
Expand Down
8 changes: 7 additions & 1 deletion phploader/test/json.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* Copyright (c) 2009, Yahoo! Inc. All rights reserved.
* Code licensed under the BSD License:
* http://developer.yahoo.net/yui/license.html
* version: 1.0.0b1
*/

include("../loader.php");

$loader = new YAHOO_util_Loader();
Expand Down
8 changes: 7 additions & 1 deletion phploader/test/loader-inc.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* Copyright (c) 2009, Yahoo! Inc. All rights reserved.
* Code licensed under the BSD License:
* http://developer.yahoo.net/yui/license.html
* version: 1.0.0b1
*/

error_reporting(E_ALL);

include("../loader.php");
Expand Down
13 changes: 10 additions & 3 deletions phploader/test/local-combo-loader.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
<?PHP
/**
* Copyright (c) 2009, Yahoo! Inc. All rights reserved.
* Code licensed under the BSD License:
* http://developer.yahoo.net/yui/license.html
* version: 1.0.0b1
*/

include("../loader.php");

$loader = new YAHOO_util_Loader("3.0.0b1");
$loader = new YAHOO_util_Loader("2.7.0");
$loader->combine = true;
$loader->comboBase = "http://localhost/phploader/phploader/combo.php?";
$loader->load("stylesheet");
//$loader->comboBase = "http://localhost/phploader/phploader/combo.php?";
$loader->load("colorpicker");

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
Expand Down
8 changes: 7 additions & 1 deletion phploader/test/test-loader.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* Copyright (c) 2009, Yahoo! Inc. All rights reserved.
* Code licensed under the BSD License:
* http://developer.yahoo.net/yui/license.html
* version: 1.0.0b1
*/

error_reporting(E_ALL);

include("../loader.php");
Expand Down
8 changes: 7 additions & 1 deletion phploader/test/test.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* Copyright (c) 2009, Yahoo! Inc. All rights reserved.
* Code licensed under the BSD License:
* http://developer.yahoo.net/yui/license.html
* version: 1.0.0b1
*/

// header('Content-type: text/ascii');

include("../loader.php");
Expand Down
8 changes: 8 additions & 0 deletions phploader/test/testall.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
<?php
/**
* Copyright (c) 2009, Yahoo! Inc. All rights reserved.
* Code licensed under the BSD License:
* http://developer.yahoo.net/yui/license.html
* version: 1.0.0b1
*/
?>
<html>
<head>
<?php include("loader-inc.php"); ?>
Expand Down
8 changes: 8 additions & 0 deletions phploader/test/testcallback.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
<?php
/**
* Copyright (c) 2009, Yahoo! Inc. All rights reserved.
* Code licensed under the BSD License:
* http://developer.yahoo.net/yui/license.html
* version: 1.0.0b1
*/
?>
<html>
<head>

Expand Down
8 changes: 7 additions & 1 deletion phploader/test/verify.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* Copyright (c) 2009, Yahoo! Inc. All rights reserved.
* Code licensed under the BSD License:
* http://developer.yahoo.net/yui/license.html
* version: 1.0.0b1
*/

error_reporting(E_ALL);

include("../loader.php");
Expand Down
8 changes: 8 additions & 0 deletions phploader/test/yui.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
<?php
/**
* Copyright (c) 2009, Yahoo! Inc. All rights reserved.
* Code licensed under the BSD License:
* http://developer.yahoo.net/yui/license.html
* version: 1.0.0b1
*/
?>
<dl>
<?php
foreach ($_SERVER as $name => $value) {
Expand Down

0 comments on commit 16e2e48

Please sign in to comment.