-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request 6710 from hotfix/v4.3.16 into master
- Loading branch information
Showing
10 changed files
with
105 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 64 additions & 0 deletions
64
...One.DeviceDetection/Tests/FiftyOne.DeviceDetection.Hash.Tests/FlowElements/EngineTests.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
/* ********************************************************************* | ||
* This Original Work is copyright of 51 Degrees Mobile Experts Limited. | ||
* Copyright 2019 51 Degrees Mobile Experts Limited, 5 Charlotte Close, | ||
* Caversham, Reading, Berkshire, United Kingdom RG4 7BY. | ||
* | ||
* This Original Work is licensed under the European Union Public Licence (EUPL) | ||
* v.1.2 and is subject to its terms as set out below. | ||
* | ||
* If a copy of the EUPL was not distributed with this file, You can obtain | ||
* one at https://opensource.org/licenses/EUPL-1.2. | ||
* | ||
* The 'Compatible Licences' set out in the Appendix to the EUPL (as may be | ||
* amended by the European Commission) shall be deemed incompatible for | ||
* the purposes of the Work and the provisions of the compatibility | ||
* clause in Article 5 of the EUPL shall not apply. | ||
* | ||
* If using the Work as, or as part of, a network application, by | ||
* including the attribution notice(s) required under Article 5 of the EUPL | ||
* in the end user terms of the application under an appropriate heading, | ||
* such notice(s) shall fulfill the requirements of that article. | ||
* ********************************************************************* */ | ||
|
||
using TestHelpers = FiftyOne.DeviceDetection.TestHelpers; | ||
using FiftyOne.Pipeline.Engines; | ||
using Microsoft.VisualStudio.TestTools.UnitTesting; | ||
|
||
namespace FiftyOne.DeviceDetection.Hash.Tests.Core.FlowElements | ||
{ | ||
[TestClass] | ||
[TestCategory("Core")] | ||
[TestCategory("Process")] | ||
public class EngineTests : TestsBase | ||
{ | ||
|
||
[TestMethod] | ||
public void Engine_DataDownloadType() | ||
{ | ||
TestInitialize(PerformanceProfiles.MaxPerformance); | ||
Assert.AreEqual( | ||
"HashV41", | ||
Wrapper.Engine.GetDataDownloadType("None")); | ||
} | ||
|
||
[TestMethod] | ||
public void Engine_DataSourceTier_Lite() | ||
{ | ||
TestInitialize(PerformanceProfiles.MaxPerformance, | ||
TestHelpers.Constants.LITE_HASH_DATA_FILE_NAME); | ||
Assert.AreEqual( | ||
"Lite", | ||
Wrapper.Engine.DataSourceTier); | ||
} | ||
|
||
[TestMethod] | ||
public void Engine_DataSourceTier_Enterprise() | ||
{ | ||
TestInitialize(PerformanceProfiles.MaxPerformance, | ||
TestHelpers.Constants.ENTERPRISE_HASH_DATA_FILE_NAME); | ||
Assert.AreEqual( | ||
"Enterprise", | ||
Wrapper.Engine.DataSourceTier); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule common-ci
updated
4 files
+8 −5 | create-tag.yml | |
+54 −0 | java/shared-security-vulnerability-check.yml | |
+23 −9 | release-config.json | |
+57 −13 | scripts/modules/51DGitModule/51DGitModule.psm1 |