Commits

Burak Gürsoy committed 28b61b3

Split Netscape and Konqueror data.
Remove extras check if it's empty to simplify data files.

  • Participants
  • Parent commits aec0858

Comments (0)

Files changed (33)

 t/data/desktop/firefox/3x
 t/data/desktop/firefox/6x
 t/data/desktop/firefox/7x
+t/data/desktop/konqueror/1x
+t/data/desktop/konqueror/2x
 t/data/desktop/konqueror/3x
 t/data/desktop/konqueror/4x
 t/data/desktop/lunascape/1
 t/data/desktop/msie/6x
 t/data/desktop/msie/7x
 t/data/desktop/msie/8x
-t/data/desktop/netscape/1
+t/data/desktop/netscape/1x
+t/data/desktop/netscape/2x
+t/data/desktop/netscape/3x
+t/data/desktop/netscape/4x
+t/data/desktop/netscape/5x
+t/data/desktop/netscape/6x
+t/data/desktop/netscape/7x
 t/data/desktop/opera/03x
 t/data/desktop/opera/05x
 t/data/desktop/opera/06x

File t/02-parser.t

             grep { defined $got{$_} }
             keys %got;
 
+    # also get rid of empty lists
+    my @empty = grep {
+                    ref $got{$_} eq 'ARRAY' && @{ $got{$_} } == 0
+                } keys %got;
+    delete @got{ @empty };
+
     is_deeply(
         \%got,
         $test->{struct},

File t/data/desktop/firefox/1x

 
 'parser'           => 'firefox',
 'os'               => 'SnapPreviewBot',
-'extras'           => [],
 'version_raw'      => '1.5.0.9',
 'lang'             => 'en-US',
 'mozilla'          => ['1.8.0.9','1.008000009'],

File t/data/desktop/firefox/6x

 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0.2) Gecko/20100101 Firefox/6.0.2
 
 'os'          => 'Intel Mac OS X 10.6',
-'extras'      => [],
 'toolkit'     => ['Gecko','20100101','20100101.000'],
 'version_raw' => '6.0.2',
 'version'     => '6.000002',

File t/data/desktop/firefox/7x

 
 'parser'      => 'firefox',
 'os'          => 'Intel Mac OS X 10.6',
-'extras'      => [],
 'toolkit'     => ['Gecko','20100101','20100101.000'],
 'version_raw' => '7.0.1',
 'version'     => '7.000001',
 
 'parser'      => 'firefox',
 'os'          => 'Windows Vista / Server 2008',
-'extras'      => [],
 'toolkit'     => ['Gecko','20100101','20100101.000'],
 'version_raw' => '7.0.1',
 'version'     => '7.000001',

File t/data/desktop/konqueror/1x

+[AGENT]
+
+Konqueror/1.1.2
+
+'parser'           => 'generic_name_version',
+'version_raw'      => '1.1.2',
+'version'          => '1.001002',
+'name'             => 'Konqueror',
+'generic'          => 1

File t/data/desktop/konqueror/2x

+[AGENT]
+
+Mozilla/5.0 (compatible; Konqueror/2.2.2; Linux 2.4.18; X11; i686; en) LindowsOS (Lindows.com, Inc.)
+
+'parser'           => 'generic_compatible',
+'os'               => 'Linux 2.4.18',
+'extras'           => ['X11','i686','LindowsOS','Lindows.com, Inc.'],
+'version_raw'      => '2.2.2',
+'lang'             => 'en',
+'version'          => '2.002002',
+'name'             => 'Konqueror',
+'generic'          => 1

File t/data/desktop/konqueror/3x

 
 Mozilla/5.0 (compatible; Konqueror/3.1-rc6; i686 Linux; 20020607)
 
-extras      => [],
 generic     => 1,
 lang        => '20020607',
 name        => 'Konqueror',
 
 Mozilla/5.0 (compatible; Konqueror/3.0.0; Linux)
 
-extras      => [],
 generic     => 1,
 name        => 'Konqueror',
 os          => 'Linux',
 
 Mozilla/5.0 (compatible; Konqueror/3.0.0-10; Linux)
 
-extras      => [],
 generic     => 1,
 name        => 'Konqueror',
 os          => 'Linux',
 
 Mozilla/5.0 (compatible; Konqueror/3.0; i686 Linux; 20020423)
 
-extras      => [],
 generic     => 1,
 lang        => '20020423',
 name        => 'Konqueror',
 parser      => 'generic_compatible',
 version     => '3.500',
 version_raw => '3.5',
