Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-09-08 12:21:56 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-09-08 12:21:56 (GMT)
commitb8018bb889fc6921a6af8d6512f34cff387431a7 (patch)
treeab396b648017d04d1fb417ad98005a1784e20330 /tests
parent8d27527fd90eb686ec3b65d49d6f2e685106e16f (diff)
Add a test for icons
Diffstat (limited to 'tests')
-rw-r--r--tests/bots/LICENSE7
-rw-r--r--tests/bots/bots.activity2
-rw-r--r--tests/bots/bots.py18
-rw-r--r--tests/bots/chaitanya.jpgbin0 -> 1653 bytes
-rw-r--r--tests/bots/kiu.jpgbin0 -> 1364 bytes
-rw-r--r--tests/bots/penelope.jpgbin0 -> 1577 bytes
6 files changed, 27 insertions, 0 deletions
diff --git a/tests/bots/LICENSE b/tests/bots/LICENSE
new file mode 100644
index 0000000..e80f60b
--- /dev/null
+++ b/tests/bots/LICENSE
@@ -0,0 +1,7 @@
+This work is licensed under the Creative Commons Attribution 2.5 License. To view a copy of this license, visit http://creativecommons.org/licenses/by/2.5/ or send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.
+
+Attributions:
+
+chaitanya.jpg http://www.flickr.com/photos/meanestindian/166408558/
+penelope.jpg http://www.flickr.com/photos/gagah/9257515/
+kiu.jpg http://flickr.com/photos/31072589@N00/139234295/
diff --git a/tests/bots/bots.activity b/tests/bots/bots.activity
new file mode 100644
index 0000000..fe18e11
--- /dev/null
+++ b/tests/bots/bots.activity
@@ -0,0 +1,2 @@
+[Activity]
+python_class = bots
diff --git a/tests/bots/bots.py b/tests/bots/bots.py
new file mode 100644
index 0000000..68bc4e1
--- /dev/null
+++ b/tests/bots/bots.py
@@ -0,0 +1,18 @@
+import os
+
+import gtk
+
+from sugar.bots import Bot
+
+basedir = os.path.dirname(__file__)
+
+bot = Bot("Chaitanya", os.path.join(basedir, "chaitanya.jpg"))
+bot.start()
+
+bot = Bot("Kiu", os.path.join(basedir, "kiu.jpg"))
+bot.start()
+
+bot = Bot("Penelope", os.path.join(basedir, "penelope.jpg"))
+bot.start()
+
+gtk.main()
diff --git a/tests/bots/chaitanya.jpg b/tests/bots/chaitanya.jpg
new file mode 100644
index 0000000..aecaf81
--- /dev/null
+++ b/tests/bots/chaitanya.jpg
Binary files differ
diff --git a/tests/bots/kiu.jpg b/tests/bots/kiu.jpg
new file mode 100644
index 0000000..1beca11
--- /dev/null
+++ b/tests/bots/kiu.jpg
Binary files differ
diff --git a/tests/bots/penelope.jpg b/tests/bots/penelope.jpg
new file mode 100644
index 0000000..0d81097
--- /dev/null
+++ b/tests/bots/penelope.jpg
Binary files differ