tests

package
v1.0.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2026 License: Apache-2.0, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

*

  • Copyright 2025 Comcast Cable Communications Management, LLC *
  • Licensed under the Apache License, Version 2.0 (the "License");
  • you may not use this file except in compliance with the License.
  • You may obtain a copy of the License at *
  • http://www.apache.org/licenses/LICENSE-2.0 *
  • Unless required by applicable law or agreed to in writing, software
  • distributed under the License is distributed on an "AS IS" BASIS,
  • WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  • See the License for the specific language governing permissions and
  • limitations under the License. *
  • SPDX-License-Identifier: Apache-2.0

*

  • Copyright 2025 Comcast Cable Communications Management, LLC *
  • Licensed under the Apache License, Version 2.0 (the "License");
  • you may not use this file except in compliance with the License.
  • You may obtain a copy of the License at *
  • http://www.apache.org/licenses/LICENSE-2.0 *
  • Unless required by applicable law or agreed to in writing, software
  • distributed under the License is distributed on an "AS IS" BASIS,
  • WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  • See the License for the specific language governing permissions and
  • limitations under the License. *
  • SPDX-License-Identifier: Apache-2.0

*

  • Copyright 2025 Comcast Cable Communications Management, LLC *
  • Licensed under the Apache License, Version 2.0 (the "License");
  • you may not use this file except in compliance with the License.
  • You may obtain a copy of the License at *
  • http://www.apache.org/licenses/LICENSE-2.0 *
  • Unless required by applicable law or agreed to in writing, software
  • distributed under the License is distributed on an "AS IS" BASIS,
  • WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  • See the License for the specific language governing permissions and
  • limitations under the License. *
  • SPDX-License-Identifier: Apache-2.0

Index

Constants

View Source
const (
	FirmwareConfigId1 = "de529a04-3bab-41e3-ad79-f1e583723b47"
	FirmwareConfigId2 = "393e2152-9d50-4f30-aab9-c74977471632"
	FirmwareConfigId3 = "e4b10a02-094b-4941-8aee-6b10a996829d"
	FirmwareConfigId4 = "e4b10a02-094b-4941-8aee-6b10a996829e"

	NamespaceIPListKey                                      = "myipaddresstests"
	IpAddress1                                              = "10.0.0.101"
	IPAddress2                                              = "10.0.0.1"
	IpAddress3                                              = "10.0.0.12"
	IpAddress4                                              = "10.0.0.11"
	IPAddressV61                                            = "2600:1f18:227b:c01:b111:3d17:7a86:ab36"
	IPAddressV62                                            = "2600:1f18:227b:c01:b111:3d17:7a86:ab37"
	DownloadLocationRoundRobinFilterHTTPFULLURLLOCATION     = "http://comcast.com"
	DownloadLocationRoundRobinFilterHTTPLOCATION            = "comcast.com"
	DownloadLocationRoundRobinFilterIPADDRESS               = "192.168.1.1"
	RDKCLOUD_DOWNLOAD_LOCATION_ROUND_ROBIN_FILTER_VALUE_KEY = "RDKCLOUD_DOWNLOAD_LOCATION_ROUND_ROBIN_FILTER_VALUE"
	SKY_DOWNLOAD_LOCATION_ROUND_ROBIN_FILTER_VALUE_KEY      = "SKY_DOWNLOAD_LOCATION_ROUND_ROBIN_FILTER_VALUE"
	FIREBOLT_DOWNLOAD_LOCATION_ROUND_ROBIN_FILTER_VALUE_KEY = "FIREBOLT_DOWNLOAD_LOCATION_ROUND_ROBIN_FILTER_VALUE"
)
View Source
const (
	// arg1: telemetry2rule uuid
	// arg2: telemetry2rule name
	// arg3: referenced telemetry2profile uuid
	MockTelemetryTwoRuleTemplate1 = `` /* 494-byte string literal not displayed */

	// arg1: namelist primary key
	// arg2: telemetry2rule uuid
	// arg3: telemetry2rule name
	// arg4: referenced telemetry2profile uuid
	MockTelemetryTwoRuleTemplate2 = `` /* 504-byte string literal not displayed */

	// arg1: namelist primary key
	// arg2: telemetry2rule uuid
	// arg3: telemetry2rule name
	// arg4: referenced telemetry2profile uuid
	MockTelemetryTwoRuleTemplate3 = `` /* 499-byte string literal not displayed */

	// arg1: namelist primary key
	// arg2: telemetry2rule uuid
	// arg3: telemetry2rule name
	// arg4: referenced telemetry2profile uuid
	MockTelemetryTwoRuleTemplate9 = `` /* 2392-byte string literal not displayed */

	// arg1 telemetry2profile uuid
	// arg2 telemetry2profile name
	MockTelemetryTwoProfileTemplate1 = `` /* 1238-byte string literal not displayed */

	// this profile is not a valid json
	MockTelemetryTwoProfileTemplate2 = `` /* 1239-byte string literal not displayed */

	TestTelemetryTwoProfileJsonConfig = `` /* 1000-byte string literal not displayed */

)
View Source
const (
	SampleTelemetryTwoRulesString = `` /* 6755-byte string literal not displayed */
	ExtraRuleString1              = `` /* 348-byte string literal not displayed */
	IllFormattedProfileUuid       = "819a1b27-1aad-4663-ba4f-bfefcdf020ef"
	IllFormattedProfileName       = "ill_formatted_profile_1"
)

