List of usage examples for org.apache.cordova PreferenceSet PreferenceSet
public PreferenceSet()
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*/ }