public void ConnectorSubtype2Ref() { string objectAbsPath = "/@02_TestBenches/@Valid/@ConnectorSubtype2Ref"; Assert.True(File.Exists(this.mgaFile), "Failed to generate the mga."); var success = ElaboratorRunner.RunElaborator(mgaFile, objectAbsPath); Assert.True(success, "CyPhyElaborator should have succeeded, but did not."); }
public void DesignSpaceHasComponentAssemblyRefsMultiLevel() { string objectAbsPath = "/@03_DesignSpaces/@Valid/@HasComponentAssemblyRefsMultiLevel"; Assert.True(File.Exists(this.mgaFile), "Failed to generate the mga."); var success = ElaboratorRunner.RunElaborator(mgaFile, objectAbsPath); Assert.True(success, "CyPhyElaborator should have succeeded, but did not."); }
public void DesignSpaceContainsDerived() { string objectAbsPath = "/@03_DesignSpaces/@Valid/@ContainsDerived"; Assert.True(File.Exists(this.mgaFile), "Failed to generate the mga."); var success = ElaboratorRunner.RunElaborator(mgaFile, objectAbsPath); Assert.True(success, "CyPhyElaborator should have succeeded, but did not."); }
public void TestInjectionPointPointsToTheReferredComponentAssembly() { string objectAbsPath = "/@02_TestBenches/@Invalid/@TestInjectionPointPointsToTheReferredComponentAssembly"; Assert.True(File.Exists(this.mgaFile), "Failed to generate the mga."); var success = ElaboratorRunner.RunElaborator(mgaFile, objectAbsPath); Assert.False(success, "CyPhyElaborator should have failed, but did not."); }
public void DesignSpaceComponentRefPointsToComponentAndConnections() { string objectAbsPath = "/@03_DesignSpaces/@Valid/@ComponentRefPointsToComponentAndConnections"; Assert.True(File.Exists(this.mgaFile), "Failed to generate the mga."); var success = ElaboratorRunner.RunElaborator(mgaFile, objectAbsPath); Assert.True(success, "CyPhyElaborator should have succeeded, but did not."); }
public void TestBench() { string objectAbsPath = "/@TestBenches/@RollingWheel"; Assert.True(File.Exists(this.mgaFile), "Failed to generate the mga."); var success = ElaboratorRunner.RunElaborator(mgaFile, objectAbsPath); Assert.True(success, "CyPhyElaborator should have succeeded, but did not."); }
public void OneTestInjectionPointIsNotInTheSystem() { string objectAbsPath = "/@02_TestBenches/@Invalid/@OneTestInjectionPointIsNotInTheSystem"; Assert.True(File.Exists(this.mgaFile), "Failed to generate the mga."); var success = ElaboratorRunner.RunElaborator(mgaFile, objectAbsPath); Assert.False(success, "CyPhyElaborator should have failed, but did not."); }
public void DesignSpaceDC() { string objectAbsPath = "/@DesignSpace/@DC"; Assert.True(File.Exists(this.mgaFile), "Failed to generate the mga."); var success = ElaboratorRunner.RunElaborator(mgaFile, objectAbsPath); Assert.True(success, "CyPhyElaborator should have succeeded, but did not."); }
public void StructuralFEATestInjectionPointTest3() { string objectAbsPath = "/@02_TestBenches/@StructuralFEATestInjectionPointTest3"; Assert.True(File.Exists(this.mgaFile), "Failed to generate the mga."); var success = ElaboratorRunner.RunElaborator(mgaFile, objectAbsPath); Assert.True(success, "CyPhyElaborator should have succeeded, but did not."); }
public void SimpleHierarchy() { string objectAbsPath = "/@01_ComponentAssemblies/@Valid/@SimpleHierarchy"; Assert.True(File.Exists(this.mgaFile), "Failed to generate the mga."); var success = ElaboratorRunner.RunElaborator(mgaFile, objectAbsPath); Assert.True(success, "CyPhyElaborator should have succeeded, but did not."); }
public void CircularReferencesBetweenTrees() { string objectAbsPath = "/@01_ComponentAssemblies/@Invalid/@CircularReferencesBetweenTrees"; Assert.True(File.Exists(this.mgaFile), "Failed to generate the mga."); var success = ElaboratorRunner.RunElaborator(mgaFile, objectAbsPath); Assert.False(success, "CyPhyElaborator should have failed, but did not."); }
public void HasSubtypes() { string objectAbsPath = "/@01_ComponentAssemblies/@Valid/@ContainsDerivedArchetype"; Assert.True(File.Exists(this.mgaFile), "Failed to generate the mga."); var success = ElaboratorRunner.RunElaborator(mgaFile, objectAbsPath); Assert.True(success, "CyPhyElaborator should have succeeded, but did not."); }
public void InstanceGUIDWithComponentAssemblyRefOutsideOfTreeWhichHasOnlyComponents() { string objectAbsPath = "/@01_ComponentAssemblies/@01_InstanceGUIDTests/@InstanceGUIDWithComponentAssemblyRefOutsideOfTreeWhichHasOnlyComponents"; Assert.True(File.Exists(this.mgaFile), "Failed to generate the mga."); var success = ElaboratorRunner.RunElaborator(mgaFile, objectAbsPath); Assert.True(success, "CyPhyElaborator should have succeeded, but did not."); }
public void LibraryComponentAssembly() { string objectAbsPath = "/@_Lib_/@CAWheel/@Wheel"; Assert.True(File.Exists(this.mgaFile), "Failed to generate the mga."); var success = ElaboratorRunner.RunElaborator(mgaFile, objectAbsPath); Assert.False(success, "CyPhyElaborator should have failed, but did not."); }
public void DesignSpaceWithinTheTree() { string objectAbsPath = "/@03_DesignSpaces/@Invalid/@WithinTheTree"; Assert.True(File.Exists(this.mgaFile), "Failed to generate the mga."); var success = ElaboratorRunner.RunElaborator(mgaFile, objectAbsPath); Assert.False(success, "CyPhyElaborator should have failed, but did not."); }
public void NullReferenceTestInjectionPoint() { string objectAbsPath = "/@02_TestBenches/@Valid/@NullReferenceTestInjectionPoint"; Assert.True(File.Exists(this.mgaFile), "Failed to generate the mga."); var success = ElaboratorRunner.RunElaborator(mgaFile, objectAbsPath); Assert.True(success, "CyPhyElaborator should have succeeded, but did not."); }
public void RefersToSingle() { string objectAbsPath = "/@TestBenches/@BallisticCriticalComponent/@RefersToSingle"; Assert.True(File.Exists(this.mgaFile), "Failed to generate the mga."); var success = ElaboratorRunner.RunElaborator(mgaFile, objectAbsPath); Assert.True(success, "CyPhyElaborator should have succeeded, but did not."); }
public void InstanceGUIDComponentReferenceChain() { string objectAbsPath = "/@01_ComponentAssemblies/@01_InstanceGUIDTests/@InstanceGUIDComponentReferenceChain"; Assert.True(File.Exists(this.mgaFile), "Failed to generate the mga."); // check context var success = ElaboratorRunner.RunElaborator(mgaFile, objectAbsPath); Assert.True(success, "CyPhyElaborator should have succeeded, but did not."); }