Freedesktop test files.

SVN revision: 28215
devs/devilhorns/wayland_egl
ningerso 16 years ago committed by ningerso
parent 9e363d07e9
commit b76cc0e170
  1. 11
      legacy/efreet/src/bin/data/Makefile.am
  2. 3
      legacy/efreet/src/bin/data/long.ini
  3. 41
      legacy/efreet/src/bin/data/preferences.menu
  4. 5
      legacy/efreet/src/bin/data/sub/test.desktop
  5. 21
      legacy/efreet/src/bin/data/test.ini
  6. 52
      legacy/efreet/src/bin/data/test.menu

@ -0,0 +1,11 @@
SUBDIRS = sub
MAINTAINERCLEANFILES = Makefile.in
testdir = $(pkgdatadir)/test
test_DATA = \
test.ini \
long.ini \
test.desktop \
test.menu \
preferences.menu

File diff suppressed because one or more lines are too long

@ -0,0 +1,41 @@
<!DOCTYPE Menu PUBLIC
"-//freedesktop//DTD Menu 1.0//EN"
"http://www.freedesktop.org/standards/menu-spec/menu-1.0.dtd">
<Menu>
<Name>Preferences</Name>
<Directory>Preferences.directory</Directory>
<AppDir>blah</AppDir>
<AppDir>/var/tmp</AppDir>
<Move>
<Old>Blah</Old
<New>Borp</New>
</Move>
<Menu>
<Name>House</Name>
<Directory>House.directory</Directory>
<Include>
<Category>House</Category>
<Category>Garden</Category>
</Include>
</Menu>
<Menu>
<Name>Mouse</Name>
<Directory>House.directory</Directory>
<Include>
<Category>House</Category>
<Category>Garden</Category>
</Include>
</Menu>
<Menu>
<Name>House</Name>
<Directory>House.directory</Directory>
<Include>
<Category>Cat</Category>
</Include>
</Menu>
</Menu>

@ -0,0 +1,5 @@
[Desktop Entry]
Type=Application
Name=Sub
Exec=subtest
Categories=Test

@ -0,0 +1,21 @@
# Comments should be ignored (and empty lines)
[contact]
Name=Foo Bar
Name[en_US]=English Foo Bar
Email= foo@bar.com
Email[de_DE] = foo@bar.de
Age = 30
TrueBoolean=true
FalseBoolean=false
InvalidBoolean=invalid
Escaped=line1\nline2\r\nline3\ttabbed \\ with a backslash\sand\sspaces
[AIM]
Username=foobar
# the next line has a single space. it should be skipped as well
[Jabber]
Username=foobar@bar.de

@ -0,0 +1,52 @@
<!DOCTYPE Menu PUBLIC
"-//freedesktop//DTD Menu 1.0//EN"
"http://www.freedesktop.org/standards/menu-spec/menu-1.0.dtd">
<Menu>
<Name>Applications</Name>
<Directory>Applications.directory</Directory>
<DefaultAppDirs/>
<DefaultDirectoryDirs/>
<MergeDir>applications-merged</MergeDir>
<LegacyDir>/usr/share/applnk</LegacyDir>
<DefaultLayout>
<Merge type="menus"/>
<Merge type="files"/>
<Separator/>
<Menuname>More</Menuname>
</DefaultLayout>
<Move>
<Old>Foo</Old>
<New>Bar</New>
<Old>Foo2</Old>
<New>Bar2</New>
</Move>
<Menu>
<Name>Preferences</Name>
<Directory>Preferences.directory</Directory>
<MergeFile>preferences.menu</MergeFile>
</Menu>
<Menu>
<Name>Office</Name>
<Directory>Office.directory</Directory>
<Include>
<Category>Office</Category>
</Include>
<Exclude>
<Filename>foo.desktop</Filename>
<And>
<Not>
<Filename>bar.desktop</Filename>
</Not>
</And>
</Exclude>
</Menu>
</Menu>
Loading…
Cancel
Save