diff --git a/force-app/main/default/classes/RollbarTestController.cls b/force-app/main/default/classes/RollbarTestController.cls new file mode 100644 index 0000000..8ade4fd --- /dev/null +++ b/force-app/main/default/classes/RollbarTestController.cls @@ -0,0 +1,7 @@ +public with sharing class RollbarTestController { + public PageReference test() { + List aa = [SELECT Id, Name FROM Account WHERE Name = 'Acme']; + Account ac = aa[2]; + return null; + } +} \ No newline at end of file diff --git a/force-app/main/default/classes/RollbarTestController.cls-meta.xml b/force-app/main/default/classes/RollbarTestController.cls-meta.xml new file mode 100644 index 0000000..89d1594 --- /dev/null +++ b/force-app/main/default/classes/RollbarTestController.cls-meta.xml @@ -0,0 +1,5 @@ + + + 45.0 + Active + diff --git a/force-app/main/default/pages/RollbarTest.page b/force-app/main/default/pages/RollbarTest.page new file mode 100644 index 0000000..a38682f --- /dev/null +++ b/force-app/main/default/pages/RollbarTest.page @@ -0,0 +1,7 @@ + +

Rollbar Test

+

Press the button below to cause an exception.

+ + + +
diff --git a/force-app/main/default/pages/RollbarTest.page-meta.xml b/force-app/main/default/pages/RollbarTest.page-meta.xml new file mode 100644 index 0000000..0a458d6 --- /dev/null +++ b/force-app/main/default/pages/RollbarTest.page-meta.xml @@ -0,0 +1,5 @@ + + + 45.0 + + diff --git a/force-app/main/default/triggers/LeadTrigger.trigger b/force-app/main/default/triggers/LeadTrigger.trigger new file mode 100644 index 0000000..0f45173 --- /dev/null +++ b/force-app/main/default/triggers/LeadTrigger.trigger @@ -0,0 +1,4 @@ +trigger LeadTrigger on Lead (before insert) { + String str; + str.toLowerCase(); +} \ No newline at end of file diff --git a/force-app/main/default/triggers/LeadTrigger.trigger-meta.xml b/force-app/main/default/triggers/LeadTrigger.trigger-meta.xml new file mode 100644 index 0000000..af90872 --- /dev/null +++ b/force-app/main/default/triggers/LeadTrigger.trigger-meta.xml @@ -0,0 +1,5 @@ + + + 45.0 + Active + \ No newline at end of file