fiftyone.geolocation 4.3.1 → 4.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/ci/common-ci/.github/labels.yml +24 -1
  2. package/ci/common-ci/.github/workflows/sync-labels.yml +2 -0
  3. package/ci/common-ci/CiTips.md +30 -1
  4. package/ci/common-ci/README.md +73 -12
  5. package/ci/common-ci/build-and-test.yml +6 -1
  6. package/ci/common-ci/cloud-release-config.json +51 -0
  7. package/ci/common-ci/dotnet/shared-extract-and-publish-packages.yml +1 -5
  8. package/ci/common-ci/go/shared-go-list-stage.yml +64 -0
  9. package/ci/common-ci/java/readme.md +15 -1
  10. package/ci/common-ci/php/readme.md +15 -0
  11. package/ci/common-ci/release-config-schema.json +52 -0
  12. package/ci/common-ci/release-config-template.json +50 -1
  13. package/ci/common-ci/release-config.json +47 -189
  14. package/ci/common-ci/scripts/azure/checkSlot.ps1 +28 -0
  15. package/ci/common-ci/scripts/modules/51DAuthorizationModule/51DAuthorizationModule.psm1 +12 -5
  16. package/ci/common-ci/scripts/modules/51DDeployModule/51DDeployModule.psm1 +66 -0
  17. package/ci/common-ci/scripts/modules/51DDownloadDataFileModule/51DDownloadDataFileModule.psm1 +58 -0
  18. package/ci/common-ci/scripts/modules/51DGitModule/51DGitModule.psm1 +8 -8
  19. package/ci/common-ci/scripts/modules/51DPackageModule/51DPackageModule.Tests.ps1 +347 -9
  20. package/ci/common-ci/scripts/modules/51DPackageModule/51DPackageModule.psm1 +285 -54
  21. package/ci/common-ci/scripts/modules/51DReleaseModule/51DReleaseModule.Tests.ps1 +9 -8
  22. package/ci/common-ci/scripts/modules/51DReleaseModule/51DReleaseModule.psm1 +30 -13
  23. package/ci/common-ci/scripts/modules/51DReleaseTestEnvModule/ReleaseVerifier.Tests.ps1 +342 -97
  24. package/ci/common-ci/scripts/modules/51DReleaseTestEnvModule/ReleaseVerifier.psm1 +36 -2
  25. package/ci/common-ci/scripts/modules/51DReleaseTestEnvModule/SharedVariables.psm1 +2 -2
  26. package/ci/common-ci/scripts/modules/51DReleaseTestEnvModule/config/go-deploy-test-env-config.json +290 -0
  27. package/ci/common-ci/scripts/modules/51DReleaseTestEnvModule/config/go-test-env-config.json +260 -0
  28. package/ci/common-ci/scripts/modules/AzurePortalModules/51DApplicationInsightsModule/51DApplicationInsightsModule.psm1 +104 -0
  29. package/ci/common-ci/scripts/modules/AzurePortalModules/51DChecksModule/51DChecksModule.psm1 +68 -0
  30. package/ci/common-ci/scripts/modules/AzurePortalModules/51DCloudModule/51DCloudModule.psm1 +155 -0
  31. package/ci/common-ci/scripts/modules/AzurePortalModules/51DConnectAzureModule/51DConnectAzureModule.psm1 +45 -0
  32. package/ci/common-ci/scripts/modules/AzurePortalModules/51DSSLBindingsModule/51DSSLBIndingsModule.psm1 +100 -0
  33. package/ci/common-ci/scripts/modules/AzurePortalModules/51DStagingSlotModule/51DStagingSlotModule.psm1 +50 -0
  34. package/ci/common-ci/scripts/modules/AzurePortalModules/51DStorageAccountModule/51DStorageAccountModule.psm1 +248 -0
  35. package/ci/common-ci/scripts/modules/AzurePortalModules/51DTrafficManagerModule/51DTrafficManagerModule.psm1 +58 -0
  36. package/ci/common-ci/shared-auto-complete-pr-stage.yml +16 -3
  37. package/ci/common-ci/shared-create-tag-job.yml +9 -0
  38. package/ci/common-ci/shared-docker-build-steps.yml +34 -0
  39. package/ci/common-ci/shared-docker-push-steps.yml +32 -0
  40. package/ci/common-ci/shared-docker-test-http-steps.yml +69 -0
  41. package/ci/common-ci/shared-git-version-job.yml +17 -2
  42. package/ci/common-ci/shared-publish-github-stage.yml +54 -51
  43. package/ci/common-ci/shared-submodule-trigger-stage.yml +56 -4
  44. package/ci/shared-build-and-test-stage.yml +5 -2
  45. package/examples/examples.test.js +3 -3
  46. package/geoLocationPipelineBuilder.js +9 -16
  47. package/package.json +11 -7
  48. package/setup.js +1 -0
