diff --git a/framework/default/ortoo-core/default/classes/tests/NullActionTest.cls b/framework/default/ortoo-core/default/classes/null-objects/tests/NullActionTest.cls similarity index 100% rename from framework/default/ortoo-core/default/classes/tests/NullActionTest.cls rename to framework/default/ortoo-core/default/classes/null-objects/tests/NullActionTest.cls diff --git a/framework/default/ortoo-core/default/classes/tests/NullActionTest.cls-meta.xml b/framework/default/ortoo-core/default/classes/null-objects/tests/NullActionTest.cls-meta.xml similarity index 100% rename from framework/default/ortoo-core/default/classes/tests/NullActionTest.cls-meta.xml rename to framework/default/ortoo-core/default/classes/null-objects/tests/NullActionTest.cls-meta.xml diff --git a/framework/default/ortoo-core/default/classes/null-objects/tests/NullDomainTest.cls b/framework/default/ortoo-core/default/classes/null-objects/tests/NullDomainTest.cls new file mode 100644 index 00000000000..b91d721d4a2 --- /dev/null +++ b/framework/default/ortoo-core/default/classes/null-objects/tests/NullDomainTest.cls @@ -0,0 +1,10 @@ +@isTest +private without sharing class NullDomainTest +{ + @isTest + private static void constructorClass_buildsANullDomain() // NOPMD: Test method name format + { + NullDomain nullDomain = (NullDomain)new NullDomain.Constructor().construct( new List{ new Contact() } ); + System.assertNotEquals( null, nullDomain ); + } +} \ No newline at end of file diff --git a/framework/default/ortoo-core/default/classes/null-objects/tests/NullDomainTest.cls-meta.xml b/framework/default/ortoo-core/default/classes/null-objects/tests/NullDomainTest.cls-meta.xml new file mode 100644 index 00000000000..dd61d1f917e --- /dev/null +++ b/framework/default/ortoo-core/default/classes/null-objects/tests/NullDomainTest.cls-meta.xml @@ -0,0 +1,5 @@ + + + 52.0 + Active + diff --git a/scripts/helpers/test-and-show-fails.sh b/scripts/helpers/test-and-show-fails.sh index 76884cf83b7..726a56b2acd 100755 --- a/scripts/helpers/test-and-show-fails.sh +++ b/scripts/helpers/test-and-show-fails.sh @@ -1,3 +1,3 @@ #!/bin/bash echo This may take a while... -sfdx force:apex:test:run -r human | grep -v ' Pass ' \ No newline at end of file +sfdx force:apex:test:run -r human --codecoverage | grep -v ' Pass ' \ No newline at end of file