Variables

View Source
var (
	NamespaceIPList = []string{"10.0.0.11", "10.0.0.12", "10.0.0.101"}

	RDKCLOUD_DOWNLOAD_LOCATION_ROUND_ROBIN_FILTER_VALUE_TEMPLATE = `` /* 538-byte string literal not displayed */

	SKY_DOWNLOAD_LOCATION_ROUND_ROBIN_FILTER_VALUE_TEMPLATE = `` /* 611-byte string literal not displayed */

	FIREBOLT_DOWNLOAD_LOCATION_ROUND_ROBIN_FILTER_VALUE_TEMPLATE = `` /* 1296-byte string literal not displayed */

)
View Source
var (
	SampleProfileIdNameMap = map[string]string{
		"05d7bb24-e30f-456b-84c1-55d2a20eddec": "jw_t2_wifi_part_1",
		"3bbf957d-c61b-4137-8800-634b9ef6013f": "jw_t2_wifi_part_3",
		"b54624d7-1a2d-461b-a1cc-3591ff893b7e": "TestSchema",
		"495f3ead-576c-4b09-9c47-8b85298a7d76": "jw_t2_wifi_part_4",
		"2a077060-b981-4fb6-ad75-72f18b4de130": "xpc_test_profile_002",
		"2370b5b1-6899-44b8-bb0d-f3706f9389b9": "jw_t2_wifi_part_2",
		"5d298496-b108-4884-9713-1e51c843287b": "T2_HOTSPOT",
		"8c65c89d-dc11-4842-9000-b9fa6f45f34a": "t2_whix_test",
		"24f29c66-b658-40fd-a39d-dda8c670f3eb": "james_test_profile_001",
		"8205d716-8e45-4570-a34b-f1ebe0bdc75e": "Connie_test",
		"f8f4e7c7-924a-4a00-8ecf-04941dd6c4a3": "had_gw_wifi_radio",
		"cec11c05-ea4d-45cd-84e0-e44cecfafbf6": "jw_t2_docsis_part_2",
		"7eec6e18-0937-4a55-b16b-be4ea2219aa1": "jw_t2_wifi_part_6",
		"4397b229-200a-471f-9b46-41a19960ef18": "jw_t2_wifi_part_7",
		"3586d1d0-b3d3-4304-9a26-85d497d3ea3d": "xpc_test_profile_001",
		"824b41c8-210a-4eea-bc65-0f1bdb4c2574": "peter_test_profile_002",
		"07cd2a04-7083-44f2-a9d4-23823aed9c42": "jw_t2_wifi_part_5",
		"234b46be-0d9d-40f4-8b6c-d8e3a94f64d2": "wsmithT2.0TagProfileTest",
		"9fbf4f56-301b-4a28-8966-090cd38b498e": "wsmithT2.0ProfileTest",
		"4b84ffce-812a-4074-ba56-18982106f2f8": "SCOUT_DORY",
		"3a3ba25c-febd-40ac-8e38-b302aa428d69": "jw_t2_wifi_part_8",
		"e6ddbe95-daec-49db-8e72-123d53dbe630": "jw_t2_docsis_part_1",
	}
)

Functions

func GetFirmwareConfig1

func GetFirmwareConfig1() *coreef.FirmwareConfig

func GetFirmwareConfig2

func GetFirmwareConfig2() *coreef.FirmwareConfig

func GetFirmwareConfigStr1

func GetFirmwareConfigStr1() string

func GetFirmwareConfigStr2

func GetFirmwareConfigStr2() string

func GetFirmwareRule1

func GetFirmwareRule1() *corefw.FirmwareRule

func GetFirmwareRule2

func GetFirmwareRule2() *corefw.FirmwareRule

func GetFirmwareRule3

func GetFirmwareRule3() *corefw.FirmwareRule

func GetFirmwareRule4

func GetFirmwareRule4() *corefw.FirmwareRule

func GetFirmwareRuleStr1

func GetFirmwareRuleStr1() string

func GetFirmwareRuleStr2

func GetFirmwareRuleStr2() string

func GetFirmwareRuleStr3

func GetFirmwareRuleStr3() string

func GetFirmwareRuleStr4

func GetFirmwareRuleStr4() string

func GetFirmwareRuleTemplate

func GetFirmwareRuleTemplate(i int) *corefw.FirmwareRuleTemplate

func GetFirmwareTemplateStr1

func GetFirmwareTemplateStr1() string

func GetFirmwareTemplateStr2

func GetFirmwareTemplateStr2() string

func GetFirmwareTemplateStr3

func GetFirmwareTemplateStr3() string

func GetFirmwareTemplateStr4

func GetFirmwareTemplateStr4() string

func GetGetRDKCDownloadLocationROUNDROBINFILTERVALUE

func GetGetRDKCDownloadLocationROUNDROBINFILTERVALUE() *coreef.DownloadLocationRoundRobinFilterValue

func GetRDKCDownloadLocationROUNDROBINFILTERVALUE

func GetRDKCDownloadLocationROUNDROBINFILTERVALUE() string

func GetSetDaoGenericNamespacedList

func GetSetDaoGenericNamespacedList() (*shared.GenericNamespacedList, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL