(t *testing.T)
| 2499 | } |
| 2500 | |
| 2501 | func TestFolderActivation(t *testing.T) { |
| 2502 | parentAct := EmptyActivation() |
| 2503 | frame := mustNewExecutionFrame(t, parentAct) |
| 2504 | defer frame.Close() |
| 2505 | fld := newFolder(&evalFold{}, frame) |
| 2506 | defer releaseFolder(fld) |
| 2507 | if fld.Parent() != frame { |
| 2508 | t.Errorf("fld.Parent() = %v, wanted %v", fld.Parent(), frame) |
| 2509 | } |
| 2510 | if fld.Unwrap() != frame { |
| 2511 | t.Errorf("fld.Unwrap() = %v, wanted %v", fld.Unwrap(), frame) |
| 2512 | } |
| 2513 | } |
| 2514 | |
| 2515 | func TestEvalWatchConstructor(t *testing.T) { |
| 2516 | watchConst := &evalWatchConstructor{ |
nothing calls this directly
no test coverage detected