Skip to content

TriggerFrameworkTests

codefriar edited this page Oct 5, 2023 · 2 revisions

TESTVISIBLE

APIVERSION: 58

STATUS: ACTIVE

Fields

private TRIGGER_CONTEXT_ERRORString

private handlerTriggerFrameworkTests

private lastMethodCalledString


Methods

private static void testBeforeInsert()

ISTEST

unit tests

private static void testBeforeUpdate()

ISTEST

private static void testBeforeDelete()

ISTEST

private static void testAfterInsert()

ISTEST

private static void testAfterUpdate()

ISTEST

private static void testAfterDelete()

ISTEST

private static void testAfterUndelete()

ISTEST

private static void testNonTriggerContext()

ISTEST

private static void testBypassAPI()

ISTEST

private static void testLoopCount()

ISTEST

private static void testLoopCountClass()

ISTEST

private static void testGetHandlerName()

ISTEST

private static void testVirtualMethods()

ISTEST

private static void resetTest()

testing utilities

private static void beforeInsertMode()

private static void beforeUpdateMode()

private static void beforeDeleteMode()

private static void afterInsertMode()

private static void afterUpdateMode()

private static void afterDeleteMode()

private static void afterUndeleteMode()


Classes

TestHandler

TESTVISIBLE

test implementation of the TriggerHandler

Inheritance

TriggerFramework > TestHandler

Methods

public override void beforeInsert()
public override void beforeUpdate()
public override void beforeDelete()
public override void afterInsert()
public override void afterUpdate()
public override void afterDelete()
public override void afterUndelete()


Clone this wiki locally