aastesting

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package aastesting provides the functions and data structures shared across different tests.

Index

Constants

This section is empty.

Variables

View Source
var RecordMode = rM == "1" || strings.ToLower(rM) == "true" || strings.ToLower(rM) == "on"
View Source
var TestDataDir = getTestDataDir()

Functions

func DeepEqual

func DeepEqual(
	that aastypes.IClass,
	other aastypes.IClass,
) bool

func FindFilesBySuffixRecursively

func FindFilesBySuffixRecursively(root, suffix string) []string

func MustFindAbstractLangString

func MustFindAbstractLangString(
	container aastypes.IClass,
) (result aastypes.IAbstractLangString)

Find the first instance of aastypes.IAbstractLangString in `container` including the container itself.

If no instance could be find, panic.

func MustFindAdministrativeInformation

func MustFindAdministrativeInformation(
	container aastypes.IClass,
) (result aastypes.IAdministrativeInformation)

Find the first instance of aastypes.IAdministrativeInformation in `container` including the container itself.

If no instance could be find, panic.

func MustFindAnnotatedRelationshipElement

func MustFindAnnotatedRelationshipElement(
	container aastypes.IClass,
) (result aastypes.IAnnotatedRelationshipElement)

Find the first instance of aastypes.IAnnotatedRelationshipElement in `container` including the container itself.

If no instance could be find, panic.

func MustFindAssetAdministrationShell

func MustFindAssetAdministrationShell(
	container aastypes.IClass,
) (result aastypes.IAssetAdministrationShell)

Find the first instance of aastypes.IAssetAdministrationShell in `container` including the container itself.

If no instance could be find, panic.

func MustFindAssetInformation

func MustFindAssetInformation(
	container aastypes.IClass,
) (result aastypes.IAssetInformation)

Find the first instance of aastypes.IAssetInformation in `container` including the container itself.

If no instance could be find, panic.

func MustFindBasicEventElement

func MustFindBasicEventElement(
	container aastypes.IClass,
) (result aastypes.IBasicEventElement)

Find the first instance of aastypes.IBasicEventElement in `container` including the container itself.

If no instance could be find, panic.

func MustFindBlob

func MustFindBlob(
	container aastypes.IClass,
) (result aastypes.IBlob)

Find the first instance of aastypes.IBlob in `container` including the container itself.

If no instance could be find, panic.

func MustFindCapability

func MustFindCapability(
	container aastypes.IClass,
) (result aastypes.ICapability)

Find the first instance of aastypes.ICapability in `container` including the container itself.

If no instance could be find, panic.

func MustFindConceptDescription

func MustFindConceptDescription(
	container aastypes.IClass,
) (result aastypes.IConceptDescription)

Find the first instance of aastypes.IConceptDescription in `container` including the container itself.

If no instance could be find, panic.

func MustFindDataElement

func MustFindDataElement(
	container aastypes.IClass,
) (result aastypes.IDataElement)

Find the first instance of aastypes.IDataElement in `container` including the container itself.

If no instance could be find, panic.

func MustFindDataSpecificationContent

func MustFindDataSpecificationContent(
	container aastypes.IClass,
) (result aastypes.IDataSpecificationContent)

Find the first instance of aastypes.IDataSpecificationContent in `container` including the container itself.

If no instance could be find, panic.

func MustFindDataSpecificationIEC61360

func MustFindDataSpecificationIEC61360(
	container aastypes.IClass,
) (result aastypes.IDataSpecificationIEC61360)

Find the first instance of aastypes.IDataSpecificationIEC61360 in `container` including the container itself.

If no instance could be find, panic.

func MustFindEmbeddedDataSpecification

func MustFindEmbeddedDataSpecification(
	container aastypes.IClass,
) (result aastypes.IEmbeddedDataSpecification)

Find the first instance of aastypes.IEmbeddedDataSpecification in `container` including the container itself.

If no instance could be find, panic.

func MustFindEntity

func MustFindEntity(
	container aastypes.IClass,
) (result aastypes.IEntity)

Find the first instance of aastypes.IEntity in `container` including the container itself.

If no instance could be find, panic.

func MustFindEnvironment

func MustFindEnvironment(
	container aastypes.IClass,
) (result aastypes.IEnvironment)

Find the first instance of aastypes.IEnvironment in `container` including the container itself.

If no instance could be find, panic.

func MustFindEventElement