@@ -51,6 +51,19 @@ Describe 'Update-PackageDependencies' {
51
51
  $result | Should -BeExactly $true
52
52
  }
53
53
 
54
+ It 'successfully update all package version go' {
55
+ Mock Initialize-GlobalVariables { } `
56
+ -ModuleName 51DPackageModule
57
+ Mock Get-RepositoryName { return 'test-go' } `
58
+ -ModuleName 51DPackageModule
59
+ Mock Update-GoPackageDependencies { return $true } `
60
+ -ModuleName 51DPackageModule
61
+ $result = Update-PackageDependencies `
62
+ -Configuration $(New-Object -TypeName Object) `
63
+ -TeamProjectName "testproj"
64
+ $result | Should -BeExactly $true
65
+ }
66
+
54
67
  It 'package does not need to be updated' {
55
68
  Mock Initialize-GlobalVariables { } `
56
69
  -ModuleName 51DPackageModule
@@ -63,6 +76,89 @@ Describe 'Update-PackageDependencies' {
63
76
  }
64
77
  }
65
78
 
79
+ InModuleScope 51DPackageModule {
80
+ Describe 'Update-GoPackageContent' {
81
+ BeforeAll {
82
+ function Test-GoSuccessfulVersionUpdate {
83
+ param (
84
+ [string]$SourceVersion
85
+ )
86
+
87
+ $depRepo = "dependent-go"
88
+ $repoName = "test-go"
89
+ $repoConfigStr = @"
90
+ {
91
+ "version": "4.3.0",
92
+ "dependencies": [
93
+ "$depRepo"
94
+ ]
95
+ }
96
+ "@
97
+ $repoConfig = $repoConfigStr | ConvertFrom-Json
98
+ $reposStr = @"
99
+ {
100
+ "$repoName": $repoConfigStr,
101
+ "$depRepo": {
102
+ "version": "4.3.0"
103
+ }
104
+ }
105
+ "@
106
+ $repos = $reposStr | ConvertFrom-Json
107
+
108
+ $configStr = @"
109
+ {
110
+ "repositories": $reposStr
111
+ }
112
+ "@
113
+ $config = $configStr | ConvertFrom-Json
114
+
115
+ # Initialize script scope variable
116
+ Initialize-GlobalVariables -Configuration $config
117
+
118
+ Mock Test-TagExist { return $true } `
119
+ -ModuleName 51DPackageModule
120
+ $content = "require github.com/51Degrees/dependent-go v$SourceVersion"
121
+ $contentWithComment = "require github.com/51Degrees/dependent-go v$SourceVersion // indirect"
122
+ $contentWithReplace = "require github.com/51Degrees/dependent-go v$SourceVersion`r`n" +
123
+ "replace github.com/51Degrees/dependent-go v$SourceVersion => ./local"
124
+
125
+ Write-Host $content
126
+ Write-Host $repoConfig.dependencies
127
+ # Test default content
128
+ $updatedContent = Update-GoPackageContent `
129
+ -Dependencies $repoConfig.dependencies `
130
+ -GoModContent $content `
131
+ -TeamProjectName "TestProject"
132
+ $updatedContent | Should -BeExactly "require github.com/51Degrees/dependent-go v4.3.0"
133
+
134
+ # Test content with comment
135
+ $updatedContentWithComment = Update-GoPackageContent `
136
+ -Dependencies $repoConfig.dependencies `
137
+ -GoModContent $contentWithComment `
138
+ -TeamProjectName "TestProject"
139
+ $updatedContentWithComment | Should -BeExactly "require github.com/51Degrees/dependent-go v4.3.0 // indirect"
140
+
141
+ # Test content with replace
142
+ $expected = "require github.com/51Degrees/dependent-go v4.3.0`r`n" +
143
+ "replace github.com/51Degrees/dependent-go v4.3.0 => ./local"
144
+ $updatedContentWithReplace = Update-GoPackageContent `
145
+ -Dependencies $repoConfig.dependencies `
146
+ -GoModContent $contentWithReplace `
147
+ -TeamProjectName "TestProject"
148
+ $updatedContentWithReplace | Should -BeExactly $expected
149
+ }
150
+ }
151
+
152
+ It 'successfully update the content with well formed version' {
153
+ Test-GoSuccessfulVersionUpdate -SourceVersion "0.0.0"
154
+ }
155
+
156
+ It 'successfully update the content with non release well formed version' {
157
+ Test-GoSuccessfulVersionUpdate -SourceVersion "0.0.0-beta.18+1"
158
+ }
159
+ }
160
+ }
161
+
66
162
  InModuleScope 51DPackageModule {
67
163
  Describe 'Update-PythonPackageContent' {
68
164
  BeforeAll {
@@ -318,10 +414,85 @@ InModuleScope 51DPackageModule {
318
414
  InModuleScope '51DPackageModule' {
319
415
  Describe 'Update-DotnetPackageFileContent' {
320
416
  BeforeAll {
417
+ function Test-DotnetSuccessfulVersionUpdateOneLineBase {
418
+ param (
419
+ [string]$SourceVersion,
420
+ [string]$ConfigDepPackageName,
421
+ [string]$ActualDepPackageName
422
+ )
423
+
424
+ $depRepo = "dependent-dotnet"
425
+ $repoName = "test-dotnet"
426
+ $repoConfigStr = @"
427
+ {
428
+ "version": "4.3.0",
429
+ "packageName": "test.dotnet",
430
+ "dependencies": [
431
+ "$depRepo"
432
+ ]
433
+ }
434
+ "@
435
+ $repoConfig = $repoConfigStr | ConvertFrom-Json
436
+ $reposStr = @"
437
+ {
438
+ "$repoName": $repoConfigStr,
439
+ "$depRepo": {
440
+ "version": "4.3.0",
441
+ "packageName": "$ConfigDepPackageName"
442
+ }
443
+ }
444
+ "@
445
+ $repos = $reposStr | ConvertFrom-Json
446
+
447
+ $configStr = @"
448
+ {
449
+ "repositories": $reposStr
450
+ }
451
+ "@
452
+ $config = $configStr | ConvertFrom-Json
453
+
454
+ # Initialize script scope variable
455
+ Initialize-GlobalVariables -Configuration $config
456
+
457
+ Mock Test-TagExist { return $true } `
458
+ -ModuleName 51DPackageModule
459
+ $content = "<PackageReference Include=`"$ActualDepPackageName`" Version=`"$SourceVersion`" />"
460
+
461
+ $updatedContent = Update-DotnetPackageFileContent `
462
+ -Dependencies $repoConfig.dependencies `
463
+ -ProjectFileContent $content `
464
+ -TeamProjectName "testproject" `
465
+ -IsPackagesConfig $false
466
+
467
+ $updatedContent | Should -BeExactly "<PackageReference Include=`"$ActualDepPackageName`" Version=`"4.3.0`" />"
468
+ }
469
+
321
470
  function Test-DotnetSuccessfulVersionUpdateOneLine {
322
471
  param (
323
472
  [string]$SourceVersion
324
473
  )
474
+ Test-DotnetSuccessfulVersionUpdateOneLineBase `
475
+ -SourceVersion $SourceVersion `
476
+ -ConfigDepPackageName "dep.dotnet" `
477
+ -ActualDepPackageName "dep.dotnet"
478
+ }
479
+
480
+ function Test-DotnetSuccessfulVersionUpdateOneLineRegex {
481
+ param (
482
+ [string]$SourceVersion
483
+ )
484
+ Test-DotnetSuccessfulVersionUpdateOneLineBase `
485
+ -SourceVersion $SourceVersion `
486
+ -ConfigDepPackageName "dep.(dotnet|SomethingElse)" `
487
+ -ActualDepPackageName "dep.dotnet"
488
+ }
489
+
490
+ function Test-DotnetSuccessfulVersionUpdateMultiLinesBase {
491
+ param (
492
+ [string]$SourceVersion,
493
+ [string]$ConfigDepPackageName,
494
+ [string]$ActualDepPackageName
495
+ )
325
496
 
326
497
  $depRepo = "dependent-dotnet"
327
498
  $repoName = "test-dotnet"
@@ -340,7 +511,7 @@ InModuleScope '51DPackageModule' {
340
511
  "$repoName": $repoConfigStr,
341
512
  "$depRepo": {
342
513
  "version": "4.3.0",
343
- "packageName": "dep.dotnet"
514
+ "packageName": "$ConfigDepPackageName"
344
515
  }
345
516
  }
346
517
  "@
@@ -352,26 +523,124 @@ InModuleScope '51DPackageModule' {
352
523
  }
353
524
  "@
354
525
  $config = $configStr | ConvertFrom-Json
526
+
527
+ Mock Test-TagExist { return $true } `
528
+ -ModuleName 51DPackageModule
355
529
 
356
530
  # Initialize script scope variable
357
531
  Initialize-GlobalVariables -Configuration $config
358
532
 
533
+ $content = "<PackageReference Include=`"$ActualDepPackageName`">`r`n<Version>$SourceVersion</Version>`r`n</PackageReference>"
534
+
535
+ $updatedContent = Update-DotnetPackageFileContent `
536
+ -Dependencies $repoConfig.dependencies `
537
+ -ProjectFileContent $content `
538
+ -TeamProjectName "testproject" `
539
+ -IsPackagesConfig $false
540
+
541
+ $updatedContent | Should -BeExactly "<PackageReference Include=`"$ActualDepPackageName`">`r`n<Version>4.3.0</Version>`r`n</PackageReference>"
542
+ }
543
+
544
+ function Test-DotnetSuccessfulVersionUpdateMultiLines {
545
+ param (
546
+ [string]$SourceVersion
547
+ )
548
+ Test-DotnetSuccessfulVersionUpdateMultiLinesBase `
549
+ -SourceVersion $SourceVersion `
550
+ -ConfigDepPackageName "dep.dotnet" `
551
+ -ActualDepPackageName "dep.dotnet"
552
+ }
553
+
554
+ function Test-DotnetSuccessfulVersionUpdateMultiLinesRegex {
555
+ param (
556
+ [string]$SourceVersion
557
+ )
558
+ Test-DotnetSuccessfulVersionUpdateMultiLinesBase `
559
+ -SourceVersion $SourceVersion `
560
+ -ConfigDepPackageName "dep.(dotnet|SomethingElse)" `
561
+ -ActualDepPackageName "dep.dotnet"
562
+ }
563
+
564
+ function Test-DotnetSuccessfulVersionUpdateNetFrameworkProjectBase {
565
+ param (
566
+ [string]$SourceVersion,
567
+ [string]$ConfigDepPackageName,
568
+ [string]$ActualDepPackageName
569
+ )
570
+
571
+ $depRepo = "dependent-dotnet"
572
+ $repoName = "test-dotnet"
573
+ $repoConfigStr = @"
574
+ {
575
+ "version": "4.3.0",
576
+ "packageName": "test.dotnet",
577
+ "dependencies": [
578
+ "$depRepo"
579
+ ]
580
+ }
581
+ "@
582
+ $repoConfig = $repoConfigStr | ConvertFrom-Json
583
+ $reposStr = @"
584
+ {
585
+ "$repoName": $repoConfigStr,
586
+ "$depRepo": {
587
+ "version": "4.3.0",
588
+ "packageName": "$ConfigDepPackageName"
589
+ }
590
+ }
591
+ "@
592
+ $repos = $reposStr | ConvertFrom-Json
593
+
594
+ $configStr = @"
595
+ {
596
+ "repositories": $reposStr
597
+ }
598
+ "@
599
+ $config = $configStr | ConvertFrom-Json
600
+
359
601
  Mock Test-TagExist { return $true } `
360
602
  -ModuleName 51DPackageModule
361
- $content = '<PackageReference Include="dep.dotnet" Version="$SourceVersion" />'
603
+
604
+ # Initialize script scope variable
605
+ Initialize-GlobalVariables -Configuration $config
362
606
 
607
+ $content = "<HintPath>..\..\..\..\..\packages\$($ActualDepPackageName).test.$($SourceVersion)\lib\netstandard2.0\dep.dotnet.test.dll</HintPath>"
608
+
363
609
  $updatedContent = Update-DotnetPackageFileContent `
364
610
  -Dependencies $repoConfig.dependencies `
365
611
  -ProjectFileContent $content `
366
- -TeamProjectName "testproject"
612
+ -TeamProjectName "testproject" `
613
+ -IsPackagesConfig $false
367
614
 
368
- $updatedContent | Should -BeExactly '<PackageReference Include="dep.dotnet" Version="4.3.0" />'
615
+ $updatedContent | Should -BeExactly "<HintPath>..\..\..\..\..\packages\$($ActualDepPackageName).test.4.3.0\lib\netstandard2.0\dep.dotnet.test.dll</HintPath>"
369
616
  }
370
617
 
371
- function Test-DotnetSuccessfulVersionUpdateMultiLines {
618
+ function Test-DotnetSuccessfulVersionUpdateNetFrameworkProject {
619
+ param (
620
+ [string]$SourceVersion
621
+ )
622
+ Test-DotnetSuccessfulVersionUpdateNetFrameworkProjectBase `
623
+ -SourceVersion $SourceVersion `
624
+ -ConfigDepPackageName "dep.dotnet" `
625
+ -ActualDepPackageName "dep.dotnet"
626
+ }
627
+
628
+ function Test-DotnetSuccessfulVersionUpdateNetFrameworkProjectRegex {
372
629
  param (
373
630
  [string]$SourceVersion
374
631
  )
632
+ Test-DotnetSuccessfulVersionUpdateNetFrameworkProjectBase `
633
+ -SourceVersion $SourceVersion `
634
+ -ConfigDepPackageName "dep.(dotnet|SomethingElse)" `
635
+ -ActualDepPackageName "dep.dotnet"
636
+ }
637
+
638
+ function Test-DotnetSuccessfulVersionUpdateNetFrameworkPackagesConfigBase {
639
+ param (
640
+ [string]$SourceVersion,
641
+ [string]$ConfigDepPackageName,
642
+ [string]$ActualDepPackageName
643
+ )
375
644
 
376
645
  $depRepo = "dependent-dotnet"
377
646
  $repoName = "test-dotnet"
@@ -390,7 +659,7 @@ InModuleScope '51DPackageModule' {
390
659
  "$repoName": $repoConfigStr,
391
660
  "$depRepo": {
392
661
  "version": "4.3.0",
393
- "packageName": "dep.dotnet"
662
+ "packageName": "$ConfigDepPackageName"
394
663
  }
395
664
  }
396
665
  "@
@@ -409,31 +678,100 @@ InModuleScope '51DPackageModule' {
409
678
  # Initialize script scope variable
410
679
  Initialize-GlobalVariables -Configuration $config
411
680
 
412
- $content = "<PackageReference Include=`"dep.dotnet`">`r`n<Version>$SourceVersion</Version>`r`n</PackageReference>"
681
+ $content = "<package id=`"$($ActualDepPackageName).test`" version=`"$SourceVersion`" targetFramework=`"net472`" />"
413
682
 
414
683
  $updatedContent = Update-DotnetPackageFileContent `
415
684
  -Dependencies $repoConfig.dependencies `
416
685
  -ProjectFileContent $content `
417
- -TeamProjectName "testproject"
686
+ -TeamProjectName "testproject" `
687
+ -IsPackagesConfig $true
418
688
 
419
- $updatedContent | Should -BeExactly "<PackageReference Include=`"dep.dotnet`">`r`n<Version>4.3.0</Version>`r`n</PackageReference>"
689
+ $updatedContent | Should -BeExactly "<package id=`"$($ActualDepPackageName).test`" version=`"4.3.0`" targetFramework=`"net472`" />"
690
+ }
691
+
692
+ function Test-DotnetSuccessfulVersionUpdateNetFrameworkPackagesConfig {
693
+ param (
694
+ [string]$SourceVersion
695
+ )
696
+ Test-DotnetSuccessfulVersionUpdateNetFrameworkPackagesConfigBase `
697
+ -SourceVersion $SourceVersion `
698
+ -ConfigDepPackageName "dep.dotnet" `
699
+ -ActualDepPackageName "dep.dotnet"
700
+ }
701
+
702
+ function Test-DotnetSuccessfulVersionUpdateNetFrameworkPackagesConfigRegex {
703
+ param (
704
+ [string]$SourceVersion
705
+ )
706
+ Test-DotnetSuccessfulVersionUpdateNetFrameworkPackagesConfigBase `
707
+ -SourceVersion $SourceVersion `
708
+ -ConfigDepPackageName "dep.(dotnet|SomethingElse)" `
709
+ -ActualDepPackageName "dep.dotnet"
420
710
  }
421
711
  }
422
712
  It 'successfully update the well formed package version xml syntax `<PackageReference `/`>' {
423
713
  Test-DotnetSuccessfulVersionUpdateOneLine -SourceVersion "0.0.0"
424
714
  }
425
715
 
716
+ It 'successfully update the well formed package version xml syntax `<PackageReference `/`> with regex' {
717
+ Test-DotnetSuccessfulVersionUpdateOneLineRegex -SourceVersion "0.0.0"
718
+ }
719
+
426
720
  It 'successfully update the non release well formed package version xml syntax `<PackageReference `/`>' {
427
721
  Test-DotnetSuccessfulVersionUpdateOneLine -SourceVersion "0.0.0-beta.18+1"
428
722
  }
429
723
 
724
+ It 'successfully update the non release well formed package version xml syntax `<PackageReference `/`> with regex' {
725
+ Test-DotnetSuccessfulVersionUpdateOneLineRegex -SourceVersion "0.0.0-beta.18+1"
726
+ }
727
+
430
728
  It 'successfully update the well formed package version xml syntax `<PackageReference`>`<`/PackageReference`>' {
431
729
  Test-DotnetSuccessfulVersionUpdateMultiLines -SourceVersion "0.0.0"
432
730
  }
433
731
 
732
+ It 'successfully update the well formed package version xml syntax `<PackageReference`>`<`/PackageReference`> with regex' {
733
+ Test-DotnetSuccessfulVersionUpdateMultiLinesRegex -SourceVersion "0.0.0"
734
+ }
735
+
434
736
  It 'successfully update the non well formed package version xml syntax `<PackageReference`>`<`/PackageReference`>' {
435
737
  Test-DotnetSuccessfulVersionUpdateMultiLines -SourceVersion "0.0.0-beta.18+1"
436
738
  }
739
+
740
+ It 'successfully update the non well formed package version xml syntax `<PackageReference`>`<`/PackageReference`> with regex' {
741
+ Test-DotnetSuccessfulVersionUpdateMultiLines -SourceVersion "0.0.0-beta.18+1"
742
+ }
743
+
744
+ It 'successfully update the well formed package version xml dotnet framework syntax' {
745
+ Test-DotnetSuccessfulVersionUpdateNetFrameworkProject -SourceVersion "0.0.0"
746
+ }
747
+
748
+ It 'successfully update the well formed package version xml dotnet framework syntax with regex' {
749
+ Test-DotnetSuccessfulVersionUpdateNetFrameworkProjectRegex -SourceVersion "0.0.0"
750
+ }
751
+
752
+ It 'successfully update the non well formed package version xml dotnet framework syntax' {
753
+ Test-DotnetSuccessfulVersionUpdateNetFrameworkProject -SourceVersion "0.0.0-beta.18+1"
754
+ }
755
+
756
+ It 'successfully update the non well formed package version xml dotnet framework syntax with regex' {
757
+ Test-DotnetSuccessfulVersionUpdateNetFrameworkProjectRegex -SourceVersion "0.0.0-beta.18+1"
758
+ }
759
+
760
+ It 'successfully update the well formed package version xml dotnet framework packages config file' {
761
+ Test-DotnetSuccessfulVersionUpdateNetFrameworkPackagesConfig -SourceVersion "0.0.0"
762
+ }
763
+
764
+ It 'successfully update the well formed package version xml dotnet framework packages config file with regex' {
765
+ Test-DotnetSuccessfulVersionUpdateNetFrameworkPackagesConfigRegex -SourceVersion "0.0.0"
766
+ }
767
+
768
+ It 'successfully update the non well formed package version xml dotnet framework packages config file' {
769
+ Test-DotnetSuccessfulVersionUpdateNetFrameworkPackagesConfig -SourceVersion "0.0.0-beta.18+1"
770
+ }
771
+
772
+ It 'successfully update the non well formed package version xml dotnet framework packages config file with regex' {
773
+ Test-DotnetSuccessfulVersionUpdateNetFrameworkPackagesConfigRegex -SourceVersion "0.0.0-beta.18+1"
774
+ }
437
775
  }
438
776
  }
439
777