DanielBullimore / OOmutiny

OO Javascript frontend
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

1.1.Interrupt #2 #32

Closed DanielBullimore closed 4 years ago

DanielBullimore commented 4 years ago

Every time a feature is tested the results of that test must be recorded here in a test results register. Dont forget to place post refactor notes as comments on this issue.

Details

Feature ID: 1.1 Feature Name: Interrupt Feature Type: class object Test Number: 2 Testing Phase: 1 Date Tested: 27/12/2019

Testing Method from Testing Plan Passed?
Persistent Memory: > Post testing state: >instance one state: funAct() is type function, funSolve() is null Failed!
Persistent Memory: > Post testing state: >instance two state: funAct() is type null, funSolve() is function Failed!

Test Notes and Error Details:

Both instance one and two post testing states were inconsistent with the expected result as per Interrupts testing plan. An act interrupt must have a null(undefined) funSolve interface and funAct interface must be type function. Also a solve interrupt must have a null funAct interface and funSolve must Be type function. When tested both instances returned function type for funAct and funSolve with no anticipated null interfaces.

Post refactor notes:

The o() class initialized both interfaces as new empty function(), where they must be initialized as null. I will push the refactored o.class.js to master