예제 #1
0
 def test_isEndGenericMap_attribute(self):
     oLine = line.line('contents of Line')
     self.assertEqual(oLine.isEndGenericMap, False)
     oLine.isEndGenericMap = True
     self.assertEqual(oLine.isEndGenericMap, True)
예제 #2
0
 def test_instantiation_generic_assignment_attribute(self):
     oLine = line.line('contents of Line')
     self.assertEqual(oLine.isInstantiationGenericAssignment, False)
     oLine.isInstantiationGenericAssignment = True
     self.assertEqual(oLine.isInstantiationGenericAssignment, True)
예제 #3
0
 def test_commentColumn_attribute(self):
     oLine = line.line('contents of line')
     self.assertEqual(oLine.commentColumn, None)
     oLine.commentColumn = 20
     self.assertEqual(oLine.commentColumn, 20)
예제 #4
0
 def test_hasInlineComment_attribute(self):
     oLine = line.line('contents of line')
     self.assertFalse(oLine.hasInlineComment)
     oLine.hasInlineComment = True
     self.assertTrue(oLine.hasInlineComment)
예제 #5
0
 def test_inside_instantiation_generic_map_attribute(self):
     oLine = line.line('contents of Line')
     self.assertEqual(oLine.insideInstantiationGenericMap, False)
     oLine.insideInstantiationGenericMap = True
     self.assertEqual(oLine.insideInstantiationGenericMap, True)
예제 #6
0
 def test_inside_component_attribute(self):
     oLine = line.line('contents of Line')
     self.assertEqual(oLine.insideComponent, False)
     oLine.insideComponent = True
     self.assertEqual(oLine.insideComponent, True)
예제 #7
0
 def test_inside_instantiation_attribute(self):
     oLine = line.line('contents of Line')
     self.assertEqual(oLine.insideInstantiation, False)
     oLine.insideInstantiation = True
     self.assertEqual(oLine.insideInstantiation, True)
예제 #8
0
 def test_insideSensitivityList_attribute(self):
     oLine = line.line('contents of Line')
     self.assertEqual(oLine.insideSensitivityList, False)
     oLine.insideSensitivityList = True
     self.assertEqual(oLine.insideSensitivityList, True)
예제 #9
0
 def test_library_use_attribute(self):
     oLine = line.line('contents of line')
     self.assertFalse(oLine.isLibraryUse)
     oLine.isLibraryUse = True
     self.assertTrue(oLine.isLibraryUse)
예제 #10
0
 def test_isEndProcess_attribute(self):
     oLine = line.line('contents of Line')
     self.assertEqual(oLine.isEndProcess, False)
     oLine.isEndProcess = True
     self.assertEqual(oLine.isEndProcess, True)
예제 #11
0
 def test_isProcessDeclarative_attribute(self):
     oLine = line.line('contents of Line')
     self.assertEqual(oLine.isProcessDeclarative, False)
     oLine.isProcessDeclarative = True
     self.assertEqual(oLine.isProcessDeclarative, True)
예제 #12
0
 def test_isProcessLabel_attribute(self):
     oLine = line.line('contents of Line')
     self.assertEqual(oLine.isProcessLabel, False)
     oLine.isProcessLabel = True
     self.assertEqual(oLine.isProcessLabel, True)
예제 #13
0
 def test_isEndArchitecture_attribute(self):
     oLine = line.line('contents of Line')
     self.assertEqual(oLine.isEndArchitecture, False)
     oLine.isEndArchitecture = True
     self.assertEqual(oLine.isEndArchitecture, True)
예제 #14
0
 def test_isArchitectureBegin_attribute(self):
     oLine = line.line('contents of Line')
     self.assertEqual(oLine.isArchitectureBegin, False)
     oLine.isArchitectureBegin = True
     self.assertEqual(oLine.isArchitectureBegin, True)
예제 #15
0
 def test_isSequential_attribute(self):
     oLine = line.line('contents of Line')
     self.assertEqual(oLine.isSequential, False)
     oLine.isSequential = True
     self.assertEqual(oLine.isSequential, True)
