diff --git a/force-app/main/default/pages/RollbarTest.page b/force-app/main/default/pages/RollbarTest.page new file mode 100644 index 0000000..dec4044 --- /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..2b74a32 --- /dev/null +++ b/force-app/main/default/pages/RollbarTest.page-meta.xml @@ -0,0 +1,5 @@ + + + 47.0 + + diff --git a/force-app/main/default/tests/RollbarTestController.cls b/force-app/main/default/tests/RollbarTestController.cls new file mode 100644 index 0000000..71c94bc --- /dev/null +++ b/force-app/main/default/tests/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; + } +} diff --git a/force-app/main/default/tests/RollbarTestController.cls-meta.xml b/force-app/main/default/tests/RollbarTestController.cls-meta.xml new file mode 100644 index 0000000..e3d1b51 --- /dev/null +++ b/force-app/main/default/tests/RollbarTestController.cls-meta.xml @@ -0,0 +1,5 @@ + + + 45.0 + Active + diff --git a/manifest/package.xml b/manifest/package.xml index e1b33c8..8377e40 100644 --- a/manifest/package.xml +++ b/manifest/package.xml @@ -26,15 +26,19 @@ MetadataServiceTest RollbarConfigureControllerTest RollbarTest + RollbarTestController RollbarApiCalloutMock - DataBuilderTestException + DataBuilderTestException + ApexPage RollbarConfigure RollbarInstallationCheck - ApexPage + + + RollbarTest - \ No newline at end of file +