func MustFindEventElement(
	container aastypes.IClass,
) (result aastypes.IEventElement)

Find the first instance of aastypes.IEventElement in `container` including the container itself.

If no instance could be find, panic.

func MustFindEventPayload

func MustFindEventPayload(
	container aastypes.IClass,
) (result aastypes.IEventPayload)

Find the first instance of aastypes.IEventPayload in `container` including the container itself.

If no instance could be find, panic.

func MustFindExtension

func MustFindExtension(
	container aastypes.IClass,
) (result aastypes.IExtension)

Find the first instance of aastypes.IExtension in `container` including the container itself.

If no instance could be find, panic.

func MustFindFile

func MustFindFile(
	container aastypes.IClass,
) (result aastypes.IFile)

Find the first instance of aastypes.IFile in `container` including the container itself.

If no instance could be find, panic.

func MustFindHasDataSpecification

func MustFindHasDataSpecification(
	container aastypes.IClass,
) (result aastypes.IHasDataSpecification)

Find the first instance of aastypes.IHasDataSpecification in `container` including the container itself.

If no instance could be find, panic.

func MustFindHasExtensions

func MustFindHasExtensions(
	container aastypes.IClass,
) (result aastypes.IHasExtensions)

Find the first instance of aastypes.IHasExtensions in `container` including the container itself.

If no instance could be find, panic.

func MustFindHasKind

func MustFindHasKind(
	container aastypes.IClass,
) (result aastypes.IHasKind)

Find the first instance of aastypes.IHasKind in `container` including the container itself.

If no instance could be find, panic.

func MustFindHasSemantics

func MustFindHasSemantics(
	container aastypes.IClass,
) (result aastypes.IHasSemantics)

Find the first instance of aastypes.IHasSemantics in `container` including the container itself.

If no instance could be find, panic.

func MustFindIdentifiable

func MustFindIdentifiable(
	container aastypes.IClass,
) (result aastypes.IIdentifiable)

Find the first instance of aastypes.IIdentifiable in `container` including the container itself.

If no instance could be find, panic.

func MustFindKey

func MustFindKey(
	container aastypes.IClass,
) (result aastypes.IKey)

Find the first instance of aastypes.IKey in `container` including the container itself.

If no instance could be find, panic.

func MustFindLangStringDefinitionTypeIEC61360

func MustFindLangStringDefinitionTypeIEC61360(
	container aastypes.IClass,
) (result aastypes.ILangStringDefinitionTypeIEC61360)

Find the first instance of aastypes.ILangStringDefinitionTypeIEC61360 in `container` including the container itself.

If no instance could be find, panic.

func MustFindLangStringNameType

func MustFindLangStringNameType(
	container aastypes.IClass,
) (result aastypes.ILangStringNameType)

Find the first instance of aastypes.ILangStringNameType in `container` including the container itself.

If no instance could be find, panic.

func MustFindLangStringPreferredNameTypeIEC61360

func MustFindLangStringPreferredNameTypeIEC61360(
	container aastypes.IClass,
) (result aastypes.ILangStringPreferredNameTypeIEC61360)

Find the first instance of aastypes.ILangStringPreferredNameTypeIEC61360 in `container` including the container itself.

If no instance could be find, panic.

func MustFindLangStringShortNameTypeIEC61360

func MustFindLangStringShortNameTypeIEC61360(
	container aastypes.IClass,
) (result aastypes.ILangStringShortNameTypeIEC61360)

Find the first instance of aastypes.ILangStringShortNameTypeIEC61360 in `container` including the container itself.

If no instance could be find, panic.

func MustFindLangStringTextType

func MustFindLangStringTextType(
	container aastypes.IClass,
) (result aastypes.ILangStringTextType)

Find the first instance of aastypes.ILangStringTextType in `container` including the container itself.

If no instance could be find, panic.

func MustFindLevelType

func MustFindLevelType(
	container aastypes.IClass,
) (result aastypes.ILevelType)

Find the first instance of aastypes.ILevelType in `container` including the container itself.

If no instance could be find, panic.

func MustFindMultiLanguageProperty

func MustFindMultiLanguageProperty(
	container aastypes.IClass,
) (result aastypes.IMultiLanguageProperty)

Find the first instance of aastypes.IMultiLanguageProperty in `container` including the container itself.

If no instance could be find, panic.

func MustFindOperation

