Documentation ¶
Overview ¶
Package aastesting provides the functions and data structures shared across different tests.
Index ¶
- Variables
- func DeepEqual(that aastypes.IClass, other aastypes.IClass) bool
- func FindFilesBySuffixRecursively(root, suffix string) []string
- func MustFindAbstractLangString(container aastypes.IClass) (result aastypes.IAbstractLangString)
- func MustFindAdministrativeInformation(container aastypes.IClass) (result aastypes.IAdministrativeInformation)
- func MustFindAnnotatedRelationshipElement(container aastypes.IClass) (result aastypes.IAnnotatedRelationshipElement)
- func MustFindAssetAdministrationShell(container aastypes.IClass) (result aastypes.IAssetAdministrationShell)
- func MustFindAssetInformation(container aastypes.IClass) (result aastypes.IAssetInformation)
- func MustFindBasicEventElement(container aastypes.IClass) (result aastypes.IBasicEventElement)
- func MustFindBlob(container aastypes.IClass) (result aastypes.IBlob)
- func MustFindCapability(container aastypes.IClass) (result aastypes.ICapability)
- func MustFindConceptDescription(container aastypes.IClass) (result aastypes.IConceptDescription)
- func MustFindDataElement(container aastypes.IClass) (result aastypes.IDataElement)
- func MustFindDataSpecificationContent(container aastypes.IClass) (result aastypes.IDataSpecificationContent)
- func MustFindDataSpecificationIEC61360(container aastypes.IClass) (result aastypes.IDataSpecificationIEC61360)
- func MustFindEmbeddedDataSpecification(container aastypes.IClass) (result aastypes.IEmbeddedDataSpecification)
- func MustFindEntity(container aastypes.IClass) (result aastypes.IEntity)
- func MustFindEnvironment(container aastypes.IClass) (result aastypes.IEnvironment)
- func MustFindEventElement(container aastypes.IClass) (result aastypes.IEventElement)
- func MustFindEventPayload(container aastypes.IClass) (result aastypes.IEventPayload)
- func MustFindExtension(container aastypes.IClass) (result aastypes.IExtension)
- func MustFindFile(container aastypes.IClass) (result aastypes.IFile)
- func MustFindHasDataSpecification(container aastypes.IClass) (result aastypes.IHasDataSpecification)
- func MustFindHasExtensions(container aastypes.IClass) (result aastypes.IHasExtensions)
- func MustFindHasKind(container aastypes.IClass) (result aastypes.IHasKind)
- func MustFindHasSemantics(container aastypes.IClass) (result aastypes.IHasSemantics)
- func MustFindIdentifiable(container aastypes.IClass) (result aastypes.IIdentifiable)
- func MustFindKey(container aastypes.IClass) (result aastypes.IKey)
- func MustFindLangStringDefinitionTypeIEC61360(container aastypes.IClass) (result aastypes.ILangStringDefinitionTypeIEC61360)
- func MustFindLangStringNameType(container aastypes.IClass) (result aastypes.ILangStringNameType)
- func MustFindLangStringPreferredNameTypeIEC61360(container aastypes.IClass) (result aastypes.ILangStringPreferredNameTypeIEC61360)
- func MustFindLangStringShortNameTypeIEC61360(container aastypes.IClass) (result aastypes.ILangStringShortNameTypeIEC61360)
- func MustFindLangStringTextType(container aastypes.IClass) (result aastypes.ILangStringTextType)
- func MustFindLevelType(container aastypes.IClass) (result aastypes.ILevelType)
- func MustFindMultiLanguageProperty(container aastypes.IClass) (result aastypes.IMultiLanguageProperty)
- func MustFindOperation(container aastypes.IClass) (result aastypes.IOperation)
- func MustFindOperationVariable(container aastypes.IClass) (result aastypes.IOperationVariable)
- func MustFindProperty(container aastypes.IClass) (result aastypes.IProperty)
- func MustFindQualifiable(container aastypes.IClass) (result aastypes.IQualifiable)
- func MustFindQualifier(container aastypes.IClass) (result aastypes.IQualifier)
- func MustFindRange(container aastypes.IClass) (result aastypes.IRange)
- func MustFindReferable(container aastypes.IClass) (result aastypes.IReferable)
- func MustFindReference(container aastypes.IClass) (result aastypes.IReference)
- func MustFindReferenceElement(container aastypes.IClass) (result aastypes.IReferenceElement)
- func MustFindRelationshipElement(container aastypes.IClass) (result aastypes.IRelationshipElement)
- func MustFindResource(container aastypes.IClass) (result aastypes.IResource)
- func MustFindSpecificAssetID(container aastypes.IClass) (result aastypes.ISpecificAssetID)
- func MustFindSubmodel(container aastypes.IClass) (result aastypes.ISubmodel)
- func MustFindSubmodelElement(container aastypes.IClass) (result aastypes.ISubmodelElement)
- func MustFindSubmodelElementCollection(container aastypes.IClass) (result aastypes.ISubmodelElementCollection)
- func MustFindSubmodelElementList(container aastypes.IClass) (result aastypes.ISubmodelElementList)
- func MustFindValueList(container aastypes.IClass) (result aastypes.IValueList)
- func MustFindValueReferencePair(container aastypes.IClass) (result aastypes.IValueReferencePair)
- func MustLoadMaximalAdministrativeInformation() (result aastypes.IAdministrativeInformation)
- func MustLoadMaximalAnnotatedRelationshipElement() (result aastypes.IAnnotatedRelationshipElement)
- func MustLoadMaximalAssetAdministrationShell() (result aastypes.IAssetAdministrationShell)
- func MustLoadMaximalAssetInformation() (result aastypes.IAssetInformation)
- func MustLoadMaximalBasicEventElement() (result aastypes.IBasicEventElement)
- func MustLoadMaximalBlob() (result aastypes.IBlob)
- func MustLoadMaximalCapability() (result aastypes.ICapability)
- func MustLoadMaximalConceptDescription() (result aastypes.IConceptDescription)
- func MustLoadMaximalDataSpecificationIEC61360() (result aastypes.IDataSpecificationIEC61360)
- func MustLoadMaximalEmbeddedDataSpecification() (result aastypes.IEmbeddedDataSpecification)
- func MustLoadMaximalEntity() (result aastypes.IEntity)
- func MustLoadMaximalEnvironment() (result aastypes.IEnvironment)
- func MustLoadMaximalEventPayload() (result aastypes.IEventPayload)
- func MustLoadMaximalExtension() (result aastypes.IExtension)
- func MustLoadMaximalFile() (result aastypes.IFile)
- func MustLoadMaximalKey() (result aastypes.IKey)
- func MustLoadMaximalLangStringDefinitionTypeIEC61360() (result aastypes.ILangStringDefinitionTypeIEC61360)
- func MustLoadMaximalLangStringNameType() (result aastypes.ILangStringNameType)
- func MustLoadMaximalLangStringPreferredNameTypeIEC61360() (result aastypes.ILangStringPreferredNameTypeIEC61360)
- func MustLoadMaximalLangStringShortNameTypeIEC61360() (result aastypes.ILangStringShortNameTypeIEC61360)
- func MustLoadMaximalLangStringTextType() (result aastypes.ILangStringTextType)
- func MustLoadMaximalLevelType() (result aastypes.ILevelType)
- func MustLoadMaximalMultiLanguageProperty() (result aastypes.IMultiLanguageProperty)
- func MustLoadMaximalOperation() (result aastypes.IOperation)
- func MustLoadMaximalOperationVariable() (result aastypes.IOperationVariable)
- func MustLoadMaximalProperty() (result aastypes.IProperty)
- func MustLoadMaximalQualifier() (result aastypes.IQualifier)
- func MustLoadMaximalRange() (result aastypes.IRange)
- func MustLoadMaximalReference() (result aastypes.IReference)
- func MustLoadMaximalReferenceElement() (result aastypes.IReferenceElement)
- func MustLoadMaximalRelationshipElement() (result aastypes.IRelationshipElement)
- func MustLoadMaximalResource() (result aastypes.IResource)
- func MustLoadMaximalSpecificAssetID() (result aastypes.ISpecificAssetID)
- func MustLoadMaximalSubmodel() (result aastypes.ISubmodel)
- func MustLoadMaximalSubmodelElementCollection() (result aastypes.ISubmodelElementCollection)
- func MustLoadMaximalSubmodelElementList() (result aastypes.ISubmodelElementList)
- func MustLoadMaximalValueList() (result aastypes.IValueList)
- func MustLoadMaximalValueReferencePair() (result aastypes.IValueReferencePair)
- func MustLoadMinimalAdministrativeInformation() (result aastypes.IAdministrativeInformation)
- func MustLoadMinimalAnnotatedRelationshipElement() (result aastypes.IAnnotatedRelationshipElement)
- func MustLoadMinimalAssetAdministrationShell() (result aastypes.IAssetAdministrationShell)
- func MustLoadMinimalAssetInformation() (result aastypes.IAssetInformation)
- func MustLoadMinimalBasicEventElement() (result aastypes.IBasicEventElement)
- func MustLoadMinimalBlob() (result aastypes.IBlob)
- func MustLoadMinimalCapability() (result aastypes.ICapability)
- func MustLoadMinimalConceptDescription() (result aastypes.IConceptDescription)
- func MustLoadMinimalDataSpecificationIEC61360() (result aastypes.IDataSpecificationIEC61360)
- func MustLoadMinimalEmbeddedDataSpecification() (result aastypes.IEmbeddedDataSpecification)
- func MustLoadMinimalEntity() (result aastypes.IEntity)
- func MustLoadMinimalEnvironment() (result aastypes.IEnvironment)
- func MustLoadMinimalEventPayload() (result aastypes.IEventPayload)
- func MustLoadMinimalExtension() (result aastypes.IExtension)
- func MustLoadMinimalFile() (result aastypes.IFile)
- func MustLoadMinimalKey() (result aastypes.IKey)
- func MustLoadMinimalLangStringDefinitionTypeIEC61360() (result aastypes.ILangStringDefinitionTypeIEC61360)
- func MustLoadMinimalLangStringNameType() (result aastypes.ILangStringNameType)
- func MustLoadMinimalLangStringPreferredNameTypeIEC61360() (result aastypes.ILangStringPreferredNameTypeIEC61360)
- func MustLoadMinimalLangStringShortNameTypeIEC61360() (result aastypes.ILangStringShortNameTypeIEC61360)
- func MustLoadMinimalLangStringTextType() (result aastypes.ILangStringTextType)
- func MustLoadMinimalLevelType() (result aastypes.ILevelType)
- func MustLoadMinimalMultiLanguageProperty() (result aastypes.IMultiLanguageProperty)
- func MustLoadMinimalOperation() (result aastypes.IOperation)
- func MustLoadMinimalOperationVariable() (result aastypes.IOperationVariable)
- func MustLoadMinimalProperty() (result aastypes.IProperty)
- func MustLoadMinimalQualifier() (result aastypes.IQualifier)
- func MustLoadMinimalRange() (result aastypes.IRange)
- func MustLoadMinimalReference() (result aastypes.IReference)
- func MustLoadMinimalReferenceElement() (result aastypes.IReferenceElement)
- func MustLoadMinimalRelationshipElement() (result aastypes.IRelationshipElement)
- func MustLoadMinimalResource() (result aastypes.IResource)
- func MustLoadMinimalSpecificAssetID() (result aastypes.ISpecificAssetID)
- func MustLoadMinimalSubmodel() (result aastypes.ISubmodel)
- func MustLoadMinimalSubmodelElementCollection() (result aastypes.ISubmodelElementCollection)
- func MustLoadMinimalSubmodelElementList() (result aastypes.ISubmodelElementList)
- func MustLoadMinimalValueList() (result aastypes.IValueList)
- func MustLoadMinimalValueReferencePair() (result aastypes.IValueReferencePair)
- func MustReadJsonable(pth string) (jsonable interface{})
- func TraceMark(that aastypes.IClass) string
Constants ¶
This section is empty.
Variables ¶
var RecordMode = rM == "1" || strings.ToLower(rM) == "true" || strings.ToLower(rM) == "on"
var TestDataDir = getTestDataDir()
Functions ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
Load a maximal example of aastypes.IFile from the test data directory.
If there is any error, panic.
func MustLoadMaximalKey ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
Load a minimal example of aastypes.IFile from the test data directory.
If there is any error, panic.
func MustLoadMinimalKey ¶
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 ¶
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 ¶
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 ¶
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 ¶
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.
Types ¶
This section is empty.