+
+[AGENT]
+
+Mozilla/5.0 (compatible; Konqueror/3; Linux 2.4.18-4GB; X11; i686; en_US)
+
+'parser'           => 'generic_compatible',
+'os'               => 'Linux 2.4.18-4GB',
+'extras'           => ['X11','i686'],
+'version_raw'      => '3',
+'lang'             => 'en_US',
+'version'          => '3.000',
+'name'             => 'Konqueror',
+'generic'          => 1
+
+[AGENT]
+
+Mozilla/5.0 (compatible; Konqueror/3; Linux)
+
+'parser'           => 'generic_compatible',
+'os'               => 'Linux',
+'version_raw'      => '3',
+'version'          => '3.000',
+'name'             => 'Konqueror',
+'generic'          => 1
+
+[AGENT]
+
+Mozilla/5.0 (compatible; Konqueror/3; Darwin)
+
+'parser'           => 'generic_compatible',
+'os'               => 'Darwin',
+'version_raw'      => '3',
+'version'          => '3.000',
+'name'             => 'Konqueror',
+'generic'          => 1

File t/data/desktop/maxthon/1x

 'original_name'    => 'Maxthon',
 'parser'           => 'maxthon',
 'os'               => 'Windows XP',
-'extras'           => [],
 'version_raw'      => '7.0',
 'version'          => '7.000',
 'name'             => 'MSIE',

File t/data/desktop/maxthon/2x

 'original_name'    => 'Maxthon',
 'parser'           => 'maxthon',
 'os'               => 'Windows Server 2003',
-'extras'           => [],
 'version_raw'      => '8.0',
 'version'          => '8.000',
 'name'             => 'MSIE',

File t/data/desktop/msie/3x

 
 'parser'           => 'msie',
 'os'               => 'Windows 95',
-'extras'           => [],
 'version_raw'      => '3.01',
 'version'          => '3.010',
 'name'             => 'MSIE',
 
 'parser'           => 'msie',
 'os'               => 'Windows NT',
-'extras'           => [],
 'version_raw'      => '3.01',
 'version'          => '3.010',
 'name'             => 'MSIE',
 
 'parser'           => 'msie',
 'os'               => 'Windows 3.1',
-'extras'           => [],
 'version_raw'      => '3.0',
 'version'          => '3.000',
 'name'             => 'MSIE',

File t/data/desktop/msie/4x

 
 'parser'           => 'msie',
 'os'               => 'Windows 95',
-'extras'           => [],
 'version_raw'      => '4.0',
 'version'          => '4.000',
 'name'             => 'MSIE',
 
 'parser'           => 'msie',
 'os'               => 'Windows 95',
-'extras'           => [],
 'version_raw'      => '4.0',
 'version'          => '4.000',
 'name'             => 'MSIE',
 
 'parser'           => 'msie',
 'os'               => 'Windows 95',
-'extras'           => [],
 'version_raw'      => '4.01',
 'version'          => '4.010',
 'name'             => 'MSIE',

File t/data/desktop/msie/5x

 
 'parser'           => 'msie',
 'os'               => 'Windows NT',
-'extras'           => [],
 'version_raw'      => '5.0',
 'version'          => '5.000',
 'name'             => 'MSIE',
 
 'parser'           => 'msie',
 'os'               => 'Windows NT',
-'extras'           => [],
 'version_raw'      => '5.0b2',
 'version'          => '5.000',
 'name'             => 'MSIE',
 
 'parser'           => 'msie',
 'os'               => 'Windows NT',
-'extras'           => [],
 'version_raw'      => '5.5',
 'version'          => '5.500',
 'name'             => 'MSIE',
 
 'parser'           => 'msie',
 'os'               => 'Windows 2000',
-'extras'           => [],
 'version_raw'      => '5.5',
 'version'          => '5.500',
 'name'             => 'MSIE',
 
 'parser'           => 'msie',
 'os'               => 'Win32',
-'extras'           => [],
 'version_raw'      => '5.0',
 'version'          => '5.000',
 'name'             => 'MSIE',
 
 'parser'           => 'msie',
 'os'               => 'Windows 2000',
-'extras'           => [],
 'version_raw'      => '5.0b1',
 'version'          => '5.000',
 'name'             => 'MSIE',
 Mozilla/4.0 (compatible; MSIE 5.0; Mac_PowerPC)
 
 'parser'           => 'msie',
-'extras'           => [],
 'os'               => 'Mac_PowerPC',
 'version_raw'      => '5.0',
 'version'          => '5.000',
 Mozilla/4.0 (compatible; MSIE 5.21; Mac_PowerPC)
 
 'parser'           => 'msie',
-'extras'           => [],
 'os'               => 'Mac_PowerPC',
 'version_raw'      => '5.21',
 'version'          => '5.210',
 Mozilla/4.0 (compatible; MSIE 5.22; Mac_PowerPC)
 
 'parser'           => 'msie',
