public void TestUploadPresetAccessibilityAnalysis()
        {
            // should support unsigned uploading using presets
            var uploadResult = PresetAndGetImageUploadResult(true);

            CloudinaryAssert.AccessibilityAnalysisNotEmpty(uploadResult.AccessibilityAnalysis);
        }
Пример #2
0
        public void TestUploadImageAccessibilityAnalysis()
        {
            var uploadResult = UploadTestImageResource(uploadParams =>
            {
                uploadParams.AccessibilityAnalysis = true;
            });

            CloudinaryAssert.AccessibilityAnalysisNotEmpty(uploadResult.AccessibilityAnalysis);
        }
        public void TestGetResourceAccessibilityAnalysis()
        {
            var uploadResult      = UploadTestImageResource();
            var getResourceParams = new GetResourceParams(uploadResult.PublicId)
            {
                AccessibilityAnalysis = true
            };

            var getResult = m_cloudinary.GetResource(getResourceParams);

            CloudinaryAssert.AccessibilityAnalysisNotEmpty(getResult.AccessibilityAnalysis);
        }
Пример #4
0
        public void TestAccessibilityAnalysis()
        {
            var uploadRes = UploadTestImageResource(uploadParams =>
            {
                uploadParams.AccessibilityAnalysis = true;
            });

            var explicitParams = new ExplicitParams(uploadRes.PublicId)
            {
                AccessibilityAnalysis = true,
                Type = STORAGE_TYPE_UPLOAD,
                Tags = m_apiTag
            };

            var explicitResult = m_cloudinary.Explicit(explicitParams);

            CloudinaryAssert.AccessibilityAnalysisNotEmpty(explicitResult.AccessibilityAnalysis);
        }