diff --git a/test/unit/annotation_layer_spec.js b/test/unit/annotation_spec.js similarity index 99% rename from test/unit/annotation_layer_spec.js rename to test/unit/annotation_spec.js index aeb33dafd..5729eb04a 100644 --- a/test/unit/annotation_layer_spec.js +++ b/test/unit/annotation_spec.js @@ -16,7 +16,7 @@ (function (root, factory) { if (typeof define === 'function' && define.amd) { - define('pdfjs-test/unit/annotation_layer_spec', ['exports', + define('pdfjs-test/unit/annotation_spec', ['exports', 'pdfjs/core/primitives', 'pdfjs/core/annotation', 'pdfjs/core/stream', 'pdfjs/core/parser', 'pdfjs/shared/util', 'pdfjs/display/global'], factory); @@ -27,7 +27,7 @@ require('../../src/shared/util.js'), require('../../src/display/global.js')); } else { - factory((root.pdfjsTestUnitAnnotationLayerSpec = {}), + factory((root.pdfjsTestUnitAnnotationSpec = {}), root.pdfjsCorePrimitives, root.pdfjsCoreAnnotation, root.pdfjsCoreStream, root.pdfjsCoreParser, root.pdfjsSharedUtil, root.pdfjsDisplayGlobal); } @@ -52,7 +52,7 @@ var AnnotationFieldFlag = sharedUtil.AnnotationFieldFlag; var stringToBytes = sharedUtil.stringToBytes; var stringToUTF8String = sharedUtil.stringToUTF8String; -describe('Annotation layer', function() { +describe('annotation', function() { function XRefMock(array) { this.map = Object.create(null); for (var elem in array) { diff --git a/test/unit/jasmine-boot.js b/test/unit/jasmine-boot.js index 2637ca373..0df7797e2 100644 --- a/test/unit/jasmine-boot.js +++ b/test/unit/jasmine-boot.js @@ -45,7 +45,7 @@ var pdfjsLibs; function initializePDFJS(callback) { require.config({paths: {'pdfjs': '../../src', 'pdfjs-web': '../../web', 'pdfjs-test': '..'}}); - require(['pdfjs/display/global', 'pdfjs-test/unit/annotation_layer_spec', + require(['pdfjs/display/global', 'pdfjs-test/unit/annotation_spec', 'pdfjs-test/unit/api_spec', 'pdfjs-test/unit/bidi_spec', 'pdfjs-test/unit/cff_parser_spec', 'pdfjs-test/unit/cmap_spec', 'pdfjs-test/unit/crypto_spec', 'pdfjs-test/unit/document_spec', @@ -57,7 +57,7 @@ function initializePDFJS(callback) { 'pdfjs-test/unit/type1_parser_spec', 'pdfjs-test/unit/ui_utils_spec', 'pdfjs-test/unit/unicode_spec', 'pdfjs-test/unit/util_spec'], - function (displayGlobal, testUnitAnnotationLayerSpec, testUnitApiSpec, + function (displayGlobal, testUnitAnnotationSpec, testUnitApiSpec, testUnitBidiSpec, testUnitCFFParserSpec, testUnitCMapSpec, testUnitCryptoSpec, testUnitDocumentSpec, testUnitDOMUtilsSpec, testUnitEvaluatorSpec, testUnitFontsSpec, testUnitFunctionSpec,