-'extras'           => [],
 'os'               => 'Mac_PowerPC',
 'version_raw'      => '5.22',
 'version'          => '5.220',
 
 'parser'      => 'msie',
 'os'          => 'Windows NT 4.0',
-'extras'      => [],
 'version_raw' => '5.5',
 'version'     => '5.500',
 'name'        => 'MSIE',

File t/data/desktop/msie/6x

 
 'parser'           => 'msie',
 'os'               => 'Windows NT 4.0',
-'extras'           => [],
 'version_raw'      => '6.0',
 'version'          => '6.000',
 'name'             => 'MSIE',
 
 'parser'           => 'msie',
 'os'               => 'Windows 2000',
-'extras'           => [],
 'version_raw'      => '6.0',
 'version'          => '6.000',
 'name'             => 'MSIE',
 
 'parser'           => 'msie',
 'os'               => 'Windows XP',
-'extras'           => [],
 'version_raw'      => '6.0',
 'version'          => '6.000',
 'name'             => 'MSIE',
 
 'parser'           => 'msie',
 'os'               => 'Windows XP',
-'extras'           => [],
 'version_raw'      => '6.0',
 'version'          => '6.000',
 'name'             => 'MSIE',
 
 'parser'      => 'msie',
 'os'          => 'Windows 2000',
-'extras'      => [],
 'version_raw' => '6.0',
 'version'     => '6.000',
 'name'        => 'MSIE',

File t/data/desktop/msie/7x

 
 Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)
 
-extras      => [],
 name        => 'MSIE',
 os          => 'Windows XP',
 parser      => 'msie',

File t/data/desktop/msie/8x

 
 'parser'           => 'msie',
 'os'               => 'Windows Vista / Server 2008',
-'extras'           => [],
 'version_raw'      => '8.0',
 'version'          => '8.000',
 'name'             => 'MSIE',

File t/data/desktop/netscape/1

