login-helper/Makefile
tests/dummyatk/Makefile
tests/cspi/Makefile
+ tests/data/Makefile
tests/pyatspi/Makefile
tests/pyatspi/pasytest/Makefile
tests/apps/Makefile
-SUBDIRS = dummyatk apps cspi pyatspi
+SUBDIRS = dummyatk apps data cspi pyatspi
#TESTS=testrunner.py
TESTS_ENVIRONMENT = PYTHONPATH=$(abs_top_srcdir)/python \
check_PROGRAMS = test-application
-check_LTLIBRARIES = libnoopapp.la libobjectapp.la libcomponentapp.la
+check_LTLIBRARIES = libnoopapp.la libaccessibleapp.la libcomponentapp.la
test_application_CFLAGS = $(DBUS_GLIB_CFLAGS) \
$(ATK_CFLAGS) \
libnoopapp_la_LIBADD = $(TEST_APP_LIBADD)
libnoopapp_la_SOURCES = noop-app.c
-libobjectapp_la_CFLAGS = $(TEST_APP_CFLAGS) $(LIB_XML_CFLAGS)
-libobjectapp_la_LDFLAGS = $(TEST_APP_LDFLAGS)
-libobjectapp_la_LIBADD = $(TEST_APP_LIBADD) $(LIB_XML_LIBS)
-libobjectapp_la_SOURCES = object-app.c atk-object-xml-loader.c atk-object-xml-loader.h
+libaccessibleapp_la_CFLAGS = $(TEST_APP_CFLAGS) $(LIB_XML_CFLAGS)
+libaccessibleapp_la_LDFLAGS = $(TEST_APP_LDFLAGS)
+libaccessibleapp_la_LIBADD = $(TEST_APP_LIBADD) $(LIB_XML_LIBS)
+libaccessibleapp_la_SOURCES = accessible-app.c atk-object-xml-loader.c atk-object-xml-loader.h
libcomponentapp_la_CFLAGS = $(TEST_APP_CFLAGS)
libcomponentapp_la_LDFLAGS = $(TEST_APP_LDFLAGS)
static AtkObject *root_accessible;
-#define OBJECT_TEST_1 "object-test-stage1.xml"
+#define OBJECT_TEST_1 "accessible-test.xml"
G_MODULE_EXPORT void
test_init (gchar *path)
--- /dev/null
+EXTRA_DIST = \
+ accessible-test.xml\
+ accessible-test-results.xml
def test_getAttributes(self, test):
- pass
+ root = self._cache.root
+ #TODO The AttributeSet test needs expanding. Check attributes are passed correctly.
+ attr = root.getAttributes()
def test_parent(self, test):
root = self._cache.root
"Expected LocalizedRoleName - \"%s\". Recieved - \"%s\"" % (ans, res,))
def test_getRelationSet(self, test):
- pass
+ root = self._cache.root
+ # Complete test of Relation interface is separate
+ rset = root.getRelationSet()
def test_getRole(self, test):
root = self._cache.root
answer = doc.toprettyxml()
correct = os.path.join(os.environ["TEST_DATA_DIRECTORY"],
- "object-test-stage1-results.xml")
+ "accessible-test-results.xml")
file = open(correct)
cstring = file.read()