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)
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)
def test_normalize(self): sut = JavaDeclaration("myblock") result = sut.normalize(['testuser/block/Myblock.java']) self.assertEquals(JavaDeclaration("testuser.block.Myblock"), result)
def test_normalize(self): sut = JavaDeclaration("myblock") result = sut.normalize(['testuser/block/Myblock.java']) self.assertEquals(JavaDeclaration("testuser.block.Myblock"), result)