func MustFindOperation(
	container aastypes.IClass,
) (result aastypes.IOperation)

Find the first instance of aastypes.IOperation in `container` including the container itself.

If no instance could be find, panic.

func MustFindOperationVariable

func MustFindOperationVariable(
	container aastypes.IClass,
) (result aastypes.IOperationVariable)

Find the first instance of aastypes.IOperationVariable in `container` including the container itself.

If no instance could be find, panic.

func MustFindProperty

func MustFindProperty(
	container aastypes.IClass,
) (result aastypes.IProperty)

Find the first instance of aastypes.IProperty in `container` including the container itself.

If no instance could be find, panic.

func MustFindQualifiable

func MustFindQualifiable(
	container aastypes.IClass,
) (result aastypes.IQualifiable)

Find the first instance of aastypes.IQualifiable in `container` including the container itself.

If no instance could be find, panic.

func MustFindQualifier

func MustFindQualifier(
	container aastypes.IClass,
) (result aastypes.IQualifier)

Find the first instance of aastypes.IQualifier in `container` including the container itself.

If no instance could be find, panic.

func MustFindRange

func MustFindRange(
	container aastypes.IClass,
) (result aastypes.IRange)

Find the first instance of aastypes.IRange in `container` including the container itself.

If no instance could be find, panic.

func MustFindReferable

func MustFindReferable(
	container aastypes.IClass,
) (result aastypes.IReferable)

Find the first instance of aastypes.IReferable in `container` including the container itself.

If no instance could be find, panic.

func MustFindReference

func MustFindReference(
	container aastypes.IClass,
) (result aastypes.IReference)

Find the first instance of aastypes.IReference in `container` including the container itself.

If no instance could be find, panic.

func MustFindReferenceElement

func MustFindReferenceElement(
	container aastypes.IClass,
) (result aastypes.IReferenceElement)

Find the first instance of aastypes.IReferenceElement in `container` including the container itself.

If no instance could be find, panic.

func MustFindRelationshipElement

func MustFindRelationshipElement(
	container aastypes.IClass,
) (result aastypes.IRelationshipElement)

Find the first instance of aastypes.IRelationshipElement in `container` including the container itself.

If no instance could be find, panic.

func MustFindResource

func MustFindResource(
	container aastypes.IClass,
) (result aastypes.IResource)

Find the first instance of aastypes.IResource in `container` including the container itself.

If no instance could be find, panic.

func MustFindSpecificAssetID

func MustFindSpecificAssetID(
	container aastypes.IClass,
) (result aastypes.ISpecificAssetID)

Find the first instance of aastypes.ISpecificAssetID in `container` including the container itself.

If no instance could be find, panic.

func MustFindSubmodel

func MustFindSubmodel(
	container aastypes.IClass,
) (result aastypes.ISubmodel)

Find the first instance of aastypes.ISubmodel in `container` including the container itself.

If no instance could be find, panic.

func MustFindSubmodelElement

func MustFindSubmodelElement(
	container aastypes.IClass,
) (result aastypes.ISubmodelElement)

Find the first instance of aastypes.ISubmodelElement in `container` including the container itself.

If no instance could be find, panic.

func MustFindSubmodelElementCollection

func MustFindSubmodelElementCollection(
	container aastypes.IClass,
) (result aastypes.ISubmodelElementCollection)

Find the first instance of aastypes.ISubmodelElementCollection in `container` including the container itself.

If no instance could be find, panic.

func MustFindSubmodelElementList

func MustFindSubmodelElementList(
	container aastypes.IClass,
) (result aastypes.ISubmodelElementList)

Find the first instance of aastypes.ISubmodelElementList in `container` including the container itself.

If no instance could be find, panic.

func MustFindValueList

func MustFindValueList(
	container aastypes.IClass,
) (result aastypes.IValueList)

Find the first instance of aastypes.IValueList in `container` including the container itself.

If no instance could be find, panic.

func MustFindValueReferencePair

func MustFindValueReferencePair(
	container aastypes.IClass,
) (result aastypes.IValueReferencePair)

Find the first instance of aastypes.IValueReferencePair in `container` including the container itself.

If no instance could be find, panic.

func MustLoadMaximalAdministrativeInformation

func MustLoadMaximalAdministrativeInformation() (result aastypes.IAdministrativeInformation)

Load a maximal example of aastypes.IAdministrativeInformation from the test data directory.

If there is any error, panic.

func MustLoadMaximalAnnotatedRelationshipElement

func MustLoadMaximalAnnotatedRelationshipElement() (result aastypes.IAnnotatedRelationshipElement)

Load a maximal example of aastypes.IAnnotatedRelationshipElement from the test data directory.

If there is any error, panic.

func MustLoadMaximalAssetAdministrationShell

func MustLoadMaximalAssetAdministrationShell() (result aastypes.IAssetAdministrationShell)

Load a maximal example of aastypes.IAssetAdministrationShell from the test data directory.

If there is any error, panic.

func MustLoadMaximalAssetInformation

func MustLoadMaximalAssetInformation() (result aastypes.IAssetInformation)

Load a maximal example of aastypes.IAssetInformation from the test data directory.

If there is any error, panic.

func MustLoadMaximalBasicEventElement

func MustLoadMaximalBasicEventElement() (result aastypes.IBasicEventElement)

Load a maximal example of aastypes.IBasicEventElement from the test data directory.

If there is any error, panic.

func MustLoadMaximalBlob

func MustLoadMaximalBlob() (result aastypes.IBlob)

Load a maximal example of aastypes.IBlob from the test data directory.

If there is any error, panic.

func MustLoadMaximalCapability

func MustLoadMaximalCapability() (result aastypes.ICapability)

Load a maximal example of aastypes.ICapability from the test data directory.

If there is any error, panic.

func MustLoadMaximalConceptDescription

func MustLoadMaximalConceptDescription() (result aastypes.IConceptDescription)

Load a maximal example of aastypes.IConceptDescription from the test data directory.

If there is any error, panic.

func MustLoadMaximalDataSpecificationIEC61360

func MustLoadMaximalDataSpecificationIEC61360() (result aastypes.IDataSpecificationIEC61360)

Load a maximal example of aastypes.IDataSpecificationIEC61360 from the test data directory.

If there is any error, panic.

func MustLoadMaximalEmbeddedDataSpecification

func MustLoadMaximalEmbeddedDataSpecification() (result aastypes.IEmbeddedDataSpecification)

Load a maximal example of aastypes.IEmbeddedDataSpecification from the test data directory.

If there is any error, panic.

func MustLoadMaximalEntity

func MustLoadMaximalEntity() (result aastypes.IEntity)

Load a maximal example of aastypes.IEntity from the test data directory.

If there is any error, panic.

func MustLoadMaximalEnvironment

func MustLoadMaximalEnvironment() (result aastypes.IEnvironment)

Load a maximal example of aastypes.IEnvironment from the test data directory.

If there is any error, panic.

func MustLoadMaximalEventPayload

func MustLoadMaximalEventPayload() (result aastypes.IEventPayload)

Load a maximal example of aastypes.IEventPayload from the test data directory.

If there is any error, panic.

func MustLoadMaximalExtension

func MustLoadMaximalExtension() (result aastypes.IExtension)

Load a maximal example of aastypes.IExtension from the test data directory.

If there is any error, panic.

func MustLoadMaximalFile

func MustLoadMaximalFile() (result aastypes.IFile)

Load a maximal example of aastypes.IFile from the test data directory.

If there is any error, panic.

func MustLoadMaximalKey

func MustLoadMaximalKey() (result aastypes.IKey)

Load a maximal example of aastypes.IKey from the test data directory.

If there is any error, panic.

func MustLoadMaximalLangStringDefinitionTypeIEC61360

func MustLoadMaximalLangStringDefinitionTypeIEC61360() (result aastypes.ILangStringDefinitionTypeIEC61360)

Load a maximal example of aastypes.ILangStringDefinitionTypeIEC61360 from the test data directory.

If there is any error, panic.

func MustLoadMaximalLangStringNameType

func MustLoadMaximalLangStringNameType() (result aastypes.ILangStringNameType)

Load a maximal example of aastypes.ILangStringNameType from the test data directory.

If there is any error, panic.

func MustLoadMaximalLangStringPreferredNameTypeIEC61360

func MustLoadMaximalLangStringPreferredNameTypeIEC61360() (result aastypes.ILangStringPreferredNameTypeIEC61360)

Load a maximal example of aastypes.ILangStringPreferredNameTypeIEC61360 from the test data directory.

If there is any error, panic.

func MustLoadMaximalLangStringShortNameTypeIEC61360