-[AGENT]
-
-Mozilla/2.02Gold (WinNT; I)
-
-'parser'           => 'netscape',
-'strength'         => 'I',
-'os'               => 'Windows NT',
-'extras'           => [],
-'version_raw'      => '2.02Gold',
-'version'          => '2.020',
-'name'             => 'Netscape'
-
-[AGENT]
-
-Mozilla/4.79 [en] (Win95; U)
-
-'parser'           => 'netscape',
-'strength'         => 'U',
-'os'               => 'Windows 95',
-'extras'           => [],
-'version_raw'      => '4.79',
-'lang'             => 'en',
-'version'          => '4.790',
-'name'             => 'Netscape'
-
-[AGENT]
-
-Mozilla/4.08 [en] (WinNT; I ;Nav)
-
-'parser'           => 'netscape',
-'os'               => 'Windows NT',
-'extras'           => ['Nav'],
-'version_raw'      => '4.08',
-'lang'             => 'en',
-'strength'         => 'I',
-'version'          => '4.080',
-'name'             => 'Netscape'
-
-[AGENT]
-
-Mozilla/4.8 (Macintosh; U; PPC)
-
-'parser'           => 'netscape',
-'strength'         => 'U',
-'os'               => 'Macintosh',
-'extras'           => ['PPC'],
-'version_raw'      => '4.8',
-'version'          => '4.800',
-'name'             => 'Netscape'
-
-[AGENT]
-
-Mozilla/4.79 [en] (X11; U; Linux 2.4.18-4GB i686)
-
-'parser'           => 'netscape',
-'strength'         => 'U',
-'os'               => 'Linux 2.4.18-4GB i686',
-'extras'           => ['X11'],
-'version_raw'      => '4.79',
-'lang'             => 'en',
-'version'          => '4.790',
-'name'             => 'Netscape'
-
-[AGENT]
-
-Mozilla/4.79 [en]C-CCK-MCD {SillyDog} (Windows NT 5.0; U)
-
-'parser'           => 'netscape',
-'strength'         => 'U',
-'os'               => 'Windows 2000',
-'extras'           => [],
-'version_raw'      => '4.79',
-'lang'             => 'en',
-'version'          => '4.790',
-'name'             => 'Netscape'
-
-[AGENT]
-
-Mozilla/1.1 (Windows 3.0; I)
-
-'parser'           => 'netscape',
-'strength'         => 'I',
-'os'               => 'Windows 3.0',
-'extras'           => [],
-'version_raw'      => '1.1',
-'version'          => '1.100',
-'name'             => 'Netscape'
-
-[AGENT]
-
-Mozilla/1.1 (Windows 3.1; I)
-
-'parser'           => 'netscape',
-'strength'         => 'I',
-'os'               => 'Windows 3.1',
-'extras'           => [],
-'version_raw'      => '1.1',
-'version'          => '1.100',
-'name'             => 'Netscape'
-
-[AGENT]
-
-Mozilla/2.0 (Win95; I)
-
-'parser'           => 'netscape',
-'strength'         => 'I',
-'os'               => 'Windows 95',
-'extras'           => [],
-'version_raw'      => '2.0',
-'version'          => '2.000',
-'name'             => 'Netscape'
-
-[AGENT]
-
-Mozilla/3.0 (Macintosh; I; PPC)
-
-'parser'           => 'netscape',
-'strength'         => 'I',
-'os'               => 'Macintosh',
-'extras'           => ['PPC'],
-'version_raw'      => '3.0',
-'version'          => '3.000',
-'name'             => 'Netscape'
-
-[AGENT]
-
-Mozilla/4.06 [en] (Win98; I ;Nav)
-
-'parser'           => 'netscape',
-'strength'         => 'I',
-'os'               => 'Windows 98',
-'extras'           => ['Nav'],
-'version_raw'      => '4.06',
-'lang'             => 'en',
-'version'          => '4.060',
-'name'             => 'Netscape'
-
-[AGENT]
-
-Mozilla/4.5 [en] (X11; I; FreeBSD 2.2.7-RELEASE i386)
-
-'parser'           => 'netscape',
-'strength'         => 'I',
-'os'               => 'FreeBSD 2.2.7-RELEASE i386',
-'extras'           => ['X11'],
-'version_raw'      => '4.5',
-'lang'             => 'en',
-'version'          => '4.500',
-'name'             => 'Netscape'
-
-[AGENT]
-
-Mozilla/3.03Gold (Win95; I)
-
-'parser'           => 'netscape',
-'strength'         => 'I',
-'os'               => 'Windows 95',
-'extras'           => [],
-'version_raw'      => '3.03Gold',
-'version'          => '3.030',
-'name'             => 'Netscape'
-
-[AGENT]
-
-Mozilla/9.876 (X11; U; Linux 2.2.12-20 i686, en) Gecko/25250101 Netscape/5.432b1 (C-MindSpring)
-
-'parser'           => 'mozilla_family:generic',
-'strength'         => 'U',
-'lang'             => 'en',
-'os'               => 'Linux 2.2.12-20 i686',
-'extras'           => ['X11','C-MindSpring'],
-'version_raw'      => '5.432b1',
-'version'          => '5.432',
-'name'             => 'Netscape',
-'toolkit'          => ['Gecko','25250101','25250101.000']
-
-[AGENT]
-
-Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (CK-SillyDog)
-
-'parser'           => 'mozilla_family:generic',
-'strength'         => 'U',
-'os'               => 'Windows XP',
-'extras'           => ['Windows','CK-SillyDog'],
-'version_raw'      => '7.0',
-'lang'             => 'en-US',
-'mozilla'          => [ '1.0.1','1.000001'],
-'version'          => '7.000',
-'name'             => 'Netscape',
-'toolkit'          => ['Gecko','20020823','20020823.000']
-
-[AGENT]
-
-Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 (CK-SillyDog)
-
-'parser'           => 'mozilla_family:generic',
-'strength'         => 'U',
-'os'               => 'Windows XP',
-'extras'           => ['Windows','CK-SillyDog'],
-'version_raw'      => '6.2.1',
-'lang'             => 'en-US',
-'mozilla'          => [ '0.9.4','0.009004'],
-'version'          => '6.002001',
-'name'             => 'Netscape',
-'toolkit'          => ['Gecko','20011128','20011128.000'],
-'original_name'    => 'Netscape6',
-
-[AGENT]
-
-Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
-
-'parser'           => 'mozilla_family:generic',
-'strength'         => 'U',
-'os'               => 'PPC Mac OS X',
-'extras'           => ['Macintosh'],
-'version_raw'      => '7.02',
-'lang'             => 'en-US',
-'mozilla'          => [ '1.0.2', '1.000002'],
-'version'          => '7.020',
-'name'             => 'Netscape',
-'toolkit'          => ['Gecko','20030208','20030208.000']
-
-[AGENT]
-
-Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1
-
-'parser'           => 'mozilla_family:generic',
-'strength'         => 'U',
-'os'               => 'Windows 98',
-'extras'           => ['Windows'],
-'version_raw'      => '6.1',
-'lang'             => 'en-US',
-'mozilla'          => [ '0.9.2','0.009002'],
-'version'          => '6.100',
-'name'             => 'Netscape',
-'toolkit'          => ['Gecko','20010726','20010726.000'],
-'original_name'    => 'Netscape6',
-
-[AGENT]
-
-Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3
-
-'parser'           => 'mozilla_family:generic',
-'strength'         => 'U',
-'os'               => 'Windows XP',
-'extras'           => ['Windows'],
-'version_raw'      => '6.2.3',
-'lang'             => 'en-US',
-'mozilla'          => [ '0.9.4.1','0.009004001'],
-'version'          => '6.002003',
-'name'             => 'Netscape',
-'toolkit'          => ['Gecko','20020508','20020508.000'],
-'original_name'    => 'Netscape6',
-
-[AGENT]
-
-Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
-
-'parser'           => 'mozilla_family:generic',
-'strength'         => 'U',
-'os'               => 'Linux i686',
-'extras'           => ['X11'],
-'version_raw'      => '7.0',
-'lang'             => 'en-US',
-'mozilla'          => [ '1.0.1','1.000001'],
-'version'          => '7.000',
-'name'             => 'Netscape',
-'toolkit'          => ['Gecko','20020823','20020823.000']
-
-[AGENT]
-
-Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
-
-'parser'           => 'mozilla_family:generic',
-'strength'         => 'U',
-'os'               => 'PPC',
-'extras'           => ['Macintosh'],
-'version_raw'      => '7.0',
-'lang'             => 'en-US',
-'mozilla'          => [ '1.0.1','1.000001'],
-'version'          => '7.000',
-'name'             => 'Netscape',
-'toolkit'          => ['Gecko','20020823','20020823.000']

