Example usage for org.apache.cordova PreferenceSet prefMatches

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

Introduction

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

Prototype

public boolean prefMatches(String prefName, String prefValue) 

Source Link

Usage

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 a va 2  s  .  c  o  m
}