Test failure #18

Open
novemberborn opened this Issue Feb 20, 2012 · 0 comments

Comments

Projects
None yet
1 participant

After hacking around to get the tests working (see #17), three tests fail:


Running tests 
testCompose: passed
testComposeWithConstruct: passed
testInheritance: passed
testInheritanceViaExtend: passed
testInheritance2: passed
testMultipleInheritance: failed
AssertionError: got <div>hi</div>, expected <div>Hello, World</div>
    at Object.equal (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/assert.js:15:16)
    at Object.test (/Users/mark/Code/promised-io/compose/test/compose.js:93:9)
    at runIteration (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:56:24)
    at doTest (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:71:11)
    at testCompleted (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:78:14)
    at /Users/mark/Code/promised-io/compose/node_modules/patr/node_modules/promised-io/lib/promise.js:342:29
    at runIteration (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:60:15)
    at doTest (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:71:11)
    at testCompleted (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:78:14)
    at /Users/mark/Code/promised-io/compose/node_modules/patr/node_modules/promised-io/lib/promise.js:342:29
testAround: passed
testRequired: failed
Error: This method is required and no implementation has been provided
    at Constructor.required [as render] (/Users/mark/Code/promised-io/compose/compose.js:192:9)
    at Constructor.logAndRender (/Users/mark/Code/promised-io/compose/test/compose.js:115:9)
    at Object.test (/Users/mark/Code/promised-io/compose/test/compose.js:128:9)
    at runIteration (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:56:24)
    at doTest (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:71:11)
    at testCompleted (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:78:14)
    at /Users/mark/Code/promised-io/compose/node_modules/patr/node_modules/promised-io/lib/promise.js:342:29
    at runIteration (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:60:15)
    at doTest (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:71:11)
    at testFailed (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:89:17)
testCreate: passed
testInheritanceCreate: passed
testNestedCompose: passed
testFromAlias: passed
testFromExclude: passed
testComplexHierarchy: passed
testExtendError: passed
testAfterNothing: passed
testDiamond: failed
AssertionError: got 2, expected 1
    at Object.equal (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/assert.js:15:16)
    at Object.test (/Users/mark/Code/promised-io/compose/test/compose.js:316:9)
    at runIteration (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:56:24)
    at doTest (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:71:11)
    at testCompleted (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:78:14)
    at /Users/mark/Code/promised-io/compose/node_modules/patr/node_modules/promised-io/lib/promise.js:342:29
    at runIteration (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:60:15)
    at doTest (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:71:11)
    at testCompleted (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:78:14)
    at /Users/mark/Code/promised-io/compose/node_modules/patr/node_modules/promised-io/lib/promise.js:342:29
testNull: passed
testAdvice: passed
passed: 16/19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment