/**
 PSPDFKit

 Copyright (c) 2015-2016 PSPDFKit GmbH. All rights reserved.

 THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
 AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
 UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
 This notice may not be removed from this file.
 */
exports.defineAutoTests = function () {
    describe('PSPSDFKit (window.PSPDFKit)', function () {
        it("should exist", function () {
            expect(window.PSPDFKit).toBeDefined();
        });

        describe('showDocument', function() {
            it('should exist', function () {
                expect(window.PSPDFKit.showDocument).toBeDefined();
            });

        });

        describe('showDocumentFromAssets', function() {
            it('should exist', function () {
                expect(window.PSPDFKit.showDocumentFromAssets).toBeDefined();
            });
        });
    });
};

exports.defineManualTests = function(contentEl, createActionButton) {

    createActionButton('Open Document', function() {
        var asset = 'www/Guide.pdf';

        console.log('Opening document ' + asset);
        window.PSPDFKit.showDocumentFromAssets(asset, {}, function() {
            console.log("Document was successfully loaded.");
        }, function(error) {
            console.log('Error while loading the document:' + error)
        });
    });
};

@@ -768,33 +768,32 @@
             %7D);%0A
-%0A
         %7D);%0A%0A   
@@ -960,32 +960,32 @@
 .toBeDefined();%0A
-
             %7D);%0A
@@ -987,32 +987,764 @@
  %7D);%0A        %7D);
+%0A%0A        describe('ScrollMode', function() %7B%0A          it('should exist', function () %7B%0A              expect(window.PSPDFKit.ScrollMode).toBeDefined();%0A          %7D);%0A        %7D);%0A%0A        describe('PageFitMode', function() %7B%0A          it('should exist', function () %7B%0A              expect(window.PSPDFKit.PageFitMode).toBeDefined();%0A          %7D);%0A        %7D);%0A%0A        describe('PageScrollDirection', function() %7B%0A          it('should exist', function () %7B%0A              expect(window.PSPDFKit.PageScrollDirection).toBeDefined();%0A          %7D);%0A        %7D);%0A%0A        describe('SearchType', function() %7B%0A          it('should exist', function () %7B%0A              expect(window.PSPDFKit.SearchType).toBeDefined();%0A          %7D);%0A        %7D);
 %0A    %7D);%0A%7D;%0A%0Aexp

Add configuration type tests