blob: 006f81cbc81edef8434bc6a41c050dad5aa73c24 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004, 2009 Tasktop Technologies and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Tasktop Technologies - initial API and implementation
*******************************************************************************/
package org.eclipse.mylyn.monitor.usage.tests;
import junit.framework.TestCase;
import org.eclipse.mylyn.internal.monitor.usage.MonitorPreferenceConstants;
import org.eclipse.mylyn.internal.monitor.usage.UiUsageMonitorPlugin;
/**
* @author Mik Kersten
*/
public class DefaultPreferenceConfigTest extends TestCase {
public void testMonitorPreferences() {
assertNotNull(UiUsageMonitorPlugin.getDefault());
assertTrue(UiUsageMonitorPlugin.getDefault()
.getPreferenceStore()
.getBoolean(MonitorPreferenceConstants.PREF_MONITORING_OBFUSCATE));
}
}