コード例 #1
0
        public void ForgotPasswordConfirmationView_Template_NullParameter_Test()
        {
            var template = new ForgotPasswordConfirmation(null);
            var output   = template.TransformText();

            Assert.NotNull(output);
            Assert.NotEmpty(output);
        }
コード例 #2
0
        public void ForgotPasswordConfirmationView_Template_Test()
        {
            var template = new ForgotPasswordConfirmation(new SmartAppInfo {
                Id = ApplicationId
            });
            var output = template.TransformText();

            Assert.NotNull(output);
            Assert.NotEmpty(output);
        }
コード例 #3
0
        private void TransformViewsAccountForgotPasswordConfirmation(SmartAppInfo manifest)
        {
            var template = new ForgotPasswordConfirmation(manifest);

            _writingService.WriteFile(Path.Combine(_context.BasePath, template.OutputPath), template.TransformText());
        }