From 3dcd9992167f58af0623a8c9b3aed578e1248462 Mon Sep 17 00:00:00 2001 From: Walt Jones Date: Mon, 16 Mar 2020 15:52:26 -0700 Subject: [PATCH] test: add uncommitted test files --- force-app/main/default/pages/RollbarTest.page | 7 +++++++ force-app/main/default/pages/RollbarTest.page-meta.xml | 5 +++++ force-app/main/default/tests/RollbarTestController.cls | 7 +++++++ .../default/tests/RollbarTestController.cls-meta.xml | 5 +++++ manifest/package.xml | 10 +++++++--- 5 files changed, 31 insertions(+), 3 deletions(-) create mode 100644 force-app/main/default/pages/RollbarTest.page create mode 100644 force-app/main/default/pages/RollbarTest.page-meta.xml create mode 100644 force-app/main/default/tests/RollbarTestController.cls create mode 100644 force-app/main/default/tests/RollbarTestController.cls-meta.xml 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 +