File t/data/desktop/netscape/1x

+[AGENT]
+
+Mozilla/1.1 (Windows 3.0; I)
+
+'parser'           => 'netscape',
+'strength'         => 'I',
+'os'               => 'Windows 3.0',
+'version_raw'      => '1.1',
+'version'          => '1.100',
+'name'             => 'Netscape'
+
+[AGENT]
+
+Mozilla/1.1 (Windows 3.1; I)
+
+'parser'           => 'netscape',
+'strength'         => 'I',
+'os'               => 'Windows 3.1',
+'version_raw'      => '1.1',
+'version'          => '1.100',
+'name'             => 'Netscape'

File t/data/desktop/netscape/2x

+[AGENT]
+
+Mozilla/2.0 (Win95; I)
+
+'parser'           => 'netscape',
+'strength'         => 'I',
+'os'               => 'Windows 95',
+'version_raw'      => '2.0',
+'version'          => '2.000',
+'name'             => 'Netscape'
+
+[AGENT]
+
+Mozilla/2.02Gold (WinNT; I)
+
+'parser'           => 'netscape',
+'strength'         => 'I',
+'os'               => 'Windows NT',
+'version_raw'      => '2.02Gold',
+'version'          => '2.020',
+'name'             => 'Netscape'

File t/data/desktop/netscape/3x

+[AGENT]
+
+Mozilla/3.03Gold (Win95; I)
+
+'parser'           => 'netscape',
+'strength'         => 'I',
+'os'               => 'Windows 95',
+'version_raw'      => '3.03Gold',
+'version'          => '3.030',
+'name'             => 'Netscape'
+
+[AGENT]
+
+Mozilla/3.0 (Macintosh; I; PPC)
+
+'parser'           => 'netscape',
+'strength'         => 'I',
+'os'               => 'Macintosh',
+'extras'           => ['PPC'],
+'version_raw'      => '3.0',
+'version'          => '3.000',
+'name'             => 'Netscape'

File t/data/desktop/netscape/4x

