Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Geyer <debfx@fobos.de>2011-11-20 14:10:01 +0400
committerFelix Geyer <debfx@fobos.de>2011-11-20 14:10:01 +0400
commite5bba149941add3a5a3238ed338a3f64be20c4f7 (patch)
treeea51fbb67d97579dbb8afe10aa2fa6d6ea7bf34b /tests/data
parent9e56b33190d559c122f5b5312ae49b70c4a12da2 (diff)
Move test data files into an own subdirectory.
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/Compressed.kdbxbin0 -> 1870 bytes
-rw-r--r--tests/data/NewDatabase.kdbxbin0 -> 8350 bytes
-rw-r--r--tests/data/NewDatabase.xml455
-rw-r--r--tests/data/NonAscii.kdbxbin0 -> 2574 bytes
-rw-r--r--tests/data/ProtectedStrings.kdbxbin0 -> 1950 bytes
5 files changed, 455 insertions, 0 deletions
diff --git a/tests/data/Compressed.kdbx b/tests/data/Compressed.kdbx
new file mode 100644
index 000000000..fd3108b93
--- /dev/null
+++ b/tests/data/Compressed.kdbx
Binary files differ
diff --git a/tests/data/NewDatabase.kdbx b/tests/data/NewDatabase.kdbx
new file mode 100644
index 000000000..4e77724c7
--- /dev/null
+++ b/tests/data/NewDatabase.kdbx
Binary files differ
diff --git a/tests/data/NewDatabase.xml b/tests/data/NewDatabase.xml
new file mode 100644
index 000000000..26b245f24
--- /dev/null
+++ b/tests/data/NewDatabase.xml
@@ -0,0 +1,455 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes"?>
+<KeePassFile>
+ <Meta>
+ <Generator>KeePass</Generator>
+ <DatabaseName>ANAME</DatabaseName>
+ <DatabaseNameChanged>2010-08-08T17:24:53Z</DatabaseNameChanged>
+ <DatabaseDescription>ADESC</DatabaseDescription>
+ <DatabaseDescriptionChanged>2010-08-08T17:27:12Z</DatabaseDescriptionChanged>
+ <DefaultUserName>DEFUSERNAME</DefaultUserName>
+ <DefaultUserNameChanged>2010-08-08T17:27:45Z</DefaultUserNameChanged>
+ <MaintenanceHistoryDays>127</MaintenanceHistoryDays>
+ <MemoryProtection>
+ <ProtectTitle>False</ProtectTitle>
+ <ProtectUserName>True</ProtectUserName>
+ <ProtectPassword>False</ProtectPassword>
+ <ProtectURL>True</ProtectURL>
+ <ProtectNotes>False</ProtectNotes>
+ <AutoEnableVisualHiding>False</AutoEnableVisualHiding>
+ </MemoryProtection>
+ <CustomIcons>
+ <Icon>
+ <UUID>++vyI+daLk6omox4a6kQGA==</UUID>
+ <Data>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAACZJREFUOE9jbGBo+M9ACQAZQAlmoEQz2PWjBoyGwWg6AGdCivMCAKxN4SAQ+6S+AAAAAElFTkSuQmCC</Data>
+ </Icon>
+ </CustomIcons>
+ <RecycleBinEnabled>True</RecycleBinEnabled>
+ <RecycleBinUUID>6w7wZdhAp0qVlXjkemuCYw==</RecycleBinUUID>
+ <RecycleBinChanged>2010-08-25T16:12:57Z</RecycleBinChanged>
+ <EntryTemplatesGroup>AAAAAAAAAAAAAAAAAAAAAA==</EntryTemplatesGroup>
+ <EntryTemplatesGroupChanged>2010-08-08T17:24:19Z</EntryTemplatesGroupChanged>
+ <LastSelectedGroup>lmU+9n0aeESKZvcEze+bRg==</LastSelectedGroup>
+ <LastTopVisibleGroup>lmU+9n0aeESKZvcEze+bRg==</LastTopVisibleGroup>
+ <CustomData>
+ <Item>
+ <Key>A Sample Test Key</Key>
+ <Value>valu</Value>
+ </Item>
+ <Item>
+ <Key>custom key</Key>
+ <Value>blub</Value>
+ </Item>
+ </CustomData>
+ </Meta>
+ <Root>
+ <Group>
+ <UUID>lmU+9n0aeESKZvcEze+bRg==</UUID>
+ <Name>NewDatabase</Name>
+ <Notes />
+ <IconID>49</IconID>
+ <Times>
+ <LastModificationTime>2010-08-08T17:24:27Z</LastModificationTime>
+ <CreationTime>2010-08-07T17:24:27Z</CreationTime>
+ <LastAccessTime>2010-08-09T09:09:44Z</LastAccessTime>
+ <ExpiryTime>2010-08-08T17:24:17Z</ExpiryTime>
+ <Expires>False</Expires>
+ <UsageCount>52</UsageCount>
+ <LocationChanged>2010-08-08T17:24:27Z</LocationChanged>
+ </Times>
+ <IsExpanded>True</IsExpanded>
+ <DefaultAutoTypeSequence />
+ <EnableAutoType>null</EnableAutoType>
+ <EnableSearching>null</EnableSearching>
+ <LastTopVisibleEntry>+wSUOv6qf0OzW8/ZHAs2sA==</LastTopVisibleEntry>
+ <Entry>
+ <UUID>+wSUOv6qf0OzW8/ZHAs2sA==</UUID>
+ <IconID>0</IconID>
+ <ForegroundColor />
+ <BackgroundColor />
+ <OverrideURL />
+ <Times>
+ <LastModificationTime>2010-08-25T16:19:25Z</LastModificationTime>
+ <CreationTime>2010-08-25T16:13:54Z</CreationTime>
+ <LastAccessTime>2010-08-25T16:19:25Z</LastAccessTime>
+ <ExpiryTime>2010-08-25T16:12:57Z</ExpiryTime>
+ <Expires>False</Expires>
+ <UsageCount>8</UsageCount>
+ <LocationChanged>2010-08-25T16:13:54Z</LocationChanged>
+ </Times>
+ <String>
+ <Key>Notes</Key>
+ <Value>Notes</Value>
+ </String>
+ <String>
+ <Key>Password</Key>
+ <Value>Password</Value>
+ </String>
+ <String>
+ <Key>Title</Key>
+ <Value>Sample Entry 1</Value>
+ </String>
+ <String>
+ <Key>URL</Key>
+ <Value />
+ </String>
+ <String>
+ <Key>UserName</Key>
+ <Value>User Name</Value>
+ </String>
+ <AutoType>
+ <Enabled>False</Enabled>
+ <DataTransferObfuscation>0</DataTransferObfuscation>
+ <Association>
+ <Window>Target Window</Window>
+ <KeystrokeSequence />
+ </Association>
+ </AutoType>
+ <History>
+ <Entry>
+ <UUID>+wSUOv6qf0OzW8/ZHAs2sA==</UUID>
+ <IconID>0</IconID>
+ <ForegroundColor />
+ <BackgroundColor />
+ <OverrideURL />
+ <Times>
+ <LastModificationTime>2010-08-25T16:13:54Z</LastModificationTime>
+ <CreationTime>2010-08-25T16:13:54Z</CreationTime>
+ <LastAccessTime>2010-08-25T16:15:37Z</LastAccessTime>
+ <ExpiryTime>2010-08-25T16:12:57Z</ExpiryTime>
+ <Expires>False</Expires>
+ <UsageCount>3</UsageCount>
+ <LocationChanged>2010-08-25T16:13:54Z</LocationChanged>
+ </Times>
+ <String>
+ <Key>Notes</Key>
+ <Value>Notes</Value>
+ </String>
+ <String>
+ <Key>Password</Key>
+ <Value>Password</Value>
+ </String>
+ <String>
+ <Key>Title</Key>
+ <Value>Sample Entry</Value>
+ </String>
+ <String>
+ <Key>URL</Key>
+ <Value>http://www.somesite.com/</Value>
+ </String>
+ <String>
+ <Key>UserName</Key>
+ <Value>User Name</Value>
+ </String>
+ <AutoType>
+ <Enabled>True</Enabled>
+ <DataTransferObfuscation>0</DataTransferObfuscation>
+ <Association>
+ <Window>Target Window</Window>
+ <KeystrokeSequence>{USERNAME}{TAB}{PASSWORD}{TAB}{ENTER}</KeystrokeSequence>
+ </Association>
+ </AutoType>
+ </Entry>
+ <Entry>
+ <UUID>+wSUOv6qf0OzW8/ZHAs2sA==</UUID>
+ <IconID>0</IconID>
+ <ForegroundColor />
+ <BackgroundColor />
+ <OverrideURL />
+ <Times>
+ <LastModificationTime>2010-08-25T16:15:43Z</LastModificationTime>
+ <CreationTime>2010-08-25T16:13:54Z</CreationTime>
+ <LastAccessTime>2010-08-25T16:18:40Z</LastAccessTime>
+ <ExpiryTime>2010-08-25T16:12:57Z</ExpiryTime>
+ <Expires>False</Expires>
+ <UsageCount>7</UsageCount>
+ <LocationChanged>2010-08-25T16:13:54Z</LocationChanged>
+ </Times>
+ <String>
+ <Key>Notes</Key>
+ <Value>Notes</Value>
+ </String>
+ <String>
+ <Key>Password</Key>
+ <Value>Password</Value>
+ </String>
+ <String>
+ <Key>Title</Key>
+ <Value>Sample Entry 1</Value>
+ </String>
+ <String>
+ <Key>URL</Key>
+ <Value>http://www.somesite.com/</Value>
+ </String>
+ <String>
+ <Key>UserName</Key>
+ <Value>User Name</Value>
+ </String>
+ <AutoType>
+ <Enabled>True</Enabled>
+ <DataTransferObfuscation>0</DataTransferObfuscation>
+ <Association>
+ <Window>Target Window</Window>
+ <KeystrokeSequence>{USERNAME}{TAB}{PASSWORD}{TAB}{ENTER}</KeystrokeSequence>
+ </Association>
+ </AutoType>
+ </Entry>
+ </History>
+ </Entry>
+ <Entry>
+ <UUID>4jbADG37hkiLh2O0qUdaOQ==</UUID>
+ <IconID>0</IconID>
+ <CustomIconUUID>++vyI+daLk6omox4a6kQGA==</CustomIconUUID>
+ <ForegroundColor>#FF0000</ForegroundColor>
+ <BackgroundColor>#FFFF00</BackgroundColor>
+ <OverrideURL>http://override.net/</OverrideURL>
+ <Times>
+ <LastModificationTime>2010-08-25T16:20:24Z</LastModificationTime>
+ <CreationTime>2010-08-25T16:15:45Z</CreationTime>
+ <LastAccessTime>2010-08-25T16:20:24Z</LastAccessTime>
+ <ExpiryTime>2010-09-01T16:16:20Z</ExpiryTime>
+ <Expires>True</Expires>
+ <UsageCount>7</UsageCount>
+ <LocationChanged>2010-08-25T16:15:45Z</LocationChanged>
+ </Times>
+ <String>
+ <Key>CustomString</Key>
+ <Value>isavalue</Value>
+ </String>
+ <String>
+ <Key>Notes</Key>
+ <Value />
+ </String>
+ <String>
+ <Key>Password</Key>
+ <Value>Jer60Hz8o9XHvxBGcRqT</Value>
+ </String>
+ <String>
+ <Key>Protected String</Key>
+ <Value>y</Value>
+ </String>
+ <String>
+ <Key>Title</Key>
+ <Value>Sample Entry 2</Value>
+ </String>
+ <String>
+ <Key>URL</Key>
+ <Value>http://www.keepassx.org/</Value>
+ </String>
+ <String>
+ <Key>UserName</Key>
+ <Value>notDEFUSERNAME</Value>
+ </String>
+ <Binary>
+ <Key>testattach.txt</Key>
+ <Value>NDI=</Value>
+ </Binary>
+ <AutoType>
+ <Enabled>True</Enabled>
+ <DataTransferObfuscation>1</DataTransferObfuscation>
+ <DefaultSequence>{USERNAME}{TAB}{PASSWORD}{ENTER}</DefaultSequence>
+ <Association>
+ <Window>Target Window</Window>
+ <KeystrokeSequence>{Title}{UserName}</KeystrokeSequence>
+ </Association>
+ <Association>
+ <Window>Target Window 2</Window>
+ <KeystrokeSequence>{Title}{UserName} test</KeystrokeSequence>
+ </Association>
+ </AutoType>
+ <History />
+ </Entry>
+ <Group>
+ <UUID>AaUYVdXsI02h4T1RiAlgtg==</UUID>
+ <Name>General</Name>
+ <Notes>Group Notez</Notes>
+ <IconID>48</IconID>
+ <Times>
+ <LastModificationTime>2010-08-25T16:22:20Z</LastModificationTime>
+ <CreationTime>2010-08-25T16:13:54Z</CreationTime>
+ <LastAccessTime>2010-08-25T16:22:29Z</LastAccessTime>
+ <ExpiryTime>2010-08-20T16:21:51Z</ExpiryTime>
+ <Expires>True</Expires>
+ <UsageCount>12</UsageCount>
+ <LocationChanged>2010-08-25T16:13:54Z</LocationChanged>
+ </Times>
+ <IsExpanded>True</IsExpanded>
+ <DefaultAutoTypeSequence>{Password}{ENTER}</DefaultAutoTypeSequence>
+ <EnableAutoType>true</EnableAutoType>
+ <EnableSearching>false</EnableSearching>
+ <LastTopVisibleEntry>AAAAAAAAAAAAAAAAAAAAAA==</LastTopVisibleEntry>
+ </Group>
+ <Group>
+ <UUID>1h4NtL5DK0yVyvaEnN//4A==</UUID>
+ <Name>Windows</Name>
+ <Notes />
+ <IconID>38</IconID>
+ <Times>
+ <LastModificationTime>2010-08-25T16:13:54Z</LastModificationTime>
+ <CreationTime>2010-08-25T16:13:54Z</CreationTime>
+ <LastAccessTime>2010-08-25T16:22:24Z</LastAccessTime>
+ <ExpiryTime>2010-08-25T16:12:57Z</ExpiryTime>
+ <Expires>False</Expires>
+ <UsageCount>15</UsageCount>
+ <LocationChanged>2010-08-25T16:13:54Z</LocationChanged>
+ </Times>
+ <IsExpanded>False</IsExpanded>
+ <DefaultAutoTypeSequence />
+ <EnableAutoType>null</EnableAutoType>
+ <EnableSearching>null</EnableSearching>
+ <LastTopVisibleEntry>AAAAAAAAAAAAAAAAAAAAAA==</LastTopVisibleEntry>
+ <Group>
+ <UUID>HoYE/BjLfUSW257pCHJ/eA==</UUID>
+ <Name>Subsub</Name>
+ <Notes />
+ <IconID>68</IconID>
+ <Times>
+ <LastModificationTime>2010-08-25T16:21:33Z</LastModificationTime>
+ <CreationTime>2010-08-25T16:14:31Z</CreationTime>
+ <LastAccessTime>2010-08-25T16:21:41Z</LastAccessTime>
+ <ExpiryTime>2010-08-25T16:21:21Z</ExpiryTime>
+ <Expires>False</Expires>
+ <UsageCount>8</UsageCount>
+ <LocationChanged>2010-08-25T16:14:31Z</LocationChanged>
+ </Times>
+ <IsExpanded>True</IsExpanded>
+ <DefaultAutoTypeSequence />
+ <EnableAutoType>null</EnableAutoType>
+ <EnableSearching>null</EnableSearching>
+ <LastTopVisibleEntry>AAAAAAAAAAAAAAAAAAAAAA==</LastTopVisibleEntry>
+ <Entry>
+ <UUID>GZpdQvGXOU2kaKRL/IVAGg==</UUID>
+ <IconID>0</IconID>
+ <ForegroundColor />
+ <BackgroundColor />
+ <OverrideURL />
+ <Times>
+ <LastModificationTime>2010-08-25T16:21:15Z</LastModificationTime>
+ <CreationTime>2010-08-25T16:20:45Z</CreationTime>
+ <LastAccessTime>2010-08-25T16:21:41Z</LastAccessTime>
+ <ExpiryTime>2010-08-25T16:12:57Z</ExpiryTime>
+ <Expires>False</Expires>
+ <UsageCount>3</UsageCount>
+ <LocationChanged>2010-08-25T16:20:45Z</LocationChanged>
+ </Times>
+ <String>
+ <Key>Notes</Key>
+ <Value />
+ </String>
+ <String>
+ <Key>Password</Key>
+ <Value />
+ </String>
+ <String>
+ <Key>Title</Key>
+ <Value>Subsub Entry</Value>
+ </String>
+ <String>
+ <Key>URL</Key>
+ <Value />
+ </String>
+ <String>
+ <Key>UserName</Key>
+ <Value />
+ </String>
+ <AutoType>
+ <Enabled>True</Enabled>
+ <DataTransferObfuscation>0</DataTransferObfuscation>
+ </AutoType>
+ <History />
+ </Entry>
+ </Group>
+ </Group>
+ <Group>
+ <UUID>6w7wZdhAp0qVlXjkemuCYw==</UUID>
+ <Name>Recycle Bin</Name>
+ <Notes />
+ <IconID>43</IconID>
+ <Times>
+ <LastModificationTime>2010-08-25T16:13:57Z</LastModificationTime>
+ <CreationTime>2010-08-25T16:13:57Z</CreationTime>
+ <LastAccessTime>2010-08-25T16:20:55Z</LastAccessTime>
+ <ExpiryTime>2010-08-25T16:12:57Z</ExpiryTime>
+ <Expires>False</Expires>
+ <UsageCount>10</UsageCount>
+ <LocationChanged>2010-08-25T16:13:57Z</LocationChanged>
+ </Times>
+ <IsExpanded>True</IsExpanded>
+ <DefaultAutoTypeSequence />
+ <EnableAutoType>false</EnableAutoType>
+ <EnableSearching>false</EnableSearching>
+ <LastTopVisibleEntry>AAAAAAAAAAAAAAAAAAAAAA==</LastTopVisibleEntry>
+ <Entry>
+ <UUID>Wh3kfvnEqE2VqK+5KIiPXg==</UUID>
+ <IconID>0</IconID>
+ <ForegroundColor />
+ <BackgroundColor />
+ <OverrideURL />
+ <Times>
+ <LastModificationTime>2010-08-25T16:20:32Z</LastModificationTime>
+ <CreationTime>2010-08-25T16:20:27Z</CreationTime>
+ <LastAccessTime>2010-08-25T16:20:37Z</LastAccessTime>
+ <ExpiryTime>2010-08-25T16:12:57Z</ExpiryTime>
+ <Expires>False</Expires>
+ <UsageCount>2</UsageCount>
+ <LocationChanged>2010-08-25T16:20:37Z</LocationChanged>
+ </Times>
+ <String>
+ <Key>Notes</Key>
+ <Value />
+ </String>
+ <String>
+ <Key>Password</Key>
+ <Value>gJBbkrCsiLBftfocQbNM</Value>
+ </String>
+ <String>
+ <Key>Title</Key>
+ <Value>delentry</Value>
+ </String>
+ <String>
+ <Key>URL</Key>
+ <Value />
+ </String>
+ <String>
+ <Key>UserName</Key>
+ <Value>DEFUSERNAME</Value>
+ </String>
+ <AutoType>
+ <Enabled>True</Enabled>
+ <DataTransferObfuscation>0</DataTransferObfuscation>
+ </AutoType>
+ <History />
+ </Entry>
+ <Group>
+ <UUID>KtRKIna41ky8WkqrAUXPig==</UUID>
+ <Name>Network</Name>
+ <Notes />
+ <IconID>3</IconID>
+ <Times>
+ <LastModificationTime>2010-08-25T16:13:54Z</LastModificationTime>
+ <CreationTime>2010-08-25T16:13:54Z</CreationTime>
+ <LastAccessTime>2010-08-25T16:20:55Z</LastAccessTime>
+ <ExpiryTime>2010-08-25T16:12:57Z</ExpiryTime>
+ <Expires>False</Expires>
+ <UsageCount>3</UsageCount>
+ <LocationChanged>2010-08-25T16:14:09Z</LocationChanged>
+ </Times>
+ <IsExpanded>True</IsExpanded>
+ <DefaultAutoTypeSequence />
+ <EnableAutoType>null</EnableAutoType>
+ <EnableSearching>null</EnableSearching>
+ <LastTopVisibleEntry>AAAAAAAAAAAAAAAAAAAAAA==</LastTopVisibleEntry>
+ </Group>
+ </Group>
+ </Group>
+ <DeletedObjects>
+ <DeletedObject>
+ <UUID>5K/bzWCSmkCv5OZxYl4N/w==</UUID>
+ <DeletionTime>2010-08-25T16:14:12Z</DeletionTime>
+ </DeletedObject>
+ <DeletedObject>
+ <UUID>80h8uSNWgkKhKCp1TgXF7g==</UUID>
+ <DeletionTime>2010-08-25T16:14:14Z</DeletionTime>
+ </DeletedObject>
+ </DeletedObjects>
+ </Root>
+</KeePassFile> \ No newline at end of file
diff --git a/tests/data/NonAscii.kdbx b/tests/data/NonAscii.kdbx
new file mode 100644
index 000000000..d4e4ec547
--- /dev/null
+++ b/tests/data/NonAscii.kdbx
Binary files differ
diff --git a/tests/data/ProtectedStrings.kdbx b/tests/data/ProtectedStrings.kdbx
new file mode 100644
index 000000000..9b903f7ae
--- /dev/null
+++ b/tests/data/ProtectedStrings.kdbx
Binary files differ