예제 #16
0
 def test_isSensitivityListEnd_attribute(self):
     oLine = line.line('contents of Line')
     self.assertEqual(oLine.isSensitivityListEnd, False)
     oLine.isSensitivityListEnd = True
     self.assertEqual(oLine.isSensitivityListEnd, True)
예제 #17
0
 def test_sequentialAlignmentColumn_attribute(self):
     oLine = line.line('contents of Line')
     self.assertEqual(oLine.sequentialAlignmentColumn, None)
     oLine.sequentialAlignmentColumn = 32
     self.assertEqual(oLine.sequentialAlignmentColumn, 32)
예제 #18
0
 def test_isConcurrentBegin_attribute(self):
     oLine = line.line('contents of Line')
     self.assertEqual(oLine.isConcurrentBegin, False)
     oLine.isConcurrentBegin = True
     self.assertEqual(oLine.isConcurrentBegin, True)
예제 #19
0
 def test_end_component_declaration_attribute(self):
     oLine = line.line('contents of Line')
     self.assertEqual(oLine.isComponentEnd, False)
     oLine.isComponentEnd = True
     self.assertEqual(oLine.isComponentEnd, True)
예제 #20
0
 def test_isEndConcurrent_attribute(self):
     oLine = line.line('contents of Line')
     self.assertEqual(oLine.isEndConcurrent, False)
     oLine.isEndConcurrent = True
     self.assertEqual(oLine.isEndConcurrent, True)
예제 #21
0
 def test_Directinstantiation_declaration_attribute(self):
     oLine = line.line('contents of Line')
     self.assertEqual(oLine.isDirectInstantiationDeclaration, False)
     oLine.isDirectInstantiationDeclaration = True
     self.assertEqual(oLine.isDirectInstantiationDeclaration, True)
예제 #22
0
 def test_insideIf_attribute(self):
     oLine = line.line('contents of Line')
     self.assertEqual(oLine.insideIf, False)
     oLine.insideIf = True
     self.assertEqual(oLine.insideIf, True)
예제 #23
0
 def test_instantiation_port_keyword_attribute(self):
     oLine = line.line('contents of Line')
     self.assertEqual(oLine.isInstantiationPortKeyword, False)
     oLine.isInstantiationPortKeyword = True
     self.assertEqual(oLine.isInstantiationPortKeyword, True)
예제 #24
0
 def test_insideCaseWhen_attribute(self):
     oLine = line.line('contents of Line')
     self.assertEqual(oLine.insideCaseWhen, False)
     oLine.insideCaseWhen = True
     self.assertEqual(oLine.insideCaseWhen, True)
예제 #25
0
 def test_instantiation_generic_end_attribute(self):
     oLine = line.line('contents of Line')
     self.assertEqual(oLine.isInstantiationGenericEnd, False)
     oLine.isInstantiationGenericEnd = True
     self.assertEqual(oLine.isInstantiationGenericEnd, True)
예제 #26
0
 def test_isCaseIsKeyword_attribute(self):
     oLine = line.line('contents of Line')
     self.assertEqual(oLine.isCaseIsKeyword, False)
     oLine.isCaseIsKeyword = True
     self.assertEqual(oLine.isCaseIsKeyword, True)
예제 #27
0
 def test_isPackageEnd_attribute(self):
     oLine = line.line('contents of Line')
     self.assertEqual(oLine.isPackageEnd, False)
     oLine.isPackageEnd = True
     self.assertEqual(oLine.isPackageEnd, True)
예제 #28
0
 def test_isCaseNull_attribute(self):
     oLine = line.line('contents of Line')
     self.assertEqual(oLine.isCaseNull, False)
     oLine.isCaseNull = True
     self.assertEqual(oLine.isCaseNull, True)
예제 #29
0
 def test_inside_packageBody_attribute(self):
     oLine = line.line('contents of Line')
     self.assertEqual(oLine.insidePackageBody, False)
     oLine.insidePackageBody = True
     self.assertEqual(oLine.insidePackageBody, True)
예제 #30
0
 def test_generic_declaration_attribute(self):
     oLine = line.line('contents of Line')
     self.assertEqual(oLine.isGenericDeclaration, False)
     oLine.isGenericDeclaration = True
     self.assertEqual(oLine.isGenericDeclaration, True)