Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0cb5398b authored by Peter S's avatar Peter S
Browse files

add test for countOccurrences

parent 27cec02c
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
package it.niedermann.owncloud.notes.android.fragment;

import it.niedermann.owncloud.notes.android.fragment.SearchableBaseNoteFragment;

import android.util.Log;

import org.junit.Test;

import java.lang.reflect.Method;
import java.util.Arrays;

import static org.junit.Assert.*;

public class SearchableBaseNoteFragmentTest {
    @Test
    public void testCountOccurrences() {
        try {
            Method method = SearchableBaseNoteFragment.class.getDeclaredMethod("countOccurrences", String.class, String.class);
            method.setAccessible(true);



        } catch (Exception e) {
            fail(Arrays.toString(e.getStackTrace()));
            Log.e("Test_12_getCategoryIdByTitle", Arrays.toString(e.getStackTrace()));
        }
    }
}
 No newline at end of file