2009-10-31 19:02:30 +01:00
|
|
|
var d = require("./d");
|
|
|
|
|
2009-11-28 18:26:59 +01:00
|
|
|
var assert = require("assert");
|
2009-10-31 19:02:30 +01:00
|
|
|
|
|
|
|
var package = require("./package");
|
|
|
|
|
2009-11-28 18:26:59 +01:00
|
|
|
assert.equal("world", package.hello);
|
2009-06-08 15:30:10 +02:00
|
|
|
|
2010-08-17 17:21:43 +02:00
|
|
|
common.debug("load fixtures/b/c.js");
|
2009-09-28 12:06:30 +02:00
|
|
|
|
2009-06-08 16:17:33 +02:00
|
|
|
var string = "C";
|
|
|
|
|
2010-02-11 12:09:46 +01:00
|
|
|
exports.SomeClass = function() {
|
2010-06-30 08:12:46 +02:00
|
|
|
|
2010-02-11 12:09:46 +01:00
|
|
|
};
|
|
|
|
|
2009-04-21 13:52:21 +02:00
|
|
|
exports.C = function () {
|
2009-06-08 16:17:33 +02:00
|
|
|
return string;
|
2009-06-08 15:30:10 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
exports.D = function () {
|
|
|
|
return d.D();
|
|
|
|
};
|
2009-06-08 16:17:33 +02:00
|
|
|
|
2009-08-26 18:51:04 +02:00
|
|
|
process.addListener("exit", function () {
|
2009-06-08 16:17:33 +02:00
|
|
|
string = "C done";
|
2010-06-24 02:40:51 +02:00
|
|
|
console.log("b/c.js exit");
|
2009-08-26 18:51:04 +02:00
|
|
|
});
|