Example usage for org.apache.cordova PreferenceSet PreferenceSet

List of usage examples for org.apache.cordova PreferenceSet PreferenceSet

Introduction

In this page you can find the example usage for org.apache.cordova PreferenceSet PreferenceSet.

Prototype

public PreferenceSet() 

Source Link

Usage

From source file:PreferenceSetTest.java

License:Apache License

@Before
public void setUp() {
    preferences = new PreferenceSet();
    screen = new PreferenceNode("fullscreen", "true", false);
}

From source file:PreferenceSetTest.java

License:Apache License

@Test
public void testUnsetPreferenceChecking() {
    PreferenceSet emptySet = new PreferenceSet();
    boolean value = emptySet.prefMatches("fullscreen", "true");
    assertEquals(false, value);/*from ww w .j av  a2  s. c  om*/
}