+[AGENT]
+
+Mozilla/4.06 [en] (Win98; I ;Nav)
+
+'parser'           => 'netscape',
+'strength'         => 'I',
+'os'               => 'Windows 98',
+'extras'           => ['Nav'],
+'version_raw'      => '4.06',
+'lang'             => 'en',
+'version'          => '4.060',
+'name'             => 'Netscape'
+
+[AGENT]
+
+Mozilla/4.5 [en] (X11; I; FreeBSD 2.2.7-RELEASE i386)
+
+'parser'           => 'netscape',
+'strength'         => 'I',
+'os'               => 'FreeBSD 2.2.7-RELEASE i386',
+'extras'           => ['X11'],
+'version_raw'      => '4.5',
+'lang'             => 'en',
+'version'          => '4.500',
+'name'             => 'Netscape'
+
+[AGENT]
+
+Mozilla/4.79 [en] (Win95; U)
+
+'parser'           => 'netscape',
+'strength'         => 'U',
+'os'               => 'Windows 95',
+'version_raw'      => '4.79',
+'lang'             => 'en',
+'version'          => '4.790',
+'name'             => 'Netscape'
+
+[AGENT]
+
+Mozilla/4.08 [en] (WinNT; I ;Nav)
+
+'parser'           => 'netscape',
+'os'               => 'Windows NT',
+'extras'           => ['Nav'],
+'version_raw'      => '4.08',
+'lang'             => 'en',
+'strength'         => 'I',
+'version'          => '4.080',
+'name'             => 'Netscape'
+
+[AGENT]
+
+Mozilla/4.8 (Macintosh; U; PPC)
+
+'parser'           => 'netscape',
+'strength'         => 'U',
+'os'               => 'Macintosh',
+'extras'           => ['PPC'],
+'version_raw'      => '4.8',
+'version'          => '4.800',
+'name'             => 'Netscape'
+
+[AGENT]
+
+Mozilla/4.79 [en] (X11; U; Linux 2.4.18-4GB i686)
+
+'parser'           => 'netscape',
+'strength'         => 'U',
+'os'               => 'Linux 2.4.18-4GB i686',
+'extras'           => ['X11'],
+'version_raw'      => '4.79',
+'lang'             => 'en',
+'version'          => '4.790',
+'name'             => 'Netscape'
+
+[AGENT]
+
+Mozilla/4.79 [en]C-CCK-MCD {SillyDog} (Windows NT 5.0; U)
+
+'parser'           => 'netscape',
+'strength'         => 'U',
+'os'               => 'Windows 2000',
+'version_raw'      => '4.79',
+'lang'             => 'en',
+'version'          => '4.790',
+'name'             => 'Netscape'

File t/data/desktop/netscape/5x

+[AGENT]
+
+Mozilla/9.876 (X11; U; Linux 2.2.12-20 i686, en) Gecko/25250101 Netscape/5.432b1 (C-MindSpring)
+
+'parser'           => 'mozilla_family:generic',
+'strength'         => 'U',
+'lang'             => 'en',
+'os'               => 'Linux 2.2.12-20 i686',
+'extras'           => ['X11','C-MindSpring'],
+'version_raw'      => '5.432b1',
+'version'          => '5.432',
+'name'             => 'Netscape',
+'toolkit'          => ['Gecko','25250101','25250101.000']

File t/data/desktop/netscape/6x

+[AGENT]
+
+Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1
+
+'parser'           => 'mozilla_family:generic',
+'strength'         => 'U',
+'os'               => 'Windows 98',
+'extras'           => ['Windows'],
+'version_raw'      => '6.1',
+'lang'             => 'en-US',
+'mozilla'          => [ '0.9.2','0.009002'],
+'version'          => '6.100',
+'name'             => 'Netscape',
+'toolkit'          => ['Gecko','20010726','20010726.000'],
+'original_name'    => 'Netscape6',
+
+[AGENT]
+
+Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3
+
+'parser'           => 'mozilla_family:generic',
+'strength'         => 'U',
+'os'               => 'Windows XP',
+'extras'           => ['Windows'],
+'version_raw'      => '6.2.3',
+'lang'             => 'en-US',
+'mozilla'          => [ '0.9.4.1','0.009004001'],
+'version'          => '6.002003',
+'name'             => 'Netscape',
+'toolkit'          => ['Gecko','20020508','20020508.000'],
+'original_name'    => 'Netscape6',
+
+[AGENT]
+
+Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
+
+'parser'           => 'mozilla_family:generic',
+'strength'         => 'U',
+'os'               => 'PPC Mac OS X',
+'extras'           => ['Macintosh'],
+'version_raw'      => '7.02',
+'lang'             => 'en-US',
+'mozilla'          => [ '1.0.2', '1.000002'],
+'version'          => '7.020',
+'name'             => 'Netscape',
+'toolkit'          => ['Gecko','20030208','20030208.000']
+
+[AGENT]
+
+Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 (CK-SillyDog)
+
+'parser'           => 'mozilla_family:generic',
+'strength'         => 'U',
+'os'               => 'Windows XP',
+'extras'           => ['Windows','CK-SillyDog'],
+'version_raw'      => '6.2.1',
+'lang'             => 'en-US',
+'mozilla'          => [ '0.9.4','0.009004'],
+'version'          => '6.002001',
+'name'             => 'Netscape',
+'toolkit'          => ['Gecko','20011128','20011128.000'],
+'original_name'    => 'Netscape6',

File t/data/desktop/netscape/7x

