Package com.opera.core.systems.preferences.OperaScopePreferences

Examples of com.opera.core.systems.preferences.OperaScopePreferences.ScopePreference.reset()


  @Test
  public void testReset() {
    ScopePreference preference = preferences.get("Developer Tools", "Proxy Host");
    preference.setValue("4.3.2.1");
    preference.reset();
    assertEquals("127.0.0.1", preference.getValue());
  }

  @Test
  public void testResetAll() {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.