func MustLoadMaximalLangStringShortNameTypeIEC61360() (result aastypes.ILangStringShortNameTypeIEC61360)

Load a maximal example of aastypes.ILangStringShortNameTypeIEC61360 from the test data directory.

If there is any error, panic.

func MustLoadMaximalLangStringTextType

func MustLoadMaximalLangStringTextType() (result aastypes.ILangStringTextType)

Load a maximal example of aastypes.ILangStringTextType from the test data directory.

If there is any error, panic.

func MustLoadMaximalLevelType

func MustLoadMaximalLevelType() (result aastypes.ILevelType)

Load a maximal example of aastypes.ILevelType from the test data directory.

If there is any error, panic.

func MustLoadMaximalMultiLanguageProperty

func MustLoadMaximalMultiLanguageProperty() (result aastypes.IMultiLanguageProperty)

Load a maximal example of aastypes.IMultiLanguageProperty from the test data directory.

If there is any error, panic.

func MustLoadMaximalOperation

func MustLoadMaximalOperation() (result aastypes.IOperation)

Load a maximal example of aastypes.IOperation from the test data directory.

If there is any error, panic.

func MustLoadMaximalOperationVariable

func MustLoadMaximalOperationVariable() (result aastypes.IOperationVariable)

Load a maximal example of aastypes.IOperationVariable from the test data directory.

If there is any error, panic.

func MustLoadMaximalProperty

func MustLoadMaximalProperty() (result aastypes.IProperty)

Load a maximal example of aastypes.IProperty from the test data directory.

If there is any error, panic.

func MustLoadMaximalQualifier

func MustLoadMaximalQualifier() (result aastypes.IQualifier)

Load a maximal example of aastypes.IQualifier from the test data directory.

If there is any error, panic.

func MustLoadMaximalRange

func MustLoadMaximalRange() (result aastypes.IRange)

Load a maximal example of aastypes.IRange from the test data directory.

If there is any error, panic.

func MustLoadMaximalReference

func MustLoadMaximalReference() (result aastypes.IReference)

Load a maximal example of aastypes.IReference from the test data directory.

If there is any error, panic.

func MustLoadMaximalReferenceElement

func MustLoadMaximalReferenceElement() (result aastypes.IReferenceElement)

Load a maximal example of aastypes.IReferenceElement from the test data directory.

If there is any error, panic.

func MustLoadMaximalRelationshipElement

func MustLoadMaximalRelationshipElement() (result aastypes.IRelationshipElement)

Load a maximal example of aastypes.IRelationshipElement from the test data directory.

If there is any error, panic.

func MustLoadMaximalResource

func MustLoadMaximalResource() (result aastypes.IResource)

Load a maximal example of aastypes.IResource from the test data directory.

If there is any error, panic.

func MustLoadMaximalSpecificAssetID

func MustLoadMaximalSpecificAssetID() (result aastypes.ISpecificAssetID)

Load a maximal example of aastypes.ISpecificAssetID from the test data directory.

If there is any error, panic.

func MustLoadMaximalSubmodel

func MustLoadMaximalSubmodel() (result aastypes.ISubmodel)

Load a maximal example of aastypes.ISubmodel from the test data directory.

If there is any error, panic.

func MustLoadMaximalSubmodelElementCollection

func MustLoadMaximalSubmodelElementCollection() (result aastypes.ISubmodelElementCollection)

Load a maximal example of aastypes.ISubmodelElementCollection from the test data directory.

If there is any error, panic.

func MustLoadMaximalSubmodelElementList

func MustLoadMaximalSubmodelElementList() (result aastypes.ISubmodelElementList)

Load a maximal example of aastypes.ISubmodelElementList from the test data directory.

If there is any error, panic.

func MustLoadMaximalValueList

func MustLoadMaximalValueList() (result aastypes.IValueList)

Load a maximal example of aastypes.IValueList from the test data directory.

If there is any error, panic.

func MustLoadMaximalValueReferencePair

func MustLoadMaximalValueReferencePair() (result aastypes.IValueReferencePair)

Load a maximal example of aastypes.IValueReferencePair from the test data directory.

If there is any error, panic.

func MustLoadMinimalAdministrativeInformation

func MustLoadMinimalAdministrativeInformation() (result aastypes.IAdministrativeInformation)

Load a minimal example of aastypes.IAdministrativeInformation from the test data directory.

If there is any error, panic.

func MustLoadMinimalAnnotatedRelationshipElement