+[AGENT]
+
+Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
+
+'parser'           => 'mozilla_family:generic',
+'strength'         => 'U',
+'os'               => 'Linux i686',
+'extras'           => ['X11'],
+'version_raw'      => '7.0',
+'lang'             => 'en-US',
+'mozilla'          => [ '1.0.1','1.000001'],
+'version'          => '7.000',
+'name'             => 'Netscape',
+'toolkit'          => ['Gecko','20020823','20020823.000']
+
+[AGENT]
+
+Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
+
+'parser'           => 'mozilla_family:generic',
+'strength'         => 'U',
+'os'               => 'PPC',
+'extras'           => ['Macintosh'],
+'version_raw'      => '7.0',
+'lang'             => 'en-US',
+'mozilla'          => [ '1.0.1','1.000001'],
+'version'          => '7.000',
+'name'             => 'Netscape',
+'toolkit'          => ['Gecko','20020823','20020823.000']
+
+[AGENT]
+
+Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (CK-SillyDog)
+
+'parser'           => 'mozilla_family:generic',
+'strength'         => 'U',
+'os'               => 'Windows XP',
+'extras'           => ['Windows','CK-SillyDog'],
+'version_raw'      => '7.0',
+'lang'             => 'en-US',
+'mozilla'          => [ '1.0.1','1.000001'],
+'version'          => '7.000',
+'name'             => 'Netscape',
+'toolkit'          => ['Gecko','20020823','20020823.000']

File t/data/desktop/opera/05x

 'parser'           => 'opera_pre',
 'strength'         => 'U',
 'os'               => 'EPOC',
-'extras'           => [],
 'version_raw'      => 'v5.12',
 'lang'             => 'en',
 'version'          => '5.012000',

File t/data/desktop/opera/06x

 'parser'           => 'opera_post',
 'strength'         => 'U',
 'os'               => 'Windows 98',
-'extras'           => [],
 'version_raw'      => '6.0',
 'lang'             => 'en',
 'version'          => '6.000',
 
 'parser'           => 'opera_post',
 'os'               => 'Windows XP',
-'extras'           => [],
 'version_raw'      => '6.05',
 'lang'             => 'en',
 'version'          => '6.050',
 'parser'           => 'opera_post',
 'strength'         => 'U',
 'os'               => 'Windows XP',
-'extras'           => [],
 'version_raw'      => '6.05',
 'lang'             => 'en',
 'version'          => '6.050',
 'parser'           => 'opera_post',
 'strength'         => 'U',
 'os'               => 'Windows XP',
-'extras'           => [],
 'version_raw'      => '6.05',
 'lang'             => 'en',
 'version'          => '6.050',
 'parser'           => 'opera_pre',
 'strength'         => 'U',
 'os'               => 'Windows XP',
-'extras'           => [],
 'version_raw'      => '6.05',
 'lang'             => 'en',
 'version'          => '6.050',
 'parser'           => 'opera_pre',
 'strength'         => 'U',
 'os'               => 'Linux 2.4.18-4GB i686',
-'extras'           => [],
 'version_raw'      => '6.03',
 'lang'             => 'en',
 'version'          => '6.030',

File t/data/desktop/opera/09x

 'parser'           => 'opera_pre',
 'strength'         => 'U',
 'os'               => 'Windows XP',
-'extras'           => [],
 'version_raw'      => '9.62',
 'lang'             => 'tr',
 'version'          => '9.620',
 'parser'           => 'opera_pre',
 'strength'         => 'U',
 'os'               => 'Windows Vista / Server 2008',
-'extras'           => [],
 'version_raw'      => '9.51',
 'lang'             => 'en',
 'version'          => '9.510',

File t/data/desktop/opera/10x

 parser      => 'opera_pre',
 strength    => 'U',
 os          => 'Windows Vista / Server 2008',
-extras      => [],
 toolkit     => [ 'Presto', '2.6.30', '2.006030' ],
 version_raw => '10.63',
 lang        => 'tr',

File t/data/desktop/opera/11x

 'parser'      => 'opera_pre',
 'strength'    => 'U',
 'os'          => 'Windows Vista / Server 2008',
-'extras'      => [],
 'toolkit'     => ['Presto','2.9.168','2.009168'],
 'version_raw' => '11.52',
 'lang'        => 'tr',

File t/data/mobile/opera/1

 'parser'           => 'opera_pre',
 'strength'         => 'U',
 'os'               => 'J2ME/MIDP',
-'extras'           => [],
 'version_raw'      => '9.60',
 'lang'             => 'en',
 'version'          => '9.600',

File t/data/robot/1

 Wget/1.4.5
 
 'parser'           => 'generic_name_version',
-'extras'           => [],
 'version_raw'      => '1.4.5',
 'version'          => '1.004005',
 'name'             => 'Wget',
 libwww-perl/5.11
 
 'parser'           => 'generic_name_version',
