From 29877c31d675d4ecadfe18c84275523834d26215 Mon Sep 17 00:00:00 2001 From: Artur Moczulski Date: Mon, 28 Oct 2019 01:14:59 -0700 Subject: [PATCH] chore(manifest): clean up the manifest file; ref #5 --- force-app/main/default/classes/PostInstallClass.cls | 11 ----------- .../default/classes/PostInstallClass.cls-meta.xml | 5 ----- .../main/default/tests/PostInstallClassTest.cls | 12 ------------ .../default/tests/PostInstallClassTest.cls-meta.xml | 5 ----- manifest/package.xml | 9 +++++++-- 5 files changed, 7 insertions(+), 35 deletions(-) delete mode 100644 force-app/main/default/classes/PostInstallClass.cls delete mode 100644 force-app/main/default/classes/PostInstallClass.cls-meta.xml delete mode 100644 force-app/main/default/tests/PostInstallClassTest.cls delete mode 100644 force-app/main/default/tests/PostInstallClassTest.cls-meta.xml diff --git a/force-app/main/default/classes/PostInstallClass.cls b/force-app/main/default/classes/PostInstallClass.cls deleted file mode 100644 index 9527def..0000000 --- a/force-app/main/default/classes/PostInstallClass.cls +++ /dev/null @@ -1,11 +0,0 @@ -public class PostInstallClass implements InstallHandler { - public void onInstall(InstallContext context) { - if (context.previousVersion() == null) { - // TODO: set up the access token - } - - // TODO: set up the email service - - // TODO: add email service's email address to Apex exception emails list - } -} \ No newline at end of file diff --git a/force-app/main/default/classes/PostInstallClass.cls-meta.xml b/force-app/main/default/classes/PostInstallClass.cls-meta.xml deleted file mode 100644 index f59c48e..0000000 --- a/force-app/main/default/classes/PostInstallClass.cls-meta.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - 46.0 - Active - diff --git a/force-app/main/default/tests/PostInstallClassTest.cls b/force-app/main/default/tests/PostInstallClassTest.cls deleted file mode 100644 index 3dd519a..0000000 --- a/force-app/main/default/tests/PostInstallClassTest.cls +++ /dev/null @@ -1,12 +0,0 @@ -@isTest -public with sharing class PostInstallClassTest { - @isTest - static void testInstallScript() { - PostInstallClass postinstall = new PostInstallClass(); - Test.testInstall(postinstall, null); - - - - Test.testInstall(postinstall, new Version(1,0)); - } -} diff --git a/force-app/main/default/tests/PostInstallClassTest.cls-meta.xml b/force-app/main/default/tests/PostInstallClassTest.cls-meta.xml deleted file mode 100644 index baad7fa..0000000 --- a/force-app/main/default/tests/PostInstallClassTest.cls-meta.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - 46.0 - Active - diff --git a/manifest/package.xml b/manifest/package.xml index a5f3b47..1f268e2 100644 --- a/manifest/package.xml +++ b/manifest/package.xml @@ -2,7 +2,6 @@ Rollbar for Apex 45.0 - ApexClass @@ -11,9 +10,13 @@ ExceptionData ExceptionEmailParser ExceptionEmailParsingException + MetadataService Notifier + RemoteSiteHelperController Rollbar + RollbarConfigureController RollbarExceptionEmailHandler + RollbarInstaller RollbarNotInitializedException @@ -21,6 +24,8 @@ DataBuilderTest ExceptionEmailParserTest NotifierTest + MetadataServiceTest + RollbarConfigureControllerTest RollbarTest @@ -29,7 +34,7 @@ - remotesitehelper + RemoteSiteHelper ApexComponent \ No newline at end of file