func MustLoadMinimalAnnotatedRelationshipElement() (result aastypes.IAnnotatedRelationshipElement)

Load a minimal example of aastypes.IAnnotatedRelationshipElement from the test data directory.

If there is any error, panic.

func MustLoadMinimalAssetAdministrationShell

func MustLoadMinimalAssetAdministrationShell() (result aastypes.IAssetAdministrationShell)

Load a minimal example of aastypes.IAssetAdministrationShell from the test data directory.

If there is any error, panic.

func MustLoadMinimalAssetInformation

func MustLoadMinimalAssetInformation() (result aastypes.IAssetInformation)

Load a minimal example of aastypes.IAssetInformation from the test data directory.

If there is any error, panic.

func MustLoadMinimalBasicEventElement

func MustLoadMinimalBasicEventElement() (result aastypes.IBasicEventElement)

Load a minimal example of aastypes.IBasicEventElement from the test data directory.

If there is any error, panic.

func MustLoadMinimalBlob

func MustLoadMinimalBlob() (result aastypes.IBlob)

Load a minimal example of aastypes.IBlob from the test data directory.

If there is any error, panic.

func MustLoadMinimalCapability

func MustLoadMinimalCapability() (result aastypes.ICapability)

Load a minimal example of aastypes.ICapability from the test data directory.

If there is any error, panic.

func MustLoadMinimalConceptDescription

func MustLoadMinimalConceptDescription() (result aastypes.IConceptDescription)

Load a minimal example of aastypes.IConceptDescription from the test data directory.

If there is any error, panic.

func MustLoadMinimalDataSpecificationIEC61360

func MustLoadMinimalDataSpecificationIEC61360() (result aastypes.IDataSpecificationIEC61360)

Load a minimal example of aastypes.IDataSpecificationIEC61360 from the test data directory.

If there is any error, panic.

func MustLoadMinimalEmbeddedDataSpecification

func MustLoadMinimalEmbeddedDataSpecification() (result aastypes.IEmbeddedDataSpecification)

Load a minimal example of aastypes.IEmbeddedDataSpecification from the test data directory.

If there is any error, panic.

func MustLoadMinimalEntity

func MustLoadMinimalEntity() (result aastypes.IEntity)

Load a minimal example of aastypes.IEntity from the test data directory.

If there is any error, panic.

func MustLoadMinimalEnvironment

func MustLoadMinimalEnvironment() (result aastypes.IEnvironment)

Load a minimal example of aastypes.IEnvironment from the test data directory.

If there is any error, panic.

func MustLoadMinimalEventPayload

func MustLoadMinimalEventPayload() (result aastypes.IEventPayload)

Load a minimal example of aastypes.IEventPayload from the test data directory.

If there is any error, panic.

func MustLoadMinimalExtension

func MustLoadMinimalExtension() (result aastypes.IExtension)

Load a minimal example of aastypes.IExtension from the test data directory.

If there is any error, panic.

func MustLoadMinimalFile

func MustLoadMinimalFile() (result aastypes.IFile)

Load a minimal example of aastypes.IFile from the test data directory.

If there is any error, panic.

func MustLoadMinimalKey

func MustLoadMinimalKey() (result aastypes.IKey)

Load a minimal example of aastypes.IKey from the test data directory.

If there is any error, panic.

func MustLoadMinimalLangStringDefinitionTypeIEC61360

func MustLoadMinimalLangStringDefinitionTypeIEC61360() (result aastypes.ILangStringDefinitionTypeIEC61360)

Load a minimal example of aastypes.ILangStringDefinitionTypeIEC61360 from the test data directory.

If there is any error, panic.

func MustLoadMinimalLangStringNameType

func MustLoadMinimalLangStringNameType() (result aastypes.ILangStringNameType)

Load a minimal example of aastypes.ILangStringNameType from the test data directory.

If there is any error, panic.

func MustLoadMinimalLangStringPreferredNameTypeIEC61360

func MustLoadMinimalLangStringPreferredNameTypeIEC61360() (result aastypes.ILangStringPreferredNameTypeIEC61360)

Load a minimal example of aastypes.ILangStringPreferredNameTypeIEC61360 from the test data directory.

If there is any error, panic.

func MustLoadMinimalLangStringShortNameTypeIEC61360

func MustLoadMinimalLangStringShortNameTypeIEC61360() (result aastypes.ILangStringShortNameTypeIEC61360)