-'extras'           => [],
 'version_raw'      => '5.11',
 'version'          => '5.110',
 'name'             => 'libwww-perl',
 GetRight/3.2.1
 
 'parser'           => 'generic_name_version',
-'extras'           => [],
 'version_raw'      => '3.2.1',
 'version'          => '3.002001',
 'name'             => 'GetRight',
 version     => '1.006000_021',
 name        => 'Java',
 generic     => 1,
-extras      => [],
 
 [AGENT]
 

File t/data/various/1

-
-[AGENT]
-
-Mozilla/5.0 (compatible; Konqueror/3; Linux 2.4.18-4GB; X11; i686; en_US)
-
-'parser'           => 'generic_compatible',
-'os'               => 'Linux 2.4.18-4GB',
-'extras'           => ['X11','i686'],
-'version_raw'      => '3',
-'lang'             => 'en_US',
-'version'          => '3.000',
-'name'             => 'Konqueror',
-'generic'          => 1
-
-[AGENT]
-
-Mozilla/5.0 (compatible; Konqueror/3; Linux)
-
-'parser'           => 'generic_compatible',
-'os'               => 'Linux',
-'extras'           => [],
-'version_raw'      => '3',
-'version'          => '3.000',
-'name'             => 'Konqueror',
-'generic'          => 1
-
-[AGENT]
-
-Mozilla/5.0 (compatible; Konqueror/2.2.2; Linux 2.4.18; X11; i686; en) LindowsOS (Lindows.com, Inc.)
-
-'parser'           => 'generic_compatible',
-'os'               => 'Linux 2.4.18',
-'extras'           => ['X11','i686','LindowsOS','Lindows.com, Inc.'],
-'version_raw'      => '2.2.2',
-'lang'             => 'en',
-'version'          => '2.002002',
-'name'             => 'Konqueror',
-'generic'          => 1
-
-[AGENT]
-
-Mozilla/5.0 (compatible; Konqueror/3; Darwin)
-
-'parser'           => 'generic_compatible',
-'os'               => 'Darwin',
-'extras'           => [],
-'version_raw'      => '3',
-'version'          => '3.000',
-'name'             => 'Konqueror',
-'generic'          => 1
-
-[AGENT]
-
-Konqueror/1.1.2
-
-'parser'           => 'generic_name_version',
-'extras'           => [],
-'version_raw'      => '1.1.2',
-'version'          => '1.001002',
-'name'             => 'Konqueror',
-'generic'          => 1
-
 [AGENT]
 
 Links (0.96; Unix)
 
 'parser'           => 'generic_moz_thing',
 'os'               => 'Unix',
-'extras'           => [],
 'version_raw'      => '0.96',
 'version'          => '0.960',
 'name'             => 'Links',
 Mozilla/4.0 WebTV/2.6 (compatible; MSIE 4.0)
 
 'parser'           => 'moz_only',
-'extras'           => [],
 'version_raw'      => '2.6',
 'version'          => '2.600',
 'name'             => 'WebTV',
 UP.Browser/4.1.2a-XXXX
 
 'parser'           => 'generic_name_version',
-'extras'           => [],
 'version_raw'      => '4.1.2a-XXXX',
 'version'          => '4.001002',
 'name'             => 'UP.Browser',
 Wapalizer/1.0
 
 'parser'           => 'generic_name_version',
-'extras'           => [],
 'version_raw'      => '1.0',
 'version'          => '1.000',
 'name'             => 'Wapalizer',
 YourWap/1.16
 
 'parser'           => 'generic_name_version',
-'extras'           => [],
 'version_raw'      => '1.16',
 'version'          => '1.160',
 'name'             => 'YourWap',
 Nokia-WAP-Toolkit/1.3beta
 
 'parser'           => 'generic_name_version',
-'extras'           => [],
 'version_raw'      => '1.3beta',
 'version'          => '1.300',
 'name'             => 'Nokia-WAP-Toolkit',

File t/data/various/2

 
 'parser'           => 'generic_moz_thing',
 'os'               => 'AmigaOS/PPC',
-'extras'           => [],
 'version_raw'      => '3.3.50',
 'version'          => '3.003050',
 'name'             => 'AmigaVoyager',
 
 'parser'           => 'generic_compatible',
 'os'               => 'AmigaOS',
-'extras'           => [],
 'version_raw'      => 0,
 'name'             => 'AmigaVoyager',
 'generic'          => 1
 AvantGo 3.2 (compatible; AvantGo 3.2)
 
 'parser'           => 'generic_compatible',
-'extras'           => [],
 'version_raw'      => '3.2',
 'version'          => '3.200',
 'name'             => 'AvantGo',