Skip to content

Commit

Permalink
[fix]误提交还原
Browse files Browse the repository at this point in the history
  • Loading branch information
luoxiao-supermap committed Jan 7, 2025
1 parent 193f29a commit 8e86bbd
Show file tree
Hide file tree
Showing 3 changed files with 184 additions and 184 deletions.
42 changes: 21 additions & 21 deletions test/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,28 +66,28 @@ module.exports = function (config) {
'./resources/**.js',
/***classic的源码***/
/*由于除了classic其他都不依赖于8c,所以classic 的引入放在最后,以免被common覆盖*/
// { pattern: '../src/classic/libs/SuperMap_Basic-8.1.1-17729.js', included: true },
// { pattern: '../src/classic/libs/Lang/*.js', included: true },
// { pattern: '../src/classic/theme/default/*.css', included: true },
// { pattern: './resources/data/**.fgb', included: false },
// { pattern: './resources/data/**.mp4', included: false },
// { pattern: './resources/img/**.svg', included: false },
// { pattern: './resources/img/baiduTileTest.png', included: false },
// /**测试文件**/
// './test-main-classic.js',
{ pattern: '../src/classic/libs/SuperMap_Basic-8.1.1-17729.js', included: true },
{ pattern: '../src/classic/libs/Lang/*.js', included: true },
{ pattern: '../src/classic/theme/default/*.css', included: true },
{ pattern: './resources/data/**.fgb', included: false },
{ pattern: './resources/data/**.mp4', included: false },
{ pattern: './resources/img/**.svg', included: false },
{ pattern: './resources/img/baiduTileTest.png', included: false },
/**测试文件**/
'./test-main-classic.js',

/***common的源码***/
'../src/common/!(ai)/*.js',
/**测试文件**/
// './test-main-common.js',
'./test-main-common.js',

// /***leaflet的源码***/
// { pattern: './libs/workers/TurfWorkerForTest.js', included: false },
// { pattern: '../node_modules/leaflet/dist/leaflet.css', included: true },
// { pattern: '../src/leaflet/**/**/*.css', included: true },
// '../src/leaflet/**/!(index).js',
// /**测试文件**/
// './test-main-leaflet.js',
/***leaflet的源码***/
{ pattern: './libs/workers/TurfWorkerForTest.js', included: false },
{ pattern: '../node_modules/leaflet/dist/leaflet.css', included: true },
{ pattern: '../src/leaflet/**/**/*.css', included: true },
'../src/leaflet/**/!(index).js',
/**测试文件**/
'./test-main-leaflet.js',

/***openlayers的源码***/
{ pattern: '../node_modules/ol/ol.css', included: true },
Expand All @@ -102,10 +102,10 @@ module.exports = function (config) {
'../src/mapboxgl/**/!(index).js',
/**测试文件**/
'./test-main-mapboxgl.js',
// { pattern: '../node_modules/maplibre-gl/dist/maplibre-gl.css', included: false },
// '../src/maplibregl/**/!(index).js',
// /**测试文件**/
// './test-main-maplibregl.js'
{ pattern: '../node_modules/maplibre-gl/dist/maplibre-gl.css', included: false },
'../src/maplibregl/**/!(index).js',
/**测试文件**/
'./test-main-maplibregl.js'
],

// list of files to exclude 测试时排除的文件
Expand Down
166 changes: 83 additions & 83 deletions test/test-main-mapboxgl.js
Original file line number Diff line number Diff line change
@@ -1,87 +1,87 @@
// import './mapboxgl/core/MapExtendSpec.js';
// import './mapboxgl/core/UtilSpec.js';
import './mapboxgl/core/MapExtendSpec.js';
import './mapboxgl/core/UtilSpec.js';

// /*mapboxgl -- control*/
// import './mapboxgl/control/LogoSpec.js';
/*mapboxgl -- control*/
import './mapboxgl/control/LogoSpec.js';

// /*mapboxgl -- overlay*/
// import './mapboxgl/overlay/mapv/MapvDataSetSpec.js';
// import './mapboxgl/overlay/GraphThemeLayerSpec.js';
// import './mapboxgl/overlay/HeatMapLayerSpec.js';
// import './mapboxgl/overlay/LabelThemeLayerSpec.js';
// import './mapboxgl/overlay/MapvLayerSpec.js';
// import './mapboxgl/overlay/RangeThemeLayerSpec.js';
// import './mapboxgl/overlay/RangeTheme3DLayerSpec.js';
// import './mapboxgl/overlay/ThreeLayerSpec.js';
// import './mapboxgl/overlay/UniqueThemeLayerSpec.js';
// import './mapboxgl/overlay/UniqueTheme3DLayerSpec.js';
// import './mapboxgl/overlay/DeckglLayerSpec.js';
// import './mapboxgl/overlay/graphic/GraphicSpec.js';
// import './mapboxgl/overlay/GraphicLayerSpec.js';
// import './mapboxgl/overlay/GraticuleLayerSpec.js';
// import './mapboxgl/overlay/GraphMapSpec';
// import './mapboxgl/overlay/L7LayerSpec.js';
// import './mapboxgl/overlay/symbol/CompositeSymbolRenderSpec';
// import './mapboxgl/overlay/symbol/SingleSymbolRenderSpec';
// import './mapboxgl/overlay/symbol/SymbolManagerSpec';
// import './mapboxgl/overlay/symbol/WebSymbolSpec';
// import './mapboxgl/overlay/symbol/SymbolHandlerSpec';
// import './mapboxgl/overlay/symbol/SymbolUtilSpec';
// import './mapboxgl/overlay/symbol/MapExtendSymbolSpec.js';
/*mapboxgl -- overlay*/
import './mapboxgl/overlay/mapv/MapvDataSetSpec.js';
import './mapboxgl/overlay/GraphThemeLayerSpec.js';
import './mapboxgl/overlay/HeatMapLayerSpec.js';
import './mapboxgl/overlay/LabelThemeLayerSpec.js';
import './mapboxgl/overlay/MapvLayerSpec.js';
import './mapboxgl/overlay/RangeThemeLayerSpec.js';
import './mapboxgl/overlay/RangeTheme3DLayerSpec.js';
import './mapboxgl/overlay/ThreeLayerSpec.js';
import './mapboxgl/overlay/UniqueThemeLayerSpec.js';
import './mapboxgl/overlay/UniqueTheme3DLayerSpec.js';
import './mapboxgl/overlay/DeckglLayerSpec.js';
import './mapboxgl/overlay/graphic/GraphicSpec.js';
import './mapboxgl/overlay/GraphicLayerSpec.js';
import './mapboxgl/overlay/GraticuleLayerSpec.js';
import './mapboxgl/overlay/GraphMapSpec';
import './mapboxgl/overlay/L7LayerSpec.js';
import './mapboxgl/overlay/symbol/CompositeSymbolRenderSpec';
import './mapboxgl/overlay/symbol/SingleSymbolRenderSpec';
import './mapboxgl/overlay/symbol/SymbolManagerSpec';
import './mapboxgl/overlay/symbol/WebSymbolSpec';
import './mapboxgl/overlay/symbol/SymbolHandlerSpec';
import './mapboxgl/overlay/symbol/SymbolUtilSpec';
import './mapboxgl/overlay/symbol/MapExtendSymbolSpec.js';

// /*mapboxgl -- services*/
// import './mapboxgl/services/KnowledgeGraphServiceSpec.js';
// import './mapboxgl/services/AddressMatchServiceSpec.js';
// import './mapboxgl/services/BufferAnalysisSpec.js';
// import './mapboxgl/services/DataFlowServiceSpec.js';
// import './mapboxgl/services/DensityAnalysisSpec.js';
// import './mapboxgl/services/EditFeaturesSpec.js';
// import './mapboxgl/services/EditVideoFeatureSpec.js';
// import './mapboxgl/services/FieldServiceSpec.js';
// import './mapboxgl/services/GenerateSpatialDataSpec.js';
// import './mapboxgl/services/GeoRelationAnalysisSpec.js';
// import './mapboxgl/services/GeometryBatchAnalysisSpec.js';
// import './mapboxgl/services/GeoprocessingServiceSpec.js';
// import './mapboxgl/overlay/FGBLayerSpec.js';
// import './mapboxgl/overlay/VideoLayerSpec.js';
// import './mapboxgl/services/GetFeaturesByBoundsSpec.js';
// import './mapboxgl/services/GetFeaturesByBufferSpec.js';
// import './mapboxgl/services/GetFeaturesByGeometrySpec.js';
// import './mapboxgl/services/GetFeaturesByIDsSpec.js';
// import './mapboxgl/services/GetFeaturesBySQLSpec.js';
// import './mapboxgl/services/GridCellInfosServiceSpec.js';
// import './mapboxgl/services/InterpolationAnalysisSpec.js';
// import './mapboxgl/services/LayerInfoServiceSpec.js';
// import './mapboxgl/services/MapServiceSpec.js';
// import './mapboxgl/services/MathExpressionAnalysisSpec.js';
// import './mapboxgl/services/MeasureServiceSpec.js';
// import './mapboxgl/services/NetworkAnalystServiceSpec.js';
// import './mapboxgl/services/OverlayAnalysisSpec.js';
// import './mapboxgl/services/ProcessingServiceSpec.js';
// import './mapboxgl/services/QueryServiceSpec.js';
// import './mapboxgl/services/RouteCalculateMeasureSpec.js';
// import './mapboxgl/services/RouteLocateSpec.js';
// import './mapboxgl/services/SurfaceAnalysisSpec.js';
// import './mapboxgl/services/TerrainCurvatureCalculateSpec.js';
// import './mapboxgl/services/TerrainAspectCalculateSpec.js';
// import './mapboxgl/services/TerrainSlopeCalculateSpec.js';
// import './mapboxgl/services/TerrainCutFillCalculateSpec.js';
// import './mapboxgl/services/MinDistanceAnalysisSpec.js';
// import './mapboxgl/services/ConvexHullAnalysisSpec.js';
// import './mapboxgl/services/ThemeServiceSpec.js';
// import './mapboxgl/services/ThiessenAnalysisSpec.js';
// import './mapboxgl/services/TrafficTransferAnalystServiceSpec.js';
// import './mapboxgl/services/WebPrintingJobServiceSpec.js';
// import './mapboxgl/services/DatasetServiceSpec.js';
// import './mapboxgl/services/DatasourceServiceSpec.js';
// import './mapboxgl/services/ImageServiceSpec';
// import './mapboxgl/services/ImageCollectionServiceSpec';
// import './mapboxgl/services/ChartServiceSpec';
// import './mapboxgl/services/GetFeatureAttachmentsSpec';
// import './mapboxgl/services/EditFeatureAttachmentsSpec';
// /*mapboxgl -- mapping*/
// import './mapboxgl/mapping/WebMapSpec.js';
/*mapboxgl -- services*/
import './mapboxgl/services/KnowledgeGraphServiceSpec.js';
import './mapboxgl/services/AddressMatchServiceSpec.js';
import './mapboxgl/services/BufferAnalysisSpec.js';
import './mapboxgl/services/DataFlowServiceSpec.js';
import './mapboxgl/services/DensityAnalysisSpec.js';
import './mapboxgl/services/EditFeaturesSpec.js';
import './mapboxgl/services/EditVideoFeatureSpec.js';
import './mapboxgl/services/FieldServiceSpec.js';
import './mapboxgl/services/GenerateSpatialDataSpec.js';
import './mapboxgl/services/GeoRelationAnalysisSpec.js';
import './mapboxgl/services/GeometryBatchAnalysisSpec.js';
import './mapboxgl/services/GeoprocessingServiceSpec.js';
import './mapboxgl/overlay/FGBLayerSpec.js';
import './mapboxgl/overlay/VideoLayerSpec.js';
import './mapboxgl/services/GetFeaturesByBoundsSpec.js';
import './mapboxgl/services/GetFeaturesByBufferSpec.js';
import './mapboxgl/services/GetFeaturesByGeometrySpec.js';
import './mapboxgl/services/GetFeaturesByIDsSpec.js';
import './mapboxgl/services/GetFeaturesBySQLSpec.js';
import './mapboxgl/services/GridCellInfosServiceSpec.js';
import './mapboxgl/services/InterpolationAnalysisSpec.js';
import './mapboxgl/services/LayerInfoServiceSpec.js';
import './mapboxgl/services/MapServiceSpec.js';
import './mapboxgl/services/MathExpressionAnalysisSpec.js';
import './mapboxgl/services/MeasureServiceSpec.js';
import './mapboxgl/services/NetworkAnalystServiceSpec.js';
import './mapboxgl/services/OverlayAnalysisSpec.js';
import './mapboxgl/services/ProcessingServiceSpec.js';
import './mapboxgl/services/QueryServiceSpec.js';
import './mapboxgl/services/RouteCalculateMeasureSpec.js';
import './mapboxgl/services/RouteLocateSpec.js';
import './mapboxgl/services/SurfaceAnalysisSpec.js';
import './mapboxgl/services/TerrainCurvatureCalculateSpec.js';
import './mapboxgl/services/TerrainAspectCalculateSpec.js';
import './mapboxgl/services/TerrainSlopeCalculateSpec.js';
import './mapboxgl/services/TerrainCutFillCalculateSpec.js';
import './mapboxgl/services/MinDistanceAnalysisSpec.js';
import './mapboxgl/services/ConvexHullAnalysisSpec.js';
import './mapboxgl/services/ThemeServiceSpec.js';
import './mapboxgl/services/ThiessenAnalysisSpec.js';
import './mapboxgl/services/TrafficTransferAnalystServiceSpec.js';
import './mapboxgl/services/WebPrintingJobServiceSpec.js';
import './mapboxgl/services/DatasetServiceSpec.js';
import './mapboxgl/services/DatasourceServiceSpec.js';
import './mapboxgl/services/ImageServiceSpec';
import './mapboxgl/services/ImageCollectionServiceSpec';
import './mapboxgl/services/ChartServiceSpec';
import './mapboxgl/services/GetFeatureAttachmentsSpec';
import './mapboxgl/services/EditFeatureAttachmentsSpec';
/*mapboxgl -- mapping*/
import './mapboxgl/mapping/WebMapSpec.js';
import './mapboxgl/mapping/WebMapV2Spec.js';
// import './mapboxgl/mapping/WebMapV3Spec.js';
// import './mapboxgl/mapping/InitMapSpec.js';
// import './mapboxgl/mapping/VideoMapSpec.js';
import './mapboxgl/mapping/WebMapV3Spec.js';
import './mapboxgl/mapping/InitMapSpec.js';
import './mapboxgl/mapping/VideoMapSpec.js';
Loading

0 comments on commit 8e86bbd

Please sign in to comment.