Load a minimal example of aastypes.ILangStringShortNameTypeIEC61360 from the test data directory.

If there is any error, panic.

func MustLoadMinimalLangStringTextType

func MustLoadMinimalLangStringTextType() (result aastypes.ILangStringTextType)

Load a minimal example of aastypes.ILangStringTextType from the test data directory.

If there is any error, panic.

func MustLoadMinimalLevelType

func MustLoadMinimalLevelType() (result aastypes.ILevelType)

Load a minimal example of aastypes.ILevelType from the test data directory.

If there is any error, panic.

func MustLoadMinimalMultiLanguageProperty

func MustLoadMinimalMultiLanguageProperty() (result aastypes.IMultiLanguageProperty)

Load a minimal example of aastypes.IMultiLanguageProperty from the test data directory.

If there is any error, panic.

func MustLoadMinimalOperation

func MustLoadMinimalOperation() (result aastypes.IOperation)

Load a minimal example of aastypes.IOperation from the test data directory.

If there is any error, panic.

func MustLoadMinimalOperationVariable

func MustLoadMinimalOperationVariable() (result aastypes.IOperationVariable)

Load a minimal example of aastypes.IOperationVariable from the test data directory.

If there is any error, panic.

func MustLoadMinimalProperty

func MustLoadMinimalProperty() (result aastypes.IProperty)

Load a minimal example of aastypes.IProperty from the test data directory.

If there is any error, panic.

func MustLoadMinimalQualifier

func MustLoadMinimalQualifier() (result aastypes.IQualifier)

Load a minimal example of aastypes.IQualifier from the test data directory.

If there is any error, panic.

func MustLoadMinimalRange

func MustLoadMinimalRange() (result aastypes.IRange)

Load a minimal example of aastypes.IRange from the test data directory.

If there is any error, panic.

func MustLoadMinimalReference

func MustLoadMinimalReference() (result aastypes.IReference)

Load a minimal example of aastypes.IReference from the test data directory.

If there is any error, panic.

func MustLoadMinimalReferenceElement

func MustLoadMinimalReferenceElement() (result aastypes.IReferenceElement)

Load a minimal example of aastypes.IReferenceElement from the test data directory.

If there is any error, panic.

func MustLoadMinimalRelationshipElement

func MustLoadMinimalRelationshipElement() (result aastypes.IRelationshipElement)

Load a minimal example of aastypes.IRelationshipElement from the test data directory.

If there is any error, panic.

func MustLoadMinimalResource

func MustLoadMinimalResource() (result aastypes.IResource)

Load a minimal example of aastypes.IResource from the test data directory.

If there is any error, panic.

func MustLoadMinimalSpecificAssetID

func MustLoadMinimalSpecificAssetID() (result aastypes.ISpecificAssetID)

Load a minimal example of aastypes.ISpecificAssetID from the test data directory.

If there is any error, panic.

func MustLoadMinimalSubmodel

func MustLoadMinimalSubmodel() (result aastypes.ISubmodel)

Load a minimal example of aastypes.ISubmodel from the test data directory.

If there is any error, panic.

func MustLoadMinimalSubmodelElementCollection

func MustLoadMinimalSubmodelElementCollection() (result aastypes.ISubmodelElementCollection)

Load a minimal example of aastypes.ISubmodelElementCollection from the test data directory.

If there is any error, panic.

func MustLoadMinimalSubmodelElementList

func MustLoadMinimalSubmodelElementList() (result aastypes.ISubmodelElementList)

Load a minimal example of aastypes.ISubmodelElementList from the test data directory.

If there is any error, panic.

func MustLoadMinimalValueList

func MustLoadMinimalValueList() (result aastypes.IValueList)

Load a minimal example of aastypes.IValueList from the test data directory.

If there is any error, panic.

func MustLoadMinimalValueReferencePair

func MustLoadMinimalValueReferencePair() (result aastypes.IValueReferencePair)

Load a minimal example of aastypes.IValueReferencePair from the test data directory.

If there is any error, panic.

func MustReadJsonable

func MustReadJsonable(pth string) (jsonable interface{})

Read the content of `pth` and parse it as a JSON.

If any errors, panic.

func TraceMark

func TraceMark(that aastypes.IClass) string

Represent `that` instance as a human-readable line of an iteration trace.

Types

This section is empty.

Jump to

Keyboard shortcuts

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