summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2008-04-10 14:18:35 +0000
committerBastien Nocera <hadess@hadess.net>2008-04-10 14:18:35 +0000
commitf52bc0ddc63ab2521c395d7529508c2054c4556a (patch)
tree03385bd5db2dffa8563459d064a39af83d36e6e7 /tests
parent626e884d908afea399bc51ffd6884a121f45d60c (diff)
downloadshared-mime-info-f52bc0ddc63ab2521c395d7529508c2054c4556a.tar.gz
* freedesktop.org.xml.in:
* tests/list: * tests/test.mof: Add mime-type for Managed Object Format files, patch from Stanislav Brabec <sbrabec@suse.cz> (Closes: #14278)
Diffstat (limited to 'tests')
-rw-r--r--tests/list2
-rw-r--r--tests/test.mof79
2 files changed, 81 insertions, 0 deletions
diff --git a/tests/list b/tests/list
index d28f110e..3ff07ba4 100644
--- a/tests/list
+++ b/tests/list
@@ -85,6 +85,7 @@ test.fl application/x-fluid
helloworld.java text/x-java ox
test.cs text/x-csharp ox
test.vala text/x-vala ox
+test.mof text/x-mof ox
# xml subtypes
test.ttx application/x-font-ttx
@@ -99,6 +100,7 @@ test.class application/x-java
# other
text.pdf application/pdf
README.pdf application/pdf
+# Copied from http://bugs.freedesktop.org/show_bug.cgi?id=15260
test.gnd application/gnunet-directory
text.ps application/postscript
diff --git a/tests/test.mof b/tests/test.mof
new file mode 100644
index 00000000..57bb97d0
--- /dev/null
+++ b/tests/test.mof
@@ -0,0 +1,79 @@
+// Copyright (c) 2005 DMTF. All rights reserved.
+// <change cr="ArchCR00066.004" type="add">Add UmlPackagePath
+// qualifier values to CIM Schema.</change>
+// ==================================================================
+// CIM_UnitaryComputerSystem
+// ==================================================================
+ [Version ( "2.8.0" ),
+ UMLPackagePath ( "CIM::System::SystemElements" ), Description (
+ "A class derived from ComputerSystem that represents a Desktop, "
+ "Mobile, NetPC, Server or other type of a single node Computer "
+ "System.")]
+class CIM_UnitaryComputerSystem : CIM_ComputerSystem {
+
+ [Description (
+ "This object contains the data needed to find either the "
+ "initial load device (its key) or the boot service to "
+ "request the operating system to start up. In addition, the "
+ "load parameters (ie, a pathname and parameters) may also be "
+ "specified.")]
+ string InitialLoadInfo[];
+
+ [Description (
+ "This object contains the data identifying either the "
+ "initial load device (its key) or the boot service that "
+ "requested the last operating system load. In addition, the "
+ "load parameters (ie, a pathname and parameters) may also be "
+ "specified."),
+ MappingStrings {
+ "MIB.IETF|HOST-RESOURCES-MIB.hrSystemInitialLoadDevice",
+ "MIB.IETF|HOST-RESOURCES-MIB.hrSystemInitialLoadParameters",
+ "MIF.DMTF|Host System|001.3" }]
+ string LastLoadInfo;
+
+ [Deprecated { "CIM_PowerManagementCapabilities" }, Description (
+ "When TRUE, indicates that the computer can be power "
+ "managed. The use of this property has been deprecated. "
+ "Instead, the existence of an associated "
+ "PowerManagementCapabilities class (associated using the "
+ "ElementCapabilites relationship) indicates that power "
+ "management is supported.")]
+ boolean PowerManagementSupported;
+
+ [Deprecated { "CIM_AssociatedPowerManagementService.PowerState" },
+ Description (
+ "Indicates the current power state of the ComputerSystem and "
+ "its associated OperatingSystem. This property is being "
+ "deprecated. Instead, the PowerState property in the "
+ "AssociatedPowerManagementService class SHOULD be used. "
+ "Regarding the Power Save states, these are defined as "
+ "follows: Value 4 (\"Power Save - Unknown\") indicates that "
+ "the System is known to be in a power save mode, but its "
+ "exact status in this mode is unknown; \n"
+ "Value 2 (\"Power Save - Low Power Mode\") indicates that "
+ "the System is in a power save state but still functioning, "
+ "and may exhibit degraded performance; \n"
+ "Value 3 (\"Power Save - Standby\") describes that the "
+ "System is not functioning but could be brought to full "
+ "power 'quickly'; value 7 (\"Power Save - Warning\") "
+ "indicates that the ComputerSystem is in a warning state, "
+ "though also in a power save mode. \n"
+ "Values 8 and 9 describe the ACPI \"Hibernate\" and \"Soft "
+ "Off\" states."),
+ ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9" },
+ Values { "Unknown", "Full Power", "Power Save - Low Power Mode",
+ "Power Save - Standby", "Power Save - Unknown",
+ "Power Cycle", "Power Off", "Power Save - Warning",
+ "Power Save - Hibernate", "Power Save - Soft Off" }]
+ uint16 PowerState;
+
+ [Description (
+ "The event that caused the System to power up. This "
+ "information is available in SMBIOS, in the Type 1 "
+ "structure, the Wake Up Type attribute."),
+ ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8" },
+ Values { "Reserved", "Other", "Unknown", "APM Timer",
+ "Modem Ring", "LAN Remote", "Power Switch", "PCI PME#",
+ "A/C Power Restored" }]
+ uint16 WakeUpType;
+};