1
0
Fork 0

Tests now explicitly specify relative path to tested module

- Certain modules otherwise have naming conflicts (e.g. util in node.js is loaded instead)
closure/master
Mike Gerwitz 2010-12-21 22:51:42 -05:00
parent 7e7080ccbf
commit a3cf31aa40
10 changed files with 10 additions and 10 deletions

View File

@ -22,5 +22,5 @@
* @package test
*/
require.paths.unshift( __dirname + '/../lib' );
// may be implemented in the future

View File

@ -25,7 +25,7 @@
require( './common' );
var assert = require( 'assert' ),
Class = require( 'class' );
Class = require( '../lib/class' );
// these two variables are declared outside of the class to ensure that they
// will still be set even if the context of the constructor is wrong

View File

@ -25,7 +25,7 @@
require( './common' );
var assert = require( 'assert' ),
Class = require( 'class' );
Class = require( '../lib/class' );
var foo_props = {
one: 1,

View File

@ -31,7 +31,7 @@ if ( Object.prototype.__defineGetter__ === undefined )
require( './common' );
var assert = require( 'assert' ),
Class = require( 'class' );
Class = require( '../lib/class' );
var Foo = Class.extend(

View File

@ -25,7 +25,7 @@
require( './common' );
var assert = require( 'assert' ),
Class = require( 'class' );
Class = require( '../lib/class' );
var Foo = Class.extend(
{

View File

@ -25,7 +25,7 @@
require( './common' );
var assert = require( 'assert' ),
Class = require( 'class' );
Class = require( '../lib/class' );
assert.ok(

View File

@ -25,7 +25,7 @@
require( './common' );
var assert = require( 'assert' ),
Class = require( 'class' ),
Class = require( '../lib/class' ),
Script = process.binding( 'evals' ).Script,
sandbox = {};

View File

@ -25,7 +25,7 @@
require( './common' );
var assert = require( 'assert' ),
Class = require( 'class' ),
Class = require( '../lib/class' ),
index = require( '../' );

View File

@ -25,7 +25,7 @@
require( './common' );
var assert = require( 'assert' ),
Interface = require( 'interface' ),
Interface = require( '../lib/interface' ),
abstractMethod = Interface.abstractMethod;

View File

@ -25,7 +25,7 @@
require( './common' );
var assert = require( 'assert' ),
Interface = require( 'interface' ),
Interface = require( '../lib/interface' ),
abstractMethod = Interface.abstractMethod;
var FooType = Interface.extend();