@@ -0,0 +1,1769 @@
+##%0A# Copyright (c) 2010 Apple Inc. All rights reserved.%0A#%0A# Licensed under the Apache License, Version 2.0 (the %22License%22);%0A# you may not use this file except in compliance with the License.%0A# You may obtain a copy of the License at%0A#%0A# http://www.apache.org/licenses/LICENSE-2.0%0A#%0A# Unless required by applicable law or agreed to in writing, software%0A# distributed under the License is distributed on an %22AS IS%22 BASIS,%0A# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A# See the License for the specific language governing permissions and%0A# limitations under the License.%0A##%0A%0A%22%22%22%0AProperty store tests.%0A%22%22%22%0A%0Afrom zope.interface.verify import verifyObject, BrokenMethodImplementation%0A%0Afrom twisted.trial import unittest%0A%0Afrom txdav.idav import IPropertyName%0Afrom txdav.propertystore.base import PropertyName%0A%0A%0Aclass PropertyNameTest(unittest.TestCase):%0A    def test_interface(self):%0A        name = PropertyName(%22http://calendarserver.org/%22, %22bleargh%22)%0A        try:%0A            verifyObject(IPropertyName, name)%0A        except BrokenMethodImplementation, e:%0A            self.fail(e)%0A%0A    def test_init(self):%0A        name = PropertyName(%22http://calendarserver.org/%22, %22bleargh%22)%0A%0A        self.assertEquals(name.namespace, %22http://calendarserver.org/%22)%0A        self.assertEquals(name.name, %22bleargh%22)%0A%0A    def test_fromString(self):%0A        name = PropertyName.fromString(%22%7Bhttp://calendarserver.org/%7Dbleargh%22)%0A%0A        self.assertEquals(name.namespace, %22http://calendarserver.org/%22)%0A        self.assertEquals(name.name, %22bleargh%22)%0A%0A    def test_toString(self):%0A        name = PropertyName(%22http://calendarserver.org/%22, %22bleargh%22)%0A%0A        self.assertEquals(%0A            name.toString(),%0A            %22%7Bhttp://calendarserver.org/%7Dbleargh%22%0A        )%0A

Add PropertyName tests.