コード例 #1
0
 def test_normalize_composed_import(self):
     sut = JavaDeclaration("biicode.common.edition.Parsing")
     result = sut.normalize(['biicode/common/edition/Parsing.java'])
     self.assertEquals(JavaDeclaration("biicode.common.edition.Parsing"),
                       result)
コード例 #2
0
 def test_normalize_composed_import(self):
     sut = JavaDeclaration("biicode.common.edition.Parsing")
     result = sut.normalize(['biicode/common/edition/Parsing.java'])
     self.assertEquals(JavaDeclaration("biicode.common.edition.Parsing"), result)
コード例 #3
0
 def test_normalize(self):
     sut = JavaDeclaration("myblock")
     result = sut.normalize(['testuser/block/Myblock.java'])
     self.assertEquals(JavaDeclaration("testuser.block.Myblock"), result)
コード例 #4
0
 def test_normalize(self):
     sut = JavaDeclaration("myblock")
     result = sut.normalize(['testuser/block/Myblock.java'])
     self.assertEquals(JavaDeclaration("testuser.block.Myblock"), result)